diff --git a/stage0/src/Init/Lean/Elab/Syntax.lean b/stage0/src/Init/Lean/Elab/Syntax.lean index 0b6fac88ed..70f70c4dc2 100644 --- a/stage0/src/Init/Lean/Elab/Syntax.lean +++ b/stage0/src/Init/Lean/Elab/Syntax.lean @@ -62,7 +62,7 @@ partial def toParserDescrAux : Syntax → ToParserDescrM Syntax else if kind == `Lean.Parser.Syntax.paren then toParserDescrAux (stx.getArg 1) else if kind == `Lean.Parser.Syntax.cat then do - let cat : Name := stx.getIdAt 0; + let cat := (stx.getIdAt 0).eraseMacroScopes; let rbp? : Option Nat := expandOptPrecedence (stx.getArg 1); env ← liftM getEnv; unless (Parser.isParserCategory env cat) $ liftM $ throwError (stx.getArg 3) ("unknown category '" ++ cat ++ "'"); @@ -161,7 +161,7 @@ else do @[builtinCommandElab «syntax»] def elabSyntax : CommandElab := fun stx => do env ← getEnv; - let cat := stx.getIdAt 4; + let cat := (stx.getIdAt 4).eraseMacroScopes; unless (Parser.isParserCategory env cat) $ throwError (stx.getArg 4) ("unknown category '" ++ cat ++ "'"); kind ← elabKind (stx.getArg 1) cat; let catParserId := mkIdentFrom stx (cat.appendAfter "Parser"); @@ -187,10 +187,14 @@ adaptExpander $ fun stx => match_syntax stx with @[builtinCommandElab «mixfix»] def elabMixfix : CommandElab := fun _ => pure () @[builtinCommandElab «reserve»] def elabReserve : CommandElab := fun _ => pure () --- wrap all occurrences of the given `ident` nodes in antiquotations +/- Wrap all occurrences of the given `ident` nodes in antiquotations -/ private partial def antiquote (vars : Array Syntax) : Syntax → Syntax | stx => match_syntax stx with -| `($id:ident) => if (vars.findIdx? (fun var => var.getId == id.getId)).isSome then Syntax.node `antiquot #[mkAtom "$", Unhygienic.run `($id:ident), mkNullNode, mkNullNode] else stx +| `($id:ident) => + if (vars.findIdx? (fun var => var.getId == id.getId)).isSome then + Syntax.node `antiquot #[mkAtom "$", Unhygienic.run `($id:ident), mkNullNode, mkNullNode] + else + stx | _ => match stx with | Syntax.node k args => Syntax.node k (args.map antiquote) | stx => stx @@ -293,7 +297,7 @@ adaptExpander $ fun stx => do let args := (stx.getArg 2).getArgs; let cat := stx.getArg 4; let rhsBody := stx.getArg 7; - kind ← mkFreshKind cat.getId; + kind ← mkFreshKind (cat.getId).eraseMacroScopes; -- build parser stxPart ← expandMacroHeadIntoSyntaxItem head; stxParts ← args.mapM expandMacroArgIntoSyntaxItem; diff --git a/stage0/src/Init/Lean/Elab/SynthesizeSyntheticMVars.lean b/stage0/src/Init/Lean/Elab/SynthesizeSyntheticMVars.lean index 55fd92cbdf..0edcc1c251 100644 --- a/stage0/src/Init/Lean/Elab/SynthesizeSyntheticMVars.lean +++ b/stage0/src/Init/Lean/Elab/SynthesizeSyntheticMVars.lean @@ -5,15 +5,36 @@ Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Lean.Elab.Term -import Init.Lean.Elab.Tactic +import Init.Lean.Elab.Tactic.Basic namespace Lean namespace Elab namespace Term +open Tactic (TacticM evalTactic getUnsolvedGoals) + +def liftTacticElabM {α} (ref : Syntax) (mvarId : MVarId) (x : TacticM α) : TermElabM α := +withMVarContext mvarId $ fun ctx s => + match x { ref := ref, main := mvarId, .. ctx } { goals := [mvarId], .. s } with + | EStateM.Result.error ex newS => EStateM.Result.error (Term.Exception.ex ex) newS.toTermState + | EStateM.Result.ok a newS => EStateM.Result.ok a newS.toTermState + +def ensureAssignmentHasNoMVars (ref : Syntax) (mvarId : MVarId) : TermElabM Unit := do +val ← instantiateMVars ref (mkMVar mvarId); +when val.hasMVar $ throwError ref ("tactic failed, result still contain metavariables" ++ indentExpr val) + +def runTactic (ref : Syntax) (mvarId : MVarId) (tacticCode : Syntax) : TermElabM Unit := do +modify $ fun s => { mctx := s.mctx.instantiateMVarDeclMVars mvarId, .. s }; +remainingGoals ← liftTacticElabM ref mvarId $ do { evalTactic tacticCode; getUnsolvedGoals }; +let tailRef := ref.getTailWithInfo.getD ref; +unless remainingGoals.isEmpty (reportUnsolvedGoals tailRef remainingGoals); +ensureAssignmentHasNoMVars tailRef mvarId + /-- Auxiliary function used to implement `synthesizeSyntheticMVars`. -/ private def resumeElabTerm (stx : Syntax) (expectedType? : Option Expr) (errToSorry := true) : TermElabM Expr := -elabTerm stx expectedType? false errToSorry +-- Remark: if `ctx.errToSorry` is already false, then we don't enable it. Recall tactics disable `errToSorry` +adaptReader (fun (ctx : Context) => { errToSorry := ctx.errToSorry && errToSorry, .. ctx }) $ + elabTerm stx expectedType? false /-- Try to elaborate `stx` that was postponed by an elaboration method using `Expection.postpone`. diff --git a/stage0/src/Init/Lean/Elab/Tactic.lean b/stage0/src/Init/Lean/Elab/Tactic.lean index b5b6a2d2ca..1133aca7ab 100644 --- a/stage0/src/Init/Lean/Elab/Tactic.lean +++ b/stage0/src/Init/Lean/Elab/Tactic.lean @@ -6,44 +6,4 @@ Authors: Leonardo de Moura, Sebastian Ullrich prelude import Init.Lean.Elab.Term import Init.Lean.Elab.Tactic.Basic - -namespace Lean -namespace Elab - -namespace Term - -def mkTacticMVar (ref : Syntax) (type : Expr) (tacticCode : Syntax) : TermElabM Expr := do -mvar ← mkFreshExprMVar ref type MetavarKind.syntheticOpaque `main; -let mvarId := mvar.mvarId!; -registerSyntheticMVar ref mvarId $ SyntheticMVarKind.tactic tacticCode; -pure mvar - -@[builtinTermElab tacticBlock] def elabTacticBlock : TermElab := -fun stx expectedType? => - match expectedType? with - | some expectedType => mkTacticMVar stx expectedType (stx.getArg 1) - | none => throwError stx ("invalid tactic block, expected type has not been provided") - -open Tactic (TacticM evalTactic getUnsolvedGoals) - -def liftTacticElabM {α} (ref : Syntax) (mvarId : MVarId) (x : TacticM α) : TermElabM α := -withMVarContext mvarId $ fun ctx s => - match x { ref := ref, main := mvarId, .. ctx } { goals := [mvarId], .. s } with - | EStateM.Result.error ex newS => EStateM.Result.error (Term.Exception.ex ex) newS.toTermState - | EStateM.Result.ok a newS => EStateM.Result.ok a newS.toTermState - -def ensureAssignmentHasNoMVars (ref : Syntax) (mvarId : MVarId) : TermElabM Unit := do -val ← instantiateMVars ref (mkMVar mvarId); -when val.hasMVar $ throwError ref ("tactic failed, result still contain metavariables" ++ indentExpr val) - -def runTactic (ref : Syntax) (mvarId : MVarId) (tacticCode : Syntax) : TermElabM Unit := do -modify $ fun s => { mctx := s.mctx.instantiateMVarDeclMVars mvarId, .. s }; -remainingGoals ← liftTacticElabM ref mvarId $ do { evalTactic tacticCode; getUnsolvedGoals }; -let tailRef := ref.getTailWithInfo.getD ref; -unless remainingGoals.isEmpty (reportUnsolvedGoals tailRef remainingGoals); -ensureAssignmentHasNoMVars tailRef mvarId - -end Term - -end Elab -end Lean +import Init.Lean.Elab.Tactic.ElabTerm diff --git a/stage0/src/Init/Lean/Elab/Tactic/Basic.lean b/stage0/src/Init/Lean/Elab/Tactic/Basic.lean index e2e8e654e9..db54ad5602 100644 --- a/stage0/src/Init/Lean/Elab/Tactic/Basic.lean +++ b/stage0/src/Init/Lean/Elab/Tactic/Basic.lean @@ -5,10 +5,10 @@ Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Lean.Util.CollectMVars -import Init.Lean.Elab.Util -import Init.Lean.Elab.Term import Init.Lean.Meta.Tactic.Assumption import Init.Lean.Meta.Tactic.Intro +import Init.Lean.Elab.Util +import Init.Lean.Elab.Term namespace Lean namespace Elab @@ -68,7 +68,6 @@ def addContext (msg : MessageData) : TacticM MessageData := liftTermElabM $ Term def isExprMVarAssigned (mvarId : MVarId) : TacticM Bool := liftTermElabM $ Term.isExprMVarAssigned mvarId def assignExprMVar (mvarId : MVarId) (val : Expr) : TacticM Unit := liftTermElabM $ Term.assignExprMVar mvarId val def ensureHasType (ref : Syntax) (expectedType? : Option Expr) (e : Expr) : TacticM Expr := liftTermElabM $ Term.ensureHasType ref expectedType? e -def elabTerm (stx : Syntax) (expectedType? : Option Expr) : TacticM Expr := liftTermElabM $ Term.elabTerm stx expectedType? def reportUnsolvedGoals (ref : Syntax) (goals : List MVarId) : TacticM Unit := liftTermElabM $ Term.reportUnsolvedGoals ref goals /-- Collect unassigned metavariables -/ @@ -250,35 +249,8 @@ fun stx => match_syntax stx with | `(tactic| intro $h) => liftMetaTactic stx $ fun mvarId => do (_, mvarId) ← Meta.intro mvarId h.getId; pure [mvarId] | _ => throwUnsupportedSyntax -@[builtinTactic «exact»] def evalExact : Tactic := -fun stx => match_syntax stx with - | `(tactic| exact $e) => do - let ref := stx; - (g, gs) ← getMainGoal stx; - withMVarContext g $ do { - decl ← getMVarDecl g; - val ← elabTerm e decl.type; - val ← ensureHasType ref decl.type val; - ensureHasNoMVars ref val; - assignExprMVar g val - }; - setGoals gs - | _ => throwUnsupportedSyntax - -@[builtinTactic «refine»] def evalRefine : Tactic := -fun stx => match_syntax stx with - | `(tactic| refine $e) => do - let ref := stx; - (g, gs) ← getMainGoal stx; - gs' ← withMVarContext g $ do { - decl ← getMVarDecl g; - val ← elabTerm e decl.type; - val ← ensureHasType ref decl.type val; - assignExprMVar g val; - collectMVars ref val - }; - setGoals (gs' ++ gs) - | _ => throwUnsupportedSyntax +@[builtinTactic paren] def evalParen : Tactic := +fun stx => evalTactic (stx.getArg 1) @[builtinTactic nestedTacticBlock] def evalNestedTacticBlock : Tactic := fun stx => focus stx (evalTactic (stx.getArg 1)) @@ -299,6 +271,11 @@ fun stx => match_syntax stx with setGoals gs | _ => throwUnsupportedSyntax +@[builtinTactic «orelse»] def evalOrelse : Tactic := +fun stx => match_syntax stx with + | `(tactic| $tac1 <|> $tac2) => evalTactic tac1 <|> evalTactic tac2 + | _ => throwUnsupportedSyntax + @[init] private def regTraceClasses : IO Unit := do registerTraceClass `Elab.tactic; pure () diff --git a/stage0/src/Init/Lean/Elab/Tactic/ElabTerm.lean b/stage0/src/Init/Lean/Elab/Tactic/ElabTerm.lean new file mode 100644 index 0000000000..f03e5fbc77 --- /dev/null +++ b/stage0/src/Init/Lean/Elab/Tactic/ElabTerm.lean @@ -0,0 +1,54 @@ +/- +Copyright (c) 2020 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +prelude +import Init.Lean.Elab.Tactic.Basic +import Init.Lean.Elab.SynthesizeSyntheticMVars + +namespace Lean +namespace Elab +namespace Tactic + +/- `elabTerm` for Tactics and basic tactics that use it. -/ + +def elabTerm (stx : Syntax) (expectedType? : Option Expr) : TacticM Expr := +liftTermElabM $ adaptReader (fun (ctx : Term.Context) => { errToSorry := false, .. ctx }) $ do + e ← Term.elabTerm stx expectedType?; + Term.synthesizeSyntheticMVars false; + Term.instantiateMVars stx e + +@[builtinTactic «exact»] def evalExact : Tactic := +fun stx => match_syntax stx with + | `(tactic| exact $e) => do + let ref := stx; + (g, gs) ← getMainGoal stx; + withMVarContext g $ do { + decl ← getMVarDecl g; + val ← elabTerm e decl.type; + val ← ensureHasType ref decl.type val; + ensureHasNoMVars ref val; + assignExprMVar g val + }; + setGoals gs + | _ => throwUnsupportedSyntax + +@[builtinTactic «refine»] def evalRefine : Tactic := +fun stx => match_syntax stx with + | `(tactic| refine $e) => do + let ref := stx; + (g, gs) ← getMainGoal stx; + gs' ← withMVarContext g $ do { + decl ← getMVarDecl g; + val ← elabTerm e decl.type; + val ← ensureHasType ref decl.type val; + assignExprMVar g val; + collectMVars ref val + }; + setGoals (gs' ++ gs) + | _ => throwUnsupportedSyntax + +end Tactic +end Elab +end Lean diff --git a/stage0/src/Init/Lean/Elab/Term.lean b/stage0/src/Init/Lean/Elab/Term.lean index 8a6a3d483b..d6c23e4355 100644 --- a/stage0/src/Init/Lean/Elab/Term.lean +++ b/stage0/src/Init/Lean/Elab/Term.lean @@ -32,6 +32,7 @@ structure Context extends Meta.Context := The function `elabTerm` catches this exception and creates fresh synthetic metavariable `?m`, stores `?m` in the list of pending synthetic metavariables, and returns `?m`. -/ (mayPostpone : Bool := true) +(errToSorry : Bool := true) /-- We use synthetic metavariables as placeholders for pending elaboration steps. -/ inductive SyntheticMVarKind @@ -432,14 +433,14 @@ pure mvar /- Helper function for `elabTerm` is tries the registered elaboration functions for `stxNode` kind until it finds one that supports the syntax or an error is found. -/ -private def elabTermUsing (s : State) (stx : Syntax) (expectedType? : Option Expr) (errToSorry : Bool) (catchExPostpone : Bool) +private def elabTermUsing (s : State) (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone : Bool) : List TermElab → TermElabM Expr | [] => do let refFmt := stx.prettyPrint; throwError stx ("unexpected syntax" ++ MessageData.nest 2 (Format.line ++ refFmt)) | (elabFn::elabFns) => catch (elabFn stx expectedType?) (fun ex => match ex with - | Exception.ex (Elab.Exception.error errMsg) => if errToSorry then exceptionToSorry stx errMsg expectedType? else throw ex + | Exception.ex (Elab.Exception.error errMsg) => do ctx ← read; if ctx.errToSorry then exceptionToSorry stx errMsg expectedType? else throw ex | Exception.ex Elab.Exception.unsupportedSyntax => do set s; elabTermUsing elabFns | Exception.postpone => if catchExPostpone then do @@ -470,14 +471,14 @@ match x stx scp with | none => throwUnsupportedSyntax /- Main loop for `elabTerm` -/ -partial def elabTermAux (expectedType? : Option Expr) (catchExPostpone := true) (errToSorry := true) : Syntax → TermElabM Expr +partial def elabTermAux (expectedType? : Option Expr) (catchExPostpone := true) : Syntax → TermElabM Expr | stx => withFreshMacroScope $ withIncRecDepth stx $ withNode stx $ fun node => do trace `Elab.step stx $ fun _ => stx; s ← get; let table := (termElabAttribute.ext.getState s.env).table; let k := node.getKind; match table.find? k with - | some elabFns => elabTermUsing s node expectedType? errToSorry catchExPostpone elabFns + | some elabFns => elabTermUsing s node expectedType? catchExPostpone elabFns | none => do scp ← getCurrMacroScope; env ← getEnv; @@ -498,8 +499,8 @@ partial def elabTermAux (expectedType? : Option Expr) (catchExPostpone := true) and returned. The option `catchExPostpone == false` is used to implement `resumeElabTerm` to prevent the creation of another synthetic metavariable when resuming the elaboration. -/ -def elabTerm (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone := true) (errToSorry := true) : TermElabM Expr := -elabTermAux expectedType? catchExPostpone errToSorry stx +def elabTerm (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone := true) : TermElabM Expr := +elabTermAux expectedType? catchExPostpone stx /-- Adapt a syntax transformation to a regular, term-producing elaborator. -/ def adaptExpander (exp : Syntax → TermElabM Syntax) : TermElab := @@ -643,6 +644,18 @@ fun stx expectedType? => let name := stx.getIdAt 1; mkFreshExprMVar stx expectedType? MetavarKind.syntheticOpaque name +def mkTacticMVar (ref : Syntax) (type : Expr) (tacticCode : Syntax) : TermElabM Expr := do +mvar ← mkFreshExprMVar ref type MetavarKind.syntheticOpaque `main; +let mvarId := mvar.mvarId!; +registerSyntheticMVar ref mvarId $ SyntheticMVarKind.tactic tacticCode; +pure mvar + +@[builtinTermElab tacticBlock] def elabTacticBlock : TermElab := +fun stx expectedType? => + match expectedType? with + | some expectedType => mkTacticMVar stx expectedType (stx.getArg 1) + | none => throwError stx ("invalid tactic block, expected type has not been provided") + /-- Main loop for `mkPairs`. -/ private partial def mkPairsAux (elems : Array Syntax) : Nat → Syntax → TermElabM Syntax | i, acc => diff --git a/stage0/src/Init/Lean/Hygiene.lean b/stage0/src/Init/Lean/Hygiene.lean index c5fc099560..3fd06bfc8d 100644 --- a/stage0/src/Init/Lean/Hygiene.lean +++ b/stage0/src/Init/Lean/Hygiene.lean @@ -46,6 +46,9 @@ private def extractMacroScopesAux : Name → List MacroScope → Name × List Ma def extractMacroScopes (n : Name) : Name × List MacroScope := extractMacroScopesAux n [] +def Name.eraseMacroScopes (n : Name) : Name := +(extractMacroScopes n).1 + instance monadQuotationTrans {m n : Type → Type} [MonadQuotation m] [HasMonadLift m n] [MonadFunctorT m m n n] : MonadQuotation n := { getCurrMacroScope := liftM (getCurrMacroScope : m Nat), withFreshMacroScope := fun α => monadMap (fun α => (withFreshMacroScope : m α → m α)) } diff --git a/stage0/src/Init/Lean/Parser/Syntax.lean b/stage0/src/Init/Lean/Parser/Syntax.lean index 80546545e1..17e38995ed 100644 --- a/stage0/src/Init/Lean/Parser/Syntax.lean +++ b/stage0/src/Init/Lean/Parser/Syntax.lean @@ -62,8 +62,9 @@ def identPrec := parser! ident >> optPrecedence @[builtinCommandParser] def «macro_rules» := parser! "macro_rules" >> many1Indent Term.matchAlt "'match' alternatives must be indented" @[builtinCommandParser] def «syntax» := parser! "syntax " >> optional ("[" >> ident >> "]") >> many1 syntaxParser >> " : " >> ident @[builtinCommandParser] def syntaxCat := parser! "declare_syntax_cat " >> ident -def macroArgSimple := parser! ident >> ":" >> ident >> optPrecedence -def macroArg := try strLitPrec <|> try macroArgSimple +def macroArgType := nonReservedSymbol "ident" <|> nonReservedSymbol "num" <|> nonReservedSymbol "str" <|> (ident >> optPrecedence) +def macroArgSimple := parser! ident >> ":" >> macroArgType +def macroArg := try strLitPrec <|> try macroArgSimple def macroHead := try strLitPrec <|> try identPrec def macroTailTactic : Parser := try (" : " >> identEq "tactic") >> darrow >> "`(" >> sepBy1 tacticParser "; " true true >> ")" def macroTailCommand : Parser := try (" : " >> identEq "command") >> darrow >> "`(" >> many1 commandParser true >> ")" diff --git a/stage0/src/Init/LeanInit.lean b/stage0/src/Init/LeanInit.lean index 7fb685f996..78a8c61eb7 100644 --- a/stage0/src/Init/LeanInit.lean +++ b/stage0/src/Init/LeanInit.lean @@ -205,3 +205,5 @@ instance MacroM.monadQuotation : MonadQuotation MacroM := abbrev Macro := Syntax → MacroM Syntax end Lean + +abbrev Array.getSepElems := @Array.getEvenElems diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index df5aa110b2..ccf8aa92c9 100644 --- a/stage0/stdlib/CMakeLists.txt +++ b/stage0/stdlib/CMakeLists.txt @@ -1 +1 @@ -add_library (stage0 OBJECT Init/./Coe.c Init/./Control.c Init/./Control/Alternative.c Init/./Control/Applicative.c Init/./Control/Conditional.c Init/./Control/EState.c Init/./Control/Except.c Init/./Control/Functor.c Init/./Control/Id.c Init/./Control/Lift.c Init/./Control/Monad.c Init/./Control/MonadFail.c Init/./Control/Option.c Init/./Control/Reader.c Init/./Control/State.c Init/./Core.c Init/./Data.c Init/./Data/Array.c Init/./Data/Array/Basic.c Init/./Data/Array/BinSearch.c Init/./Data/Array/QSort.c Init/./Data/AssocList.c Init/./Data/Basic.c Init/./Data/BinomialHeap.c Init/./Data/BinomialHeap/Basic.c Init/./Data/ByteArray.c Init/./Data/ByteArray/Basic.c Init/./Data/Char.c Init/./Data/Char/Basic.c Init/./Data/DList.c Init/./Data/Fin.c Init/./Data/Fin/Basic.c Init/./Data/HashMap.c Init/./Data/HashMap/Basic.c Init/./Data/HashSet.c Init/./Data/Hashable.c Init/./Data/Int.c Init/./Data/Int/Basic.c Init/./Data/List.c Init/./Data/List/Basic.c Init/./Data/List/BasicAux.c Init/./Data/List/Control.c Init/./Data/List/Instances.c Init/./Data/Nat.c Init/./Data/Nat/Basic.c Init/./Data/Nat/Bitwise.c Init/./Data/Nat/Control.c Init/./Data/Nat/Div.c Init/./Data/Option.c Init/./Data/Option/Basic.c Init/./Data/Option/BasicAux.c Init/./Data/Option/Instances.c Init/./Data/PersistentArray.c Init/./Data/PersistentArray/Basic.c Init/./Data/PersistentHashMap.c Init/./Data/PersistentHashMap/Basic.c Init/./Data/PersistentHashSet.c Init/./Data/Queue.c Init/./Data/Queue/Basic.c Init/./Data/RBMap.c Init/./Data/RBMap/Basic.c Init/./Data/RBMap/BasicAux.c Init/./Data/RBTree.c Init/./Data/RBTree/Basic.c Init/./Data/Random.c Init/./Data/Repr.c Init/./Data/Stack.c Init/./Data/Stack/Basic.c Init/./Data/String.c Init/./Data/String/Basic.c Init/./Data/ToString.c Init/./Data/UInt.c Init/./Default.c Init/./Fix.c Init/./Lean.c Init/./Lean/Attributes.c Init/./Lean/AuxRecursor.c Init/./Lean/Class.c Init/./Lean/Compiler.c Init/./Lean/Compiler/ClosedTermCache.c Init/./Lean/Compiler/ConstFolding.c Init/./Lean/Compiler/ExportAttr.c Init/./Lean/Compiler/ExternAttr.c Init/./Lean/Compiler/IR.c Init/./Lean/Compiler/IR/Basic.c Init/./Lean/Compiler/IR/Borrow.c Init/./Lean/Compiler/IR/Boxing.c Init/./Lean/Compiler/IR/Checker.c Init/./Lean/Compiler/IR/CompilerM.c Init/./Lean/Compiler/IR/CtorLayout.c Init/./Lean/Compiler/IR/ElimDeadBranches.c Init/./Lean/Compiler/IR/ElimDeadVars.c Init/./Lean/Compiler/IR/EmitC.c Init/./Lean/Compiler/IR/EmitUtil.c Init/./Lean/Compiler/IR/ExpandResetReuse.c Init/./Lean/Compiler/IR/Format.c Init/./Lean/Compiler/IR/FreeVars.c Init/./Lean/Compiler/IR/LiveVars.c Init/./Lean/Compiler/IR/NormIds.c Init/./Lean/Compiler/IR/PushProj.c Init/./Lean/Compiler/IR/RC.c Init/./Lean/Compiler/IR/ResetReuse.c Init/./Lean/Compiler/IR/SimpCase.c Init/./Lean/Compiler/IR/UnboxResult.c Init/./Lean/Compiler/ImplementedByAttr.c Init/./Lean/Compiler/InitAttr.c Init/./Lean/Compiler/InlineAttrs.c Init/./Lean/Compiler/NameMangling.c Init/./Lean/Compiler/NeverExtractAttr.c Init/./Lean/Compiler/Specialize.c Init/./Lean/Compiler/Util.c Init/./Lean/Data/Format.c Init/./Lean/Data/KVMap.c Init/./Lean/Data/LBool.c Init/./Lean/Data/LOption.c Init/./Lean/Data/Name.c Init/./Lean/Data/NameGenerator.c Init/./Lean/Data/Occurrences.c Init/./Lean/Data/Options.c Init/./Lean/Data/Position.c Init/./Lean/Data/SMap.c Init/./Lean/Data/Trie.c Init/./Lean/Declaration.c Init/./Lean/Elab.c Init/./Lean/Elab/Alias.c Init/./Lean/Elab/BuiltinNotation.c Init/./Lean/Elab/Command.c Init/./Lean/Elab/DeclModifiers.c Init/./Lean/Elab/Declaration.c Init/./Lean/Elab/Definition.c Init/./Lean/Elab/ElabStrategyAttrs.c Init/./Lean/Elab/Exception.c Init/./Lean/Elab/Frontend.c Init/./Lean/Elab/Import.c Init/./Lean/Elab/Level.c Init/./Lean/Elab/Log.c Init/./Lean/Elab/Quotation.c Init/./Lean/Elab/ResolveName.c Init/./Lean/Elab/Syntax.c Init/./Lean/Elab/SynthesizeSyntheticMVars.c Init/./Lean/Elab/Tactic.c Init/./Lean/Elab/Tactic/Basic.c Init/./Lean/Elab/Term.c Init/./Lean/Elab/TermApp.c Init/./Lean/Elab/TermBinders.c Init/./Lean/Elab/Util.c Init/./Lean/Environment.c Init/./Lean/EqnCompiler.c Init/./Lean/EqnCompiler/MatchPattern.c Init/./Lean/Eval.c Init/./Lean/Expr.c Init/./Lean/HeadIndex.c Init/./Lean/Hygiene.c Init/./Lean/Level.c Init/./Lean/Linter.c Init/./Lean/LocalContext.c Init/./Lean/Message.c Init/./Lean/Meta.c Init/./Lean/Meta/AbstractMVars.c Init/./Lean/Meta/AppBuilder.c Init/./Lean/Meta/Basic.c Init/./Lean/Meta/Check.c Init/./Lean/Meta/DiscrTree.c Init/./Lean/Meta/DiscrTreeTypes.c Init/./Lean/Meta/Exception.c Init/./Lean/Meta/ExprDefEq.c Init/./Lean/Meta/FunInfo.c Init/./Lean/Meta/InferType.c Init/./Lean/Meta/Instances.c Init/./Lean/Meta/KAbstract.c Init/./Lean/Meta/LevelDefEq.c Init/./Lean/Meta/Message.c Init/./Lean/Meta/Offset.c Init/./Lean/Meta/Reduce.c Init/./Lean/Meta/SynthInstance.c Init/./Lean/Meta/Tactic.c Init/./Lean/Meta/Tactic/Assumption.c Init/./Lean/Meta/Tactic/Intro.c Init/./Lean/Meta/Tactic/Util.c Init/./Lean/Meta/WHNF.c Init/./Lean/MetavarContext.c Init/./Lean/Modifiers.c Init/./Lean/Parser.c Init/./Lean/Parser/Command.c Init/./Lean/Parser/Identifier.c Init/./Lean/Parser/Level.c Init/./Lean/Parser/Module.c Init/./Lean/Parser/Parser.c Init/./Lean/Parser/Syntax.c Init/./Lean/Parser/Tactic.c Init/./Lean/Parser/Term.c Init/./Lean/Parser/Transform.c Init/./Lean/ProjFns.c Init/./Lean/ReducibilityAttrs.c Init/./Lean/Runtime.c Init/./Lean/Scopes.c Init/./Lean/Structure.c Init/./Lean/Syntax.c Init/./Lean/ToExpr.c Init/./Lean/Util/CollectFVars.c Init/./Lean/Util/CollectLevelParams.c Init/./Lean/Util/CollectMVars.c Init/./Lean/Util/MonadCache.c Init/./Lean/Util/PPExt.c Init/./Lean/Util/PPGoal.c Init/./Lean/Util/Path.c Init/./Lean/Util/Profile.c Init/./Lean/Util/RecDepth.c Init/./Lean/Util/Sorry.c Init/./Lean/Util/Trace.c Init/./Lean/Util/WHNF.c Init/./LeanInit.c Init/./System.c Init/./System/FilePath.c Init/./System/IO.c Init/./System/IOError.c Init/./System/Platform.c Init/./Util.c Init/./WF.c) +add_library (stage0 OBJECT Init/./Coe.c Init/./Control.c Init/./Control/Alternative.c Init/./Control/Applicative.c Init/./Control/Conditional.c Init/./Control/EState.c Init/./Control/Except.c Init/./Control/Functor.c Init/./Control/Id.c Init/./Control/Lift.c Init/./Control/Monad.c Init/./Control/MonadFail.c Init/./Control/Option.c Init/./Control/Reader.c Init/./Control/State.c Init/./Core.c Init/./Data.c Init/./Data/Array.c Init/./Data/Array/Basic.c Init/./Data/Array/BinSearch.c Init/./Data/Array/QSort.c Init/./Data/AssocList.c Init/./Data/Basic.c Init/./Data/BinomialHeap.c Init/./Data/BinomialHeap/Basic.c Init/./Data/ByteArray.c Init/./Data/ByteArray/Basic.c Init/./Data/Char.c Init/./Data/Char/Basic.c Init/./Data/DList.c Init/./Data/Fin.c Init/./Data/Fin/Basic.c Init/./Data/HashMap.c Init/./Data/HashMap/Basic.c Init/./Data/HashSet.c Init/./Data/Hashable.c Init/./Data/Int.c Init/./Data/Int/Basic.c Init/./Data/List.c Init/./Data/List/Basic.c Init/./Data/List/BasicAux.c Init/./Data/List/Control.c Init/./Data/List/Instances.c Init/./Data/Nat.c Init/./Data/Nat/Basic.c Init/./Data/Nat/Bitwise.c Init/./Data/Nat/Control.c Init/./Data/Nat/Div.c Init/./Data/Option.c Init/./Data/Option/Basic.c Init/./Data/Option/BasicAux.c Init/./Data/Option/Instances.c Init/./Data/PersistentArray.c Init/./Data/PersistentArray/Basic.c Init/./Data/PersistentHashMap.c Init/./Data/PersistentHashMap/Basic.c Init/./Data/PersistentHashSet.c Init/./Data/Queue.c Init/./Data/Queue/Basic.c Init/./Data/RBMap.c Init/./Data/RBMap/Basic.c Init/./Data/RBMap/BasicAux.c Init/./Data/RBTree.c Init/./Data/RBTree/Basic.c Init/./Data/Random.c Init/./Data/Repr.c Init/./Data/Stack.c Init/./Data/Stack/Basic.c Init/./Data/String.c Init/./Data/String/Basic.c Init/./Data/ToString.c Init/./Data/UInt.c Init/./Default.c Init/./Fix.c Init/./Lean.c Init/./Lean/Attributes.c Init/./Lean/AuxRecursor.c Init/./Lean/Class.c Init/./Lean/Compiler.c Init/./Lean/Compiler/ClosedTermCache.c Init/./Lean/Compiler/ConstFolding.c Init/./Lean/Compiler/ExportAttr.c Init/./Lean/Compiler/ExternAttr.c Init/./Lean/Compiler/IR.c Init/./Lean/Compiler/IR/Basic.c Init/./Lean/Compiler/IR/Borrow.c Init/./Lean/Compiler/IR/Boxing.c Init/./Lean/Compiler/IR/Checker.c Init/./Lean/Compiler/IR/CompilerM.c Init/./Lean/Compiler/IR/CtorLayout.c Init/./Lean/Compiler/IR/ElimDeadBranches.c Init/./Lean/Compiler/IR/ElimDeadVars.c Init/./Lean/Compiler/IR/EmitC.c Init/./Lean/Compiler/IR/EmitUtil.c Init/./Lean/Compiler/IR/ExpandResetReuse.c Init/./Lean/Compiler/IR/Format.c Init/./Lean/Compiler/IR/FreeVars.c Init/./Lean/Compiler/IR/LiveVars.c Init/./Lean/Compiler/IR/NormIds.c Init/./Lean/Compiler/IR/PushProj.c Init/./Lean/Compiler/IR/RC.c Init/./Lean/Compiler/IR/ResetReuse.c Init/./Lean/Compiler/IR/SimpCase.c Init/./Lean/Compiler/IR/UnboxResult.c Init/./Lean/Compiler/ImplementedByAttr.c Init/./Lean/Compiler/InitAttr.c Init/./Lean/Compiler/InlineAttrs.c Init/./Lean/Compiler/NameMangling.c Init/./Lean/Compiler/NeverExtractAttr.c Init/./Lean/Compiler/Specialize.c Init/./Lean/Compiler/Util.c Init/./Lean/Data/Format.c Init/./Lean/Data/KVMap.c Init/./Lean/Data/LBool.c Init/./Lean/Data/LOption.c Init/./Lean/Data/Name.c Init/./Lean/Data/NameGenerator.c Init/./Lean/Data/Occurrences.c Init/./Lean/Data/Options.c Init/./Lean/Data/Position.c Init/./Lean/Data/SMap.c Init/./Lean/Data/Trie.c Init/./Lean/Declaration.c Init/./Lean/Elab.c Init/./Lean/Elab/Alias.c Init/./Lean/Elab/BuiltinNotation.c Init/./Lean/Elab/Command.c Init/./Lean/Elab/DeclModifiers.c Init/./Lean/Elab/Declaration.c Init/./Lean/Elab/Definition.c Init/./Lean/Elab/ElabStrategyAttrs.c Init/./Lean/Elab/Exception.c Init/./Lean/Elab/Frontend.c Init/./Lean/Elab/Import.c Init/./Lean/Elab/Level.c Init/./Lean/Elab/Log.c Init/./Lean/Elab/Quotation.c Init/./Lean/Elab/ResolveName.c Init/./Lean/Elab/Syntax.c Init/./Lean/Elab/SynthesizeSyntheticMVars.c Init/./Lean/Elab/Tactic.c Init/./Lean/Elab/Tactic/Basic.c Init/./Lean/Elab/Tactic/ElabTerm.c Init/./Lean/Elab/Term.c Init/./Lean/Elab/TermApp.c Init/./Lean/Elab/TermBinders.c Init/./Lean/Elab/Util.c Init/./Lean/Environment.c Init/./Lean/EqnCompiler.c Init/./Lean/EqnCompiler/MatchPattern.c Init/./Lean/Eval.c Init/./Lean/Expr.c Init/./Lean/HeadIndex.c Init/./Lean/Hygiene.c Init/./Lean/Level.c Init/./Lean/Linter.c Init/./Lean/LocalContext.c Init/./Lean/Message.c Init/./Lean/Meta.c Init/./Lean/Meta/AbstractMVars.c Init/./Lean/Meta/AppBuilder.c Init/./Lean/Meta/Basic.c Init/./Lean/Meta/Check.c Init/./Lean/Meta/DiscrTree.c Init/./Lean/Meta/DiscrTreeTypes.c Init/./Lean/Meta/Exception.c Init/./Lean/Meta/ExprDefEq.c Init/./Lean/Meta/FunInfo.c Init/./Lean/Meta/InferType.c Init/./Lean/Meta/Instances.c Init/./Lean/Meta/KAbstract.c Init/./Lean/Meta/LevelDefEq.c Init/./Lean/Meta/Message.c Init/./Lean/Meta/Offset.c Init/./Lean/Meta/Reduce.c Init/./Lean/Meta/SynthInstance.c Init/./Lean/Meta/Tactic.c Init/./Lean/Meta/Tactic/Assumption.c Init/./Lean/Meta/Tactic/Intro.c Init/./Lean/Meta/Tactic/Util.c Init/./Lean/Meta/WHNF.c Init/./Lean/MetavarContext.c Init/./Lean/Modifiers.c Init/./Lean/Parser.c Init/./Lean/Parser/Command.c Init/./Lean/Parser/Identifier.c Init/./Lean/Parser/Level.c Init/./Lean/Parser/Module.c Init/./Lean/Parser/Parser.c Init/./Lean/Parser/Syntax.c Init/./Lean/Parser/Tactic.c Init/./Lean/Parser/Term.c Init/./Lean/Parser/Transform.c Init/./Lean/ProjFns.c Init/./Lean/ReducibilityAttrs.c Init/./Lean/Runtime.c Init/./Lean/Scopes.c Init/./Lean/Structure.c Init/./Lean/Syntax.c Init/./Lean/ToExpr.c Init/./Lean/Util/CollectFVars.c Init/./Lean/Util/CollectLevelParams.c Init/./Lean/Util/CollectMVars.c Init/./Lean/Util/MonadCache.c Init/./Lean/Util/PPExt.c Init/./Lean/Util/PPGoal.c Init/./Lean/Util/Path.c Init/./Lean/Util/Profile.c Init/./Lean/Util/RecDepth.c Init/./Lean/Util/Sorry.c Init/./Lean/Util/Trace.c Init/./Lean/Util/WHNF.c Init/./LeanInit.c Init/./System.c Init/./System/FilePath.c Init/./System/IO.c Init/./System/IOError.c Init/./System/Platform.c Init/./Util.c Init/./WF.c) diff --git a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c index b51393111d..3acbd1b904 100644 --- a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c @@ -275,7 +275,7 @@ lean_object* l_Lean_Elab_Term_ElabFComp(lean_object*, lean_object*, lean_object* lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabDiv___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBNe___closed__3; lean_object* l_Lean_Elab_Term_elabProd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_mod___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabMapRev___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabOrM___closed__2; @@ -2601,12 +2601,12 @@ lean_ctor_set(x_60, 0, x_1); lean_ctor_set(x_60, 1, x_59); lean_ctor_set(x_3, 8, x_60); x_61 = 1; -x_62 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_61, x_61, x_57, x_3, x_26); +x_62 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_61, x_57, x_3, x_26); return x_62; } 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; uint8_t x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; +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; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; x_63 = lean_ctor_get(x_3, 0); x_64 = lean_ctor_get(x_3, 1); x_65 = lean_ctor_get(x_3, 2); @@ -2618,6 +2618,7 @@ x_70 = lean_ctor_get(x_3, 7); x_71 = lean_ctor_get(x_3, 8); x_72 = lean_ctor_get(x_3, 9); x_73 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_74 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); lean_inc(x_72); lean_inc(x_71); lean_inc(x_70); @@ -2629,34 +2630,35 @@ lean_inc(x_65); lean_inc(x_64); lean_inc(x_63); lean_dec(x_3); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_1); -lean_ctor_set(x_74, 1, x_71); -x_75 = lean_alloc_ctor(0, 10, 1); -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_67); -lean_ctor_set(x_75, 5, x_68); -lean_ctor_set(x_75, 6, x_69); -lean_ctor_set(x_75, 7, x_70); -lean_ctor_set(x_75, 8, x_74); -lean_ctor_set(x_75, 9, x_72); -lean_ctor_set_uint8(x_75, sizeof(void*)*10, x_73); -x_76 = 1; -x_77 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_76, x_76, x_57, x_75, x_26); -return x_77; +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_1); +lean_ctor_set(x_75, 1, x_71); +x_76 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_76, 0, x_63); +lean_ctor_set(x_76, 1, x_64); +lean_ctor_set(x_76, 2, x_65); +lean_ctor_set(x_76, 3, x_66); +lean_ctor_set(x_76, 4, x_67); +lean_ctor_set(x_76, 5, x_68); +lean_ctor_set(x_76, 6, x_69); +lean_ctor_set(x_76, 7, x_70); +lean_ctor_set(x_76, 8, x_75); +lean_ctor_set(x_76, 9, x_72); +lean_ctor_set_uint8(x_76, sizeof(void*)*10, x_73); +lean_ctor_set_uint8(x_76, sizeof(void*)*10 + 1, x_74); +x_77 = 1; +x_78 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_77, x_57, x_76, x_26); +return x_78; } } } else { -lean_object* x_78; +lean_object* x_79; lean_dec(x_37); lean_dec(x_2); -x_78 = lean_box(0); -x_27 = x_78; +x_79 = lean_box(0); +x_27 = x_79; goto block_34; } } @@ -2681,11 +2683,11 @@ return x_33; } else { -lean_object* x_79; +lean_object* x_80; lean_dec(x_22); lean_dec(x_2); -x_79 = lean_box(0); -x_15 = x_79; +x_80 = lean_box(0); +x_15 = x_80; goto block_21; } block_21: @@ -2707,27 +2709,27 @@ return x_20; } else { -uint8_t x_80; +uint8_t x_81; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_80 = !lean_is_exclusive(x_5); -if (x_80 == 0) +x_81 = !lean_is_exclusive(x_5); +if (x_81 == 0) { return x_5; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_5, 0); -x_82 = lean_ctor_get(x_5, 1); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_5, 0); +x_83 = lean_ctor_get(x_5, 1); +lean_inc(x_83); lean_inc(x_82); -lean_inc(x_81); lean_dec(x_5); -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_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; } } } @@ -5417,7 +5419,7 @@ x_11 = lean_array_push(x_10, x_7); x_12 = lean_array_push(x_11, x_9); x_13 = l_Lean_mkAppStx(x_1, x_12); x_14 = 1; -x_15 = l_Lean_Elab_Term_elabTermAux___main(x_3, x_14, x_14, x_13, x_4, x_5); +x_15 = l_Lean_Elab_Term_elabTermAux___main(x_3, x_14, x_13, x_4, x_5); return x_15; } } diff --git a/stage0/stdlib/Init/Lean/Elab/Command.c b/stage0/stdlib/Init/Lean/Elab/Command.c index 271a0c1bc0..27da643e10 100644 --- a/stage0/stdlib/Init/Lean/Elab/Command.c +++ b/stage0/stdlib/Init/Lean/Elab/Command.c @@ -143,6 +143,7 @@ lean_object* l_Lean_SMap_empty___at_Lean_Elab_Command_mkBuiltinCommandElabTable_ lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabExport(lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__2; lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_isLevelDefEqAux___main___closed__5; lean_object* l_List_foldl___main___at_Lean_Elab_Command_sortDeclLevelParams___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addOpenDecl___spec__1(lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); @@ -159,6 +160,7 @@ lean_object* l_Lean_Elab_mkMessageAt___at_Lean_Elab_Command_throwError___spec__3 lean_object* l_Lean_Elab_Command_elabSetOption___closed__3; extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_Elab_Command_elabSynth___closed__2; +extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_withDeclId___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariables___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabUniverses___boxed(lean_object*, lean_object*, lean_object*); @@ -271,7 +273,7 @@ lean_object* l_Lean_Elab_Command_addBuiltinCommandElab___boxed(lean_object*, lea lean_object* l_Lean_Elab_Command_CommandElabCoreM_monadState; lean_object* l___private_Init_Lean_Elab_Command_14__checkEndHeader___boxed(lean_object*, lean_object*); size_t l_Lean_Name_hash(lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Char_HasRepr___closed__1; lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___lambda__1___closed__4; lean_object* l___private_Init_Lean_Elab_Command_1__ioErrorToMessage___boxed(lean_object*, lean_object*, lean_object*); @@ -386,7 +388,6 @@ extern lean_object* l_Lean_Syntax_inhabited; lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*); lean_object* l_List_drop___main___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*); -extern lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__4; lean_object* l_Lean_Elab_Command_elabExport___closed__2; lean_object* l_Lean_Elab_Command_elabCommand___main___closed__1; lean_object* l_AssocList_contains___main___at_Lean_Elab_Command_addBuiltinCommandElab___spec__3___boxed(lean_object*, lean_object*); @@ -425,6 +426,7 @@ lean_object* l_Lean_Elab_Command_elabEnd___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Command_withDeclId___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___closed__5; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabUniverse___closed__2; +lean_object* l_Lean_Elab_Command_elabCommand___main___closed__4; lean_object* l_Lean_Elab_Command_elabEnd___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withIncRecDepth(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); @@ -4852,6 +4854,16 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } +lean_object* _init_l_Lean_Elab_Command_elabCommand___main___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; +x_2 = l_Lean_Meta_isLevelDefEqAux___main___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} lean_object* l_Lean_Elab_Command_elabCommand___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -4979,7 +4991,7 @@ lean_inc(x_82); x_83 = lean_ctor_get(x_81, 1); lean_inc(x_83); lean_dec(x_81); -x_84 = l_Lean_Elab_Tactic_evalTactic___main___closed__4; +x_84 = l_Lean_Elab_Command_elabCommand___main___closed__4; x_85 = l_Lean_checkTraceOption(x_82, x_84); lean_dec(x_82); if (x_85 == 0) @@ -5387,7 +5399,7 @@ 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_Tactic_evalTactic___main___closed__4; +x_164 = l_Lean_Elab_Command_elabCommand___main___closed__4; x_165 = l_Lean_checkTraceOption(x_162, x_164); lean_dec(x_162); if (x_165 == 0) @@ -5879,7 +5891,7 @@ lean_inc(x_253); x_254 = lean_ctor_get(x_252, 1); lean_inc(x_254); lean_dec(x_252); -x_255 = l_Lean_Elab_Tactic_evalTactic___main___closed__4; +x_255 = l_Lean_Elab_Command_elabCommand___main___closed__4; x_256 = l_Lean_checkTraceOption(x_253, x_255); lean_dec(x_253); if (x_256 == 0) @@ -6571,7 +6583,7 @@ lean_inc(x_16); lean_inc(x_15); lean_inc(x_13); lean_inc(x_12); -x_24 = lean_alloc_ctor(0, 10, 1); +x_24 = lean_alloc_ctor(0, 10, 2); lean_ctor_set(x_24, 0, x_20); lean_ctor_set(x_24, 1, x_12); lean_ctor_set(x_24, 2, x_13); @@ -6583,6 +6595,7 @@ lean_ctor_set(x_24, 7, x_23); lean_ctor_set(x_24, 8, x_16); lean_ctor_set(x_24, 9, x_17); lean_ctor_set_uint8(x_24, sizeof(void*)*10, x_8); +lean_ctor_set_uint8(x_24, sizeof(void*)*10 + 1, x_8); return x_24; } } @@ -16092,7 +16105,7 @@ _start: uint8_t x_7; lean_object* x_8; x_7 = 1; lean_inc(x_5); -x_8 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_7, x_7, x_2, x_5, x_6); +x_8 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_7, x_2, x_5, x_6); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; @@ -16722,7 +16735,7 @@ lean_object* x_6; uint8_t x_7; lean_object* x_8; x_6 = lean_box(0); x_7 = 1; lean_inc(x_4); -x_8 = l_Lean_Elab_Term_elabTermAux___main(x_6, x_7, x_7, x_1, x_4, x_5); +x_8 = l_Lean_Elab_Term_elabTermAux___main(x_6, x_7, x_1, x_4, x_5); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; @@ -22382,6 +22395,8 @@ l_Lean_Elab_Command_elabCommand___main___closed__2 = _init_l_Lean_Elab_Command_e lean_mark_persistent(l_Lean_Elab_Command_elabCommand___main___closed__2); l_Lean_Elab_Command_elabCommand___main___closed__3 = _init_l_Lean_Elab_Command_elabCommand___main___closed__3(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand___main___closed__3); +l_Lean_Elab_Command_elabCommand___main___closed__4 = _init_l_Lean_Elab_Command_elabCommand___main___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___main___closed__4); l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg___closed__1 = _init_l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg___closed__1); l_Lean_Elab_Command_CommandElabM_inhabited___closed__1 = _init_l_Lean_Elab_Command_CommandElabM_inhabited___closed__1(); diff --git a/stage0/stdlib/Init/Lean/Elab/Definition.c b/stage0/stdlib/Init/Lean/Elab/Definition.c index 9c0aeac188..442cd2dcc7 100644 --- a/stage0/stdlib/Init/Lean/Elab/Definition.c +++ b/stage0/stdlib/Init/Lean/Elab/Definition.c @@ -70,7 +70,7 @@ extern lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__2 lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Elab_Command_mkDef___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_mkDef___lambda__1___closed__1; -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); @@ -1194,7 +1194,7 @@ 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; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_object* x_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; 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; x_30 = lean_ctor_get(x_8, 1); x_31 = lean_ctor_get(x_8, 2); x_32 = lean_ctor_get(x_8, 3); @@ -1205,6 +1205,7 @@ x_36 = lean_ctor_get(x_8, 7); x_37 = lean_ctor_get(x_8, 8); x_38 = lean_ctor_get(x_8, 9); x_39 = lean_ctor_get_uint8(x_8, sizeof(void*)*10); +x_40 = lean_ctor_get_uint8(x_8, sizeof(void*)*10 + 1); lean_inc(x_38); lean_inc(x_37); lean_inc(x_36); @@ -1215,71 +1216,72 @@ lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); lean_dec(x_8); -x_40 = lean_ctor_get(x_14, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_14, 3); +x_41 = lean_ctor_get(x_14, 0); lean_inc(x_41); -x_42 = lean_ctor_get(x_14, 4); +x_42 = lean_ctor_get(x_14, 3); lean_inc(x_42); +x_43 = lean_ctor_get(x_14, 4); +lean_inc(x_43); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); lean_ctor_release(x_14, 3); lean_ctor_release(x_14, 4); - x_43 = x_14; + x_44 = x_14; } else { lean_dec_ref(x_14); - x_43 = lean_box(0); + x_44 = lean_box(0); } -if (lean_is_scalar(x_43)) { - x_44 = lean_alloc_ctor(0, 5, 0); +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(0, 5, 0); } else { - x_44 = x_43; + x_45 = x_44; } -lean_ctor_set(x_44, 0, x_40); -lean_ctor_set(x_44, 1, x_16); -lean_ctor_set(x_44, 2, x_17); -lean_ctor_set(x_44, 3, x_41); -lean_ctor_set(x_44, 4, x_42); -x_45 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_30); -lean_ctor_set(x_45, 2, x_31); -lean_ctor_set(x_45, 3, x_32); -lean_ctor_set(x_45, 4, x_33); -lean_ctor_set(x_45, 5, x_34); -lean_ctor_set(x_45, 6, x_35); -lean_ctor_set(x_45, 7, x_36); -lean_ctor_set(x_45, 8, x_37); -lean_ctor_set(x_45, 9, x_38); -lean_ctor_set_uint8(x_45, sizeof(void*)*10, x_39); -x_46 = lean_apply_3(x_7, x_18, x_45, x_15); -return x_46; +lean_ctor_set(x_45, 0, x_41); +lean_ctor_set(x_45, 1, x_16); +lean_ctor_set(x_45, 2, x_17); +lean_ctor_set(x_45, 3, x_42); +lean_ctor_set(x_45, 4, x_43); +x_46 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_30); +lean_ctor_set(x_46, 2, x_31); +lean_ctor_set(x_46, 3, x_32); +lean_ctor_set(x_46, 4, x_33); +lean_ctor_set(x_46, 5, x_34); +lean_ctor_set(x_46, 6, x_35); +lean_ctor_set(x_46, 7, x_36); +lean_ctor_set(x_46, 8, x_37); +lean_ctor_set(x_46, 9, x_38); +lean_ctor_set_uint8(x_46, sizeof(void*)*10, x_39); +lean_ctor_set_uint8(x_46, sizeof(void*)*10 + 1, x_40); +x_47 = lean_apply_3(x_7, x_18, x_46, x_15); +return x_47; } } else { -uint8_t x_47; +uint8_t x_48; lean_dec(x_8); lean_dec(x_7); -x_47 = !lean_is_exclusive(x_11); -if (x_47 == 0) +x_48 = !lean_is_exclusive(x_11); +if (x_48 == 0) { return x_11; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_11, 0); -x_49 = lean_ctor_get(x_11, 1); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_11, 0); +x_50 = lean_ctor_get(x_11, 1); +lean_inc(x_50); lean_inc(x_49); -lean_inc(x_48); lean_dec(x_11); -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_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; } } } @@ -2018,7 +2020,7 @@ lean_dec(x_1); x_15 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_15, 0, x_2); x_16 = 1; -x_17 = l_Lean_Elab_Term_elabTermAux___main(x_15, x_16, x_16, x_14, x_3, x_4); +x_17 = l_Lean_Elab_Term_elabTermAux___main(x_15, x_16, x_14, x_3, x_4); return x_17; } } diff --git a/stage0/stdlib/Init/Lean/Elab/Quotation.c b/stage0/stdlib/Init/Lean/Elab/Quotation.c index 25503a3dd8..ca30a40d3f 100644 --- a/stage0/stdlib/Init/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Init/Lean/Elab/Quotation.c @@ -7892,7 +7892,7 @@ x_32 = l_List_append___rarg(x_27, x_18); x_33 = !lean_is_exclusive(x_31); 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; uint8_t x_46; lean_object* x_47; lean_object* x_48; +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; uint8_t x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; x_34 = lean_ctor_get(x_31, 5); x_35 = lean_unsigned_to_nat(1u); x_36 = lean_nat_add(x_34, x_35); @@ -7916,6 +7916,7 @@ lean_inc(x_44); x_45 = lean_ctor_get(x_4, 8); lean_inc(x_45); x_46 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_47 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); lean_inc(x_45); lean_inc(x_44); lean_inc(x_43); @@ -7925,27 +7926,28 @@ lean_inc(x_40); lean_inc(x_39); lean_inc(x_38); lean_inc(x_37); -x_47 = lean_alloc_ctor(0, 10, 1); -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_41); -lean_ctor_set(x_47, 5, x_42); -lean_ctor_set(x_47, 6, x_43); -lean_ctor_set(x_47, 7, x_44); -lean_ctor_set(x_47, 8, x_45); -lean_ctor_set(x_47, 9, x_34); -lean_ctor_set_uint8(x_47, sizeof(void*)*10, x_46); -x_48 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_32, x_30, x_47, x_31); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; -x_49 = lean_ctor_get(x_25, 0); -lean_inc(x_49); +x_48 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_48, 0, x_37); +lean_ctor_set(x_48, 1, x_38); +lean_ctor_set(x_48, 2, x_39); +lean_ctor_set(x_48, 3, x_40); +lean_ctor_set(x_48, 4, x_41); +lean_ctor_set(x_48, 5, x_42); +lean_ctor_set(x_48, 6, x_43); +lean_ctor_set(x_48, 7, x_44); +lean_ctor_set(x_48, 8, x_45); +lean_ctor_set(x_48, 9, x_34); +lean_ctor_set_uint8(x_48, sizeof(void*)*10, x_46); +lean_ctor_set_uint8(x_48, sizeof(void*)*10 + 1, x_47); +x_49 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_32, x_30, x_48, x_31); 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_50; +x_50 = lean_ctor_get(x_25, 0); +lean_inc(x_50); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_dec(x_45); lean_dec(x_44); lean_dec(x_43); @@ -7958,575 +7960,577 @@ lean_dec(x_37); lean_dec(x_25); lean_dec(x_21); lean_dec(x_2); -x_50 = lean_ctor_get(x_48, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_48, 1); +x_51 = lean_ctor_get(x_49, 0); lean_inc(x_51); -lean_dec(x_48); -x_52 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_51); +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_52); lean_dec(x_4); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) +x_54 = !lean_is_exclusive(x_53); +if (x_54 == 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; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_box(0); -x_56 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -x_57 = lean_name_mk_numeral(x_56, x_54); -x_58 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_59 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_59, 0, x_55); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_57); -lean_ctor_set(x_59, 3, x_27); -x_60 = l_Array_empty___closed__1; -x_61 = lean_array_push(x_60, x_59); -x_62 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_63 = lean_array_push(x_61, x_62); -x_64 = lean_array_push(x_63, x_62); -x_65 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_66 = lean_array_push(x_64, x_65); -x_67 = lean_array_push(x_66, x_17); -x_68 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_71 = lean_array_push(x_70, x_69); -x_72 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_73 = lean_array_push(x_71, x_72); -x_74 = lean_array_push(x_73, x_50); -x_75 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -lean_ctor_set(x_52, 0, x_76); -return x_52; +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_55 = lean_ctor_get(x_53, 0); +x_56 = lean_box(0); +x_57 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +x_58 = lean_name_mk_numeral(x_57, x_55); +x_59 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_60 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_60, 2, x_58); +lean_ctor_set(x_60, 3, x_27); +x_61 = l_Array_empty___closed__1; +x_62 = lean_array_push(x_61, x_60); +x_63 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_64 = lean_array_push(x_62, x_63); +x_65 = lean_array_push(x_64, x_63); +x_66 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_67 = lean_array_push(x_65, x_66); +x_68 = lean_array_push(x_67, x_17); +x_69 = l_Lean_Parser_Term_letIdDecl___elambda__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_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_72 = lean_array_push(x_71, x_70); +x_73 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_74 = lean_array_push(x_72, x_73); +x_75 = lean_array_push(x_74, x_51); +x_76 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_53, 0, x_77); +return x_53; } 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; 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_77 = lean_ctor_get(x_52, 0); -x_78 = lean_ctor_get(x_52, 1); +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; +x_78 = lean_ctor_get(x_53, 0); +x_79 = lean_ctor_get(x_53, 1); +lean_inc(x_79); lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_52); -x_79 = lean_box(0); -x_80 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -x_81 = lean_name_mk_numeral(x_80, x_77); -x_82 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_83 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_83, 0, x_79); -lean_ctor_set(x_83, 1, x_82); -lean_ctor_set(x_83, 2, x_81); -lean_ctor_set(x_83, 3, x_27); -x_84 = l_Array_empty___closed__1; -x_85 = lean_array_push(x_84, x_83); -x_86 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_87 = lean_array_push(x_85, x_86); -x_88 = lean_array_push(x_87, x_86); -x_89 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_90 = lean_array_push(x_88, x_89); -x_91 = lean_array_push(x_90, x_17); -x_92 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); -x_94 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_95 = lean_array_push(x_94, x_93); -x_96 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_97 = lean_array_push(x_95, x_96); -x_98 = lean_array_push(x_97, x_50); -x_99 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_98); -x_101 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_53); +x_80 = lean_box(0); +x_81 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +x_82 = lean_name_mk_numeral(x_81, x_78); +x_83 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_84 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_84, 0, x_80); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_82); +lean_ctor_set(x_84, 3, x_27); +x_85 = l_Array_empty___closed__1; +x_86 = lean_array_push(x_85, x_84); +x_87 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_88 = lean_array_push(x_86, x_87); +x_89 = lean_array_push(x_88, x_87); +x_90 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_91 = lean_array_push(x_89, x_90); +x_92 = lean_array_push(x_91, x_17); +x_93 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_96 = lean_array_push(x_95, x_94); +x_97 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_98 = lean_array_push(x_96, x_97); +x_99 = lean_array_push(x_98, x_51); +x_100 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_78); -return x_101; +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_79); +return x_102; } } else { -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_ctor_get(x_48, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_48, 1); +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_103 = lean_ctor_get(x_49, 0); lean_inc(x_103); -lean_dec(x_48); -x_104 = lean_ctor_get(x_49, 0); +x_104 = lean_ctor_get(x_49, 1); lean_inc(x_104); lean_dec(x_49); -x_105 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__6(x_25, x_21, x_27); +x_105 = lean_ctor_get(x_50, 0); +lean_inc(x_105); +lean_dec(x_50); +x_106 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__6(x_25, x_21, x_27); lean_dec(x_25); -x_106 = l_List_map___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__7(x_105); -x_107 = !lean_is_exclusive(x_103); -if (x_107 == 0) +x_107 = l_List_map___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__7(x_106); +x_108 = !lean_is_exclusive(x_104); +if (x_108 == 0) { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_108 = lean_ctor_get(x_103, 5); -x_109 = lean_nat_add(x_108, x_35); -lean_ctor_set(x_103, 5, x_109); -x_110 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_110, 0, x_37); -lean_ctor_set(x_110, 1, x_38); -lean_ctor_set(x_110, 2, x_39); -lean_ctor_set(x_110, 3, x_40); -lean_ctor_set(x_110, 4, x_41); -lean_ctor_set(x_110, 5, x_42); -lean_ctor_set(x_110, 6, x_43); -lean_ctor_set(x_110, 7, x_44); -lean_ctor_set(x_110, 8, x_45); -lean_ctor_set(x_110, 9, x_108); -lean_ctor_set_uint8(x_110, sizeof(void*)*10, x_46); -x_111 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_106, x_110, x_103); -if (lean_obj_tag(x_111) == 0) +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_109 = lean_ctor_get(x_104, 5); +x_110 = lean_nat_add(x_109, x_35); +lean_ctor_set(x_104, 5, x_110); +x_111 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_111, 0, x_37); +lean_ctor_set(x_111, 1, x_38); +lean_ctor_set(x_111, 2, x_39); +lean_ctor_set(x_111, 3, x_40); +lean_ctor_set(x_111, 4, x_41); +lean_ctor_set(x_111, 5, x_42); +lean_ctor_set(x_111, 6, x_43); +lean_ctor_set(x_111, 7, x_44); +lean_ctor_set(x_111, 8, x_45); +lean_ctor_set(x_111, 9, x_109); +lean_ctor_set_uint8(x_111, sizeof(void*)*10, x_46); +lean_ctor_set_uint8(x_111, sizeof(void*)*10 + 1, x_47); +x_112 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_107, x_111, x_104); +if (lean_obj_tag(x_112) == 0) { -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; uint8_t x_146; -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); +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; uint8_t x_147; +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -lean_dec(x_111); -x_114 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_113); -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_115 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_114); +x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); -lean_dec(x_114); -x_117 = lean_box(0); -x_118 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; -lean_inc(x_115); -x_119 = lean_name_mk_numeral(x_118, x_115); -x_120 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; -x_121 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; -x_122 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_122, 0, x_117); -lean_ctor_set(x_122, 1, x_120); -lean_ctor_set(x_122, 2, x_119); -lean_ctor_set(x_122, 3, x_121); -x_123 = l_Array_empty___closed__1; -x_124 = lean_array_push(x_123, x_122); -x_125 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_126 = lean_array_push(x_124, x_125); -x_127 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_129 = lean_array_push(x_123, x_128); -x_130 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -x_131 = lean_name_mk_numeral(x_130, x_115); -x_132 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_133 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_133, 0, x_117); -lean_ctor_set(x_133, 1, x_132); -lean_ctor_set(x_133, 2, x_131); -lean_ctor_set(x_133, 3, x_27); -x_134 = lean_array_push(x_123, x_133); -x_135 = lean_array_push(x_134, x_125); -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_127); -lean_ctor_set(x_136, 1, x_135); -x_137 = lean_array_push(x_123, x_136); -x_138 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_104); -x_139 = lean_array_push(x_137, x_138); -x_140 = l_Lean_nullKind___closed__2; -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_129, x_141); -x_143 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -x_145 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_116); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_box(0); +x_119 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; +lean_inc(x_116); +x_120 = lean_name_mk_numeral(x_119, x_116); +x_121 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; +x_122 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; +x_123 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_121); +lean_ctor_set(x_123, 2, x_120); +lean_ctor_set(x_123, 3, x_122); +x_124 = l_Array_empty___closed__1; +x_125 = lean_array_push(x_124, x_123); +x_126 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_127 = lean_array_push(x_125, x_126); +x_128 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = lean_array_push(x_124, x_129); +x_131 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +x_132 = lean_name_mk_numeral(x_131, x_116); +x_133 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_134 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_134, 0, x_118); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_132); +lean_ctor_set(x_134, 3, x_27); +x_135 = lean_array_push(x_124, x_134); +x_136 = lean_array_push(x_135, x_126); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_128); +lean_ctor_set(x_137, 1, x_136); +x_138 = lean_array_push(x_124, x_137); +x_139 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_105); +x_140 = lean_array_push(x_138, x_139); +x_141 = l_Lean_nullKind___closed__2; +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_143 = lean_array_push(x_130, x_142); +x_144 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_143); +x_146 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_117); lean_dec(x_4); -x_146 = !lean_is_exclusive(x_145); -if (x_146 == 0) +x_147 = !lean_is_exclusive(x_146); +if (x_147 == 0) { -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; -x_147 = lean_ctor_get(x_145, 0); -lean_inc(x_147); -x_148 = lean_name_mk_numeral(x_130, x_147); -x_149 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_149, 0, x_117); -lean_ctor_set(x_149, 1, x_132); -lean_ctor_set(x_149, 2, x_148); -lean_ctor_set(x_149, 3, x_27); -x_150 = lean_array_push(x_123, x_149); -x_151 = lean_array_push(x_150, x_125); -x_152 = lean_array_push(x_151, x_125); -x_153 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_154 = lean_array_push(x_152, x_153); -x_155 = lean_array_push(x_154, x_17); -x_156 = l_Lean_Parser_Term_letIdDecl___elambda__1___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 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_159 = lean_array_push(x_158, x_157); -x_160 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_161 = lean_array_push(x_159, x_160); -x_162 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; -x_163 = lean_name_mk_numeral(x_162, x_147); -x_164 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; -x_165 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; -x_166 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_166, 0, x_117); -lean_ctor_set(x_166, 1, x_164); -lean_ctor_set(x_166, 2, x_163); -lean_ctor_set(x_166, 3, x_165); -x_167 = lean_array_push(x_123, x_166); -x_168 = lean_array_push(x_167, x_125); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_127); -lean_ctor_set(x_169, 1, x_168); -x_170 = lean_array_push(x_123, x_169); -x_171 = lean_array_push(x_123, x_144); -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_140); -lean_ctor_set(x_172, 1, x_171); -x_173 = lean_array_push(x_170, x_172); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_143); -lean_ctor_set(x_174, 1, x_173); -x_175 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; -x_176 = lean_array_push(x_175, x_174); -x_177 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; -x_178 = lean_array_push(x_176, x_177); -x_179 = lean_array_push(x_178, x_102); -x_180 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; -x_181 = lean_array_push(x_179, x_180); -x_182 = lean_array_push(x_181, x_112); -x_183 = l_Lean_Parser_Term_if___elambda__1___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_161, x_184); -x_186 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_185); -lean_ctor_set(x_145, 0, x_187); -return x_145; +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_148 = lean_ctor_get(x_146, 0); +lean_inc(x_148); +x_149 = lean_name_mk_numeral(x_131, x_148); +x_150 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_150, 0, x_118); +lean_ctor_set(x_150, 1, x_133); +lean_ctor_set(x_150, 2, x_149); +lean_ctor_set(x_150, 3, x_27); +x_151 = lean_array_push(x_124, x_150); +x_152 = lean_array_push(x_151, x_126); +x_153 = lean_array_push(x_152, x_126); +x_154 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_155 = lean_array_push(x_153, x_154); +x_156 = lean_array_push(x_155, x_17); +x_157 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_156); +x_159 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_160 = lean_array_push(x_159, x_158); +x_161 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_162 = lean_array_push(x_160, x_161); +x_163 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; +x_164 = lean_name_mk_numeral(x_163, x_148); +x_165 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; +x_166 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; +x_167 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_167, 0, x_118); +lean_ctor_set(x_167, 1, x_165); +lean_ctor_set(x_167, 2, x_164); +lean_ctor_set(x_167, 3, x_166); +x_168 = lean_array_push(x_124, x_167); +x_169 = lean_array_push(x_168, x_126); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_128); +lean_ctor_set(x_170, 1, x_169); +x_171 = lean_array_push(x_124, x_170); +x_172 = lean_array_push(x_124, x_145); +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_141); +lean_ctor_set(x_173, 1, x_172); +x_174 = lean_array_push(x_171, x_173); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_144); +lean_ctor_set(x_175, 1, x_174); +x_176 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; +x_177 = lean_array_push(x_176, x_175); +x_178 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; +x_179 = lean_array_push(x_177, x_178); +x_180 = lean_array_push(x_179, x_103); +x_181 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; +x_182 = lean_array_push(x_180, x_181); +x_183 = lean_array_push(x_182, x_113); +x_184 = l_Lean_Parser_Term_if___elambda__1___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_162, x_185); +x_187 = l_Lean_Parser_Term_let___elambda__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); +lean_ctor_set(x_146, 0, x_188); +return x_146; } 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; 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_188 = lean_ctor_get(x_145, 0); -x_189 = lean_ctor_get(x_145, 1); +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_189 = lean_ctor_get(x_146, 0); +x_190 = lean_ctor_get(x_146, 1); +lean_inc(x_190); lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_145); -lean_inc(x_188); -x_190 = lean_name_mk_numeral(x_130, x_188); -x_191 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_191, 0, x_117); -lean_ctor_set(x_191, 1, x_132); -lean_ctor_set(x_191, 2, x_190); -lean_ctor_set(x_191, 3, x_27); -x_192 = lean_array_push(x_123, x_191); -x_193 = lean_array_push(x_192, x_125); -x_194 = lean_array_push(x_193, x_125); -x_195 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_196 = lean_array_push(x_194, x_195); -x_197 = lean_array_push(x_196, x_17); -x_198 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_197); -x_200 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_201 = lean_array_push(x_200, x_199); -x_202 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_203 = lean_array_push(x_201, x_202); -x_204 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; -x_205 = lean_name_mk_numeral(x_204, x_188); -x_206 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; -x_207 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; -x_208 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_208, 0, x_117); -lean_ctor_set(x_208, 1, x_206); -lean_ctor_set(x_208, 2, x_205); -lean_ctor_set(x_208, 3, x_207); -x_209 = lean_array_push(x_123, x_208); -x_210 = lean_array_push(x_209, x_125); -x_211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_211, 0, x_127); -lean_ctor_set(x_211, 1, x_210); -x_212 = lean_array_push(x_123, x_211); -x_213 = lean_array_push(x_123, x_144); -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_140); -lean_ctor_set(x_214, 1, x_213); -x_215 = lean_array_push(x_212, x_214); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_143); -lean_ctor_set(x_216, 1, x_215); -x_217 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; -x_218 = lean_array_push(x_217, x_216); -x_219 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; -x_220 = lean_array_push(x_218, x_219); -x_221 = lean_array_push(x_220, x_102); -x_222 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; -x_223 = lean_array_push(x_221, x_222); -x_224 = lean_array_push(x_223, x_112); -x_225 = l_Lean_Parser_Term_if___elambda__1___closed__2; -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_203, x_226); -x_228 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_227); -x_230 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_146); +lean_inc(x_189); +x_191 = lean_name_mk_numeral(x_131, x_189); +x_192 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_192, 0, x_118); +lean_ctor_set(x_192, 1, x_133); +lean_ctor_set(x_192, 2, x_191); +lean_ctor_set(x_192, 3, x_27); +x_193 = lean_array_push(x_124, x_192); +x_194 = lean_array_push(x_193, x_126); +x_195 = lean_array_push(x_194, x_126); +x_196 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_197 = lean_array_push(x_195, x_196); +x_198 = lean_array_push(x_197, x_17); +x_199 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_202 = lean_array_push(x_201, x_200); +x_203 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_204 = lean_array_push(x_202, x_203); +x_205 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; +x_206 = lean_name_mk_numeral(x_205, x_189); +x_207 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; +x_208 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; +x_209 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_209, 0, x_118); +lean_ctor_set(x_209, 1, x_207); +lean_ctor_set(x_209, 2, x_206); +lean_ctor_set(x_209, 3, x_208); +x_210 = lean_array_push(x_124, x_209); +x_211 = lean_array_push(x_210, x_126); +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_128); +lean_ctor_set(x_212, 1, x_211); +x_213 = lean_array_push(x_124, x_212); +x_214 = lean_array_push(x_124, x_145); +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_141); +lean_ctor_set(x_215, 1, x_214); +x_216 = lean_array_push(x_213, x_215); +x_217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_217, 0, x_144); +lean_ctor_set(x_217, 1, x_216); +x_218 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; +x_219 = lean_array_push(x_218, x_217); +x_220 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; +x_221 = lean_array_push(x_219, x_220); +x_222 = lean_array_push(x_221, x_103); +x_223 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; +x_224 = lean_array_push(x_222, x_223); +x_225 = lean_array_push(x_224, x_113); +x_226 = l_Lean_Parser_Term_if___elambda__1___closed__2; +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_225); +x_228 = lean_array_push(x_204, x_227); +x_229 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_230 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_189); -return x_230; +lean_ctor_set(x_230, 1, x_228); +x_231 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_190); +return x_231; } } else { -uint8_t x_231; -lean_dec(x_104); -lean_dec(x_102); +uint8_t x_232; +lean_dec(x_105); +lean_dec(x_103); lean_dec(x_17); lean_dec(x_4); -x_231 = !lean_is_exclusive(x_111); -if (x_231 == 0) +x_232 = !lean_is_exclusive(x_112); +if (x_232 == 0) { -return x_111; +return x_112; } else { -lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_232 = lean_ctor_get(x_111, 0); -x_233 = lean_ctor_get(x_111, 1); +lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_233 = lean_ctor_get(x_112, 0); +x_234 = lean_ctor_get(x_112, 1); +lean_inc(x_234); lean_inc(x_233); -lean_inc(x_232); -lean_dec(x_111); -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_dec(x_112); +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_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; -x_235 = lean_ctor_get(x_103, 0); -x_236 = lean_ctor_get(x_103, 1); -x_237 = lean_ctor_get(x_103, 2); -x_238 = lean_ctor_get(x_103, 3); -x_239 = lean_ctor_get(x_103, 4); -x_240 = lean_ctor_get(x_103, 5); +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_236 = lean_ctor_get(x_104, 0); +x_237 = lean_ctor_get(x_104, 1); +x_238 = lean_ctor_get(x_104, 2); +x_239 = lean_ctor_get(x_104, 3); +x_240 = lean_ctor_get(x_104, 4); +x_241 = lean_ctor_get(x_104, 5); +lean_inc(x_241); lean_inc(x_240); lean_inc(x_239); lean_inc(x_238); lean_inc(x_237); lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_103); -x_241 = lean_nat_add(x_240, x_35); -x_242 = lean_alloc_ctor(0, 6, 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_238); -lean_ctor_set(x_242, 4, x_239); -lean_ctor_set(x_242, 5, x_241); -x_243 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_243, 0, x_37); -lean_ctor_set(x_243, 1, x_38); -lean_ctor_set(x_243, 2, x_39); -lean_ctor_set(x_243, 3, x_40); -lean_ctor_set(x_243, 4, x_41); -lean_ctor_set(x_243, 5, x_42); -lean_ctor_set(x_243, 6, x_43); -lean_ctor_set(x_243, 7, x_44); -lean_ctor_set(x_243, 8, x_45); -lean_ctor_set(x_243, 9, x_240); -lean_ctor_set_uint8(x_243, sizeof(void*)*10, x_46); -x_244 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_106, x_243, x_242); -if (lean_obj_tag(x_244) == 0) +lean_dec(x_104); +x_242 = lean_nat_add(x_241, x_35); +x_243 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_243, 0, x_236); +lean_ctor_set(x_243, 1, x_237); +lean_ctor_set(x_243, 2, x_238); +lean_ctor_set(x_243, 3, x_239); +lean_ctor_set(x_243, 4, x_240); +lean_ctor_set(x_243, 5, x_242); +x_244 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_244, 0, x_37); +lean_ctor_set(x_244, 1, x_38); +lean_ctor_set(x_244, 2, x_39); +lean_ctor_set(x_244, 3, x_40); +lean_ctor_set(x_244, 4, x_41); +lean_ctor_set(x_244, 5, x_42); +lean_ctor_set(x_244, 6, x_43); +lean_ctor_set(x_244, 7, x_44); +lean_ctor_set(x_244, 8, x_45); +lean_ctor_set(x_244, 9, x_241); +lean_ctor_set_uint8(x_244, sizeof(void*)*10, x_46); +lean_ctor_set_uint8(x_244, sizeof(void*)*10 + 1, x_47); +x_245 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_107, x_244, x_243); +if (lean_obj_tag(x_245) == 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; 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_245 = lean_ctor_get(x_244, 0); -lean_inc(x_245); -x_246 = lean_ctor_get(x_244, 1); +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; +x_246 = lean_ctor_get(x_245, 0); lean_inc(x_246); -lean_dec(x_244); -x_247 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_246); -x_248 = lean_ctor_get(x_247, 0); -lean_inc(x_248); -x_249 = lean_ctor_get(x_247, 1); +x_247 = lean_ctor_get(x_245, 1); +lean_inc(x_247); +lean_dec(x_245); +x_248 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_247); +x_249 = lean_ctor_get(x_248, 0); lean_inc(x_249); -lean_dec(x_247); -x_250 = lean_box(0); -x_251 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; -lean_inc(x_248); -x_252 = lean_name_mk_numeral(x_251, x_248); -x_253 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; -x_254 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; -x_255 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_255, 0, x_250); -lean_ctor_set(x_255, 1, x_253); -lean_ctor_set(x_255, 2, x_252); -lean_ctor_set(x_255, 3, x_254); -x_256 = l_Array_empty___closed__1; -x_257 = lean_array_push(x_256, x_255); -x_258 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_259 = lean_array_push(x_257, x_258); -x_260 = l_Lean_Parser_Term_id___elambda__1___closed__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 = lean_array_push(x_256, x_261); -x_263 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -x_264 = lean_name_mk_numeral(x_263, x_248); -x_265 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_266 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_266, 0, x_250); -lean_ctor_set(x_266, 1, x_265); -lean_ctor_set(x_266, 2, x_264); -lean_ctor_set(x_266, 3, x_27); -x_267 = lean_array_push(x_256, x_266); -x_268 = lean_array_push(x_267, x_258); -x_269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_269, 0, x_260); -lean_ctor_set(x_269, 1, x_268); -x_270 = lean_array_push(x_256, x_269); -x_271 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_104); -x_272 = lean_array_push(x_270, x_271); -x_273 = l_Lean_nullKind___closed__2; -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_273); -lean_ctor_set(x_274, 1, x_272); -x_275 = lean_array_push(x_262, x_274); -x_276 = l_Lean_Parser_Term_app___elambda__1___closed__2; -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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_249); +x_250 = lean_ctor_get(x_248, 1); +lean_inc(x_250); +lean_dec(x_248); +x_251 = lean_box(0); +x_252 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; +lean_inc(x_249); +x_253 = lean_name_mk_numeral(x_252, x_249); +x_254 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; +x_255 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; +x_256 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_256, 0, x_251); +lean_ctor_set(x_256, 1, x_254); +lean_ctor_set(x_256, 2, x_253); +lean_ctor_set(x_256, 3, x_255); +x_257 = l_Array_empty___closed__1; +x_258 = lean_array_push(x_257, x_256); +x_259 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_260 = lean_array_push(x_258, x_259); +x_261 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_260); +x_263 = lean_array_push(x_257, x_262); +x_264 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +x_265 = lean_name_mk_numeral(x_264, x_249); +x_266 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_267 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_267, 0, x_251); +lean_ctor_set(x_267, 1, x_266); +lean_ctor_set(x_267, 2, x_265); +lean_ctor_set(x_267, 3, x_27); +x_268 = lean_array_push(x_257, x_267); +x_269 = lean_array_push(x_268, x_259); +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_261); +lean_ctor_set(x_270, 1, x_269); +x_271 = lean_array_push(x_257, x_270); +x_272 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_105); +x_273 = lean_array_push(x_271, x_272); +x_274 = l_Lean_nullKind___closed__2; +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 = lean_array_push(x_263, x_275); +x_277 = l_Lean_Parser_Term_app___elambda__1___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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_250); lean_dec(x_4); -x_279 = lean_ctor_get(x_278, 0); -lean_inc(x_279); -x_280 = lean_ctor_get(x_278, 1); +x_280 = lean_ctor_get(x_279, 0); 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; +x_281 = lean_ctor_get(x_279, 1); +lean_inc(x_281); +if (lean_is_exclusive(x_279)) { + lean_ctor_release(x_279, 0); + lean_ctor_release(x_279, 1); + x_282 = x_279; } else { - lean_dec_ref(x_278); - x_281 = lean_box(0); -} -lean_inc(x_279); -x_282 = lean_name_mk_numeral(x_263, x_279); -x_283 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_283, 0, x_250); -lean_ctor_set(x_283, 1, x_265); -lean_ctor_set(x_283, 2, x_282); -lean_ctor_set(x_283, 3, x_27); -x_284 = lean_array_push(x_256, x_283); -x_285 = lean_array_push(x_284, x_258); -x_286 = lean_array_push(x_285, x_258); -x_287 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_288 = lean_array_push(x_286, x_287); -x_289 = lean_array_push(x_288, x_17); -x_290 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -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_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_293 = lean_array_push(x_292, x_291); -x_294 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_295 = lean_array_push(x_293, x_294); -x_296 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; -x_297 = lean_name_mk_numeral(x_296, x_279); -x_298 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; -x_299 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; -x_300 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_300, 0, x_250); -lean_ctor_set(x_300, 1, x_298); -lean_ctor_set(x_300, 2, x_297); -lean_ctor_set(x_300, 3, x_299); -x_301 = lean_array_push(x_256, x_300); -x_302 = lean_array_push(x_301, x_258); -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_260); -lean_ctor_set(x_303, 1, x_302); -x_304 = lean_array_push(x_256, x_303); -x_305 = lean_array_push(x_256, x_277); -x_306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_306, 0, x_273); -lean_ctor_set(x_306, 1, x_305); -x_307 = lean_array_push(x_304, x_306); -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_276); -lean_ctor_set(x_308, 1, x_307); -x_309 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; -x_310 = lean_array_push(x_309, x_308); -x_311 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; -x_312 = lean_array_push(x_310, x_311); -x_313 = lean_array_push(x_312, x_102); -x_314 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; -x_315 = lean_array_push(x_313, x_314); -x_316 = lean_array_push(x_315, x_245); -x_317 = l_Lean_Parser_Term_if___elambda__1___closed__2; -x_318 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_318, 0, x_317); -lean_ctor_set(x_318, 1, x_316); -x_319 = lean_array_push(x_295, x_318); -x_320 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_321, 0, x_320); -lean_ctor_set(x_321, 1, x_319); -if (lean_is_scalar(x_281)) { - x_322 = lean_alloc_ctor(0, 2, 0); -} else { - x_322 = x_281; + lean_dec_ref(x_279); + x_282 = lean_box(0); } +lean_inc(x_280); +x_283 = lean_name_mk_numeral(x_264, x_280); +x_284 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_284, 0, x_251); +lean_ctor_set(x_284, 1, x_266); +lean_ctor_set(x_284, 2, x_283); +lean_ctor_set(x_284, 3, x_27); +x_285 = lean_array_push(x_257, x_284); +x_286 = lean_array_push(x_285, x_259); +x_287 = lean_array_push(x_286, x_259); +x_288 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_289 = lean_array_push(x_287, x_288); +x_290 = lean_array_push(x_289, x_17); +x_291 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_290); +x_293 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_294 = lean_array_push(x_293, x_292); +x_295 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_296 = lean_array_push(x_294, x_295); +x_297 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; +x_298 = lean_name_mk_numeral(x_297, x_280); +x_299 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; +x_300 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; +x_301 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_301, 0, x_251); +lean_ctor_set(x_301, 1, x_299); +lean_ctor_set(x_301, 2, x_298); +lean_ctor_set(x_301, 3, x_300); +x_302 = lean_array_push(x_257, x_301); +x_303 = lean_array_push(x_302, x_259); +x_304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_304, 0, x_261); +lean_ctor_set(x_304, 1, x_303); +x_305 = lean_array_push(x_257, x_304); +x_306 = lean_array_push(x_257, x_278); +x_307 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_307, 0, x_274); +lean_ctor_set(x_307, 1, x_306); +x_308 = lean_array_push(x_305, x_307); +x_309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_309, 0, x_277); +lean_ctor_set(x_309, 1, x_308); +x_310 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; +x_311 = lean_array_push(x_310, x_309); +x_312 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; +x_313 = lean_array_push(x_311, x_312); +x_314 = lean_array_push(x_313, x_103); +x_315 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; +x_316 = lean_array_push(x_314, x_315); +x_317 = lean_array_push(x_316, x_246); +x_318 = l_Lean_Parser_Term_if___elambda__1___closed__2; +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_296, x_319); +x_321 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_322 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_322, 0, x_321); -lean_ctor_set(x_322, 1, x_280); -return x_322; +lean_ctor_set(x_322, 1, x_320); +if (lean_is_scalar(x_282)) { + x_323 = lean_alloc_ctor(0, 2, 0); +} else { + x_323 = x_282; +} +lean_ctor_set(x_323, 0, x_322); +lean_ctor_set(x_323, 1, x_281); +return x_323; } else { -lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; -lean_dec(x_104); -lean_dec(x_102); +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; +lean_dec(x_105); +lean_dec(x_103); lean_dec(x_17); lean_dec(x_4); -x_323 = lean_ctor_get(x_244, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_244, 1); +x_324 = lean_ctor_get(x_245, 0); lean_inc(x_324); -if (lean_is_exclusive(x_244)) { - lean_ctor_release(x_244, 0); - lean_ctor_release(x_244, 1); - x_325 = x_244; +x_325 = lean_ctor_get(x_245, 1); +lean_inc(x_325); +if (lean_is_exclusive(x_245)) { + lean_ctor_release(x_245, 0); + lean_ctor_release(x_245, 1); + x_326 = x_245; } else { - lean_dec_ref(x_244); - x_325 = lean_box(0); + lean_dec_ref(x_245); + x_326 = lean_box(0); } -if (lean_is_scalar(x_325)) { - x_326 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_326)) { + x_327 = lean_alloc_ctor(1, 2, 0); } else { - x_326 = x_325; + x_327 = x_326; } -lean_ctor_set(x_326, 0, x_323); -lean_ctor_set(x_326, 1, x_324); -return x_326; +lean_ctor_set(x_327, 0, x_324); +lean_ctor_set(x_327, 1, x_325); +return x_327; } } } } else { -uint8_t x_327; +uint8_t x_328; lean_dec(x_45); lean_dec(x_44); lean_dec(x_43); @@ -8541,70 +8545,72 @@ lean_dec(x_21); lean_dec(x_17); lean_dec(x_4); lean_dec(x_2); -x_327 = !lean_is_exclusive(x_48); -if (x_327 == 0) +x_328 = !lean_is_exclusive(x_49); +if (x_328 == 0) { -return x_48; +return x_49; } else { -lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_328 = lean_ctor_get(x_48, 0); -x_329 = lean_ctor_get(x_48, 1); +lean_object* x_329; lean_object* x_330; lean_object* x_331; +x_329 = lean_ctor_get(x_49, 0); +x_330 = lean_ctor_get(x_49, 1); +lean_inc(x_330); lean_inc(x_329); -lean_inc(x_328); -lean_dec(x_48); -x_330 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_330, 0, x_328); -lean_ctor_set(x_330, 1, x_329); -return x_330; +lean_dec(x_49); +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_329); +lean_ctor_set(x_331, 1, x_330); +return x_331; } } } else { -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; uint8_t x_349; lean_object* x_350; lean_object* x_351; -x_331 = lean_ctor_get(x_31, 0); -x_332 = lean_ctor_get(x_31, 1); -x_333 = lean_ctor_get(x_31, 2); -x_334 = lean_ctor_get(x_31, 3); -x_335 = lean_ctor_get(x_31, 4); -x_336 = lean_ctor_get(x_31, 5); +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; uint8_t x_350; uint8_t x_351; lean_object* x_352; lean_object* x_353; +x_332 = lean_ctor_get(x_31, 0); +x_333 = lean_ctor_get(x_31, 1); +x_334 = lean_ctor_get(x_31, 2); +x_335 = lean_ctor_get(x_31, 3); +x_336 = lean_ctor_get(x_31, 4); +x_337 = lean_ctor_get(x_31, 5); +lean_inc(x_337); lean_inc(x_336); lean_inc(x_335); lean_inc(x_334); lean_inc(x_333); lean_inc(x_332); -lean_inc(x_331); lean_dec(x_31); -x_337 = lean_unsigned_to_nat(1u); -x_338 = lean_nat_add(x_336, x_337); -x_339 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_339, 0, x_331); -lean_ctor_set(x_339, 1, x_332); -lean_ctor_set(x_339, 2, x_333); -lean_ctor_set(x_339, 3, x_334); -lean_ctor_set(x_339, 4, x_335); -lean_ctor_set(x_339, 5, x_338); -x_340 = lean_ctor_get(x_4, 0); -lean_inc(x_340); -x_341 = lean_ctor_get(x_4, 1); +x_338 = lean_unsigned_to_nat(1u); +x_339 = lean_nat_add(x_337, x_338); +x_340 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_340, 0, x_332); +lean_ctor_set(x_340, 1, x_333); +lean_ctor_set(x_340, 2, x_334); +lean_ctor_set(x_340, 3, x_335); +lean_ctor_set(x_340, 4, x_336); +lean_ctor_set(x_340, 5, x_339); +x_341 = lean_ctor_get(x_4, 0); lean_inc(x_341); -x_342 = lean_ctor_get(x_4, 2); +x_342 = lean_ctor_get(x_4, 1); lean_inc(x_342); -x_343 = lean_ctor_get(x_4, 3); +x_343 = lean_ctor_get(x_4, 2); lean_inc(x_343); -x_344 = lean_ctor_get(x_4, 4); +x_344 = lean_ctor_get(x_4, 3); lean_inc(x_344); -x_345 = lean_ctor_get(x_4, 5); +x_345 = lean_ctor_get(x_4, 4); lean_inc(x_345); -x_346 = lean_ctor_get(x_4, 6); +x_346 = lean_ctor_get(x_4, 5); lean_inc(x_346); -x_347 = lean_ctor_get(x_4, 7); +x_347 = lean_ctor_get(x_4, 6); lean_inc(x_347); -x_348 = lean_ctor_get(x_4, 8); +x_348 = lean_ctor_get(x_4, 7); lean_inc(x_348); -x_349 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_349 = lean_ctor_get(x_4, 8); +lean_inc(x_349); +x_350 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_351 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +lean_inc(x_349); lean_inc(x_348); lean_inc(x_347); lean_inc(x_346); @@ -8613,337 +8619,29 @@ lean_inc(x_344); lean_inc(x_343); lean_inc(x_342); lean_inc(x_341); -lean_inc(x_340); -x_350 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_350, 0, x_340); -lean_ctor_set(x_350, 1, x_341); -lean_ctor_set(x_350, 2, x_342); -lean_ctor_set(x_350, 3, x_343); -lean_ctor_set(x_350, 4, x_344); -lean_ctor_set(x_350, 5, x_345); -lean_ctor_set(x_350, 6, x_346); -lean_ctor_set(x_350, 7, x_347); -lean_ctor_set(x_350, 8, x_348); -lean_ctor_set(x_350, 9, x_336); -lean_ctor_set_uint8(x_350, sizeof(void*)*10, x_349); -x_351 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_32, x_30, x_350, x_339); -if (lean_obj_tag(x_351) == 0) +x_352 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_352, 0, x_341); +lean_ctor_set(x_352, 1, x_342); +lean_ctor_set(x_352, 2, x_343); +lean_ctor_set(x_352, 3, x_344); +lean_ctor_set(x_352, 4, x_345); +lean_ctor_set(x_352, 5, x_346); +lean_ctor_set(x_352, 6, x_347); +lean_ctor_set(x_352, 7, x_348); +lean_ctor_set(x_352, 8, x_349); +lean_ctor_set(x_352, 9, x_337); +lean_ctor_set_uint8(x_352, sizeof(void*)*10, x_350); +lean_ctor_set_uint8(x_352, sizeof(void*)*10 + 1, x_351); +x_353 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_32, x_30, x_352, x_340); +if (lean_obj_tag(x_353) == 0) { -lean_object* x_352; -x_352 = lean_ctor_get(x_25, 0); -lean_inc(x_352); -if (lean_obj_tag(x_352) == 0) -{ -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_dec(x_348); -lean_dec(x_347); -lean_dec(x_346); -lean_dec(x_345); -lean_dec(x_344); -lean_dec(x_343); -lean_dec(x_342); -lean_dec(x_341); -lean_dec(x_340); -lean_dec(x_25); -lean_dec(x_21); -lean_dec(x_2); -x_353 = lean_ctor_get(x_351, 0); -lean_inc(x_353); -x_354 = lean_ctor_get(x_351, 1); +lean_object* x_354; +x_354 = lean_ctor_get(x_25, 0); lean_inc(x_354); -lean_dec(x_351); -x_355 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_354); -lean_dec(x_4); -x_356 = lean_ctor_get(x_355, 0); -lean_inc(x_356); -x_357 = lean_ctor_get(x_355, 1); -lean_inc(x_357); -if (lean_is_exclusive(x_355)) { - lean_ctor_release(x_355, 0); - lean_ctor_release(x_355, 1); - x_358 = x_355; -} else { - lean_dec_ref(x_355); - x_358 = lean_box(0); -} -x_359 = lean_box(0); -x_360 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -x_361 = lean_name_mk_numeral(x_360, x_356); -x_362 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_363 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_363, 0, x_359); -lean_ctor_set(x_363, 1, x_362); -lean_ctor_set(x_363, 2, x_361); -lean_ctor_set(x_363, 3, x_27); -x_364 = l_Array_empty___closed__1; -x_365 = lean_array_push(x_364, x_363); -x_366 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_367 = lean_array_push(x_365, x_366); -x_368 = lean_array_push(x_367, x_366); -x_369 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_370 = lean_array_push(x_368, x_369); -x_371 = lean_array_push(x_370, x_17); -x_372 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_373, 0, x_372); -lean_ctor_set(x_373, 1, x_371); -x_374 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_375 = lean_array_push(x_374, x_373); -x_376 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_377 = lean_array_push(x_375, x_376); -x_378 = lean_array_push(x_377, x_353); -x_379 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_380 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_378); -if (lean_is_scalar(x_358)) { - x_381 = lean_alloc_ctor(0, 2, 0); -} else { - x_381 = x_358; -} -lean_ctor_set(x_381, 0, x_380); -lean_ctor_set(x_381, 1, x_357); -return x_381; -} -else +if (lean_obj_tag(x_354) == 0) { -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; -x_382 = lean_ctor_get(x_351, 0); -lean_inc(x_382); -x_383 = lean_ctor_get(x_351, 1); -lean_inc(x_383); -lean_dec(x_351); -x_384 = lean_ctor_get(x_352, 0); -lean_inc(x_384); -lean_dec(x_352); -x_385 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__6(x_25, x_21, x_27); -lean_dec(x_25); -x_386 = l_List_map___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__7(x_385); -x_387 = lean_ctor_get(x_383, 0); -lean_inc(x_387); -x_388 = lean_ctor_get(x_383, 1); -lean_inc(x_388); -x_389 = lean_ctor_get(x_383, 2); -lean_inc(x_389); -x_390 = lean_ctor_get(x_383, 3); -lean_inc(x_390); -x_391 = lean_ctor_get(x_383, 4); -lean_inc(x_391); -x_392 = lean_ctor_get(x_383, 5); -lean_inc(x_392); -if (lean_is_exclusive(x_383)) { - lean_ctor_release(x_383, 0); - lean_ctor_release(x_383, 1); - lean_ctor_release(x_383, 2); - lean_ctor_release(x_383, 3); - lean_ctor_release(x_383, 4); - lean_ctor_release(x_383, 5); - x_393 = x_383; -} else { - lean_dec_ref(x_383); - x_393 = lean_box(0); -} -x_394 = lean_nat_add(x_392, x_337); -if (lean_is_scalar(x_393)) { - x_395 = lean_alloc_ctor(0, 6, 0); -} else { - x_395 = x_393; -} -lean_ctor_set(x_395, 0, x_387); -lean_ctor_set(x_395, 1, x_388); -lean_ctor_set(x_395, 2, x_389); -lean_ctor_set(x_395, 3, x_390); -lean_ctor_set(x_395, 4, x_391); -lean_ctor_set(x_395, 5, x_394); -x_396 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_396, 0, x_340); -lean_ctor_set(x_396, 1, x_341); -lean_ctor_set(x_396, 2, x_342); -lean_ctor_set(x_396, 3, x_343); -lean_ctor_set(x_396, 4, x_344); -lean_ctor_set(x_396, 5, x_345); -lean_ctor_set(x_396, 6, x_346); -lean_ctor_set(x_396, 7, x_347); -lean_ctor_set(x_396, 8, x_348); -lean_ctor_set(x_396, 9, x_392); -lean_ctor_set_uint8(x_396, sizeof(void*)*10, x_349); -x_397 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_386, x_396, x_395); -if (lean_obj_tag(x_397) == 0) -{ -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; -x_398 = lean_ctor_get(x_397, 0); -lean_inc(x_398); -x_399 = lean_ctor_get(x_397, 1); -lean_inc(x_399); -lean_dec(x_397); -x_400 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_399); -x_401 = lean_ctor_get(x_400, 0); -lean_inc(x_401); -x_402 = lean_ctor_get(x_400, 1); -lean_inc(x_402); -lean_dec(x_400); -x_403 = lean_box(0); -x_404 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; -lean_inc(x_401); -x_405 = lean_name_mk_numeral(x_404, x_401); -x_406 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; -x_407 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; -x_408 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_408, 0, x_403); -lean_ctor_set(x_408, 1, x_406); -lean_ctor_set(x_408, 2, x_405); -lean_ctor_set(x_408, 3, x_407); -x_409 = l_Array_empty___closed__1; -x_410 = lean_array_push(x_409, x_408); -x_411 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_412 = lean_array_push(x_410, x_411); -x_413 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_414, 0, x_413); -lean_ctor_set(x_414, 1, x_412); -x_415 = lean_array_push(x_409, x_414); -x_416 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -x_417 = lean_name_mk_numeral(x_416, x_401); -x_418 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_419 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_419, 0, x_403); -lean_ctor_set(x_419, 1, x_418); -lean_ctor_set(x_419, 2, x_417); -lean_ctor_set(x_419, 3, x_27); -x_420 = lean_array_push(x_409, x_419); -x_421 = lean_array_push(x_420, x_411); -x_422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_422, 0, x_413); -lean_ctor_set(x_422, 1, x_421); -x_423 = lean_array_push(x_409, x_422); -x_424 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_384); -x_425 = lean_array_push(x_423, x_424); -x_426 = l_Lean_nullKind___closed__2; -x_427 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_427, 0, x_426); -lean_ctor_set(x_427, 1, x_425); -x_428 = lean_array_push(x_415, x_427); -x_429 = l_Lean_Parser_Term_app___elambda__1___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_Elab_Term_getCurrMacroScope(x_4, x_402); -lean_dec(x_4); -x_432 = lean_ctor_get(x_431, 0); -lean_inc(x_432); -x_433 = lean_ctor_get(x_431, 1); -lean_inc(x_433); -if (lean_is_exclusive(x_431)) { - lean_ctor_release(x_431, 0); - lean_ctor_release(x_431, 1); - x_434 = x_431; -} else { - lean_dec_ref(x_431); - x_434 = lean_box(0); -} -lean_inc(x_432); -x_435 = lean_name_mk_numeral(x_416, x_432); -x_436 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_436, 0, x_403); -lean_ctor_set(x_436, 1, x_418); -lean_ctor_set(x_436, 2, x_435); -lean_ctor_set(x_436, 3, x_27); -x_437 = lean_array_push(x_409, x_436); -x_438 = lean_array_push(x_437, x_411); -x_439 = lean_array_push(x_438, x_411); -x_440 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_441 = lean_array_push(x_439, x_440); -x_442 = lean_array_push(x_441, x_17); -x_443 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_444, 0, x_443); -lean_ctor_set(x_444, 1, x_442); -x_445 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_446 = lean_array_push(x_445, x_444); -x_447 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_448 = lean_array_push(x_446, x_447); -x_449 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; -x_450 = lean_name_mk_numeral(x_449, x_432); -x_451 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; -x_452 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; -x_453 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_453, 0, x_403); -lean_ctor_set(x_453, 1, x_451); -lean_ctor_set(x_453, 2, x_450); -lean_ctor_set(x_453, 3, x_452); -x_454 = lean_array_push(x_409, x_453); -x_455 = lean_array_push(x_454, x_411); -x_456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_456, 0, x_413); -lean_ctor_set(x_456, 1, x_455); -x_457 = lean_array_push(x_409, x_456); -x_458 = lean_array_push(x_409, x_430); -x_459 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_459, 0, x_426); -lean_ctor_set(x_459, 1, x_458); -x_460 = lean_array_push(x_457, x_459); -x_461 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_461, 0, x_429); -lean_ctor_set(x_461, 1, x_460); -x_462 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; -x_463 = lean_array_push(x_462, x_461); -x_464 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; -x_465 = lean_array_push(x_463, x_464); -x_466 = lean_array_push(x_465, x_382); -x_467 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; -x_468 = lean_array_push(x_466, x_467); -x_469 = lean_array_push(x_468, x_398); -x_470 = l_Lean_Parser_Term_if___elambda__1___closed__2; -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_448, x_471); -x_473 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_474 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_474, 0, x_473); -lean_ctor_set(x_474, 1, x_472); -if (lean_is_scalar(x_434)) { - x_475 = lean_alloc_ctor(0, 2, 0); -} else { - x_475 = x_434; -} -lean_ctor_set(x_475, 0, x_474); -lean_ctor_set(x_475, 1, x_433); -return x_475; -} -else -{ -lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; -lean_dec(x_384); -lean_dec(x_382); -lean_dec(x_17); -lean_dec(x_4); -x_476 = lean_ctor_get(x_397, 0); -lean_inc(x_476); -x_477 = lean_ctor_get(x_397, 1); -lean_inc(x_477); -if (lean_is_exclusive(x_397)) { - lean_ctor_release(x_397, 0); - lean_ctor_release(x_397, 1); - x_478 = x_397; -} else { - lean_dec_ref(x_397); - x_478 = lean_box(0); -} -if (lean_is_scalar(x_478)) { - x_479 = lean_alloc_ctor(1, 2, 0); -} else { - x_479 = x_478; -} -lean_ctor_set(x_479, 0, x_476); -lean_ctor_set(x_479, 1, x_477); -return x_479; -} -} -} -else -{ -lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; +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_dec(x_349); lean_dec(x_348); lean_dec(x_347); lean_dec(x_346); @@ -8952,121 +8650,433 @@ lean_dec(x_344); lean_dec(x_343); lean_dec(x_342); lean_dec(x_341); -lean_dec(x_340); lean_dec(x_25); lean_dec(x_21); +lean_dec(x_2); +x_355 = lean_ctor_get(x_353, 0); +lean_inc(x_355); +x_356 = lean_ctor_get(x_353, 1); +lean_inc(x_356); +lean_dec(x_353); +x_357 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_356); +lean_dec(x_4); +x_358 = lean_ctor_get(x_357, 0); +lean_inc(x_358); +x_359 = lean_ctor_get(x_357, 1); +lean_inc(x_359); +if (lean_is_exclusive(x_357)) { + lean_ctor_release(x_357, 0); + lean_ctor_release(x_357, 1); + x_360 = x_357; +} else { + lean_dec_ref(x_357); + x_360 = lean_box(0); +} +x_361 = lean_box(0); +x_362 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +x_363 = lean_name_mk_numeral(x_362, x_358); +x_364 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_365 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_365, 0, x_361); +lean_ctor_set(x_365, 1, x_364); +lean_ctor_set(x_365, 2, x_363); +lean_ctor_set(x_365, 3, x_27); +x_366 = l_Array_empty___closed__1; +x_367 = lean_array_push(x_366, x_365); +x_368 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_369 = lean_array_push(x_367, x_368); +x_370 = lean_array_push(x_369, x_368); +x_371 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_372 = lean_array_push(x_370, x_371); +x_373 = lean_array_push(x_372, x_17); +x_374 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_375 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_375, 0, x_374); +lean_ctor_set(x_375, 1, x_373); +x_376 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_377 = lean_array_push(x_376, x_375); +x_378 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_379 = lean_array_push(x_377, x_378); +x_380 = lean_array_push(x_379, x_355); +x_381 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_380); +if (lean_is_scalar(x_360)) { + x_383 = lean_alloc_ctor(0, 2, 0); +} else { + x_383 = x_360; +} +lean_ctor_set(x_383, 0, x_382); +lean_ctor_set(x_383, 1, x_359); +return x_383; +} +else +{ +lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; +x_384 = lean_ctor_get(x_353, 0); +lean_inc(x_384); +x_385 = lean_ctor_get(x_353, 1); +lean_inc(x_385); +lean_dec(x_353); +x_386 = lean_ctor_get(x_354, 0); +lean_inc(x_386); +lean_dec(x_354); +x_387 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__6(x_25, x_21, x_27); +lean_dec(x_25); +x_388 = l_List_map___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__7(x_387); +x_389 = lean_ctor_get(x_385, 0); +lean_inc(x_389); +x_390 = lean_ctor_get(x_385, 1); +lean_inc(x_390); +x_391 = lean_ctor_get(x_385, 2); +lean_inc(x_391); +x_392 = lean_ctor_get(x_385, 3); +lean_inc(x_392); +x_393 = lean_ctor_get(x_385, 4); +lean_inc(x_393); +x_394 = lean_ctor_get(x_385, 5); +lean_inc(x_394); +if (lean_is_exclusive(x_385)) { + lean_ctor_release(x_385, 0); + lean_ctor_release(x_385, 1); + lean_ctor_release(x_385, 2); + lean_ctor_release(x_385, 3); + lean_ctor_release(x_385, 4); + lean_ctor_release(x_385, 5); + x_395 = x_385; +} else { + lean_dec_ref(x_385); + x_395 = lean_box(0); +} +x_396 = lean_nat_add(x_394, x_338); +if (lean_is_scalar(x_395)) { + x_397 = lean_alloc_ctor(0, 6, 0); +} else { + x_397 = x_395; +} +lean_ctor_set(x_397, 0, x_389); +lean_ctor_set(x_397, 1, x_390); +lean_ctor_set(x_397, 2, x_391); +lean_ctor_set(x_397, 3, x_392); +lean_ctor_set(x_397, 4, x_393); +lean_ctor_set(x_397, 5, x_396); +x_398 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_398, 0, x_341); +lean_ctor_set(x_398, 1, x_342); +lean_ctor_set(x_398, 2, x_343); +lean_ctor_set(x_398, 3, x_344); +lean_ctor_set(x_398, 4, x_345); +lean_ctor_set(x_398, 5, x_346); +lean_ctor_set(x_398, 6, x_347); +lean_ctor_set(x_398, 7, x_348); +lean_ctor_set(x_398, 8, x_349); +lean_ctor_set(x_398, 9, x_394); +lean_ctor_set_uint8(x_398, sizeof(void*)*10, x_350); +lean_ctor_set_uint8(x_398, sizeof(void*)*10 + 1, x_351); +x_399 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_388, x_398, x_397); +if (lean_obj_tag(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_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; +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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, 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_box(0); +x_406 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; +lean_inc(x_403); +x_407 = lean_name_mk_numeral(x_406, x_403); +x_408 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; +x_409 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; +x_410 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_410, 0, x_405); +lean_ctor_set(x_410, 1, x_408); +lean_ctor_set(x_410, 2, x_407); +lean_ctor_set(x_410, 3, x_409); +x_411 = l_Array_empty___closed__1; +x_412 = lean_array_push(x_411, x_410); +x_413 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_414 = lean_array_push(x_412, x_413); +x_415 = l_Lean_Parser_Term_id___elambda__1___closed__2; +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_411, x_416); +x_418 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +x_419 = lean_name_mk_numeral(x_418, x_403); +x_420 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_421 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_421, 0, x_405); +lean_ctor_set(x_421, 1, x_420); +lean_ctor_set(x_421, 2, x_419); +lean_ctor_set(x_421, 3, x_27); +x_422 = lean_array_push(x_411, x_421); +x_423 = lean_array_push(x_422, x_413); +x_424 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_424, 0, x_415); +lean_ctor_set(x_424, 1, x_423); +x_425 = lean_array_push(x_411, x_424); +x_426 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_386); +x_427 = lean_array_push(x_425, x_426); +x_428 = l_Lean_nullKind___closed__2; +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_417, x_429); +x_431 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_432, 0, x_431); +lean_ctor_set(x_432, 1, x_430); +x_433 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_404); +lean_dec(x_4); +x_434 = lean_ctor_get(x_433, 0); +lean_inc(x_434); +x_435 = lean_ctor_get(x_433, 1); +lean_inc(x_435); +if (lean_is_exclusive(x_433)) { + lean_ctor_release(x_433, 0); + lean_ctor_release(x_433, 1); + x_436 = x_433; +} else { + lean_dec_ref(x_433); + x_436 = lean_box(0); +} +lean_inc(x_434); +x_437 = lean_name_mk_numeral(x_418, x_434); +x_438 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_438, 0, x_405); +lean_ctor_set(x_438, 1, x_420); +lean_ctor_set(x_438, 2, x_437); +lean_ctor_set(x_438, 3, x_27); +x_439 = lean_array_push(x_411, x_438); +x_440 = lean_array_push(x_439, x_413); +x_441 = lean_array_push(x_440, x_413); +x_442 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_443 = lean_array_push(x_441, x_442); +x_444 = lean_array_push(x_443, x_17); +x_445 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_446, 0, x_445); +lean_ctor_set(x_446, 1, x_444); +x_447 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_448 = lean_array_push(x_447, x_446); +x_449 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_450 = lean_array_push(x_448, x_449); +x_451 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; +x_452 = lean_name_mk_numeral(x_451, x_434); +x_453 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; +x_454 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; +x_455 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_455, 0, x_405); +lean_ctor_set(x_455, 1, x_453); +lean_ctor_set(x_455, 2, x_452); +lean_ctor_set(x_455, 3, x_454); +x_456 = lean_array_push(x_411, x_455); +x_457 = lean_array_push(x_456, x_413); +x_458 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_458, 0, x_415); +lean_ctor_set(x_458, 1, x_457); +x_459 = lean_array_push(x_411, x_458); +x_460 = lean_array_push(x_411, x_432); +x_461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_461, 0, x_428); +lean_ctor_set(x_461, 1, x_460); +x_462 = lean_array_push(x_459, x_461); +x_463 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_463, 0, x_431); +lean_ctor_set(x_463, 1, x_462); +x_464 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; +x_465 = lean_array_push(x_464, x_463); +x_466 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; +x_467 = lean_array_push(x_465, x_466); +x_468 = lean_array_push(x_467, x_384); +x_469 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; +x_470 = lean_array_push(x_468, x_469); +x_471 = lean_array_push(x_470, x_400); +x_472 = l_Lean_Parser_Term_if___elambda__1___closed__2; +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 = lean_array_push(x_450, x_473); +x_475 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_476 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_476, 0, x_475); +lean_ctor_set(x_476, 1, x_474); +if (lean_is_scalar(x_436)) { + x_477 = lean_alloc_ctor(0, 2, 0); +} else { + x_477 = x_436; +} +lean_ctor_set(x_477, 0, x_476); +lean_ctor_set(x_477, 1, x_435); +return x_477; +} +else +{ +lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; +lean_dec(x_386); +lean_dec(x_384); lean_dec(x_17); lean_dec(x_4); -lean_dec(x_2); -x_480 = lean_ctor_get(x_351, 0); -lean_inc(x_480); -x_481 = lean_ctor_get(x_351, 1); -lean_inc(x_481); -if (lean_is_exclusive(x_351)) { - lean_ctor_release(x_351, 0); - lean_ctor_release(x_351, 1); - x_482 = x_351; +x_478 = lean_ctor_get(x_399, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_399, 1); +lean_inc(x_479); +if (lean_is_exclusive(x_399)) { + lean_ctor_release(x_399, 0); + lean_ctor_release(x_399, 1); + x_480 = x_399; } else { - lean_dec_ref(x_351); - x_482 = lean_box(0); + lean_dec_ref(x_399); + x_480 = lean_box(0); } -if (lean_is_scalar(x_482)) { - x_483 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_480)) { + x_481 = lean_alloc_ctor(1, 2, 0); } else { - x_483 = x_482; + x_481 = x_480; } -lean_ctor_set(x_483, 0, x_480); -lean_ctor_set(x_483, 1, x_481); -return x_483; +lean_ctor_set(x_481, 0, x_478); +lean_ctor_set(x_481, 1, x_479); +return x_481; } } } else { -uint8_t x_484; +lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; +lean_dec(x_349); +lean_dec(x_348); +lean_dec(x_347); +lean_dec(x_346); +lean_dec(x_345); +lean_dec(x_344); +lean_dec(x_343); +lean_dec(x_342); +lean_dec(x_341); +lean_dec(x_25); +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_4); +lean_dec(x_2); +x_482 = lean_ctor_get(x_353, 0); +lean_inc(x_482); +x_483 = lean_ctor_get(x_353, 1); +lean_inc(x_483); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + x_484 = x_353; +} else { + lean_dec_ref(x_353); + x_484 = lean_box(0); +} +if (lean_is_scalar(x_484)) { + x_485 = lean_alloc_ctor(1, 2, 0); +} else { + x_485 = x_484; +} +lean_ctor_set(x_485, 0, x_482); +lean_ctor_set(x_485, 1, x_483); +return x_485; +} +} +} +else +{ +uint8_t x_486; lean_dec(x_25); lean_dec(x_21); lean_dec(x_18); lean_dec(x_17); lean_dec(x_4); lean_dec(x_2); -x_484 = !lean_is_exclusive(x_29); -if (x_484 == 0) +x_486 = !lean_is_exclusive(x_29); +if (x_486 == 0) { return x_29; } else { -lean_object* x_485; lean_object* x_486; lean_object* x_487; -x_485 = lean_ctor_get(x_29, 0); -x_486 = lean_ctor_get(x_29, 1); -lean_inc(x_486); -lean_inc(x_485); +lean_object* x_487; lean_object* x_488; lean_object* x_489; +x_487 = lean_ctor_get(x_29, 0); +x_488 = lean_ctor_get(x_29, 1); +lean_inc(x_488); +lean_inc(x_487); lean_dec(x_29); -x_487 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_487, 0, x_485); -lean_ctor_set(x_487, 1, x_486); -return x_487; +x_489 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_489, 0, x_487); +lean_ctor_set(x_489, 1, x_488); +return x_489; } } } 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; lean_object* x_494; lean_object* x_495; lean_object* x_496; -x_488 = lean_ctor_get(x_26, 0); -lean_inc(x_488); +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; +x_490 = lean_ctor_get(x_26, 0); +lean_inc(x_490); lean_dec(x_26); -x_489 = lean_array_get_size(x_488); -lean_dec(x_488); -lean_inc(x_489); -x_490 = l_List_range(x_489); -x_491 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__8(x_490, x_4, x_5); -x_492 = lean_ctor_get(x_491, 0); -lean_inc(x_492); -x_493 = lean_ctor_get(x_491, 1); -lean_inc(x_493); -lean_dec(x_491); -x_494 = lean_box(0); +x_491 = lean_array_get_size(x_490); +lean_dec(x_490); +lean_inc(x_491); +x_492 = l_List_range(x_491); +x_493 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__8(x_492, x_4, x_5); +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(0); lean_inc(x_21); -x_495 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__9(x_25, x_21, x_494); +x_497 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__9(x_25, x_21, x_496); lean_inc(x_4); -x_496 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__10(x_492, x_495, x_4, x_493); -if (lean_obj_tag(x_496) == 0) +x_498 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__10(x_494, x_497, x_4, x_495); +if (lean_obj_tag(x_498) == 0) { -lean_object* x_497; lean_object* x_498; lean_object* x_499; uint8_t x_500; -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_List_append___rarg(x_492, x_18); -x_500 = !lean_is_exclusive(x_498); -if (x_500 == 0) +lean_object* x_499; lean_object* x_500; lean_object* x_501; uint8_t x_502; +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 = l_List_append___rarg(x_494, x_18); +x_502 = !lean_is_exclusive(x_500); +if (x_502 == 0) { -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; uint8_t x_513; lean_object* x_514; lean_object* x_515; -x_501 = lean_ctor_get(x_498, 5); -x_502 = lean_unsigned_to_nat(1u); -x_503 = lean_nat_add(x_501, x_502); -lean_ctor_set(x_498, 5, x_503); -x_504 = lean_ctor_get(x_4, 0); -lean_inc(x_504); -x_505 = lean_ctor_get(x_4, 1); -lean_inc(x_505); -x_506 = lean_ctor_get(x_4, 2); +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; uint8_t x_515; uint8_t x_516; lean_object* x_517; lean_object* x_518; +x_503 = lean_ctor_get(x_500, 5); +x_504 = lean_unsigned_to_nat(1u); +x_505 = lean_nat_add(x_503, x_504); +lean_ctor_set(x_500, 5, x_505); +x_506 = lean_ctor_get(x_4, 0); lean_inc(x_506); -x_507 = lean_ctor_get(x_4, 3); +x_507 = lean_ctor_get(x_4, 1); lean_inc(x_507); -x_508 = lean_ctor_get(x_4, 4); +x_508 = lean_ctor_get(x_4, 2); lean_inc(x_508); -x_509 = lean_ctor_get(x_4, 5); +x_509 = lean_ctor_get(x_4, 3); lean_inc(x_509); -x_510 = lean_ctor_get(x_4, 6); +x_510 = lean_ctor_get(x_4, 4); lean_inc(x_510); -x_511 = lean_ctor_get(x_4, 7); +x_511 = lean_ctor_get(x_4, 5); lean_inc(x_511); -x_512 = lean_ctor_get(x_4, 8); +x_512 = lean_ctor_get(x_4, 6); lean_inc(x_512); -x_513 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_513 = lean_ctor_get(x_4, 7); +lean_inc(x_513); +x_514 = lean_ctor_get(x_4, 8); +lean_inc(x_514); +x_515 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_516 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +lean_inc(x_514); +lean_inc(x_513); lean_inc(x_512); lean_inc(x_511); lean_inc(x_510); @@ -9074,29 +9084,30 @@ lean_inc(x_509); lean_inc(x_508); lean_inc(x_507); lean_inc(x_506); -lean_inc(x_505); -lean_inc(x_504); -x_514 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_514, 0, x_504); -lean_ctor_set(x_514, 1, x_505); -lean_ctor_set(x_514, 2, x_506); -lean_ctor_set(x_514, 3, x_507); -lean_ctor_set(x_514, 4, x_508); -lean_ctor_set(x_514, 5, x_509); -lean_ctor_set(x_514, 6, x_510); -lean_ctor_set(x_514, 7, x_511); -lean_ctor_set(x_514, 8, x_512); -lean_ctor_set(x_514, 9, x_501); -lean_ctor_set_uint8(x_514, sizeof(void*)*10, x_513); -x_515 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_499, x_497, x_514, x_498); -if (lean_obj_tag(x_515) == 0) +x_517 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_517, 0, x_506); +lean_ctor_set(x_517, 1, x_507); +lean_ctor_set(x_517, 2, x_508); +lean_ctor_set(x_517, 3, x_509); +lean_ctor_set(x_517, 4, x_510); +lean_ctor_set(x_517, 5, x_511); +lean_ctor_set(x_517, 6, x_512); +lean_ctor_set(x_517, 7, x_513); +lean_ctor_set(x_517, 8, x_514); +lean_ctor_set(x_517, 9, x_503); +lean_ctor_set_uint8(x_517, sizeof(void*)*10, x_515); +lean_ctor_set_uint8(x_517, sizeof(void*)*10 + 1, x_516); +x_518 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_501, x_499, x_517, x_500); +if (lean_obj_tag(x_518) == 0) { -lean_object* x_516; -x_516 = lean_ctor_get(x_25, 0); -lean_inc(x_516); -if (lean_obj_tag(x_516) == 0) +lean_object* x_519; +x_519 = lean_ctor_get(x_25, 0); +lean_inc(x_519); +if (lean_obj_tag(x_519) == 0) { -lean_object* x_517; lean_object* x_518; lean_object* x_519; uint8_t x_520; +lean_object* x_520; lean_object* x_521; lean_object* x_522; uint8_t x_523; +lean_dec(x_514); +lean_dec(x_513); lean_dec(x_512); lean_dec(x_511); lean_dec(x_510); @@ -9104,755 +9115,757 @@ lean_dec(x_509); lean_dec(x_508); lean_dec(x_507); lean_dec(x_506); -lean_dec(x_505); -lean_dec(x_504); -lean_dec(x_489); +lean_dec(x_491); lean_dec(x_25); lean_dec(x_21); lean_dec(x_2); -x_517 = lean_ctor_get(x_515, 0); -lean_inc(x_517); -x_518 = lean_ctor_get(x_515, 1); -lean_inc(x_518); -lean_dec(x_515); -x_519 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_518); +x_520 = lean_ctor_get(x_518, 0); +lean_inc(x_520); +x_521 = lean_ctor_get(x_518, 1); +lean_inc(x_521); +lean_dec(x_518); +x_522 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_521); lean_dec(x_4); -x_520 = !lean_is_exclusive(x_519); -if (x_520 == 0) +x_523 = !lean_is_exclusive(x_522); +if (x_523 == 0) { -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; -x_521 = lean_ctor_get(x_519, 0); -x_522 = lean_box(0); -x_523 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -x_524 = lean_name_mk_numeral(x_523, x_521); -x_525 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_526 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_526, 0, x_522); -lean_ctor_set(x_526, 1, x_525); -lean_ctor_set(x_526, 2, x_524); -lean_ctor_set(x_526, 3, x_494); -x_527 = l_Array_empty___closed__1; -x_528 = lean_array_push(x_527, x_526); -x_529 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_530 = lean_array_push(x_528, x_529); +lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; +x_524 = lean_ctor_get(x_522, 0); +x_525 = lean_box(0); +x_526 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +x_527 = lean_name_mk_numeral(x_526, x_524); +x_528 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_529 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_529, 0, x_525); +lean_ctor_set(x_529, 1, x_528); +lean_ctor_set(x_529, 2, x_527); +lean_ctor_set(x_529, 3, x_496); +x_530 = l_Array_empty___closed__1; x_531 = lean_array_push(x_530, x_529); -x_532 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_532 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_533 = lean_array_push(x_531, x_532); -x_534 = lean_array_push(x_533, x_17); -x_535 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -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_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_538 = lean_array_push(x_537, x_536); -x_539 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_540 = lean_array_push(x_538, x_539); -x_541 = lean_array_push(x_540, x_517); -x_542 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_543 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_543, 0, x_542); -lean_ctor_set(x_543, 1, x_541); -lean_ctor_set(x_519, 0, x_543); -return x_519; +x_534 = lean_array_push(x_533, x_532); +x_535 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_536 = lean_array_push(x_534, x_535); +x_537 = lean_array_push(x_536, x_17); +x_538 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_539 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_539, 0, x_538); +lean_ctor_set(x_539, 1, x_537); +x_540 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_541 = lean_array_push(x_540, x_539); +x_542 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_543 = lean_array_push(x_541, x_542); +x_544 = lean_array_push(x_543, x_520); +x_545 = l_Lean_Parser_Term_let___elambda__1___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); +lean_ctor_set(x_522, 0, x_546); +return x_522; } 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; 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; -x_544 = lean_ctor_get(x_519, 0); -x_545 = lean_ctor_get(x_519, 1); -lean_inc(x_545); -lean_inc(x_544); -lean_dec(x_519); -x_546 = lean_box(0); -x_547 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -x_548 = lean_name_mk_numeral(x_547, x_544); -x_549 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_550 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_550, 0, x_546); -lean_ctor_set(x_550, 1, x_549); -lean_ctor_set(x_550, 2, x_548); -lean_ctor_set(x_550, 3, x_494); -x_551 = l_Array_empty___closed__1; -x_552 = lean_array_push(x_551, x_550); -x_553 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_554 = lean_array_push(x_552, x_553); +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_547 = lean_ctor_get(x_522, 0); +x_548 = lean_ctor_get(x_522, 1); +lean_inc(x_548); +lean_inc(x_547); +lean_dec(x_522); +x_549 = lean_box(0); +x_550 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +x_551 = lean_name_mk_numeral(x_550, x_547); +x_552 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_553 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_553, 0, x_549); +lean_ctor_set(x_553, 1, x_552); +lean_ctor_set(x_553, 2, x_551); +lean_ctor_set(x_553, 3, x_496); +x_554 = l_Array_empty___closed__1; x_555 = lean_array_push(x_554, x_553); -x_556 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_556 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_557 = lean_array_push(x_555, x_556); -x_558 = lean_array_push(x_557, x_17); -x_559 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -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 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_562 = lean_array_push(x_561, x_560); -x_563 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_564 = lean_array_push(x_562, x_563); -x_565 = lean_array_push(x_564, x_517); -x_566 = l_Lean_Parser_Term_let___elambda__1___closed__2; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_568, 0, x_567); -lean_ctor_set(x_568, 1, x_545); -return x_568; +x_558 = lean_array_push(x_557, x_556); +x_559 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_560 = lean_array_push(x_558, x_559); +x_561 = lean_array_push(x_560, x_17); +x_562 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_563 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_563, 0, x_562); +lean_ctor_set(x_563, 1, x_561); +x_564 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_565 = lean_array_push(x_564, x_563); +x_566 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_567 = lean_array_push(x_565, x_566); +x_568 = lean_array_push(x_567, x_520); +x_569 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_570 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_570, 0, x_569); +lean_ctor_set(x_570, 1, x_568); +x_571 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_571, 0, x_570); +lean_ctor_set(x_571, 1, x_548); +return x_571; } } else { -lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; uint8_t x_574; -x_569 = lean_ctor_get(x_515, 0); -lean_inc(x_569); -x_570 = lean_ctor_get(x_515, 1); -lean_inc(x_570); -lean_dec(x_515); -x_571 = lean_ctor_get(x_516, 0); -lean_inc(x_571); -lean_dec(x_516); -x_572 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__11(x_25, x_21, x_494); +lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; uint8_t x_577; +x_572 = lean_ctor_get(x_518, 0); +lean_inc(x_572); +x_573 = lean_ctor_get(x_518, 1); +lean_inc(x_573); +lean_dec(x_518); +x_574 = lean_ctor_get(x_519, 0); +lean_inc(x_574); +lean_dec(x_519); +x_575 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__11(x_25, x_21, x_496); lean_dec(x_25); -x_573 = l_List_map___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__7(x_572); -x_574 = !lean_is_exclusive(x_570); -if (x_574 == 0) +x_576 = l_List_map___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__7(x_575); +x_577 = !lean_is_exclusive(x_573); +if (x_577 == 0) { -lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; -x_575 = lean_ctor_get(x_570, 5); -x_576 = lean_nat_add(x_575, x_502); -lean_ctor_set(x_570, 5, x_576); -x_577 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_577, 0, x_504); -lean_ctor_set(x_577, 1, x_505); -lean_ctor_set(x_577, 2, x_506); -lean_ctor_set(x_577, 3, x_507); -lean_ctor_set(x_577, 4, x_508); -lean_ctor_set(x_577, 5, x_509); -lean_ctor_set(x_577, 6, x_510); -lean_ctor_set(x_577, 7, x_511); -lean_ctor_set(x_577, 8, x_512); -lean_ctor_set(x_577, 9, x_575); -lean_ctor_set_uint8(x_577, sizeof(void*)*10, x_513); -x_578 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_573, x_577, x_570); -if (lean_obj_tag(x_578) == 0) +lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; +x_578 = lean_ctor_get(x_573, 5); +x_579 = lean_nat_add(x_578, x_504); +lean_ctor_set(x_573, 5, x_579); +x_580 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_580, 0, x_506); +lean_ctor_set(x_580, 1, x_507); +lean_ctor_set(x_580, 2, x_508); +lean_ctor_set(x_580, 3, x_509); +lean_ctor_set(x_580, 4, x_510); +lean_ctor_set(x_580, 5, x_511); +lean_ctor_set(x_580, 6, x_512); +lean_ctor_set(x_580, 7, x_513); +lean_ctor_set(x_580, 8, x_514); +lean_ctor_set(x_580, 9, x_578); +lean_ctor_set_uint8(x_580, sizeof(void*)*10, x_515); +lean_ctor_set_uint8(x_580, sizeof(void*)*10 + 1, x_516); +x_581 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_576, x_580, x_573); +if (lean_obj_tag(x_581) == 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; 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; uint8_t x_666; -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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_580); +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; uint8_t x_669; x_582 = lean_ctor_get(x_581, 0); lean_inc(x_582); x_583 = lean_ctor_get(x_581, 1); lean_inc(x_583); lean_dec(x_581); -x_584 = lean_box(0); -x_585 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; -lean_inc(x_582); -x_586 = lean_name_mk_numeral(x_585, x_582); -x_587 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; -x_588 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; -x_589 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_589, 0, x_584); -lean_ctor_set(x_589, 1, x_587); -lean_ctor_set(x_589, 2, x_586); -lean_ctor_set(x_589, 3, x_588); -x_590 = l_Array_empty___closed__1; -x_591 = lean_array_push(x_590, x_589); -x_592 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_593 = lean_array_push(x_591, x_592); -x_594 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_595 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_595, 0, x_594); -lean_ctor_set(x_595, 1, x_593); -x_596 = lean_array_push(x_590, x_595); -x_597 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -lean_inc(x_582); -x_598 = lean_name_mk_numeral(x_597, x_582); -x_599 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_600 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_600, 0, x_584); -lean_ctor_set(x_600, 1, x_599); -lean_ctor_set(x_600, 2, x_598); -lean_ctor_set(x_600, 3, x_494); -x_601 = lean_array_push(x_590, x_600); -x_602 = lean_array_push(x_601, x_592); -x_603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_603, 0, x_594); +x_584 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_583); +x_585 = lean_ctor_get(x_584, 0); +lean_inc(x_585); +x_586 = lean_ctor_get(x_584, 1); +lean_inc(x_586); +lean_dec(x_584); +x_587 = lean_box(0); +x_588 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; +lean_inc(x_585); +x_589 = lean_name_mk_numeral(x_588, x_585); +x_590 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; +x_591 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; +x_592 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_592, 0, x_587); +lean_ctor_set(x_592, 1, x_590); +lean_ctor_set(x_592, 2, x_589); +lean_ctor_set(x_592, 3, x_591); +x_593 = l_Array_empty___closed__1; +x_594 = lean_array_push(x_593, x_592); +x_595 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_596 = lean_array_push(x_594, x_595); +x_597 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_598 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_598, 0, x_597); +lean_ctor_set(x_598, 1, x_596); +x_599 = lean_array_push(x_593, x_598); +x_600 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +lean_inc(x_585); +x_601 = lean_name_mk_numeral(x_600, x_585); +x_602 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_603 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_603, 0, x_587); lean_ctor_set(x_603, 1, x_602); -x_604 = lean_array_push(x_590, x_603); -x_605 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_571); -lean_inc(x_604); -x_606 = lean_array_push(x_604, x_605); -x_607 = l_Lean_nullKind___closed__2; -x_608 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_608, 0, x_607); -lean_ctor_set(x_608, 1, x_606); -x_609 = lean_array_push(x_596, x_608); -x_610 = l_Lean_Parser_Term_app___elambda__1___closed__2; +lean_ctor_set(x_603, 2, x_601); +lean_ctor_set(x_603, 3, x_496); +x_604 = lean_array_push(x_593, x_603); +x_605 = lean_array_push(x_604, x_595); +x_606 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_606, 0, x_597); +lean_ctor_set(x_606, 1, x_605); +x_607 = lean_array_push(x_593, x_606); +x_608 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_574); +lean_inc(x_607); +x_609 = lean_array_push(x_607, x_608); +x_610 = l_Lean_nullKind___closed__2; x_611 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_611, 0, x_610); lean_ctor_set(x_611, 1, x_609); -x_612 = lean_array_push(x_590, x_611); -x_613 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__26; -x_614 = lean_array_push(x_612, x_613); -x_615 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__31; -lean_inc(x_582); -x_616 = lean_name_mk_numeral(x_615, x_582); -x_617 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__29; -x_618 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__33; -x_619 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_619, 0, x_584); -lean_ctor_set(x_619, 1, x_617); -lean_ctor_set(x_619, 2, x_616); -lean_ctor_set(x_619, 3, x_618); -x_620 = lean_array_push(x_590, x_619); -x_621 = lean_array_push(x_620, x_592); -x_622 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_622, 0, x_594); -lean_ctor_set(x_622, 1, x_621); -x_623 = lean_array_push(x_590, x_622); -x_624 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__5; -x_625 = lean_name_mk_numeral(x_624, x_582); -x_626 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__3; -x_627 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__36; -x_628 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_628, 0, x_584); -lean_ctor_set(x_628, 1, x_626); -lean_ctor_set(x_628, 2, x_625); -lean_ctor_set(x_628, 3, x_627); -x_629 = lean_array_push(x_590, x_628); -x_630 = lean_array_push(x_629, x_592); -x_631 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_631, 0, x_594); -lean_ctor_set(x_631, 1, x_630); -x_632 = lean_array_push(x_590, x_631); -x_633 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_633, 0, x_607); -lean_ctor_set(x_633, 1, x_604); -x_634 = lean_array_push(x_632, x_633); -x_635 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_635, 0, x_610); -lean_ctor_set(x_635, 1, x_634); -x_636 = lean_array_push(x_590, x_635); -x_637 = lean_array_push(x_636, x_592); +x_612 = lean_array_push(x_599, x_611); +x_613 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_614 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_614, 0, x_613); +lean_ctor_set(x_614, 1, x_612); +x_615 = lean_array_push(x_593, x_614); +x_616 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__26; +x_617 = lean_array_push(x_615, x_616); +x_618 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__31; +lean_inc(x_585); +x_619 = lean_name_mk_numeral(x_618, x_585); +x_620 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__29; +x_621 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__33; +x_622 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_622, 0, x_587); +lean_ctor_set(x_622, 1, x_620); +lean_ctor_set(x_622, 2, x_619); +lean_ctor_set(x_622, 3, x_621); +x_623 = lean_array_push(x_593, x_622); +x_624 = lean_array_push(x_623, x_595); +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_597); +lean_ctor_set(x_625, 1, x_624); +x_626 = lean_array_push(x_593, x_625); +x_627 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__5; +x_628 = lean_name_mk_numeral(x_627, x_585); +x_629 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__3; +x_630 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__36; +x_631 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_631, 0, x_587); +lean_ctor_set(x_631, 1, x_629); +lean_ctor_set(x_631, 2, x_628); +lean_ctor_set(x_631, 3, x_630); +x_632 = lean_array_push(x_593, x_631); +x_633 = lean_array_push(x_632, x_595); +x_634 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_634, 0, x_597); +lean_ctor_set(x_634, 1, x_633); +x_635 = lean_array_push(x_593, x_634); +x_636 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_636, 0, x_610); +lean_ctor_set(x_636, 1, x_607); +x_637 = lean_array_push(x_635, x_636); x_638 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_638, 0, x_607); +lean_ctor_set(x_638, 0, x_613); lean_ctor_set(x_638, 1, x_637); -x_639 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__45; -x_640 = lean_array_push(x_639, x_638); -x_641 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__57; -x_642 = lean_array_push(x_640, x_641); -x_643 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -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_590, x_644); -x_646 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_646, 0, x_607); -lean_ctor_set(x_646, 1, x_645); -x_647 = lean_array_push(x_623, x_646); -x_648 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_648, 0, x_610); -lean_ctor_set(x_648, 1, x_647); -x_649 = lean_array_push(x_590, x_648); -x_650 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__38; -x_651 = lean_array_push(x_649, x_650); -x_652 = l_Nat_repr(x_489); -x_653 = l_Lean_numLitKind; -x_654 = l_Lean_mkStxLit(x_653, x_652, x_584); -x_655 = l_Lean_FileMap_ofString___closed__1; -x_656 = lean_array_push(x_655, x_654); -x_657 = l_Lean_Parser_Term_num___elambda__1___closed__1; -x_658 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_658, 0, x_657); -lean_ctor_set(x_658, 1, x_656); -x_659 = lean_array_push(x_651, x_658); -x_660 = l_Lean_Parser_Term_beq___elambda__1___closed__2; +x_639 = lean_array_push(x_593, x_638); +x_640 = lean_array_push(x_639, x_595); +x_641 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_641, 0, x_610); +lean_ctor_set(x_641, 1, x_640); +x_642 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__45; +x_643 = lean_array_push(x_642, x_641); +x_644 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__57; +x_645 = lean_array_push(x_643, x_644); +x_646 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_647 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_647, 0, x_646); +lean_ctor_set(x_647, 1, x_645); +x_648 = lean_array_push(x_593, x_647); +x_649 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_649, 0, x_610); +lean_ctor_set(x_649, 1, x_648); +x_650 = lean_array_push(x_626, x_649); +x_651 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_651, 0, x_613); +lean_ctor_set(x_651, 1, x_650); +x_652 = lean_array_push(x_593, x_651); +x_653 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__38; +x_654 = lean_array_push(x_652, x_653); +x_655 = l_Nat_repr(x_491); +x_656 = l_Lean_numLitKind; +x_657 = l_Lean_mkStxLit(x_656, x_655, x_587); +x_658 = l_Lean_FileMap_ofString___closed__1; +x_659 = lean_array_push(x_658, x_657); +x_660 = l_Lean_Parser_Term_num___elambda__1___closed__1; x_661 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_661, 0, x_660); lean_ctor_set(x_661, 1, x_659); -x_662 = lean_array_push(x_614, x_661); -x_663 = l_Lean_Parser_Term_band___elambda__1___closed__2; +x_662 = lean_array_push(x_654, x_661); +x_663 = l_Lean_Parser_Term_beq___elambda__1___closed__2; x_664 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_664, 0, x_663); lean_ctor_set(x_664, 1, x_662); -x_665 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_583); +x_665 = lean_array_push(x_617, x_664); +x_666 = l_Lean_Parser_Term_band___elambda__1___closed__2; +x_667 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_667, 0, x_666); +lean_ctor_set(x_667, 1, x_665); +x_668 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_586); lean_dec(x_4); -x_666 = !lean_is_exclusive(x_665); -if (x_666 == 0) +x_669 = !lean_is_exclusive(x_668); +if (x_669 == 0) { -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; -x_667 = lean_ctor_get(x_665, 0); -lean_inc(x_667); -x_668 = lean_name_mk_numeral(x_597, x_667); -x_669 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_669, 0, x_584); -lean_ctor_set(x_669, 1, x_599); -lean_ctor_set(x_669, 2, x_668); -lean_ctor_set(x_669, 3, x_494); -x_670 = lean_array_push(x_590, x_669); -x_671 = lean_array_push(x_670, x_592); -x_672 = lean_array_push(x_671, x_592); -x_673 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_674 = lean_array_push(x_672, x_673); -x_675 = lean_array_push(x_674, x_17); -x_676 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -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 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_679 = lean_array_push(x_678, x_677); -x_680 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_681 = lean_array_push(x_679, x_680); -x_682 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; -x_683 = lean_name_mk_numeral(x_682, x_667); -x_684 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; -x_685 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; -x_686 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_686, 0, x_584); -lean_ctor_set(x_686, 1, x_684); -lean_ctor_set(x_686, 2, x_683); -lean_ctor_set(x_686, 3, x_685); -x_687 = lean_array_push(x_590, x_686); -x_688 = lean_array_push(x_687, x_592); -x_689 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_689, 0, x_594); -lean_ctor_set(x_689, 1, x_688); -x_690 = lean_array_push(x_590, x_689); -x_691 = lean_array_push(x_590, x_664); +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; +x_670 = lean_ctor_get(x_668, 0); +lean_inc(x_670); +x_671 = lean_name_mk_numeral(x_600, x_670); +x_672 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_672, 0, x_587); +lean_ctor_set(x_672, 1, x_602); +lean_ctor_set(x_672, 2, x_671); +lean_ctor_set(x_672, 3, x_496); +x_673 = lean_array_push(x_593, x_672); +x_674 = lean_array_push(x_673, x_595); +x_675 = lean_array_push(x_674, x_595); +x_676 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_677 = lean_array_push(x_675, x_676); +x_678 = lean_array_push(x_677, x_17); +x_679 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_680 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_680, 0, x_679); +lean_ctor_set(x_680, 1, x_678); +x_681 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_682 = lean_array_push(x_681, x_680); +x_683 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_684 = lean_array_push(x_682, x_683); +x_685 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; +x_686 = lean_name_mk_numeral(x_685, x_670); +x_687 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; +x_688 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; +x_689 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_689, 0, x_587); +lean_ctor_set(x_689, 1, x_687); +lean_ctor_set(x_689, 2, x_686); +lean_ctor_set(x_689, 3, x_688); +x_690 = lean_array_push(x_593, x_689); +x_691 = lean_array_push(x_690, x_595); x_692 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_692, 0, x_607); +lean_ctor_set(x_692, 0, x_597); lean_ctor_set(x_692, 1, x_691); -x_693 = lean_array_push(x_690, x_692); -x_694 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_694, 0, x_610); -lean_ctor_set(x_694, 1, x_693); -x_695 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; -x_696 = lean_array_push(x_695, x_694); -x_697 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; -x_698 = lean_array_push(x_696, x_697); -x_699 = lean_array_push(x_698, x_569); -x_700 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; +x_693 = lean_array_push(x_593, x_692); +x_694 = lean_array_push(x_593, x_667); +x_695 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_695, 0, x_610); +lean_ctor_set(x_695, 1, x_694); +x_696 = lean_array_push(x_693, x_695); +x_697 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_697, 0, x_613); +lean_ctor_set(x_697, 1, x_696); +x_698 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; +x_699 = lean_array_push(x_698, x_697); +x_700 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; x_701 = lean_array_push(x_699, x_700); -x_702 = lean_array_push(x_701, x_579); -x_703 = l_Lean_Parser_Term_if___elambda__1___closed__2; -x_704 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_704, 0, x_703); -lean_ctor_set(x_704, 1, x_702); -x_705 = lean_array_push(x_681, x_704); -x_706 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_702 = lean_array_push(x_701, x_572); +x_703 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; +x_704 = lean_array_push(x_702, x_703); +x_705 = lean_array_push(x_704, x_582); +x_706 = l_Lean_Parser_Term_if___elambda__1___closed__2; x_707 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_707, 0, x_706); lean_ctor_set(x_707, 1, x_705); -lean_ctor_set(x_665, 0, x_707); -return x_665; +x_708 = lean_array_push(x_684, x_707); +x_709 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_710 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_710, 0, x_709); +lean_ctor_set(x_710, 1, x_708); +lean_ctor_set(x_668, 0, x_710); +return x_668; } else { -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; -x_708 = lean_ctor_get(x_665, 0); -x_709 = lean_ctor_get(x_665, 1); -lean_inc(x_709); -lean_inc(x_708); -lean_dec(x_665); -lean_inc(x_708); -x_710 = lean_name_mk_numeral(x_597, x_708); -x_711 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_711, 0, x_584); -lean_ctor_set(x_711, 1, x_599); -lean_ctor_set(x_711, 2, x_710); -lean_ctor_set(x_711, 3, x_494); -x_712 = lean_array_push(x_590, x_711); -x_713 = lean_array_push(x_712, x_592); -x_714 = lean_array_push(x_713, x_592); -x_715 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_716 = lean_array_push(x_714, x_715); -x_717 = lean_array_push(x_716, x_17); -x_718 = l_Lean_Parser_Term_letIdDecl___elambda__1___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 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_721 = lean_array_push(x_720, x_719); -x_722 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_723 = lean_array_push(x_721, x_722); -x_724 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; -x_725 = lean_name_mk_numeral(x_724, x_708); -x_726 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; -x_727 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; -x_728 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_728, 0, x_584); -lean_ctor_set(x_728, 1, x_726); -lean_ctor_set(x_728, 2, x_725); -lean_ctor_set(x_728, 3, x_727); -x_729 = lean_array_push(x_590, x_728); -x_730 = lean_array_push(x_729, x_592); -x_731 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_731, 0, x_594); -lean_ctor_set(x_731, 1, x_730); -x_732 = lean_array_push(x_590, x_731); -x_733 = lean_array_push(x_590, x_664); +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_711 = lean_ctor_get(x_668, 0); +x_712 = lean_ctor_get(x_668, 1); +lean_inc(x_712); +lean_inc(x_711); +lean_dec(x_668); +lean_inc(x_711); +x_713 = lean_name_mk_numeral(x_600, x_711); +x_714 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_714, 0, x_587); +lean_ctor_set(x_714, 1, x_602); +lean_ctor_set(x_714, 2, x_713); +lean_ctor_set(x_714, 3, x_496); +x_715 = lean_array_push(x_593, x_714); +x_716 = lean_array_push(x_715, x_595); +x_717 = lean_array_push(x_716, x_595); +x_718 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_719 = lean_array_push(x_717, x_718); +x_720 = lean_array_push(x_719, x_17); +x_721 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_722 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_722, 0, x_721); +lean_ctor_set(x_722, 1, x_720); +x_723 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_724 = lean_array_push(x_723, x_722); +x_725 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_726 = lean_array_push(x_724, x_725); +x_727 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; +x_728 = lean_name_mk_numeral(x_727, x_711); +x_729 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; +x_730 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; +x_731 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_731, 0, x_587); +lean_ctor_set(x_731, 1, x_729); +lean_ctor_set(x_731, 2, x_728); +lean_ctor_set(x_731, 3, x_730); +x_732 = lean_array_push(x_593, x_731); +x_733 = lean_array_push(x_732, x_595); x_734 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_734, 0, x_607); +lean_ctor_set(x_734, 0, x_597); lean_ctor_set(x_734, 1, x_733); -x_735 = lean_array_push(x_732, x_734); -x_736 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_736, 0, x_610); -lean_ctor_set(x_736, 1, x_735); -x_737 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; -x_738 = lean_array_push(x_737, x_736); -x_739 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; -x_740 = lean_array_push(x_738, x_739); -x_741 = lean_array_push(x_740, x_569); -x_742 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; +x_735 = lean_array_push(x_593, x_734); +x_736 = lean_array_push(x_593, x_667); +x_737 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_737, 0, x_610); +lean_ctor_set(x_737, 1, x_736); +x_738 = lean_array_push(x_735, x_737); +x_739 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_739, 0, x_613); +lean_ctor_set(x_739, 1, x_738); +x_740 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; +x_741 = lean_array_push(x_740, x_739); +x_742 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; x_743 = lean_array_push(x_741, x_742); -x_744 = lean_array_push(x_743, x_579); -x_745 = l_Lean_Parser_Term_if___elambda__1___closed__2; -x_746 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_746, 0, x_745); -lean_ctor_set(x_746, 1, x_744); -x_747 = lean_array_push(x_723, x_746); -x_748 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_744 = lean_array_push(x_743, x_572); +x_745 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; +x_746 = lean_array_push(x_744, x_745); +x_747 = lean_array_push(x_746, x_582); +x_748 = l_Lean_Parser_Term_if___elambda__1___closed__2; x_749 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_749, 0, x_748); lean_ctor_set(x_749, 1, x_747); -x_750 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_750, 0, x_749); -lean_ctor_set(x_750, 1, x_709); -return x_750; +x_750 = lean_array_push(x_726, x_749); +x_751 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_752 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_752, 0, x_751); +lean_ctor_set(x_752, 1, x_750); +x_753 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_753, 0, x_752); +lean_ctor_set(x_753, 1, x_712); +return x_753; } } else { -uint8_t x_751; -lean_dec(x_571); -lean_dec(x_569); -lean_dec(x_489); +uint8_t x_754; +lean_dec(x_574); +lean_dec(x_572); +lean_dec(x_491); lean_dec(x_17); lean_dec(x_4); -x_751 = !lean_is_exclusive(x_578); -if (x_751 == 0) +x_754 = !lean_is_exclusive(x_581); +if (x_754 == 0) { -return x_578; +return x_581; } else { -lean_object* x_752; lean_object* x_753; lean_object* x_754; -x_752 = lean_ctor_get(x_578, 0); -x_753 = lean_ctor_get(x_578, 1); -lean_inc(x_753); -lean_inc(x_752); -lean_dec(x_578); -x_754 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_754, 0, x_752); -lean_ctor_set(x_754, 1, x_753); -return x_754; +lean_object* x_755; lean_object* x_756; lean_object* x_757; +x_755 = lean_ctor_get(x_581, 0); +x_756 = lean_ctor_get(x_581, 1); +lean_inc(x_756); +lean_inc(x_755); +lean_dec(x_581); +x_757 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_757, 0, x_755); +lean_ctor_set(x_757, 1, x_756); +return x_757; } } } else { -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; -x_755 = lean_ctor_get(x_570, 0); -x_756 = lean_ctor_get(x_570, 1); -x_757 = lean_ctor_get(x_570, 2); -x_758 = lean_ctor_get(x_570, 3); -x_759 = lean_ctor_get(x_570, 4); -x_760 = lean_ctor_get(x_570, 5); +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; +x_758 = lean_ctor_get(x_573, 0); +x_759 = lean_ctor_get(x_573, 1); +x_760 = lean_ctor_get(x_573, 2); +x_761 = lean_ctor_get(x_573, 3); +x_762 = lean_ctor_get(x_573, 4); +x_763 = lean_ctor_get(x_573, 5); +lean_inc(x_763); +lean_inc(x_762); +lean_inc(x_761); lean_inc(x_760); lean_inc(x_759); lean_inc(x_758); -lean_inc(x_757); -lean_inc(x_756); -lean_inc(x_755); -lean_dec(x_570); -x_761 = lean_nat_add(x_760, x_502); -x_762 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_762, 0, x_755); -lean_ctor_set(x_762, 1, x_756); -lean_ctor_set(x_762, 2, x_757); -lean_ctor_set(x_762, 3, x_758); -lean_ctor_set(x_762, 4, x_759); -lean_ctor_set(x_762, 5, x_761); -x_763 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_763, 0, x_504); -lean_ctor_set(x_763, 1, x_505); -lean_ctor_set(x_763, 2, x_506); -lean_ctor_set(x_763, 3, x_507); -lean_ctor_set(x_763, 4, x_508); -lean_ctor_set(x_763, 5, x_509); -lean_ctor_set(x_763, 6, x_510); -lean_ctor_set(x_763, 7, x_511); -lean_ctor_set(x_763, 8, x_512); -lean_ctor_set(x_763, 9, x_760); -lean_ctor_set_uint8(x_763, sizeof(void*)*10, x_513); -x_764 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_573, x_763, x_762); -if (lean_obj_tag(x_764) == 0) +lean_dec(x_573); +x_764 = lean_nat_add(x_763, x_504); +x_765 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_765, 0, x_758); +lean_ctor_set(x_765, 1, x_759); +lean_ctor_set(x_765, 2, x_760); +lean_ctor_set(x_765, 3, x_761); +lean_ctor_set(x_765, 4, x_762); +lean_ctor_set(x_765, 5, x_764); +x_766 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_766, 0, x_506); +lean_ctor_set(x_766, 1, x_507); +lean_ctor_set(x_766, 2, x_508); +lean_ctor_set(x_766, 3, x_509); +lean_ctor_set(x_766, 4, x_510); +lean_ctor_set(x_766, 5, x_511); +lean_ctor_set(x_766, 6, x_512); +lean_ctor_set(x_766, 7, x_513); +lean_ctor_set(x_766, 8, x_514); +lean_ctor_set(x_766, 9, x_763); +lean_ctor_set_uint8(x_766, sizeof(void*)*10, x_515); +lean_ctor_set_uint8(x_766, sizeof(void*)*10 + 1, x_516); +x_767 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_576, x_766, x_765); +if (lean_obj_tag(x_767) == 0) { -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; -x_765 = lean_ctor_get(x_764, 0); -lean_inc(x_765); -x_766 = lean_ctor_get(x_764, 1); -lean_inc(x_766); -lean_dec(x_764); -x_767 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_766); +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; 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); -x_770 = lean_box(0); -x_771 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; -lean_inc(x_768); -x_772 = lean_name_mk_numeral(x_771, x_768); -x_773 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; -x_774 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; -x_775 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_775, 0, x_770); -lean_ctor_set(x_775, 1, x_773); -lean_ctor_set(x_775, 2, x_772); -lean_ctor_set(x_775, 3, x_774); -x_776 = l_Array_empty___closed__1; -x_777 = lean_array_push(x_776, x_775); -x_778 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_779 = lean_array_push(x_777, x_778); -x_780 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_781 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_781, 0, x_780); -lean_ctor_set(x_781, 1, x_779); -x_782 = lean_array_push(x_776, x_781); -x_783 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -lean_inc(x_768); -x_784 = lean_name_mk_numeral(x_783, x_768); -x_785 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_786 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_786, 0, x_770); -lean_ctor_set(x_786, 1, x_785); -lean_ctor_set(x_786, 2, x_784); -lean_ctor_set(x_786, 3, x_494); -x_787 = lean_array_push(x_776, x_786); -x_788 = lean_array_push(x_787, x_778); -x_789 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_789, 0, x_780); +x_770 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_769); +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_box(0); +x_774 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; +lean_inc(x_771); +x_775 = lean_name_mk_numeral(x_774, x_771); +x_776 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; +x_777 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; +x_778 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_778, 0, x_773); +lean_ctor_set(x_778, 1, x_776); +lean_ctor_set(x_778, 2, x_775); +lean_ctor_set(x_778, 3, x_777); +x_779 = l_Array_empty___closed__1; +x_780 = lean_array_push(x_779, x_778); +x_781 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_782 = lean_array_push(x_780, x_781); +x_783 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_784 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_784, 0, x_783); +lean_ctor_set(x_784, 1, x_782); +x_785 = lean_array_push(x_779, x_784); +x_786 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +lean_inc(x_771); +x_787 = lean_name_mk_numeral(x_786, x_771); +x_788 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_789 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_789, 0, x_773); lean_ctor_set(x_789, 1, x_788); -x_790 = lean_array_push(x_776, x_789); -x_791 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_571); -lean_inc(x_790); -x_792 = lean_array_push(x_790, x_791); -x_793 = l_Lean_nullKind___closed__2; -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 = lean_array_push(x_782, x_794); -x_796 = l_Lean_Parser_Term_app___elambda__1___closed__2; +lean_ctor_set(x_789, 2, x_787); +lean_ctor_set(x_789, 3, x_496); +x_790 = lean_array_push(x_779, x_789); +x_791 = lean_array_push(x_790, x_781); +x_792 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_792, 0, x_783); +lean_ctor_set(x_792, 1, x_791); +x_793 = lean_array_push(x_779, x_792); +x_794 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_574); +lean_inc(x_793); +x_795 = lean_array_push(x_793, x_794); +x_796 = l_Lean_nullKind___closed__2; x_797 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_797, 0, x_796); lean_ctor_set(x_797, 1, x_795); -x_798 = lean_array_push(x_776, x_797); -x_799 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__26; -x_800 = lean_array_push(x_798, x_799); -x_801 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__31; -lean_inc(x_768); -x_802 = lean_name_mk_numeral(x_801, x_768); -x_803 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__29; -x_804 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__33; -x_805 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_805, 0, x_770); -lean_ctor_set(x_805, 1, x_803); -lean_ctor_set(x_805, 2, x_802); -lean_ctor_set(x_805, 3, x_804); -x_806 = lean_array_push(x_776, x_805); -x_807 = lean_array_push(x_806, x_778); -x_808 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_808, 0, x_780); -lean_ctor_set(x_808, 1, x_807); -x_809 = lean_array_push(x_776, x_808); -x_810 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__5; -x_811 = lean_name_mk_numeral(x_810, x_768); -x_812 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__3; -x_813 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__36; -x_814 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_814, 0, x_770); -lean_ctor_set(x_814, 1, x_812); -lean_ctor_set(x_814, 2, x_811); -lean_ctor_set(x_814, 3, x_813); -x_815 = lean_array_push(x_776, x_814); -x_816 = lean_array_push(x_815, x_778); -x_817 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_817, 0, x_780); -lean_ctor_set(x_817, 1, x_816); -x_818 = lean_array_push(x_776, x_817); -x_819 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_819, 0, x_793); -lean_ctor_set(x_819, 1, x_790); -x_820 = lean_array_push(x_818, x_819); -x_821 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_821, 0, x_796); -lean_ctor_set(x_821, 1, x_820); -x_822 = lean_array_push(x_776, x_821); -x_823 = lean_array_push(x_822, x_778); +x_798 = lean_array_push(x_785, x_797); +x_799 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_800 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_800, 0, x_799); +lean_ctor_set(x_800, 1, x_798); +x_801 = lean_array_push(x_779, x_800); +x_802 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__26; +x_803 = lean_array_push(x_801, x_802); +x_804 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__31; +lean_inc(x_771); +x_805 = lean_name_mk_numeral(x_804, x_771); +x_806 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__29; +x_807 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__33; +x_808 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_808, 0, x_773); +lean_ctor_set(x_808, 1, x_806); +lean_ctor_set(x_808, 2, x_805); +lean_ctor_set(x_808, 3, x_807); +x_809 = lean_array_push(x_779, x_808); +x_810 = lean_array_push(x_809, x_781); +x_811 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_811, 0, x_783); +lean_ctor_set(x_811, 1, x_810); +x_812 = lean_array_push(x_779, x_811); +x_813 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__5; +x_814 = lean_name_mk_numeral(x_813, x_771); +x_815 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__3; +x_816 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__36; +x_817 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_817, 0, x_773); +lean_ctor_set(x_817, 1, x_815); +lean_ctor_set(x_817, 2, x_814); +lean_ctor_set(x_817, 3, x_816); +x_818 = lean_array_push(x_779, x_817); +x_819 = lean_array_push(x_818, x_781); +x_820 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_820, 0, x_783); +lean_ctor_set(x_820, 1, x_819); +x_821 = lean_array_push(x_779, x_820); +x_822 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_822, 0, x_796); +lean_ctor_set(x_822, 1, x_793); +x_823 = lean_array_push(x_821, x_822); x_824 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_824, 0, x_793); +lean_ctor_set(x_824, 0, x_799); lean_ctor_set(x_824, 1, x_823); -x_825 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__45; -x_826 = lean_array_push(x_825, x_824); -x_827 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__57; -x_828 = lean_array_push(x_826, x_827); -x_829 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_830 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_830, 0, x_829); -lean_ctor_set(x_830, 1, x_828); -x_831 = lean_array_push(x_776, x_830); -x_832 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_832, 0, x_793); -lean_ctor_set(x_832, 1, x_831); -x_833 = lean_array_push(x_809, x_832); -x_834 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_834, 0, x_796); -lean_ctor_set(x_834, 1, x_833); -x_835 = lean_array_push(x_776, x_834); -x_836 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__38; -x_837 = lean_array_push(x_835, x_836); -x_838 = l_Nat_repr(x_489); -x_839 = l_Lean_numLitKind; -x_840 = l_Lean_mkStxLit(x_839, x_838, x_770); -x_841 = l_Lean_FileMap_ofString___closed__1; -x_842 = lean_array_push(x_841, x_840); -x_843 = l_Lean_Parser_Term_num___elambda__1___closed__1; -x_844 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_844, 0, x_843); -lean_ctor_set(x_844, 1, x_842); -x_845 = lean_array_push(x_837, x_844); -x_846 = l_Lean_Parser_Term_beq___elambda__1___closed__2; +x_825 = lean_array_push(x_779, x_824); +x_826 = lean_array_push(x_825, x_781); +x_827 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_827, 0, x_796); +lean_ctor_set(x_827, 1, x_826); +x_828 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__45; +x_829 = lean_array_push(x_828, x_827); +x_830 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__57; +x_831 = lean_array_push(x_829, x_830); +x_832 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_833 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_833, 0, x_832); +lean_ctor_set(x_833, 1, x_831); +x_834 = lean_array_push(x_779, x_833); +x_835 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_835, 0, x_796); +lean_ctor_set(x_835, 1, x_834); +x_836 = lean_array_push(x_812, x_835); +x_837 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_837, 0, x_799); +lean_ctor_set(x_837, 1, x_836); +x_838 = lean_array_push(x_779, x_837); +x_839 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__38; +x_840 = lean_array_push(x_838, x_839); +x_841 = l_Nat_repr(x_491); +x_842 = l_Lean_numLitKind; +x_843 = l_Lean_mkStxLit(x_842, x_841, x_773); +x_844 = l_Lean_FileMap_ofString___closed__1; +x_845 = lean_array_push(x_844, x_843); +x_846 = l_Lean_Parser_Term_num___elambda__1___closed__1; x_847 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_847, 0, x_846); lean_ctor_set(x_847, 1, x_845); -x_848 = lean_array_push(x_800, x_847); -x_849 = l_Lean_Parser_Term_band___elambda__1___closed__2; +x_848 = lean_array_push(x_840, x_847); +x_849 = l_Lean_Parser_Term_beq___elambda__1___closed__2; x_850 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_850, 0, x_849); lean_ctor_set(x_850, 1, x_848); -x_851 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_769); +x_851 = lean_array_push(x_803, x_850); +x_852 = l_Lean_Parser_Term_band___elambda__1___closed__2; +x_853 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_853, 0, x_852); +lean_ctor_set(x_853, 1, x_851); +x_854 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_772); lean_dec(x_4); -x_852 = lean_ctor_get(x_851, 0); -lean_inc(x_852); -x_853 = lean_ctor_get(x_851, 1); -lean_inc(x_853); -if (lean_is_exclusive(x_851)) { - lean_ctor_release(x_851, 0); - lean_ctor_release(x_851, 1); - x_854 = x_851; +x_855 = lean_ctor_get(x_854, 0); +lean_inc(x_855); +x_856 = lean_ctor_get(x_854, 1); +lean_inc(x_856); +if (lean_is_exclusive(x_854)) { + lean_ctor_release(x_854, 0); + lean_ctor_release(x_854, 1); + x_857 = x_854; } else { - lean_dec_ref(x_851); - x_854 = lean_box(0); + lean_dec_ref(x_854); + x_857 = lean_box(0); } -lean_inc(x_852); -x_855 = lean_name_mk_numeral(x_783, x_852); -x_856 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_856, 0, x_770); -lean_ctor_set(x_856, 1, x_785); -lean_ctor_set(x_856, 2, x_855); -lean_ctor_set(x_856, 3, x_494); -x_857 = lean_array_push(x_776, x_856); -x_858 = lean_array_push(x_857, x_778); -x_859 = lean_array_push(x_858, x_778); -x_860 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_861 = lean_array_push(x_859, x_860); -x_862 = lean_array_push(x_861, x_17); -x_863 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_864 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_864, 0, x_863); -lean_ctor_set(x_864, 1, x_862); -x_865 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_866 = lean_array_push(x_865, x_864); -x_867 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_868 = lean_array_push(x_866, x_867); -x_869 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; -x_870 = lean_name_mk_numeral(x_869, x_852); -x_871 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; -x_872 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; -x_873 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_873, 0, x_770); -lean_ctor_set(x_873, 1, x_871); -lean_ctor_set(x_873, 2, x_870); -lean_ctor_set(x_873, 3, x_872); -x_874 = lean_array_push(x_776, x_873); -x_875 = lean_array_push(x_874, x_778); -x_876 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_876, 0, x_780); -lean_ctor_set(x_876, 1, x_875); -x_877 = lean_array_push(x_776, x_876); -x_878 = lean_array_push(x_776, x_850); +lean_inc(x_855); +x_858 = lean_name_mk_numeral(x_786, x_855); +x_859 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_859, 0, x_773); +lean_ctor_set(x_859, 1, x_788); +lean_ctor_set(x_859, 2, x_858); +lean_ctor_set(x_859, 3, x_496); +x_860 = lean_array_push(x_779, x_859); +x_861 = lean_array_push(x_860, x_781); +x_862 = lean_array_push(x_861, x_781); +x_863 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_864 = lean_array_push(x_862, x_863); +x_865 = lean_array_push(x_864, x_17); +x_866 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_867 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_867, 0, x_866); +lean_ctor_set(x_867, 1, x_865); +x_868 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_869 = lean_array_push(x_868, x_867); +x_870 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_871 = lean_array_push(x_869, x_870); +x_872 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; +x_873 = lean_name_mk_numeral(x_872, x_855); +x_874 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; +x_875 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; +x_876 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_876, 0, x_773); +lean_ctor_set(x_876, 1, x_874); +lean_ctor_set(x_876, 2, x_873); +lean_ctor_set(x_876, 3, x_875); +x_877 = lean_array_push(x_779, x_876); +x_878 = lean_array_push(x_877, x_781); x_879 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_879, 0, x_793); +lean_ctor_set(x_879, 0, x_783); lean_ctor_set(x_879, 1, x_878); -x_880 = lean_array_push(x_877, x_879); -x_881 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_881, 0, x_796); -lean_ctor_set(x_881, 1, x_880); -x_882 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; -x_883 = lean_array_push(x_882, x_881); -x_884 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; -x_885 = lean_array_push(x_883, x_884); -x_886 = lean_array_push(x_885, x_569); -x_887 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; +x_880 = lean_array_push(x_779, x_879); +x_881 = lean_array_push(x_779, x_853); +x_882 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_882, 0, x_796); +lean_ctor_set(x_882, 1, x_881); +x_883 = lean_array_push(x_880, x_882); +x_884 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_884, 0, x_799); +lean_ctor_set(x_884, 1, x_883); +x_885 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; +x_886 = lean_array_push(x_885, x_884); +x_887 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; x_888 = lean_array_push(x_886, x_887); -x_889 = lean_array_push(x_888, x_765); -x_890 = l_Lean_Parser_Term_if___elambda__1___closed__2; -x_891 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_891, 0, x_890); -lean_ctor_set(x_891, 1, x_889); -x_892 = lean_array_push(x_868, x_891); -x_893 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_889 = lean_array_push(x_888, x_572); +x_890 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; +x_891 = lean_array_push(x_889, x_890); +x_892 = lean_array_push(x_891, x_768); +x_893 = l_Lean_Parser_Term_if___elambda__1___closed__2; x_894 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_894, 0, x_893); lean_ctor_set(x_894, 1, x_892); -if (lean_is_scalar(x_854)) { - x_895 = lean_alloc_ctor(0, 2, 0); +x_895 = lean_array_push(x_871, x_894); +x_896 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_897 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_897, 0, x_896); +lean_ctor_set(x_897, 1, x_895); +if (lean_is_scalar(x_857)) { + x_898 = lean_alloc_ctor(0, 2, 0); } else { - x_895 = x_854; + x_898 = x_857; } -lean_ctor_set(x_895, 0, x_894); -lean_ctor_set(x_895, 1, x_853); -return x_895; +lean_ctor_set(x_898, 0, x_897); +lean_ctor_set(x_898, 1, x_856); +return x_898; } else { -lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; -lean_dec(x_571); -lean_dec(x_569); -lean_dec(x_489); +lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; +lean_dec(x_574); +lean_dec(x_572); +lean_dec(x_491); lean_dec(x_17); lean_dec(x_4); -x_896 = lean_ctor_get(x_764, 0); -lean_inc(x_896); -x_897 = lean_ctor_get(x_764, 1); -lean_inc(x_897); -if (lean_is_exclusive(x_764)) { - lean_ctor_release(x_764, 0); - lean_ctor_release(x_764, 1); - x_898 = x_764; +x_899 = lean_ctor_get(x_767, 0); +lean_inc(x_899); +x_900 = lean_ctor_get(x_767, 1); +lean_inc(x_900); +if (lean_is_exclusive(x_767)) { + lean_ctor_release(x_767, 0); + lean_ctor_release(x_767, 1); + x_901 = x_767; } else { - lean_dec_ref(x_764); - x_898 = lean_box(0); + lean_dec_ref(x_767); + x_901 = lean_box(0); } -if (lean_is_scalar(x_898)) { - x_899 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_901)) { + x_902 = lean_alloc_ctor(1, 2, 0); } else { - x_899 = x_898; + x_902 = x_901; } -lean_ctor_set(x_899, 0, x_896); -lean_ctor_set(x_899, 1, x_897); -return x_899; +lean_ctor_set(x_902, 0, x_899); +lean_ctor_set(x_902, 1, x_900); +return x_902; } } } } else { -uint8_t x_900; +uint8_t x_903; +lean_dec(x_514); +lean_dec(x_513); lean_dec(x_512); lean_dec(x_511); lean_dec(x_510); @@ -9860,530 +9873,490 @@ lean_dec(x_509); lean_dec(x_508); lean_dec(x_507); lean_dec(x_506); -lean_dec(x_505); -lean_dec(x_504); -lean_dec(x_489); +lean_dec(x_491); lean_dec(x_25); lean_dec(x_21); lean_dec(x_17); lean_dec(x_4); lean_dec(x_2); -x_900 = !lean_is_exclusive(x_515); -if (x_900 == 0) +x_903 = !lean_is_exclusive(x_518); +if (x_903 == 0) { -return x_515; +return x_518; } else { -lean_object* x_901; lean_object* x_902; lean_object* x_903; -x_901 = lean_ctor_get(x_515, 0); -x_902 = lean_ctor_get(x_515, 1); -lean_inc(x_902); -lean_inc(x_901); -lean_dec(x_515); -x_903 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_903, 0, x_901); -lean_ctor_set(x_903, 1, x_902); -return x_903; +lean_object* x_904; lean_object* x_905; lean_object* x_906; +x_904 = lean_ctor_get(x_518, 0); +x_905 = lean_ctor_get(x_518, 1); +lean_inc(x_905); +lean_inc(x_904); +lean_dec(x_518); +x_906 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_906, 0, x_904); +lean_ctor_set(x_906, 1, x_905); +return x_906; } } } else { -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; uint8_t x_922; lean_object* x_923; lean_object* x_924; -x_904 = lean_ctor_get(x_498, 0); -x_905 = lean_ctor_get(x_498, 1); -x_906 = lean_ctor_get(x_498, 2); -x_907 = lean_ctor_get(x_498, 3); -x_908 = lean_ctor_get(x_498, 4); -x_909 = lean_ctor_get(x_498, 5); +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; uint8_t x_925; uint8_t x_926; lean_object* x_927; lean_object* x_928; +x_907 = lean_ctor_get(x_500, 0); +x_908 = lean_ctor_get(x_500, 1); +x_909 = lean_ctor_get(x_500, 2); +x_910 = lean_ctor_get(x_500, 3); +x_911 = lean_ctor_get(x_500, 4); +x_912 = lean_ctor_get(x_500, 5); +lean_inc(x_912); +lean_inc(x_911); +lean_inc(x_910); lean_inc(x_909); lean_inc(x_908); lean_inc(x_907); -lean_inc(x_906); -lean_inc(x_905); -lean_inc(x_904); -lean_dec(x_498); -x_910 = lean_unsigned_to_nat(1u); -x_911 = lean_nat_add(x_909, x_910); -x_912 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_912, 0, x_904); -lean_ctor_set(x_912, 1, x_905); -lean_ctor_set(x_912, 2, x_906); -lean_ctor_set(x_912, 3, x_907); -lean_ctor_set(x_912, 4, x_908); -lean_ctor_set(x_912, 5, x_911); -x_913 = lean_ctor_get(x_4, 0); -lean_inc(x_913); -x_914 = lean_ctor_get(x_4, 1); -lean_inc(x_914); -x_915 = lean_ctor_get(x_4, 2); -lean_inc(x_915); -x_916 = lean_ctor_get(x_4, 3); +lean_dec(x_500); +x_913 = lean_unsigned_to_nat(1u); +x_914 = lean_nat_add(x_912, x_913); +x_915 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_915, 0, x_907); +lean_ctor_set(x_915, 1, x_908); +lean_ctor_set(x_915, 2, x_909); +lean_ctor_set(x_915, 3, x_910); +lean_ctor_set(x_915, 4, x_911); +lean_ctor_set(x_915, 5, x_914); +x_916 = lean_ctor_get(x_4, 0); lean_inc(x_916); -x_917 = lean_ctor_get(x_4, 4); +x_917 = lean_ctor_get(x_4, 1); lean_inc(x_917); -x_918 = lean_ctor_get(x_4, 5); +x_918 = lean_ctor_get(x_4, 2); lean_inc(x_918); -x_919 = lean_ctor_get(x_4, 6); +x_919 = lean_ctor_get(x_4, 3); lean_inc(x_919); -x_920 = lean_ctor_get(x_4, 7); +x_920 = lean_ctor_get(x_4, 4); lean_inc(x_920); -x_921 = lean_ctor_get(x_4, 8); +x_921 = lean_ctor_get(x_4, 5); lean_inc(x_921); -x_922 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_922 = lean_ctor_get(x_4, 6); +lean_inc(x_922); +x_923 = lean_ctor_get(x_4, 7); +lean_inc(x_923); +x_924 = lean_ctor_get(x_4, 8); +lean_inc(x_924); +x_925 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_926 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +lean_inc(x_924); +lean_inc(x_923); +lean_inc(x_922); lean_inc(x_921); lean_inc(x_920); lean_inc(x_919); lean_inc(x_918); lean_inc(x_917); lean_inc(x_916); -lean_inc(x_915); -lean_inc(x_914); -lean_inc(x_913); -x_923 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_923, 0, x_913); -lean_ctor_set(x_923, 1, x_914); -lean_ctor_set(x_923, 2, x_915); -lean_ctor_set(x_923, 3, x_916); -lean_ctor_set(x_923, 4, x_917); -lean_ctor_set(x_923, 5, x_918); -lean_ctor_set(x_923, 6, x_919); -lean_ctor_set(x_923, 7, x_920); -lean_ctor_set(x_923, 8, x_921); -lean_ctor_set(x_923, 9, x_909); -lean_ctor_set_uint8(x_923, sizeof(void*)*10, x_922); -x_924 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_499, x_497, x_923, x_912); -if (lean_obj_tag(x_924) == 0) +x_927 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_927, 0, x_916); +lean_ctor_set(x_927, 1, x_917); +lean_ctor_set(x_927, 2, x_918); +lean_ctor_set(x_927, 3, x_919); +lean_ctor_set(x_927, 4, x_920); +lean_ctor_set(x_927, 5, x_921); +lean_ctor_set(x_927, 6, x_922); +lean_ctor_set(x_927, 7, x_923); +lean_ctor_set(x_927, 8, x_924); +lean_ctor_set(x_927, 9, x_912); +lean_ctor_set_uint8(x_927, sizeof(void*)*10, x_925); +lean_ctor_set_uint8(x_927, sizeof(void*)*10 + 1, x_926); +x_928 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_501, x_499, x_927, x_915); +if (lean_obj_tag(x_928) == 0) { -lean_object* x_925; -x_925 = lean_ctor_get(x_25, 0); -lean_inc(x_925); -if (lean_obj_tag(x_925) == 0) +lean_object* x_929; +x_929 = lean_ctor_get(x_25, 0); +lean_inc(x_929); +if (lean_obj_tag(x_929) == 0) { -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_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_dec(x_924); +lean_dec(x_923); +lean_dec(x_922); lean_dec(x_921); lean_dec(x_920); lean_dec(x_919); lean_dec(x_918); lean_dec(x_917); lean_dec(x_916); -lean_dec(x_915); -lean_dec(x_914); -lean_dec(x_913); -lean_dec(x_489); +lean_dec(x_491); lean_dec(x_25); lean_dec(x_21); lean_dec(x_2); -x_926 = lean_ctor_get(x_924, 0); -lean_inc(x_926); -x_927 = lean_ctor_get(x_924, 1); -lean_inc(x_927); -lean_dec(x_924); -x_928 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_927); -lean_dec(x_4); -x_929 = lean_ctor_get(x_928, 0); -lean_inc(x_929); -x_930 = lean_ctor_get(x_928, 1); +x_930 = lean_ctor_get(x_928, 0); lean_inc(x_930); -if (lean_is_exclusive(x_928)) { - lean_ctor_release(x_928, 0); - lean_ctor_release(x_928, 1); - x_931 = x_928; +x_931 = lean_ctor_get(x_928, 1); +lean_inc(x_931); +lean_dec(x_928); +x_932 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_931); +lean_dec(x_4); +x_933 = lean_ctor_get(x_932, 0); +lean_inc(x_933); +x_934 = lean_ctor_get(x_932, 1); +lean_inc(x_934); +if (lean_is_exclusive(x_932)) { + lean_ctor_release(x_932, 0); + lean_ctor_release(x_932, 1); + x_935 = x_932; } else { - lean_dec_ref(x_928); - x_931 = lean_box(0); + lean_dec_ref(x_932); + x_935 = lean_box(0); } -x_932 = lean_box(0); -x_933 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -x_934 = lean_name_mk_numeral(x_933, x_929); -x_935 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_936 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_936, 0, x_932); -lean_ctor_set(x_936, 1, x_935); -lean_ctor_set(x_936, 2, x_934); -lean_ctor_set(x_936, 3, x_494); -x_937 = l_Array_empty___closed__1; -x_938 = lean_array_push(x_937, x_936); -x_939 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_940 = lean_array_push(x_938, x_939); -x_941 = lean_array_push(x_940, x_939); -x_942 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_943 = lean_array_push(x_941, x_942); -x_944 = lean_array_push(x_943, x_17); -x_945 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_946 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_946, 0, x_945); -lean_ctor_set(x_946, 1, x_944); -x_947 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_948 = lean_array_push(x_947, x_946); -x_949 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_950 = lean_array_push(x_948, x_949); -x_951 = lean_array_push(x_950, x_926); -x_952 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_953 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_953, 0, x_952); -lean_ctor_set(x_953, 1, x_951); -if (lean_is_scalar(x_931)) { - x_954 = lean_alloc_ctor(0, 2, 0); +x_936 = lean_box(0); +x_937 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +x_938 = lean_name_mk_numeral(x_937, x_933); +x_939 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_940 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_940, 0, x_936); +lean_ctor_set(x_940, 1, x_939); +lean_ctor_set(x_940, 2, x_938); +lean_ctor_set(x_940, 3, x_496); +x_941 = l_Array_empty___closed__1; +x_942 = lean_array_push(x_941, x_940); +x_943 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_944 = lean_array_push(x_942, x_943); +x_945 = lean_array_push(x_944, x_943); +x_946 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_947 = lean_array_push(x_945, x_946); +x_948 = lean_array_push(x_947, x_17); +x_949 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_950 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_950, 0, x_949); +lean_ctor_set(x_950, 1, x_948); +x_951 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_952 = lean_array_push(x_951, x_950); +x_953 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_954 = lean_array_push(x_952, x_953); +x_955 = lean_array_push(x_954, x_930); +x_956 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_957 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_957, 0, x_956); +lean_ctor_set(x_957, 1, x_955); +if (lean_is_scalar(x_935)) { + x_958 = lean_alloc_ctor(0, 2, 0); } else { - x_954 = x_931; + x_958 = x_935; } -lean_ctor_set(x_954, 0, x_953); -lean_ctor_set(x_954, 1, x_930); -return x_954; +lean_ctor_set(x_958, 0, x_957); +lean_ctor_set(x_958, 1, x_934); +return x_958; } else { -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; -x_955 = lean_ctor_get(x_924, 0); -lean_inc(x_955); -x_956 = lean_ctor_get(x_924, 1); -lean_inc(x_956); -lean_dec(x_924); -x_957 = lean_ctor_get(x_925, 0); -lean_inc(x_957); -lean_dec(x_925); -x_958 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__11(x_25, x_21, x_494); -lean_dec(x_25); -x_959 = l_List_map___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__7(x_958); -x_960 = lean_ctor_get(x_956, 0); +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; +x_959 = lean_ctor_get(x_928, 0); +lean_inc(x_959); +x_960 = lean_ctor_get(x_928, 1); lean_inc(x_960); -x_961 = lean_ctor_get(x_956, 1); +lean_dec(x_928); +x_961 = lean_ctor_get(x_929, 0); lean_inc(x_961); -x_962 = lean_ctor_get(x_956, 2); -lean_inc(x_962); -x_963 = lean_ctor_get(x_956, 3); -lean_inc(x_963); -x_964 = lean_ctor_get(x_956, 4); +lean_dec(x_929); +x_962 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__11(x_25, x_21, x_496); +lean_dec(x_25); +x_963 = l_List_map___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__7(x_962); +x_964 = lean_ctor_get(x_960, 0); lean_inc(x_964); -x_965 = lean_ctor_get(x_956, 5); +x_965 = lean_ctor_get(x_960, 1); lean_inc(x_965); -if (lean_is_exclusive(x_956)) { - lean_ctor_release(x_956, 0); - lean_ctor_release(x_956, 1); - lean_ctor_release(x_956, 2); - lean_ctor_release(x_956, 3); - lean_ctor_release(x_956, 4); - lean_ctor_release(x_956, 5); - x_966 = x_956; +x_966 = lean_ctor_get(x_960, 2); +lean_inc(x_966); +x_967 = lean_ctor_get(x_960, 3); +lean_inc(x_967); +x_968 = lean_ctor_get(x_960, 4); +lean_inc(x_968); +x_969 = lean_ctor_get(x_960, 5); +lean_inc(x_969); +if (lean_is_exclusive(x_960)) { + lean_ctor_release(x_960, 0); + lean_ctor_release(x_960, 1); + lean_ctor_release(x_960, 2); + lean_ctor_release(x_960, 3); + lean_ctor_release(x_960, 4); + lean_ctor_release(x_960, 5); + x_970 = x_960; } else { - lean_dec_ref(x_956); - x_966 = lean_box(0); + lean_dec_ref(x_960); + x_970 = lean_box(0); } -x_967 = lean_nat_add(x_965, x_910); -if (lean_is_scalar(x_966)) { - x_968 = lean_alloc_ctor(0, 6, 0); +x_971 = lean_nat_add(x_969, x_913); +if (lean_is_scalar(x_970)) { + x_972 = lean_alloc_ctor(0, 6, 0); } else { - x_968 = x_966; + x_972 = x_970; } -lean_ctor_set(x_968, 0, x_960); -lean_ctor_set(x_968, 1, x_961); -lean_ctor_set(x_968, 2, x_962); -lean_ctor_set(x_968, 3, x_963); -lean_ctor_set(x_968, 4, x_964); -lean_ctor_set(x_968, 5, x_967); -x_969 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_969, 0, x_913); -lean_ctor_set(x_969, 1, x_914); -lean_ctor_set(x_969, 2, x_915); -lean_ctor_set(x_969, 3, x_916); -lean_ctor_set(x_969, 4, x_917); -lean_ctor_set(x_969, 5, x_918); -lean_ctor_set(x_969, 6, x_919); -lean_ctor_set(x_969, 7, x_920); -lean_ctor_set(x_969, 8, x_921); -lean_ctor_set(x_969, 9, x_965); -lean_ctor_set_uint8(x_969, sizeof(void*)*10, x_922); -x_970 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_959, x_969, x_968); -if (lean_obj_tag(x_970) == 0) +lean_ctor_set(x_972, 0, x_964); +lean_ctor_set(x_972, 1, x_965); +lean_ctor_set(x_972, 2, x_966); +lean_ctor_set(x_972, 3, x_967); +lean_ctor_set(x_972, 4, x_968); +lean_ctor_set(x_972, 5, x_971); +x_973 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_973, 0, x_916); +lean_ctor_set(x_973, 1, x_917); +lean_ctor_set(x_973, 2, x_918); +lean_ctor_set(x_973, 3, x_919); +lean_ctor_set(x_973, 4, x_920); +lean_ctor_set(x_973, 5, x_921); +lean_ctor_set(x_973, 6, x_922); +lean_ctor_set(x_973, 7, x_923); +lean_ctor_set(x_973, 8, x_924); +lean_ctor_set(x_973, 9, x_969); +lean_ctor_set_uint8(x_973, sizeof(void*)*10, x_925); +lean_ctor_set_uint8(x_973, sizeof(void*)*10 + 1, x_926); +x_974 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(x_1, x_2, x_963, x_973, x_972); +if (lean_obj_tag(x_974) == 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; 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; -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_getCurrMacroScope(x_4, x_972); -x_974 = lean_ctor_get(x_973, 0); -lean_inc(x_974); -x_975 = lean_ctor_get(x_973, 1); +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; +x_975 = lean_ctor_get(x_974, 0); lean_inc(x_975); -lean_dec(x_973); -x_976 = lean_box(0); -x_977 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; -lean_inc(x_974); -x_978 = lean_name_mk_numeral(x_977, x_974); -x_979 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; -x_980 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; -x_981 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_981, 0, x_976); -lean_ctor_set(x_981, 1, x_979); -lean_ctor_set(x_981, 2, x_978); -lean_ctor_set(x_981, 3, x_980); -x_982 = l_Array_empty___closed__1; -x_983 = lean_array_push(x_982, x_981); -x_984 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_985 = lean_array_push(x_983, x_984); -x_986 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_987 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_987, 0, x_986); -lean_ctor_set(x_987, 1, x_985); -x_988 = lean_array_push(x_982, x_987); -x_989 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; -lean_inc(x_974); -x_990 = lean_name_mk_numeral(x_989, x_974); -x_991 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; -x_992 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_992, 0, x_976); -lean_ctor_set(x_992, 1, x_991); -lean_ctor_set(x_992, 2, x_990); -lean_ctor_set(x_992, 3, x_494); -x_993 = lean_array_push(x_982, x_992); -x_994 = lean_array_push(x_993, x_984); -x_995 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_995, 0, x_986); -lean_ctor_set(x_995, 1, x_994); -x_996 = lean_array_push(x_982, x_995); -x_997 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_957); -lean_inc(x_996); -x_998 = lean_array_push(x_996, x_997); -x_999 = l_Lean_nullKind___closed__2; -x_1000 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1000, 0, x_999); -lean_ctor_set(x_1000, 1, x_998); -x_1001 = lean_array_push(x_988, x_1000); -x_1002 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_1003 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1003, 0, x_1002); -lean_ctor_set(x_1003, 1, x_1001); -x_1004 = lean_array_push(x_982, x_1003); -x_1005 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__26; -x_1006 = lean_array_push(x_1004, x_1005); -x_1007 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__31; -lean_inc(x_974); -x_1008 = lean_name_mk_numeral(x_1007, x_974); -x_1009 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__29; -x_1010 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__33; -x_1011 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1011, 0, x_976); -lean_ctor_set(x_1011, 1, x_1009); -lean_ctor_set(x_1011, 2, x_1008); -lean_ctor_set(x_1011, 3, x_1010); -x_1012 = lean_array_push(x_982, x_1011); -x_1013 = lean_array_push(x_1012, x_984); -x_1014 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1014, 0, x_986); -lean_ctor_set(x_1014, 1, x_1013); -x_1015 = lean_array_push(x_982, x_1014); -x_1016 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__5; -x_1017 = lean_name_mk_numeral(x_1016, x_974); -x_1018 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__3; -x_1019 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__36; -x_1020 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1020, 0, x_976); -lean_ctor_set(x_1020, 1, x_1018); -lean_ctor_set(x_1020, 2, x_1017); -lean_ctor_set(x_1020, 3, x_1019); -x_1021 = lean_array_push(x_982, x_1020); -x_1022 = lean_array_push(x_1021, x_984); -x_1023 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1023, 0, x_986); -lean_ctor_set(x_1023, 1, x_1022); -x_1024 = lean_array_push(x_982, x_1023); -x_1025 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1025, 0, x_999); -lean_ctor_set(x_1025, 1, x_996); -x_1026 = lean_array_push(x_1024, x_1025); +x_976 = lean_ctor_get(x_974, 1); +lean_inc(x_976); +lean_dec(x_974); +x_977 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_976); +x_978 = lean_ctor_get(x_977, 0); +lean_inc(x_978); +x_979 = lean_ctor_get(x_977, 1); +lean_inc(x_979); +lean_dec(x_977); +x_980 = lean_box(0); +x_981 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; +lean_inc(x_978); +x_982 = lean_name_mk_numeral(x_981, x_978); +x_983 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__6; +x_984 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__11; +x_985 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_985, 0, x_980); +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_Array_empty___closed__1; +x_987 = lean_array_push(x_986, x_985); +x_988 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_989 = lean_array_push(x_987, x_988); +x_990 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_991 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_991, 0, x_990); +lean_ctor_set(x_991, 1, x_989); +x_992 = lean_array_push(x_986, x_991); +x_993 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__8; +lean_inc(x_978); +x_994 = lean_name_mk_numeral(x_993, x_978); +x_995 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__7; +x_996 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_996, 0, x_980); +lean_ctor_set(x_996, 1, x_995); +lean_ctor_set(x_996, 2, x_994); +lean_ctor_set(x_996, 3, x_496); +x_997 = lean_array_push(x_986, x_996); +x_998 = lean_array_push(x_997, x_988); +x_999 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_999, 0, x_990); +lean_ctor_set(x_999, 1, x_998); +x_1000 = lean_array_push(x_986, x_999); +x_1001 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_961); +lean_inc(x_1000); +x_1002 = lean_array_push(x_1000, x_1001); +x_1003 = l_Lean_nullKind___closed__2; +x_1004 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1004, 0, x_1003); +lean_ctor_set(x_1004, 1, x_1002); +x_1005 = lean_array_push(x_992, x_1004); +x_1006 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1007 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1007, 0, x_1006); +lean_ctor_set(x_1007, 1, x_1005); +x_1008 = lean_array_push(x_986, x_1007); +x_1009 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__26; +x_1010 = lean_array_push(x_1008, x_1009); +x_1011 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__31; +lean_inc(x_978); +x_1012 = lean_name_mk_numeral(x_1011, x_978); +x_1013 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__29; +x_1014 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__33; +x_1015 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1015, 0, x_980); +lean_ctor_set(x_1015, 1, x_1013); +lean_ctor_set(x_1015, 2, x_1012); +lean_ctor_set(x_1015, 3, x_1014); +x_1016 = lean_array_push(x_986, x_1015); +x_1017 = lean_array_push(x_1016, x_988); +x_1018 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1018, 0, x_990); +lean_ctor_set(x_1018, 1, x_1017); +x_1019 = lean_array_push(x_986, x_1018); +x_1020 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__5; +x_1021 = lean_name_mk_numeral(x_1020, x_978); +x_1022 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___closed__3; +x_1023 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__36; +x_1024 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1024, 0, x_980); +lean_ctor_set(x_1024, 1, x_1022); +lean_ctor_set(x_1024, 2, x_1021); +lean_ctor_set(x_1024, 3, x_1023); +x_1025 = lean_array_push(x_986, x_1024); +x_1026 = lean_array_push(x_1025, x_988); x_1027 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1027, 0, x_1002); +lean_ctor_set(x_1027, 0, x_990); lean_ctor_set(x_1027, 1, x_1026); -x_1028 = lean_array_push(x_982, x_1027); -x_1029 = lean_array_push(x_1028, x_984); -x_1030 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1030, 0, x_999); -lean_ctor_set(x_1030, 1, x_1029); -x_1031 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__45; -x_1032 = lean_array_push(x_1031, x_1030); -x_1033 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__57; -x_1034 = lean_array_push(x_1032, x_1033); -x_1035 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_1036 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1036, 0, x_1035); -lean_ctor_set(x_1036, 1, x_1034); -x_1037 = lean_array_push(x_982, x_1036); -x_1038 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1038, 0, x_999); -lean_ctor_set(x_1038, 1, x_1037); -x_1039 = lean_array_push(x_1015, x_1038); +x_1028 = lean_array_push(x_986, x_1027); +x_1029 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1029, 0, x_1003); +lean_ctor_set(x_1029, 1, x_1000); +x_1030 = lean_array_push(x_1028, x_1029); +x_1031 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1031, 0, x_1006); +lean_ctor_set(x_1031, 1, x_1030); +x_1032 = lean_array_push(x_986, x_1031); +x_1033 = lean_array_push(x_1032, x_988); +x_1034 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1034, 0, x_1003); +lean_ctor_set(x_1034, 1, x_1033); +x_1035 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__45; +x_1036 = lean_array_push(x_1035, x_1034); +x_1037 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__57; +x_1038 = lean_array_push(x_1036, x_1037); +x_1039 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_1040 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1040, 0, x_1002); -lean_ctor_set(x_1040, 1, x_1039); -x_1041 = lean_array_push(x_982, x_1040); -x_1042 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__38; -x_1043 = lean_array_push(x_1041, x_1042); -x_1044 = l_Nat_repr(x_489); -x_1045 = l_Lean_numLitKind; -x_1046 = l_Lean_mkStxLit(x_1045, x_1044, x_976); -x_1047 = l_Lean_FileMap_ofString___closed__1; -x_1048 = lean_array_push(x_1047, x_1046); -x_1049 = l_Lean_Parser_Term_num___elambda__1___closed__1; -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 = lean_array_push(x_1043, x_1050); -x_1052 = l_Lean_Parser_Term_beq___elambda__1___closed__2; -x_1053 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1053, 0, x_1052); -lean_ctor_set(x_1053, 1, x_1051); -x_1054 = lean_array_push(x_1006, x_1053); -x_1055 = l_Lean_Parser_Term_band___elambda__1___closed__2; -x_1056 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1056, 0, x_1055); -lean_ctor_set(x_1056, 1, x_1054); -x_1057 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_975); +lean_ctor_set(x_1040, 0, x_1039); +lean_ctor_set(x_1040, 1, x_1038); +x_1041 = lean_array_push(x_986, x_1040); +x_1042 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1042, 0, x_1003); +lean_ctor_set(x_1042, 1, x_1041); +x_1043 = lean_array_push(x_1019, x_1042); +x_1044 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1044, 0, x_1006); +lean_ctor_set(x_1044, 1, x_1043); +x_1045 = lean_array_push(x_986, x_1044); +x_1046 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__38; +x_1047 = lean_array_push(x_1045, x_1046); +x_1048 = l_Nat_repr(x_491); +x_1049 = l_Lean_numLitKind; +x_1050 = l_Lean_mkStxLit(x_1049, x_1048, x_980); +x_1051 = l_Lean_FileMap_ofString___closed__1; +x_1052 = lean_array_push(x_1051, x_1050); +x_1053 = l_Lean_Parser_Term_num___elambda__1___closed__1; +x_1054 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1054, 0, x_1053); +lean_ctor_set(x_1054, 1, x_1052); +x_1055 = lean_array_push(x_1047, x_1054); +x_1056 = l_Lean_Parser_Term_beq___elambda__1___closed__2; +x_1057 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1057, 0, x_1056); +lean_ctor_set(x_1057, 1, x_1055); +x_1058 = lean_array_push(x_1010, x_1057); +x_1059 = l_Lean_Parser_Term_band___elambda__1___closed__2; +x_1060 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1060, 0, x_1059); +lean_ctor_set(x_1060, 1, x_1058); +x_1061 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_979); lean_dec(x_4); -x_1058 = lean_ctor_get(x_1057, 0); -lean_inc(x_1058); -x_1059 = lean_ctor_get(x_1057, 1); -lean_inc(x_1059); -if (lean_is_exclusive(x_1057)) { - lean_ctor_release(x_1057, 0); - lean_ctor_release(x_1057, 1); - x_1060 = x_1057; +x_1062 = lean_ctor_get(x_1061, 0); +lean_inc(x_1062); +x_1063 = lean_ctor_get(x_1061, 1); +lean_inc(x_1063); +if (lean_is_exclusive(x_1061)) { + lean_ctor_release(x_1061, 0); + lean_ctor_release(x_1061, 1); + x_1064 = x_1061; } else { - lean_dec_ref(x_1057); - x_1060 = lean_box(0); -} -lean_inc(x_1058); -x_1061 = lean_name_mk_numeral(x_989, x_1058); -x_1062 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1062, 0, x_976); -lean_ctor_set(x_1062, 1, x_991); -lean_ctor_set(x_1062, 2, x_1061); -lean_ctor_set(x_1062, 3, x_494); -x_1063 = lean_array_push(x_982, x_1062); -x_1064 = lean_array_push(x_1063, x_984); -x_1065 = lean_array_push(x_1064, x_984); -x_1066 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_1067 = lean_array_push(x_1065, x_1066); -x_1068 = lean_array_push(x_1067, x_17); -x_1069 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_1070 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1070, 0, x_1069); -lean_ctor_set(x_1070, 1, x_1068); -x_1071 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_1072 = lean_array_push(x_1071, x_1070); -x_1073 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_1074 = lean_array_push(x_1072, x_1073); -x_1075 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; -x_1076 = lean_name_mk_numeral(x_1075, x_1058); -x_1077 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; -x_1078 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; -x_1079 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1079, 0, x_976); -lean_ctor_set(x_1079, 1, x_1077); -lean_ctor_set(x_1079, 2, x_1076); -lean_ctor_set(x_1079, 3, x_1078); -x_1080 = lean_array_push(x_982, x_1079); -x_1081 = lean_array_push(x_1080, x_984); -x_1082 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1082, 0, x_986); -lean_ctor_set(x_1082, 1, x_1081); -x_1083 = lean_array_push(x_982, x_1082); -x_1084 = lean_array_push(x_982, x_1056); -x_1085 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1085, 0, x_999); -lean_ctor_set(x_1085, 1, x_1084); -x_1086 = lean_array_push(x_1083, x_1085); -x_1087 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1087, 0, x_1002); -lean_ctor_set(x_1087, 1, x_1086); -x_1088 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; -x_1089 = lean_array_push(x_1088, x_1087); -x_1090 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; -x_1091 = lean_array_push(x_1089, x_1090); -x_1092 = lean_array_push(x_1091, x_955); -x_1093 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; -x_1094 = lean_array_push(x_1092, x_1093); -x_1095 = lean_array_push(x_1094, x_971); -x_1096 = l_Lean_Parser_Term_if___elambda__1___closed__2; -x_1097 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1097, 0, x_1096); -lean_ctor_set(x_1097, 1, x_1095); -x_1098 = lean_array_push(x_1074, x_1097); -x_1099 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_1100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1100, 0, x_1099); -lean_ctor_set(x_1100, 1, x_1098); -if (lean_is_scalar(x_1060)) { - x_1101 = lean_alloc_ctor(0, 2, 0); -} else { - x_1101 = x_1060; + lean_dec_ref(x_1061); + x_1064 = lean_box(0); } +lean_inc(x_1062); +x_1065 = lean_name_mk_numeral(x_993, x_1062); +x_1066 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1066, 0, x_980); +lean_ctor_set(x_1066, 1, x_995); +lean_ctor_set(x_1066, 2, x_1065); +lean_ctor_set(x_1066, 3, x_496); +x_1067 = lean_array_push(x_986, x_1066); +x_1068 = lean_array_push(x_1067, x_988); +x_1069 = lean_array_push(x_1068, x_988); +x_1070 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_1071 = lean_array_push(x_1069, x_1070); +x_1072 = lean_array_push(x_1071, x_17); +x_1073 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_1074 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1074, 0, x_1073); +lean_ctor_set(x_1074, 1, x_1072); +x_1075 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_1076 = lean_array_push(x_1075, x_1074); +x_1077 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_1078 = lean_array_push(x_1076, x_1077); +x_1079 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__18; +x_1080 = lean_name_mk_numeral(x_1079, x_1062); +x_1081 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__17; +x_1082 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__20; +x_1083 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1083, 0, x_980); +lean_ctor_set(x_1083, 1, x_1081); +lean_ctor_set(x_1083, 2, x_1080); +lean_ctor_set(x_1083, 3, x_1082); +x_1084 = lean_array_push(x_986, x_1083); +x_1085 = lean_array_push(x_1084, x_988); +x_1086 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1086, 0, x_990); +lean_ctor_set(x_1086, 1, x_1085); +x_1087 = lean_array_push(x_986, x_1086); +x_1088 = lean_array_push(x_986, x_1060); +x_1089 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1089, 0, x_1003); +lean_ctor_set(x_1089, 1, x_1088); +x_1090 = lean_array_push(x_1087, x_1089); +x_1091 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1091, 0, x_1006); +lean_ctor_set(x_1091, 1, x_1090); +x_1092 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__14; +x_1093 = lean_array_push(x_1092, x_1091); +x_1094 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; +x_1095 = lean_array_push(x_1093, x_1094); +x_1096 = lean_array_push(x_1095, x_959); +x_1097 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__24; +x_1098 = lean_array_push(x_1096, x_1097); +x_1099 = lean_array_push(x_1098, x_975); +x_1100 = l_Lean_Parser_Term_if___elambda__1___closed__2; +x_1101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1101, 0, x_1100); -lean_ctor_set(x_1101, 1, x_1059); -return x_1101; -} -else -{ -lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; -lean_dec(x_957); -lean_dec(x_955); -lean_dec(x_489); -lean_dec(x_17); -lean_dec(x_4); -x_1102 = lean_ctor_get(x_970, 0); -lean_inc(x_1102); -x_1103 = lean_ctor_get(x_970, 1); -lean_inc(x_1103); -if (lean_is_exclusive(x_970)) { - lean_ctor_release(x_970, 0); - lean_ctor_release(x_970, 1); - x_1104 = x_970; +lean_ctor_set(x_1101, 1, x_1099); +x_1102 = lean_array_push(x_1078, x_1101); +x_1103 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_1104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1104, 0, x_1103); +lean_ctor_set(x_1104, 1, x_1102); +if (lean_is_scalar(x_1064)) { + x_1105 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_970); - x_1104 = lean_box(0); + x_1105 = x_1064; } -if (lean_is_scalar(x_1104)) { - x_1105 = lean_alloc_ctor(1, 2, 0); -} else { - x_1105 = x_1104; -} -lean_ctor_set(x_1105, 0, x_1102); -lean_ctor_set(x_1105, 1, x_1103); +lean_ctor_set(x_1105, 0, x_1104); +lean_ctor_set(x_1105, 1, x_1063); return x_1105; } -} -} else { lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; -lean_dec(x_921); -lean_dec(x_920); -lean_dec(x_919); -lean_dec(x_918); -lean_dec(x_917); -lean_dec(x_916); -lean_dec(x_915); -lean_dec(x_914); -lean_dec(x_913); -lean_dec(x_489); -lean_dec(x_25); -lean_dec(x_21); +lean_dec(x_961); +lean_dec(x_959); +lean_dec(x_491); lean_dec(x_17); lean_dec(x_4); -lean_dec(x_2); -x_1106 = lean_ctor_get(x_924, 0); +x_1106 = lean_ctor_get(x_974, 0); lean_inc(x_1106); -x_1107 = lean_ctor_get(x_924, 1); +x_1107 = lean_ctor_get(x_974, 1); lean_inc(x_1107); -if (lean_is_exclusive(x_924)) { - lean_ctor_release(x_924, 0); - lean_ctor_release(x_924, 1); - x_1108 = x_924; +if (lean_is_exclusive(x_974)) { + lean_ctor_release(x_974, 0); + lean_ctor_release(x_974, 1); + x_1108 = x_974; } else { - lean_dec_ref(x_924); + lean_dec_ref(x_974); x_1108 = lean_box(0); } if (lean_is_scalar(x_1108)) { @@ -10399,32 +10372,73 @@ return x_1109; } else { -uint8_t x_1110; -lean_dec(x_492); -lean_dec(x_489); +lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; +lean_dec(x_924); +lean_dec(x_923); +lean_dec(x_922); +lean_dec(x_921); +lean_dec(x_920); +lean_dec(x_919); +lean_dec(x_918); +lean_dec(x_917); +lean_dec(x_916); +lean_dec(x_491); +lean_dec(x_25); +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_4); +lean_dec(x_2); +x_1110 = lean_ctor_get(x_928, 0); +lean_inc(x_1110); +x_1111 = lean_ctor_get(x_928, 1); +lean_inc(x_1111); +if (lean_is_exclusive(x_928)) { + lean_ctor_release(x_928, 0); + lean_ctor_release(x_928, 1); + x_1112 = x_928; +} else { + lean_dec_ref(x_928); + x_1112 = lean_box(0); +} +if (lean_is_scalar(x_1112)) { + x_1113 = lean_alloc_ctor(1, 2, 0); +} else { + x_1113 = x_1112; +} +lean_ctor_set(x_1113, 0, x_1110); +lean_ctor_set(x_1113, 1, x_1111); +return x_1113; +} +} +} +else +{ +uint8_t x_1114; +lean_dec(x_494); +lean_dec(x_491); lean_dec(x_25); lean_dec(x_21); lean_dec(x_18); lean_dec(x_17); lean_dec(x_4); lean_dec(x_2); -x_1110 = !lean_is_exclusive(x_496); -if (x_1110 == 0) +x_1114 = !lean_is_exclusive(x_498); +if (x_1114 == 0) { -return x_496; +return x_498; } else { -lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; -x_1111 = lean_ctor_get(x_496, 0); -x_1112 = lean_ctor_get(x_496, 1); -lean_inc(x_1112); -lean_inc(x_1111); -lean_dec(x_496); -x_1113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1113, 0, x_1111); -lean_ctor_set(x_1113, 1, x_1112); -return x_1113; +lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; +x_1115 = lean_ctor_get(x_498, 0); +x_1116 = lean_ctor_get(x_498, 1); +lean_inc(x_1116); +lean_inc(x_1115); +lean_dec(x_498); +x_1117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1117, 0, x_1115); +lean_ctor_set(x_1117, 1, x_1116); +return x_1117; } } } @@ -11571,7 +11585,7 @@ lean_ctor_set(x_2, 1, x_3); x_38 = !lean_is_exclusive(x_20); if (x_38 == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; 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; lean_object* x_52; lean_object* x_53; +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; uint8_t x_52; lean_object* x_53; lean_object* x_54; x_39 = lean_ctor_get(x_20, 5); x_40 = lean_unsigned_to_nat(1u); x_41 = lean_nat_add(x_39, x_40); @@ -11595,832 +11609,842 @@ lean_inc(x_49); x_50 = lean_ctor_get(x_4, 8); lean_inc(x_50); x_51 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); -x_52 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_52, 0, x_42); -lean_ctor_set(x_52, 1, x_43); -lean_ctor_set(x_52, 2, x_44); -lean_ctor_set(x_52, 3, x_45); -lean_ctor_set(x_52, 4, x_46); -lean_ctor_set(x_52, 5, x_47); -lean_ctor_set(x_52, 6, x_48); -lean_ctor_set(x_52, 7, x_49); -lean_ctor_set(x_52, 8, x_50); -lean_ctor_set(x_52, 9, x_39); -lean_ctor_set_uint8(x_52, sizeof(void*)*10, x_51); -x_53 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_11, x_2, x_52, x_20); -if (lean_obj_tag(x_53) == 0) +x_52 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +x_53 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_53, 0, x_42); +lean_ctor_set(x_53, 1, x_43); +lean_ctor_set(x_53, 2, x_44); +lean_ctor_set(x_53, 3, x_45); +lean_ctor_set(x_53, 4, x_46); +lean_ctor_set(x_53, 5, x_47); +lean_ctor_set(x_53, 6, x_48); +lean_ctor_set(x_53, 7, x_49); +lean_ctor_set(x_53, 8, x_50); +lean_ctor_set(x_53, 9, x_39); +lean_ctor_set_uint8(x_53, sizeof(void*)*10, x_51); +lean_ctor_set_uint8(x_53, sizeof(void*)*10 + 1, x_52); +x_54 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_11, x_2, x_53, x_20); +if (lean_obj_tag(x_54) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); -lean_dec(x_53); -x_56 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_56); lean_dec(x_4); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 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_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_58 = lean_ctor_get(x_56, 0); -x_59 = lean_name_mk_numeral(x_22, x_58); -x_60 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_60, 0, x_21); -lean_ctor_set(x_60, 1, x_25); -lean_ctor_set(x_60, 2, x_59); -lean_ctor_set(x_60, 3, x_24); -x_61 = lean_array_push(x_27, x_60); -x_62 = lean_array_push(x_61, x_29); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_59 = lean_ctor_get(x_57, 0); +x_60 = lean_name_mk_numeral(x_22, x_59); +x_61 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_61, 0, x_21); +lean_ctor_set(x_61, 1, x_25); +lean_ctor_set(x_61, 2, x_60); +lean_ctor_set(x_61, 3, x_24); +x_62 = lean_array_push(x_27, x_61); x_63 = lean_array_push(x_62, x_29); -x_64 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_65 = lean_array_push(x_63, x_64); -x_66 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__13; -x_67 = lean_array_push(x_66, x_13); -x_68 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = lean_array_push(x_65, x_69); -x_71 = l_Lean_Parser_Term_letIdDecl___elambda__1___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___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_74 = lean_array_push(x_73, x_72); -x_75 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_76 = lean_array_push(x_74, x_75); -x_77 = lean_array_push(x_76, x_54); -x_78 = l_Lean_Parser_Term_let___elambda__1___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); -lean_ctor_set(x_56, 0, x_79); -return x_56; +x_64 = lean_array_push(x_63, x_29); +x_65 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_66 = lean_array_push(x_64, x_65); +x_67 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__13; +x_68 = lean_array_push(x_67, x_13); +x_69 = l_Lean_Parser_Term_fun___elambda__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 = lean_array_push(x_66, x_70); +x_72 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_75 = lean_array_push(x_74, x_73); +x_76 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_77 = lean_array_push(x_75, x_76); +x_78 = lean_array_push(x_77, x_55); +x_79 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_57, 0, x_80); +return x_57; } 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; -x_80 = lean_ctor_get(x_56, 0); -x_81 = lean_ctor_get(x_56, 1); +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_81 = lean_ctor_get(x_57, 0); +x_82 = lean_ctor_get(x_57, 1); +lean_inc(x_82); lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_56); -x_82 = lean_name_mk_numeral(x_22, x_80); -x_83 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_83, 0, x_21); -lean_ctor_set(x_83, 1, x_25); -lean_ctor_set(x_83, 2, x_82); -lean_ctor_set(x_83, 3, x_24); -x_84 = lean_array_push(x_27, x_83); -x_85 = lean_array_push(x_84, x_29); +lean_dec(x_57); +x_83 = lean_name_mk_numeral(x_22, x_81); +x_84 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_84, 0, x_21); +lean_ctor_set(x_84, 1, x_25); +lean_ctor_set(x_84, 2, x_83); +lean_ctor_set(x_84, 3, x_24); +x_85 = lean_array_push(x_27, x_84); x_86 = lean_array_push(x_85, x_29); -x_87 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_88 = lean_array_push(x_86, x_87); -x_89 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__13; -x_90 = lean_array_push(x_89, x_13); -x_91 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = lean_array_push(x_88, x_92); -x_94 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_96 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_97 = lean_array_push(x_96, x_95); -x_98 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_99 = lean_array_push(x_97, x_98); -x_100 = lean_array_push(x_99, x_54); -x_101 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = lean_alloc_ctor(0, 2, 0); +x_87 = lean_array_push(x_86, x_29); +x_88 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_89 = lean_array_push(x_87, x_88); +x_90 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__13; +x_91 = lean_array_push(x_90, x_13); +x_92 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +x_94 = lean_array_push(x_89, x_93); +x_95 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_98 = lean_array_push(x_97, x_96); +x_99 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_100 = lean_array_push(x_98, x_99); +x_101 = lean_array_push(x_100, x_55); +x_102 = l_Lean_Parser_Term_let___elambda__1___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_81); -return x_103; +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_82); +return x_104; } } else { -uint8_t x_104; +uint8_t x_105; lean_dec(x_13); lean_dec(x_4); -x_104 = !lean_is_exclusive(x_53); -if (x_104 == 0) +x_105 = !lean_is_exclusive(x_54); +if (x_105 == 0) { -return x_53; +return x_54; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_53, 0); -x_106 = lean_ctor_get(x_53, 1); +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_54, 0); +x_107 = lean_ctor_get(x_54, 1); +lean_inc(x_107); lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_53); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; +lean_dec(x_54); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; } } } else { -lean_object* x_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; lean_object* x_127; lean_object* x_128; -x_108 = lean_ctor_get(x_20, 0); -x_109 = lean_ctor_get(x_20, 1); -x_110 = lean_ctor_get(x_20, 2); -x_111 = lean_ctor_get(x_20, 3); -x_112 = lean_ctor_get(x_20, 4); -x_113 = lean_ctor_get(x_20, 5); +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; uint8_t x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; +x_109 = lean_ctor_get(x_20, 0); +x_110 = lean_ctor_get(x_20, 1); +x_111 = lean_ctor_get(x_20, 2); +x_112 = lean_ctor_get(x_20, 3); +x_113 = lean_ctor_get(x_20, 4); +x_114 = lean_ctor_get(x_20, 5); +lean_inc(x_114); lean_inc(x_113); lean_inc(x_112); lean_inc(x_111); lean_inc(x_110); lean_inc(x_109); -lean_inc(x_108); lean_dec(x_20); -x_114 = lean_unsigned_to_nat(1u); -x_115 = lean_nat_add(x_113, x_114); -x_116 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_116, 0, x_108); -lean_ctor_set(x_116, 1, x_109); -lean_ctor_set(x_116, 2, x_110); -lean_ctor_set(x_116, 3, x_111); -lean_ctor_set(x_116, 4, x_112); -lean_ctor_set(x_116, 5, x_115); -x_117 = lean_ctor_get(x_4, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_4, 1); +x_115 = lean_unsigned_to_nat(1u); +x_116 = lean_nat_add(x_114, x_115); +x_117 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_117, 0, x_109); +lean_ctor_set(x_117, 1, x_110); +lean_ctor_set(x_117, 2, x_111); +lean_ctor_set(x_117, 3, x_112); +lean_ctor_set(x_117, 4, x_113); +lean_ctor_set(x_117, 5, x_116); +x_118 = lean_ctor_get(x_4, 0); lean_inc(x_118); -x_119 = lean_ctor_get(x_4, 2); +x_119 = lean_ctor_get(x_4, 1); lean_inc(x_119); -x_120 = lean_ctor_get(x_4, 3); +x_120 = lean_ctor_get(x_4, 2); lean_inc(x_120); -x_121 = lean_ctor_get(x_4, 4); +x_121 = lean_ctor_get(x_4, 3); lean_inc(x_121); -x_122 = lean_ctor_get(x_4, 5); +x_122 = lean_ctor_get(x_4, 4); lean_inc(x_122); -x_123 = lean_ctor_get(x_4, 6); +x_123 = lean_ctor_get(x_4, 5); lean_inc(x_123); -x_124 = lean_ctor_get(x_4, 7); +x_124 = lean_ctor_get(x_4, 6); lean_inc(x_124); -x_125 = lean_ctor_get(x_4, 8); +x_125 = lean_ctor_get(x_4, 7); lean_inc(x_125); -x_126 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); -x_127 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_127, 0, x_117); -lean_ctor_set(x_127, 1, x_118); -lean_ctor_set(x_127, 2, x_119); -lean_ctor_set(x_127, 3, x_120); -lean_ctor_set(x_127, 4, x_121); -lean_ctor_set(x_127, 5, x_122); -lean_ctor_set(x_127, 6, x_123); -lean_ctor_set(x_127, 7, x_124); -lean_ctor_set(x_127, 8, x_125); -lean_ctor_set(x_127, 9, x_113); -lean_ctor_set_uint8(x_127, sizeof(void*)*10, x_126); -x_128 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_11, x_2, x_127, x_116); -if (lean_obj_tag(x_128) == 0) +x_126 = lean_ctor_get(x_4, 8); +lean_inc(x_126); +x_127 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_128 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +x_129 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_129, 0, x_118); +lean_ctor_set(x_129, 1, x_119); +lean_ctor_set(x_129, 2, x_120); +lean_ctor_set(x_129, 3, x_121); +lean_ctor_set(x_129, 4, x_122); +lean_ctor_set(x_129, 5, x_123); +lean_ctor_set(x_129, 6, x_124); +lean_ctor_set(x_129, 7, x_125); +lean_ctor_set(x_129, 8, x_126); +lean_ctor_set(x_129, 9, x_114); +lean_ctor_set_uint8(x_129, sizeof(void*)*10, x_127); +lean_ctor_set_uint8(x_129, sizeof(void*)*10 + 1, x_128); +x_130 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_11, x_2, x_129, x_117); +if (lean_obj_tag(x_130) == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_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_getCurrMacroScope(x_4, x_130); -lean_dec(x_4); -x_132 = lean_ctor_get(x_131, 0); +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; +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_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; +lean_dec(x_130); +x_133 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_132); +lean_dec(x_4); +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_131); - x_134 = lean_box(0); + lean_dec_ref(x_133); + x_136 = lean_box(0); } -x_135 = lean_name_mk_numeral(x_22, x_132); -x_136 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_136, 0, x_21); -lean_ctor_set(x_136, 1, x_25); -lean_ctor_set(x_136, 2, x_135); -lean_ctor_set(x_136, 3, x_24); -x_137 = lean_array_push(x_27, x_136); -x_138 = lean_array_push(x_137, x_29); -x_139 = lean_array_push(x_138, x_29); -x_140 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_141 = lean_array_push(x_139, x_140); -x_142 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__13; -x_143 = lean_array_push(x_142, x_13); -x_144 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_146 = lean_array_push(x_141, x_145); -x_147 = l_Lean_Parser_Term_letIdDecl___elambda__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 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_150 = lean_array_push(x_149, x_148); -x_151 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_152 = lean_array_push(x_150, x_151); -x_153 = lean_array_push(x_152, x_129); -x_154 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -if (lean_is_scalar(x_134)) { - x_156 = lean_alloc_ctor(0, 2, 0); +x_137 = lean_name_mk_numeral(x_22, x_134); +x_138 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_138, 0, x_21); +lean_ctor_set(x_138, 1, x_25); +lean_ctor_set(x_138, 2, x_137); +lean_ctor_set(x_138, 3, x_24); +x_139 = lean_array_push(x_27, x_138); +x_140 = lean_array_push(x_139, x_29); +x_141 = lean_array_push(x_140, x_29); +x_142 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_143 = lean_array_push(x_141, x_142); +x_144 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__13; +x_145 = lean_array_push(x_144, x_13); +x_146 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +x_148 = lean_array_push(x_143, x_147); +x_149 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_148); +x_151 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_152 = lean_array_push(x_151, x_150); +x_153 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_154 = lean_array_push(x_152, x_153); +x_155 = lean_array_push(x_154, x_131); +x_156 = l_Lean_Parser_Term_let___elambda__1___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); +if (lean_is_scalar(x_136)) { + x_158 = lean_alloc_ctor(0, 2, 0); } else { - x_156 = x_134; + x_158 = x_136; } -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_133); -return x_156; +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_135); +return x_158; } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_dec(x_13); lean_dec(x_4); -x_157 = lean_ctor_get(x_128, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_128, 1); -lean_inc(x_158); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_159 = x_128; +x_159 = lean_ctor_get(x_130, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_130, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_161 = x_130; } else { - lean_dec_ref(x_128); - x_159 = lean_box(0); + lean_dec_ref(x_130); + x_161 = lean_box(0); } -if (lean_is_scalar(x_159)) { - x_160 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_161)) { + x_162 = lean_alloc_ctor(1, 2, 0); } else { - x_160 = x_159; + x_162 = x_161; } -lean_ctor_set(x_160, 0, x_157); -lean_ctor_set(x_160, 1, x_158); -return x_160; +lean_ctor_set(x_162, 0, x_159); +lean_ctor_set(x_162, 1, x_160); +return x_162; } } } else { -lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; +lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_free_object(x_2); -x_161 = l_List_redLength___main___rarg(x_17); -x_162 = lean_mk_empty_array_with_capacity(x_161); -lean_dec(x_161); +x_163 = l_List_redLength___main___rarg(x_17); +x_164 = lean_mk_empty_array_with_capacity(x_163); +lean_dec(x_163); lean_inc(x_17); -x_163 = l_List_toArrayAux___main___rarg(x_17, x_162); -x_164 = !lean_is_exclusive(x_17); -if (x_164 == 0) +x_165 = l_List_toArrayAux___main___rarg(x_17, x_164); +x_166 = !lean_is_exclusive(x_17); +if (x_166 == 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; 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; uint8_t x_191; -x_165 = lean_ctor_get(x_17, 1); -lean_dec(x_165); -x_166 = lean_ctor_get(x_17, 0); -lean_dec(x_166); -x_167 = l_Lean_nullKind___closed__2; -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_163); -x_169 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__16; -x_170 = lean_array_push(x_169, x_168); -x_171 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__15; -x_172 = lean_array_push(x_170, x_171); -x_173 = lean_array_push(x_172, x_13); -x_174 = l_Lean_Parser_Term_fun___elambda__1___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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_16); -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_179 = lean_box(0); -x_180 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; -x_181 = lean_name_mk_numeral(x_180, x_177); -x_182 = lean_box(0); -x_183 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; -x_184 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_184, 0, x_179); -lean_ctor_set(x_184, 1, x_183); -lean_ctor_set(x_184, 2, x_181); -lean_ctor_set(x_184, 3, x_182); -x_185 = l_Array_empty___closed__1; -x_186 = lean_array_push(x_185, x_184); -x_187 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_188 = lean_array_push(x_186, x_187); -x_189 = l_Lean_Parser_Term_id___elambda__1___closed__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); -lean_ctor_set(x_9, 1, x_190); +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; uint8_t x_193; +x_167 = lean_ctor_get(x_17, 1); +lean_dec(x_167); +x_168 = lean_ctor_get(x_17, 0); +lean_dec(x_168); +x_169 = l_Lean_nullKind___closed__2; +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_165); +x_171 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__16; +x_172 = lean_array_push(x_171, x_170); +x_173 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__15; +x_174 = lean_array_push(x_172, x_173); +x_175 = lean_array_push(x_174, x_13); +x_176 = l_Lean_Parser_Term_fun___elambda__1___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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_16); +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_box(0); +x_182 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; +x_183 = lean_name_mk_numeral(x_182, x_179); +x_184 = lean_box(0); +x_185 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; +x_186 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +lean_ctor_set(x_186, 2, x_183); +lean_ctor_set(x_186, 3, x_184); +x_187 = l_Array_empty___closed__1; +x_188 = lean_array_push(x_187, x_186); +x_189 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_190 = lean_array_push(x_188, x_189); +x_191 = l_Lean_Parser_Term_id___elambda__1___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); +lean_ctor_set(x_9, 1, x_192); lean_ctor_set(x_17, 1, x_3); lean_ctor_set(x_17, 0, x_9); -x_191 = !lean_is_exclusive(x_178); -if (x_191 == 0) +x_193 = !lean_is_exclusive(x_180); +if (x_193 == 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; uint8_t x_204; lean_object* x_205; lean_object* x_206; -x_192 = lean_ctor_get(x_178, 5); -x_193 = lean_unsigned_to_nat(1u); -x_194 = lean_nat_add(x_192, x_193); -lean_ctor_set(x_178, 5, x_194); -x_195 = lean_ctor_get(x_4, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_4, 1); -lean_inc(x_196); -x_197 = lean_ctor_get(x_4, 2); +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; uint8_t x_206; uint8_t x_207; lean_object* x_208; lean_object* x_209; +x_194 = lean_ctor_get(x_180, 5); +x_195 = lean_unsigned_to_nat(1u); +x_196 = lean_nat_add(x_194, x_195); +lean_ctor_set(x_180, 5, x_196); +x_197 = lean_ctor_get(x_4, 0); lean_inc(x_197); -x_198 = lean_ctor_get(x_4, 3); +x_198 = lean_ctor_get(x_4, 1); lean_inc(x_198); -x_199 = lean_ctor_get(x_4, 4); +x_199 = lean_ctor_get(x_4, 2); lean_inc(x_199); -x_200 = lean_ctor_get(x_4, 5); +x_200 = lean_ctor_get(x_4, 3); lean_inc(x_200); -x_201 = lean_ctor_get(x_4, 6); +x_201 = lean_ctor_get(x_4, 4); lean_inc(x_201); -x_202 = lean_ctor_get(x_4, 7); +x_202 = lean_ctor_get(x_4, 5); lean_inc(x_202); -x_203 = lean_ctor_get(x_4, 8); +x_203 = lean_ctor_get(x_4, 6); lean_inc(x_203); -x_204 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); -x_205 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_205, 0, x_195); -lean_ctor_set(x_205, 1, x_196); -lean_ctor_set(x_205, 2, x_197); -lean_ctor_set(x_205, 3, x_198); -lean_ctor_set(x_205, 4, x_199); -lean_ctor_set(x_205, 5, x_200); -lean_ctor_set(x_205, 6, x_201); -lean_ctor_set(x_205, 7, x_202); -lean_ctor_set(x_205, 8, x_203); -lean_ctor_set(x_205, 9, x_192); -lean_ctor_set_uint8(x_205, sizeof(void*)*10, x_204); -x_206 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_11, x_17, x_205, x_178); -if (lean_obj_tag(x_206) == 0) +x_204 = lean_ctor_get(x_4, 7); +lean_inc(x_204); +x_205 = lean_ctor_get(x_4, 8); +lean_inc(x_205); +x_206 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_207 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +x_208 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_208, 0, x_197); +lean_ctor_set(x_208, 1, x_198); +lean_ctor_set(x_208, 2, x_199); +lean_ctor_set(x_208, 3, x_200); +lean_ctor_set(x_208, 4, x_201); +lean_ctor_set(x_208, 5, x_202); +lean_ctor_set(x_208, 6, x_203); +lean_ctor_set(x_208, 7, x_204); +lean_ctor_set(x_208, 8, x_205); +lean_ctor_set(x_208, 9, x_194); +lean_ctor_set_uint8(x_208, sizeof(void*)*10, x_206); +lean_ctor_set_uint8(x_208, sizeof(void*)*10 + 1, x_207); +x_209 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_11, x_17, x_208, x_180); +if (lean_obj_tag(x_209) == 0) { -lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; -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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_208); +lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; +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_Elab_Term_getCurrMacroScope(x_4, x_211); lean_dec(x_4); -x_210 = !lean_is_exclusive(x_209); -if (x_210 == 0) +x_213 = !lean_is_exclusive(x_212); +if (x_213 == 0) +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_214 = lean_ctor_get(x_212, 0); +x_215 = lean_name_mk_numeral(x_182, x_214); +x_216 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_216, 0, x_181); +lean_ctor_set(x_216, 1, x_185); +lean_ctor_set(x_216, 2, x_215); +lean_ctor_set(x_216, 3, x_184); +x_217 = lean_array_push(x_187, x_216); +x_218 = lean_array_push(x_217, x_189); +x_219 = lean_array_push(x_218, x_189); +x_220 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_221 = lean_array_push(x_219, x_220); +x_222 = lean_array_push(x_221, x_177); +x_223 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +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 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_226 = lean_array_push(x_225, x_224); +x_227 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_228 = lean_array_push(x_226, x_227); +x_229 = lean_array_push(x_228, x_210); +x_230 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_229); +lean_ctor_set(x_212, 0, x_231); +return x_212; +} +else +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +x_232 = lean_ctor_get(x_212, 0); +x_233 = lean_ctor_get(x_212, 1); +lean_inc(x_233); +lean_inc(x_232); +lean_dec(x_212); +x_234 = lean_name_mk_numeral(x_182, x_232); +x_235 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_235, 0, x_181); +lean_ctor_set(x_235, 1, x_185); +lean_ctor_set(x_235, 2, x_234); +lean_ctor_set(x_235, 3, x_184); +x_236 = lean_array_push(x_187, x_235); +x_237 = lean_array_push(x_236, x_189); +x_238 = lean_array_push(x_237, x_189); +x_239 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_240 = lean_array_push(x_238, x_239); +x_241 = lean_array_push(x_240, x_177); +x_242 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_241); +x_244 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_245 = lean_array_push(x_244, x_243); +x_246 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_247 = lean_array_push(x_245, x_246); +x_248 = lean_array_push(x_247, x_210); +x_249 = l_Lean_Parser_Term_let___elambda__1___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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_233); +return x_251; +} +} +else +{ +uint8_t x_252; +lean_dec(x_177); +lean_dec(x_4); +x_252 = !lean_is_exclusive(x_209); +if (x_252 == 0) { -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; -x_211 = lean_ctor_get(x_209, 0); -x_212 = lean_name_mk_numeral(x_180, x_211); -x_213 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_213, 0, x_179); -lean_ctor_set(x_213, 1, x_183); -lean_ctor_set(x_213, 2, x_212); -lean_ctor_set(x_213, 3, x_182); -x_214 = lean_array_push(x_185, x_213); -x_215 = lean_array_push(x_214, x_187); -x_216 = lean_array_push(x_215, x_187); -x_217 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_218 = lean_array_push(x_216, x_217); -x_219 = lean_array_push(x_218, x_175); -x_220 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -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_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_223 = lean_array_push(x_222, x_221); -x_224 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_225 = lean_array_push(x_223, x_224); -x_226 = lean_array_push(x_225, x_207); -x_227 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_227); -lean_ctor_set(x_228, 1, x_226); -lean_ctor_set(x_209, 0, x_228); return x_209; } 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_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_229 = lean_ctor_get(x_209, 0); -x_230 = lean_ctor_get(x_209, 1); -lean_inc(x_230); -lean_inc(x_229); +lean_object* x_253; lean_object* x_254; lean_object* x_255; +x_253 = lean_ctor_get(x_209, 0); +x_254 = lean_ctor_get(x_209, 1); +lean_inc(x_254); +lean_inc(x_253); lean_dec(x_209); -x_231 = lean_name_mk_numeral(x_180, x_229); -x_232 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_232, 0, x_179); -lean_ctor_set(x_232, 1, x_183); -lean_ctor_set(x_232, 2, x_231); -lean_ctor_set(x_232, 3, x_182); -x_233 = lean_array_push(x_185, x_232); -x_234 = lean_array_push(x_233, x_187); -x_235 = lean_array_push(x_234, x_187); -x_236 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_237 = lean_array_push(x_235, x_236); -x_238 = lean_array_push(x_237, x_175); -x_239 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_238); -x_241 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_242 = lean_array_push(x_241, x_240); -x_243 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_244 = lean_array_push(x_242, x_243); -x_245 = lean_array_push(x_244, x_207); -x_246 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_245); -x_248 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_230); -return x_248; -} -} -else -{ -uint8_t x_249; -lean_dec(x_175); -lean_dec(x_4); -x_249 = !lean_is_exclusive(x_206); -if (x_249 == 0) -{ -return x_206; -} -else -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; -x_250 = lean_ctor_get(x_206, 0); -x_251 = lean_ctor_get(x_206, 1); -lean_inc(x_251); -lean_inc(x_250); -lean_dec(x_206); -x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_250); -lean_ctor_set(x_252, 1, x_251); -return x_252; +x_255 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_255, 0, x_253); +lean_ctor_set(x_255, 1, x_254); +return x_255; } } } else { -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; uint8_t x_271; lean_object* x_272; lean_object* x_273; -x_253 = lean_ctor_get(x_178, 0); -x_254 = lean_ctor_get(x_178, 1); -x_255 = lean_ctor_get(x_178, 2); -x_256 = lean_ctor_get(x_178, 3); -x_257 = lean_ctor_get(x_178, 4); -x_258 = lean_ctor_get(x_178, 5); +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; uint8_t x_274; uint8_t x_275; lean_object* x_276; lean_object* x_277; +x_256 = lean_ctor_get(x_180, 0); +x_257 = lean_ctor_get(x_180, 1); +x_258 = lean_ctor_get(x_180, 2); +x_259 = lean_ctor_get(x_180, 3); +x_260 = lean_ctor_get(x_180, 4); +x_261 = lean_ctor_get(x_180, 5); +lean_inc(x_261); +lean_inc(x_260); +lean_inc(x_259); lean_inc(x_258); lean_inc(x_257); lean_inc(x_256); -lean_inc(x_255); -lean_inc(x_254); -lean_inc(x_253); -lean_dec(x_178); -x_259 = lean_unsigned_to_nat(1u); -x_260 = lean_nat_add(x_258, x_259); -x_261 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_261, 0, x_253); -lean_ctor_set(x_261, 1, x_254); -lean_ctor_set(x_261, 2, x_255); -lean_ctor_set(x_261, 3, x_256); -lean_ctor_set(x_261, 4, x_257); -lean_ctor_set(x_261, 5, x_260); -x_262 = lean_ctor_get(x_4, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_4, 1); -lean_inc(x_263); -x_264 = lean_ctor_get(x_4, 2); -lean_inc(x_264); -x_265 = lean_ctor_get(x_4, 3); +lean_dec(x_180); +x_262 = lean_unsigned_to_nat(1u); +x_263 = lean_nat_add(x_261, x_262); +x_264 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_264, 0, x_256); +lean_ctor_set(x_264, 1, x_257); +lean_ctor_set(x_264, 2, x_258); +lean_ctor_set(x_264, 3, x_259); +lean_ctor_set(x_264, 4, x_260); +lean_ctor_set(x_264, 5, x_263); +x_265 = lean_ctor_get(x_4, 0); lean_inc(x_265); -x_266 = lean_ctor_get(x_4, 4); +x_266 = lean_ctor_get(x_4, 1); lean_inc(x_266); -x_267 = lean_ctor_get(x_4, 5); +x_267 = lean_ctor_get(x_4, 2); lean_inc(x_267); -x_268 = lean_ctor_get(x_4, 6); +x_268 = lean_ctor_get(x_4, 3); lean_inc(x_268); -x_269 = lean_ctor_get(x_4, 7); +x_269 = lean_ctor_get(x_4, 4); lean_inc(x_269); -x_270 = lean_ctor_get(x_4, 8); +x_270 = lean_ctor_get(x_4, 5); lean_inc(x_270); -x_271 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); -x_272 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_272, 0, x_262); -lean_ctor_set(x_272, 1, x_263); -lean_ctor_set(x_272, 2, x_264); -lean_ctor_set(x_272, 3, x_265); -lean_ctor_set(x_272, 4, x_266); -lean_ctor_set(x_272, 5, x_267); -lean_ctor_set(x_272, 6, x_268); -lean_ctor_set(x_272, 7, x_269); -lean_ctor_set(x_272, 8, x_270); -lean_ctor_set(x_272, 9, x_258); -lean_ctor_set_uint8(x_272, sizeof(void*)*10, x_271); -x_273 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_11, x_17, x_272, x_261); -if (lean_obj_tag(x_273) == 0) +x_271 = lean_ctor_get(x_4, 6); +lean_inc(x_271); +x_272 = lean_ctor_get(x_4, 7); +lean_inc(x_272); +x_273 = lean_ctor_get(x_4, 8); +lean_inc(x_273); +x_274 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_275 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +x_276 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_276, 0, x_265); +lean_ctor_set(x_276, 1, x_266); +lean_ctor_set(x_276, 2, x_267); +lean_ctor_set(x_276, 3, x_268); +lean_ctor_set(x_276, 4, x_269); +lean_ctor_set(x_276, 5, x_270); +lean_ctor_set(x_276, 6, x_271); +lean_ctor_set(x_276, 7, x_272); +lean_ctor_set(x_276, 8, x_273); +lean_ctor_set(x_276, 9, x_261); +lean_ctor_set_uint8(x_276, sizeof(void*)*10, x_274); +lean_ctor_set_uint8(x_276, sizeof(void*)*10 + 1, x_275); +x_277 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_11, x_17, x_276, x_264); +if (lean_obj_tag(x_277) == 0) { -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_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_Lean_Elab_Term_getCurrMacroScope(x_4, x_275); -lean_dec(x_4); -x_277 = lean_ctor_get(x_276, 0); -lean_inc(x_277); -x_278 = lean_ctor_get(x_276, 1); +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; +x_278 = lean_ctor_get(x_277, 0); lean_inc(x_278); -if (lean_is_exclusive(x_276)) { - lean_ctor_release(x_276, 0); - lean_ctor_release(x_276, 1); - x_279 = x_276; -} else { - lean_dec_ref(x_276); - x_279 = lean_box(0); -} -x_280 = lean_name_mk_numeral(x_180, x_277); -x_281 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_281, 0, x_179); -lean_ctor_set(x_281, 1, x_183); -lean_ctor_set(x_281, 2, x_280); -lean_ctor_set(x_281, 3, x_182); -x_282 = lean_array_push(x_185, x_281); -x_283 = lean_array_push(x_282, x_187); -x_284 = lean_array_push(x_283, x_187); -x_285 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_286 = lean_array_push(x_284, x_285); -x_287 = lean_array_push(x_286, x_175); -x_288 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_287); -x_290 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_291 = lean_array_push(x_290, x_289); -x_292 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_293 = lean_array_push(x_291, x_292); -x_294 = lean_array_push(x_293, x_274); -x_295 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_294); -if (lean_is_scalar(x_279)) { - x_297 = lean_alloc_ctor(0, 2, 0); -} else { - x_297 = x_279; -} -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_278); -return x_297; -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; -lean_dec(x_175); +x_279 = lean_ctor_get(x_277, 1); +lean_inc(x_279); +lean_dec(x_277); +x_280 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_279); lean_dec(x_4); -x_298 = lean_ctor_get(x_273, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_273, 1); -lean_inc(x_299); -if (lean_is_exclusive(x_273)) { - lean_ctor_release(x_273, 0); - lean_ctor_release(x_273, 1); - x_300 = x_273; +x_281 = lean_ctor_get(x_280, 0); +lean_inc(x_281); +x_282 = lean_ctor_get(x_280, 1); +lean_inc(x_282); +if (lean_is_exclusive(x_280)) { + lean_ctor_release(x_280, 0); + lean_ctor_release(x_280, 1); + x_283 = x_280; } else { - lean_dec_ref(x_273); - x_300 = lean_box(0); + lean_dec_ref(x_280); + x_283 = lean_box(0); } -if (lean_is_scalar(x_300)) { - x_301 = lean_alloc_ctor(1, 2, 0); +x_284 = lean_name_mk_numeral(x_182, x_281); +x_285 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_285, 0, x_181); +lean_ctor_set(x_285, 1, x_185); +lean_ctor_set(x_285, 2, x_284); +lean_ctor_set(x_285, 3, x_184); +x_286 = lean_array_push(x_187, x_285); +x_287 = lean_array_push(x_286, x_189); +x_288 = lean_array_push(x_287, x_189); +x_289 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_290 = lean_array_push(x_288, x_289); +x_291 = lean_array_push(x_290, x_177); +x_292 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_291); +x_294 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_295 = lean_array_push(x_294, x_293); +x_296 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_297 = lean_array_push(x_295, x_296); +x_298 = lean_array_push(x_297, x_278); +x_299 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_300 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_300, 0, x_299); +lean_ctor_set(x_300, 1, x_298); +if (lean_is_scalar(x_283)) { + x_301 = lean_alloc_ctor(0, 2, 0); } else { - x_301 = x_300; + x_301 = x_283; } -lean_ctor_set(x_301, 0, x_298); -lean_ctor_set(x_301, 1, x_299); +lean_ctor_set(x_301, 0, x_300); +lean_ctor_set(x_301, 1, x_282); return x_301; } +else +{ +lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; +lean_dec(x_177); +lean_dec(x_4); +x_302 = lean_ctor_get(x_277, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_277, 1); +lean_inc(x_303); +if (lean_is_exclusive(x_277)) { + lean_ctor_release(x_277, 0); + lean_ctor_release(x_277, 1); + x_304 = x_277; +} else { + lean_dec_ref(x_277); + 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(x_305, 0, x_302); +lean_ctor_set(x_305, 1, x_303); +return x_305; +} } } else { -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; uint8_t x_346; lean_object* x_347; lean_object* x_348; +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; uint8_t x_350; uint8_t x_351; lean_object* x_352; lean_object* x_353; lean_dec(x_17); -x_302 = l_Lean_nullKind___closed__2; -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_302); -lean_ctor_set(x_303, 1, x_163); -x_304 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__16; -x_305 = lean_array_push(x_304, x_303); -x_306 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__15; -x_307 = lean_array_push(x_305, x_306); -x_308 = lean_array_push(x_307, x_13); -x_309 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_310 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_310, 0, x_309); -lean_ctor_set(x_310, 1, x_308); -x_311 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_16); -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(0); -x_315 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; -x_316 = lean_name_mk_numeral(x_315, x_312); -x_317 = lean_box(0); -x_318 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; -x_319 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_319, 0, x_314); -lean_ctor_set(x_319, 1, x_318); -lean_ctor_set(x_319, 2, x_316); -lean_ctor_set(x_319, 3, x_317); -x_320 = l_Array_empty___closed__1; -x_321 = lean_array_push(x_320, x_319); -x_322 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_323 = lean_array_push(x_321, x_322); -x_324 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_325, 0, x_324); -lean_ctor_set(x_325, 1, x_323); -lean_ctor_set(x_9, 1, x_325); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_9); -lean_ctor_set(x_326, 1, x_3); -x_327 = lean_ctor_get(x_313, 0); -lean_inc(x_327); -x_328 = lean_ctor_get(x_313, 1); -lean_inc(x_328); -x_329 = lean_ctor_get(x_313, 2); -lean_inc(x_329); -x_330 = lean_ctor_get(x_313, 3); -lean_inc(x_330); -x_331 = lean_ctor_get(x_313, 4); +x_306 = l_Lean_nullKind___closed__2; +x_307 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_307, 0, x_306); +lean_ctor_set(x_307, 1, x_165); +x_308 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__16; +x_309 = lean_array_push(x_308, x_307); +x_310 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__15; +x_311 = lean_array_push(x_309, x_310); +x_312 = lean_array_push(x_311, x_13); +x_313 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_314, 0, x_313); +lean_ctor_set(x_314, 1, x_312); +x_315 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_16); +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_box(0); +x_319 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; +x_320 = lean_name_mk_numeral(x_319, x_316); +x_321 = lean_box(0); +x_322 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; +x_323 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_323, 0, x_318); +lean_ctor_set(x_323, 1, x_322); +lean_ctor_set(x_323, 2, x_320); +lean_ctor_set(x_323, 3, x_321); +x_324 = l_Array_empty___closed__1; +x_325 = lean_array_push(x_324, x_323); +x_326 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_327 = lean_array_push(x_325, x_326); +x_328 = l_Lean_Parser_Term_id___elambda__1___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); +lean_ctor_set(x_9, 1, x_329); +x_330 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_330, 0, x_9); +lean_ctor_set(x_330, 1, x_3); +x_331 = lean_ctor_get(x_317, 0); lean_inc(x_331); -x_332 = lean_ctor_get(x_313, 5); +x_332 = lean_ctor_get(x_317, 1); lean_inc(x_332); -if (lean_is_exclusive(x_313)) { - lean_ctor_release(x_313, 0); - lean_ctor_release(x_313, 1); - lean_ctor_release(x_313, 2); - lean_ctor_release(x_313, 3); - lean_ctor_release(x_313, 4); - lean_ctor_release(x_313, 5); - x_333 = x_313; +x_333 = lean_ctor_get(x_317, 2); +lean_inc(x_333); +x_334 = lean_ctor_get(x_317, 3); +lean_inc(x_334); +x_335 = lean_ctor_get(x_317, 4); +lean_inc(x_335); +x_336 = lean_ctor_get(x_317, 5); +lean_inc(x_336); +if (lean_is_exclusive(x_317)) { + lean_ctor_release(x_317, 0); + lean_ctor_release(x_317, 1); + lean_ctor_release(x_317, 2); + lean_ctor_release(x_317, 3); + lean_ctor_release(x_317, 4); + lean_ctor_release(x_317, 5); + x_337 = x_317; } else { - lean_dec_ref(x_313); - x_333 = lean_box(0); + lean_dec_ref(x_317); + x_337 = lean_box(0); } -x_334 = lean_unsigned_to_nat(1u); -x_335 = lean_nat_add(x_332, x_334); -if (lean_is_scalar(x_333)) { - x_336 = lean_alloc_ctor(0, 6, 0); +x_338 = lean_unsigned_to_nat(1u); +x_339 = lean_nat_add(x_336, x_338); +if (lean_is_scalar(x_337)) { + x_340 = lean_alloc_ctor(0, 6, 0); } else { - x_336 = x_333; + x_340 = x_337; } -lean_ctor_set(x_336, 0, x_327); -lean_ctor_set(x_336, 1, x_328); -lean_ctor_set(x_336, 2, x_329); -lean_ctor_set(x_336, 3, x_330); -lean_ctor_set(x_336, 4, x_331); -lean_ctor_set(x_336, 5, x_335); -x_337 = lean_ctor_get(x_4, 0); -lean_inc(x_337); -x_338 = lean_ctor_get(x_4, 1); -lean_inc(x_338); -x_339 = lean_ctor_get(x_4, 2); -lean_inc(x_339); -x_340 = lean_ctor_get(x_4, 3); -lean_inc(x_340); -x_341 = lean_ctor_get(x_4, 4); +lean_ctor_set(x_340, 0, x_331); +lean_ctor_set(x_340, 1, x_332); +lean_ctor_set(x_340, 2, x_333); +lean_ctor_set(x_340, 3, x_334); +lean_ctor_set(x_340, 4, x_335); +lean_ctor_set(x_340, 5, x_339); +x_341 = lean_ctor_get(x_4, 0); lean_inc(x_341); -x_342 = lean_ctor_get(x_4, 5); +x_342 = lean_ctor_get(x_4, 1); lean_inc(x_342); -x_343 = lean_ctor_get(x_4, 6); +x_343 = lean_ctor_get(x_4, 2); lean_inc(x_343); -x_344 = lean_ctor_get(x_4, 7); +x_344 = lean_ctor_get(x_4, 3); lean_inc(x_344); -x_345 = lean_ctor_get(x_4, 8); +x_345 = lean_ctor_get(x_4, 4); lean_inc(x_345); -x_346 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); -x_347 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_347, 0, x_337); -lean_ctor_set(x_347, 1, x_338); -lean_ctor_set(x_347, 2, x_339); -lean_ctor_set(x_347, 3, x_340); -lean_ctor_set(x_347, 4, x_341); -lean_ctor_set(x_347, 5, x_342); -lean_ctor_set(x_347, 6, x_343); -lean_ctor_set(x_347, 7, x_344); -lean_ctor_set(x_347, 8, x_345); -lean_ctor_set(x_347, 9, x_332); -lean_ctor_set_uint8(x_347, sizeof(void*)*10, x_346); -x_348 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_11, x_326, x_347, x_336); -if (lean_obj_tag(x_348) == 0) -{ -lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; -x_349 = lean_ctor_get(x_348, 0); +x_346 = lean_ctor_get(x_4, 5); +lean_inc(x_346); +x_347 = lean_ctor_get(x_4, 6); +lean_inc(x_347); +x_348 = lean_ctor_get(x_4, 7); +lean_inc(x_348); +x_349 = lean_ctor_get(x_4, 8); lean_inc(x_349); -x_350 = lean_ctor_get(x_348, 1); -lean_inc(x_350); -lean_dec(x_348); -x_351 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_350); -lean_dec(x_4); -x_352 = lean_ctor_get(x_351, 0); -lean_inc(x_352); -x_353 = lean_ctor_get(x_351, 1); -lean_inc(x_353); -if (lean_is_exclusive(x_351)) { - lean_ctor_release(x_351, 0); - lean_ctor_release(x_351, 1); - x_354 = x_351; -} else { - lean_dec_ref(x_351); - x_354 = lean_box(0); -} -x_355 = lean_name_mk_numeral(x_315, x_352); -x_356 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_356, 0, x_314); -lean_ctor_set(x_356, 1, x_318); -lean_ctor_set(x_356, 2, x_355); -lean_ctor_set(x_356, 3, x_317); -x_357 = lean_array_push(x_320, x_356); -x_358 = lean_array_push(x_357, x_322); -x_359 = lean_array_push(x_358, x_322); -x_360 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_361 = lean_array_push(x_359, x_360); -x_362 = lean_array_push(x_361, x_310); -x_363 = l_Lean_Parser_Term_letIdDecl___elambda__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 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_366 = lean_array_push(x_365, x_364); -x_367 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_368 = lean_array_push(x_366, x_367); -x_369 = lean_array_push(x_368, x_349); -x_370 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_371 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_369); -if (lean_is_scalar(x_354)) { - x_372 = lean_alloc_ctor(0, 2, 0); -} else { - x_372 = x_354; -} -lean_ctor_set(x_372, 0, x_371); -lean_ctor_set(x_372, 1, x_353); -return x_372; -} -else +x_350 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_351 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +x_352 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_352, 0, x_341); +lean_ctor_set(x_352, 1, x_342); +lean_ctor_set(x_352, 2, x_343); +lean_ctor_set(x_352, 3, x_344); +lean_ctor_set(x_352, 4, x_345); +lean_ctor_set(x_352, 5, x_346); +lean_ctor_set(x_352, 6, x_347); +lean_ctor_set(x_352, 7, x_348); +lean_ctor_set(x_352, 8, x_349); +lean_ctor_set(x_352, 9, x_336); +lean_ctor_set_uint8(x_352, sizeof(void*)*10, x_350); +lean_ctor_set_uint8(x_352, sizeof(void*)*10 + 1, x_351); +x_353 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_11, x_330, x_352, x_340); +if (lean_obj_tag(x_353) == 0) { -lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; -lean_dec(x_310); +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; +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_Elab_Term_getCurrMacroScope(x_4, x_355); lean_dec(x_4); -x_373 = lean_ctor_get(x_348, 0); -lean_inc(x_373); -x_374 = lean_ctor_get(x_348, 1); -lean_inc(x_374); -if (lean_is_exclusive(x_348)) { - lean_ctor_release(x_348, 0); - lean_ctor_release(x_348, 1); - x_375 = x_348; +x_357 = lean_ctor_get(x_356, 0); +lean_inc(x_357); +x_358 = lean_ctor_get(x_356, 1); +lean_inc(x_358); +if (lean_is_exclusive(x_356)) { + lean_ctor_release(x_356, 0); + lean_ctor_release(x_356, 1); + x_359 = x_356; } else { - lean_dec_ref(x_348); - x_375 = lean_box(0); + lean_dec_ref(x_356); + x_359 = lean_box(0); } -if (lean_is_scalar(x_375)) { - x_376 = lean_alloc_ctor(1, 2, 0); -} else { - x_376 = x_375; -} -lean_ctor_set(x_376, 0, x_373); +x_360 = lean_name_mk_numeral(x_319, x_357); +x_361 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_361, 0, x_318); +lean_ctor_set(x_361, 1, x_322); +lean_ctor_set(x_361, 2, x_360); +lean_ctor_set(x_361, 3, x_321); +x_362 = lean_array_push(x_324, x_361); +x_363 = lean_array_push(x_362, x_326); +x_364 = lean_array_push(x_363, x_326); +x_365 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_366 = lean_array_push(x_364, x_365); +x_367 = lean_array_push(x_366, x_314); +x_368 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +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___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_371 = lean_array_push(x_370, x_369); +x_372 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_373 = lean_array_push(x_371, x_372); +x_374 = lean_array_push(x_373, x_354); +x_375 = l_Lean_Parser_Term_let___elambda__1___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); -return x_376; +if (lean_is_scalar(x_359)) { + x_377 = lean_alloc_ctor(0, 2, 0); +} else { + x_377 = x_359; +} +lean_ctor_set(x_377, 0, x_376); +lean_ctor_set(x_377, 1, x_358); +return x_377; +} +else +{ +lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; +lean_dec(x_314); +lean_dec(x_4); +x_378 = lean_ctor_get(x_353, 0); +lean_inc(x_378); +x_379 = lean_ctor_get(x_353, 1); +lean_inc(x_379); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + x_380 = x_353; +} else { + lean_dec_ref(x_353); + x_380 = lean_box(0); +} +if (lean_is_scalar(x_380)) { + x_381 = lean_alloc_ctor(1, 2, 0); +} else { + x_381 = x_380; +} +lean_ctor_set(x_381, 0, x_378); +lean_ctor_set(x_381, 1, x_379); +return x_381; } } } } else { -uint8_t x_377; +uint8_t x_382; lean_free_object(x_9); lean_dec(x_13); lean_dec(x_12); @@ -12429,978 +12453,986 @@ lean_dec(x_11); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_377 = !lean_is_exclusive(x_14); -if (x_377 == 0) +x_382 = !lean_is_exclusive(x_14); +if (x_382 == 0) { return x_14; } else { -lean_object* x_378; lean_object* x_379; lean_object* x_380; -x_378 = lean_ctor_get(x_14, 0); -x_379 = lean_ctor_get(x_14, 1); -lean_inc(x_379); -lean_inc(x_378); +lean_object* x_383; lean_object* x_384; lean_object* x_385; +x_383 = lean_ctor_get(x_14, 0); +x_384 = lean_ctor_get(x_14, 1); +lean_inc(x_384); +lean_inc(x_383); lean_dec(x_14); -x_380 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_380, 0, x_378); -lean_ctor_set(x_380, 1, x_379); -return x_380; +x_385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_385, 0, x_383); +lean_ctor_set(x_385, 1, x_384); +return x_385; } } } else { -lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; -x_381 = lean_ctor_get(x_2, 1); -x_382 = lean_ctor_get(x_9, 0); -x_383 = lean_ctor_get(x_9, 1); -lean_inc(x_383); -lean_inc(x_382); +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; +x_386 = lean_ctor_get(x_2, 1); +x_387 = lean_ctor_get(x_9, 0); +x_388 = lean_ctor_get(x_9, 1); +lean_inc(x_388); +lean_inc(x_387); lean_dec(x_9); lean_inc(x_4); -lean_inc(x_382); -x_384 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___spec__1(x_382, x_4, x_5); -if (lean_obj_tag(x_384) == 0) +lean_inc(x_387); +x_389 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___spec__1(x_387, x_4, x_5); +if (lean_obj_tag(x_389) == 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); -x_387 = l_List_join___main___rarg(x_385); -if (lean_obj_tag(x_387) == 0) -{ -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; uint8_t x_428; lean_object* x_429; lean_object* x_430; -x_388 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_386); -x_389 = lean_ctor_get(x_388, 0); -lean_inc(x_389); -x_390 = lean_ctor_get(x_388, 1); +lean_object* x_390; lean_object* x_391; lean_object* x_392; +x_390 = lean_ctor_get(x_389, 0); lean_inc(x_390); -lean_dec(x_388); -x_391 = lean_box(0); -x_392 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; -x_393 = lean_name_mk_numeral(x_392, x_389); -x_394 = lean_box(0); -x_395 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; -x_396 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_396, 0, x_391); -lean_ctor_set(x_396, 1, x_395); -lean_ctor_set(x_396, 2, x_393); -lean_ctor_set(x_396, 3, x_394); -x_397 = l_Array_empty___closed__1; -x_398 = lean_array_push(x_397, x_396); -x_399 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_400 = lean_array_push(x_398, x_399); -x_401 = l_Lean_Parser_Term_id___elambda__1___closed__2; -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 = lean_array_push(x_397, x_402); -x_404 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__9; +x_391 = lean_ctor_get(x_389, 1); +lean_inc(x_391); +lean_dec(x_389); +x_392 = l_List_join___main___rarg(x_390); +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; 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; uint8_t x_433; uint8_t x_434; lean_object* x_435; lean_object* x_436; +x_393 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_391); +x_394 = lean_ctor_get(x_393, 0); +lean_inc(x_394); +x_395 = lean_ctor_get(x_393, 1); +lean_inc(x_395); +lean_dec(x_393); +x_396 = lean_box(0); +x_397 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; +x_398 = lean_name_mk_numeral(x_397, x_394); +x_399 = lean_box(0); +x_400 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; +x_401 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_401, 0, x_396); +lean_ctor_set(x_401, 1, x_400); +lean_ctor_set(x_401, 2, x_398); +lean_ctor_set(x_401, 3, x_399); +x_402 = l_Array_empty___closed__1; +x_403 = lean_array_push(x_402, x_401); +x_404 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_405 = lean_array_push(x_403, x_404); -x_406 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_406 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_407 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_407, 0, x_406); lean_ctor_set(x_407, 1, x_405); -x_408 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_408, 0, x_382); -lean_ctor_set(x_408, 1, x_407); +x_408 = lean_array_push(x_402, x_407); +x_409 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__9; +x_410 = lean_array_push(x_408, x_409); +x_411 = l_Lean_Parser_Term_app___elambda__1___closed__2; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_413, 0, x_387); +lean_ctor_set(x_413, 1, x_412); lean_ctor_set(x_2, 1, x_3); -lean_ctor_set(x_2, 0, x_408); -x_409 = lean_ctor_get(x_390, 0); -lean_inc(x_409); -x_410 = lean_ctor_get(x_390, 1); -lean_inc(x_410); -x_411 = lean_ctor_get(x_390, 2); -lean_inc(x_411); -x_412 = lean_ctor_get(x_390, 3); -lean_inc(x_412); -x_413 = lean_ctor_get(x_390, 4); -lean_inc(x_413); -x_414 = lean_ctor_get(x_390, 5); +lean_ctor_set(x_2, 0, x_413); +x_414 = lean_ctor_get(x_395, 0); lean_inc(x_414); -if (lean_is_exclusive(x_390)) { - lean_ctor_release(x_390, 0); - lean_ctor_release(x_390, 1); - lean_ctor_release(x_390, 2); - lean_ctor_release(x_390, 3); - lean_ctor_release(x_390, 4); - lean_ctor_release(x_390, 5); - x_415 = x_390; -} else { - lean_dec_ref(x_390); - x_415 = lean_box(0); -} -x_416 = lean_unsigned_to_nat(1u); -x_417 = lean_nat_add(x_414, x_416); -if (lean_is_scalar(x_415)) { - x_418 = lean_alloc_ctor(0, 6, 0); -} else { - x_418 = x_415; -} -lean_ctor_set(x_418, 0, x_409); -lean_ctor_set(x_418, 1, x_410); -lean_ctor_set(x_418, 2, x_411); -lean_ctor_set(x_418, 3, x_412); -lean_ctor_set(x_418, 4, x_413); -lean_ctor_set(x_418, 5, x_417); -x_419 = lean_ctor_get(x_4, 0); +x_415 = lean_ctor_get(x_395, 1); +lean_inc(x_415); +x_416 = lean_ctor_get(x_395, 2); +lean_inc(x_416); +x_417 = lean_ctor_get(x_395, 3); +lean_inc(x_417); +x_418 = lean_ctor_get(x_395, 4); +lean_inc(x_418); +x_419 = lean_ctor_get(x_395, 5); lean_inc(x_419); -x_420 = lean_ctor_get(x_4, 1); -lean_inc(x_420); -x_421 = lean_ctor_get(x_4, 2); -lean_inc(x_421); -x_422 = lean_ctor_get(x_4, 3); -lean_inc(x_422); -x_423 = lean_ctor_get(x_4, 4); -lean_inc(x_423); -x_424 = lean_ctor_get(x_4, 5); +if (lean_is_exclusive(x_395)) { + lean_ctor_release(x_395, 0); + lean_ctor_release(x_395, 1); + lean_ctor_release(x_395, 2); + lean_ctor_release(x_395, 3); + lean_ctor_release(x_395, 4); + lean_ctor_release(x_395, 5); + x_420 = x_395; +} else { + lean_dec_ref(x_395); + x_420 = lean_box(0); +} +x_421 = lean_unsigned_to_nat(1u); +x_422 = lean_nat_add(x_419, x_421); +if (lean_is_scalar(x_420)) { + x_423 = lean_alloc_ctor(0, 6, 0); +} else { + x_423 = x_420; +} +lean_ctor_set(x_423, 0, x_414); +lean_ctor_set(x_423, 1, x_415); +lean_ctor_set(x_423, 2, x_416); +lean_ctor_set(x_423, 3, x_417); +lean_ctor_set(x_423, 4, x_418); +lean_ctor_set(x_423, 5, x_422); +x_424 = lean_ctor_get(x_4, 0); lean_inc(x_424); -x_425 = lean_ctor_get(x_4, 6); +x_425 = lean_ctor_get(x_4, 1); lean_inc(x_425); -x_426 = lean_ctor_get(x_4, 7); +x_426 = lean_ctor_get(x_4, 2); lean_inc(x_426); -x_427 = lean_ctor_get(x_4, 8); +x_427 = lean_ctor_get(x_4, 3); lean_inc(x_427); -x_428 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); -x_429 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_429, 0, x_419); -lean_ctor_set(x_429, 1, x_420); -lean_ctor_set(x_429, 2, x_421); -lean_ctor_set(x_429, 3, x_422); -lean_ctor_set(x_429, 4, x_423); -lean_ctor_set(x_429, 5, x_424); -lean_ctor_set(x_429, 6, x_425); -lean_ctor_set(x_429, 7, x_426); -lean_ctor_set(x_429, 8, x_427); -lean_ctor_set(x_429, 9, x_414); -lean_ctor_set_uint8(x_429, sizeof(void*)*10, x_428); -x_430 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_381, x_2, x_429, x_418); -if (lean_obj_tag(x_430) == 0) -{ -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; -x_431 = lean_ctor_get(x_430, 0); +x_428 = lean_ctor_get(x_4, 4); +lean_inc(x_428); +x_429 = lean_ctor_get(x_4, 5); +lean_inc(x_429); +x_430 = lean_ctor_get(x_4, 6); +lean_inc(x_430); +x_431 = lean_ctor_get(x_4, 7); lean_inc(x_431); -x_432 = lean_ctor_get(x_430, 1); +x_432 = lean_ctor_get(x_4, 8); lean_inc(x_432); -lean_dec(x_430); -x_433 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_432); +x_433 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_434 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +x_435 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_435, 0, x_424); +lean_ctor_set(x_435, 1, x_425); +lean_ctor_set(x_435, 2, x_426); +lean_ctor_set(x_435, 3, x_427); +lean_ctor_set(x_435, 4, x_428); +lean_ctor_set(x_435, 5, x_429); +lean_ctor_set(x_435, 6, x_430); +lean_ctor_set(x_435, 7, x_431); +lean_ctor_set(x_435, 8, x_432); +lean_ctor_set(x_435, 9, x_419); +lean_ctor_set_uint8(x_435, sizeof(void*)*10, x_433); +lean_ctor_set_uint8(x_435, sizeof(void*)*10 + 1, x_434); +x_436 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_386, x_2, x_435, x_423); +if (lean_obj_tag(x_436) == 0) +{ +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; +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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_438); lean_dec(x_4); -x_434 = lean_ctor_get(x_433, 0); -lean_inc(x_434); -x_435 = lean_ctor_get(x_433, 1); -lean_inc(x_435); -if (lean_is_exclusive(x_433)) { - lean_ctor_release(x_433, 0); - lean_ctor_release(x_433, 1); - x_436 = x_433; +x_440 = lean_ctor_get(x_439, 0); +lean_inc(x_440); +x_441 = lean_ctor_get(x_439, 1); +lean_inc(x_441); +if (lean_is_exclusive(x_439)) { + lean_ctor_release(x_439, 0); + lean_ctor_release(x_439, 1); + x_442 = x_439; } else { - lean_dec_ref(x_433); - x_436 = lean_box(0); + lean_dec_ref(x_439); + x_442 = lean_box(0); } -x_437 = lean_name_mk_numeral(x_392, x_434); -x_438 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_438, 0, x_391); -lean_ctor_set(x_438, 1, x_395); -lean_ctor_set(x_438, 2, x_437); -lean_ctor_set(x_438, 3, x_394); -x_439 = lean_array_push(x_397, x_438); -x_440 = lean_array_push(x_439, x_399); -x_441 = lean_array_push(x_440, x_399); -x_442 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_443 = lean_array_push(x_441, x_442); -x_444 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__13; -x_445 = lean_array_push(x_444, x_383); -x_446 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -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_443, x_447); -x_449 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_450 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_450, 0, x_449); -lean_ctor_set(x_450, 1, x_448); -x_451 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_452 = lean_array_push(x_451, x_450); -x_453 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_454 = lean_array_push(x_452, x_453); -x_455 = lean_array_push(x_454, x_431); -x_456 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_457 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_457, 0, x_456); -lean_ctor_set(x_457, 1, x_455); -if (lean_is_scalar(x_436)) { - x_458 = lean_alloc_ctor(0, 2, 0); +x_443 = lean_name_mk_numeral(x_397, x_440); +x_444 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_444, 0, x_396); +lean_ctor_set(x_444, 1, x_400); +lean_ctor_set(x_444, 2, x_443); +lean_ctor_set(x_444, 3, x_399); +x_445 = lean_array_push(x_402, x_444); +x_446 = lean_array_push(x_445, x_404); +x_447 = lean_array_push(x_446, x_404); +x_448 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_449 = lean_array_push(x_447, x_448); +x_450 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__13; +x_451 = lean_array_push(x_450, x_388); +x_452 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_453 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_453, 0, x_452); +lean_ctor_set(x_453, 1, x_451); +x_454 = lean_array_push(x_449, x_453); +x_455 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +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 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_458 = lean_array_push(x_457, x_456); +x_459 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_460 = lean_array_push(x_458, x_459); +x_461 = lean_array_push(x_460, x_437); +x_462 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_463 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_463, 0, x_462); +lean_ctor_set(x_463, 1, x_461); +if (lean_is_scalar(x_442)) { + x_464 = lean_alloc_ctor(0, 2, 0); } else { - x_458 = x_436; + x_464 = x_442; } -lean_ctor_set(x_458, 0, x_457); -lean_ctor_set(x_458, 1, x_435); -return x_458; +lean_ctor_set(x_464, 0, x_463); +lean_ctor_set(x_464, 1, x_441); +return x_464; } else { -lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; -lean_dec(x_383); +lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; +lean_dec(x_388); lean_dec(x_4); -x_459 = lean_ctor_get(x_430, 0); -lean_inc(x_459); -x_460 = lean_ctor_get(x_430, 1); -lean_inc(x_460); -if (lean_is_exclusive(x_430)) { - lean_ctor_release(x_430, 0); - lean_ctor_release(x_430, 1); - x_461 = x_430; +x_465 = lean_ctor_get(x_436, 0); +lean_inc(x_465); +x_466 = lean_ctor_get(x_436, 1); +lean_inc(x_466); +if (lean_is_exclusive(x_436)) { + lean_ctor_release(x_436, 0); + lean_ctor_release(x_436, 1); + x_467 = x_436; } else { - lean_dec_ref(x_430); - x_461 = lean_box(0); + lean_dec_ref(x_436); + x_467 = lean_box(0); } -if (lean_is_scalar(x_461)) { - x_462 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_467)) { + x_468 = lean_alloc_ctor(1, 2, 0); } else { - x_462 = x_461; + x_468 = x_467; } -lean_ctor_set(x_462, 0, x_459); -lean_ctor_set(x_462, 1, x_460); -return x_462; +lean_ctor_set(x_468, 0, x_465); +lean_ctor_set(x_468, 1, x_466); +return x_468; } } else { -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; uint8_t x_512; lean_object* x_513; lean_object* x_514; +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; uint8_t x_518; uint8_t x_519; lean_object* x_520; lean_object* x_521; lean_free_object(x_2); -x_463 = l_List_redLength___main___rarg(x_387); -x_464 = lean_mk_empty_array_with_capacity(x_463); -lean_dec(x_463); -lean_inc(x_387); -x_465 = l_List_toArrayAux___main___rarg(x_387, x_464); -if (lean_is_exclusive(x_387)) { - lean_ctor_release(x_387, 0); - lean_ctor_release(x_387, 1); - x_466 = x_387; +x_469 = l_List_redLength___main___rarg(x_392); +x_470 = lean_mk_empty_array_with_capacity(x_469); +lean_dec(x_469); +lean_inc(x_392); +x_471 = l_List_toArrayAux___main___rarg(x_392, x_470); +if (lean_is_exclusive(x_392)) { + lean_ctor_release(x_392, 0); + lean_ctor_release(x_392, 1); + x_472 = x_392; } else { - lean_dec_ref(x_387); - x_466 = lean_box(0); + lean_dec_ref(x_392); + x_472 = lean_box(0); } -x_467 = l_Lean_nullKind___closed__2; -x_468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_468, 0, x_467); -lean_ctor_set(x_468, 1, x_465); -x_469 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__16; -x_470 = lean_array_push(x_469, x_468); -x_471 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__15; -x_472 = lean_array_push(x_470, x_471); -x_473 = lean_array_push(x_472, x_383); -x_474 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_475 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_475, 0, x_474); -lean_ctor_set(x_475, 1, x_473); -x_476 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_386); -x_477 = lean_ctor_get(x_476, 0); -lean_inc(x_477); -x_478 = lean_ctor_get(x_476, 1); -lean_inc(x_478); -lean_dec(x_476); -x_479 = lean_box(0); -x_480 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; -x_481 = lean_name_mk_numeral(x_480, x_477); -x_482 = lean_box(0); -x_483 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; -x_484 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_484, 0, x_479); -lean_ctor_set(x_484, 1, x_483); -lean_ctor_set(x_484, 2, x_481); -lean_ctor_set(x_484, 3, x_482); -x_485 = l_Array_empty___closed__1; -x_486 = lean_array_push(x_485, x_484); -x_487 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_488 = lean_array_push(x_486, x_487); -x_489 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_490 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_490, 0, x_489); -lean_ctor_set(x_490, 1, x_488); -x_491 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_491, 0, x_382); -lean_ctor_set(x_491, 1, x_490); -if (lean_is_scalar(x_466)) { - x_492 = lean_alloc_ctor(1, 2, 0); +x_473 = l_Lean_nullKind___closed__2; +x_474 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_474, 0, x_473); +lean_ctor_set(x_474, 1, x_471); +x_475 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__16; +x_476 = lean_array_push(x_475, x_474); +x_477 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__15; +x_478 = lean_array_push(x_476, x_477); +x_479 = lean_array_push(x_478, x_388); +x_480 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_481, 0, x_480); +lean_ctor_set(x_481, 1, x_479); +x_482 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_391); +x_483 = lean_ctor_get(x_482, 0); +lean_inc(x_483); +x_484 = lean_ctor_get(x_482, 1); +lean_inc(x_484); +lean_dec(x_482); +x_485 = lean_box(0); +x_486 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; +x_487 = lean_name_mk_numeral(x_486, x_483); +x_488 = lean_box(0); +x_489 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; +x_490 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_490, 0, x_485); +lean_ctor_set(x_490, 1, x_489); +lean_ctor_set(x_490, 2, x_487); +lean_ctor_set(x_490, 3, x_488); +x_491 = l_Array_empty___closed__1; +x_492 = lean_array_push(x_491, x_490); +x_493 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_494 = lean_array_push(x_492, x_493); +x_495 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_496 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_496, 0, x_495); +lean_ctor_set(x_496, 1, x_494); +x_497 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_497, 0, x_387); +lean_ctor_set(x_497, 1, x_496); +if (lean_is_scalar(x_472)) { + x_498 = lean_alloc_ctor(1, 2, 0); } else { - x_492 = x_466; + x_498 = x_472; } -lean_ctor_set(x_492, 0, x_491); -lean_ctor_set(x_492, 1, x_3); -x_493 = lean_ctor_get(x_478, 0); -lean_inc(x_493); -x_494 = lean_ctor_get(x_478, 1); -lean_inc(x_494); -x_495 = lean_ctor_get(x_478, 2); -lean_inc(x_495); -x_496 = lean_ctor_get(x_478, 3); -lean_inc(x_496); -x_497 = lean_ctor_get(x_478, 4); -lean_inc(x_497); -x_498 = lean_ctor_get(x_478, 5); -lean_inc(x_498); -if (lean_is_exclusive(x_478)) { - lean_ctor_release(x_478, 0); - lean_ctor_release(x_478, 1); - lean_ctor_release(x_478, 2); - lean_ctor_release(x_478, 3); - lean_ctor_release(x_478, 4); - lean_ctor_release(x_478, 5); - x_499 = x_478; -} else { - lean_dec_ref(x_478); - x_499 = lean_box(0); -} -x_500 = lean_unsigned_to_nat(1u); -x_501 = lean_nat_add(x_498, x_500); -if (lean_is_scalar(x_499)) { - x_502 = lean_alloc_ctor(0, 6, 0); -} else { - x_502 = x_499; -} -lean_ctor_set(x_502, 0, x_493); -lean_ctor_set(x_502, 1, x_494); -lean_ctor_set(x_502, 2, x_495); -lean_ctor_set(x_502, 3, x_496); -lean_ctor_set(x_502, 4, x_497); -lean_ctor_set(x_502, 5, x_501); -x_503 = lean_ctor_get(x_4, 0); +lean_ctor_set(x_498, 0, x_497); +lean_ctor_set(x_498, 1, x_3); +x_499 = lean_ctor_get(x_484, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_484, 1); +lean_inc(x_500); +x_501 = lean_ctor_get(x_484, 2); +lean_inc(x_501); +x_502 = lean_ctor_get(x_484, 3); +lean_inc(x_502); +x_503 = lean_ctor_get(x_484, 4); lean_inc(x_503); -x_504 = lean_ctor_get(x_4, 1); +x_504 = lean_ctor_get(x_484, 5); lean_inc(x_504); -x_505 = lean_ctor_get(x_4, 2); -lean_inc(x_505); -x_506 = lean_ctor_get(x_4, 3); -lean_inc(x_506); -x_507 = lean_ctor_get(x_4, 4); -lean_inc(x_507); -x_508 = lean_ctor_get(x_4, 5); -lean_inc(x_508); -x_509 = lean_ctor_get(x_4, 6); -lean_inc(x_509); -x_510 = lean_ctor_get(x_4, 7); -lean_inc(x_510); -x_511 = lean_ctor_get(x_4, 8); -lean_inc(x_511); -x_512 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); -x_513 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_513, 0, x_503); -lean_ctor_set(x_513, 1, x_504); -lean_ctor_set(x_513, 2, x_505); -lean_ctor_set(x_513, 3, x_506); -lean_ctor_set(x_513, 4, x_507); -lean_ctor_set(x_513, 5, x_508); -lean_ctor_set(x_513, 6, x_509); -lean_ctor_set(x_513, 7, x_510); -lean_ctor_set(x_513, 8, x_511); -lean_ctor_set(x_513, 9, x_498); -lean_ctor_set_uint8(x_513, sizeof(void*)*10, x_512); -x_514 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_381, x_492, x_513, x_502); -if (lean_obj_tag(x_514) == 0) -{ -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; -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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_516); -lean_dec(x_4); -x_518 = lean_ctor_get(x_517, 0); -lean_inc(x_518); -x_519 = lean_ctor_get(x_517, 1); -lean_inc(x_519); -if (lean_is_exclusive(x_517)) { - lean_ctor_release(x_517, 0); - lean_ctor_release(x_517, 1); - x_520 = x_517; +if (lean_is_exclusive(x_484)) { + lean_ctor_release(x_484, 0); + lean_ctor_release(x_484, 1); + lean_ctor_release(x_484, 2); + lean_ctor_release(x_484, 3); + lean_ctor_release(x_484, 4); + lean_ctor_release(x_484, 5); + x_505 = x_484; } else { - lean_dec_ref(x_517); - x_520 = lean_box(0); + lean_dec_ref(x_484); + x_505 = lean_box(0); } -x_521 = lean_name_mk_numeral(x_480, x_518); -x_522 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_522, 0, x_479); -lean_ctor_set(x_522, 1, x_483); -lean_ctor_set(x_522, 2, x_521); -lean_ctor_set(x_522, 3, x_482); -x_523 = lean_array_push(x_485, x_522); -x_524 = lean_array_push(x_523, x_487); -x_525 = lean_array_push(x_524, x_487); -x_526 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_527 = lean_array_push(x_525, x_526); -x_528 = lean_array_push(x_527, x_475); -x_529 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_529); -lean_ctor_set(x_530, 1, x_528); -x_531 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_532 = lean_array_push(x_531, x_530); -x_533 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_506 = lean_unsigned_to_nat(1u); +x_507 = lean_nat_add(x_504, x_506); +if (lean_is_scalar(x_505)) { + x_508 = lean_alloc_ctor(0, 6, 0); +} else { + x_508 = x_505; +} +lean_ctor_set(x_508, 0, x_499); +lean_ctor_set(x_508, 1, x_500); +lean_ctor_set(x_508, 2, x_501); +lean_ctor_set(x_508, 3, x_502); +lean_ctor_set(x_508, 4, x_503); +lean_ctor_set(x_508, 5, x_507); +x_509 = lean_ctor_get(x_4, 0); +lean_inc(x_509); +x_510 = lean_ctor_get(x_4, 1); +lean_inc(x_510); +x_511 = lean_ctor_get(x_4, 2); +lean_inc(x_511); +x_512 = lean_ctor_get(x_4, 3); +lean_inc(x_512); +x_513 = lean_ctor_get(x_4, 4); +lean_inc(x_513); +x_514 = lean_ctor_get(x_4, 5); +lean_inc(x_514); +x_515 = lean_ctor_get(x_4, 6); +lean_inc(x_515); +x_516 = lean_ctor_get(x_4, 7); +lean_inc(x_516); +x_517 = lean_ctor_get(x_4, 8); +lean_inc(x_517); +x_518 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_519 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +x_520 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_520, 0, x_509); +lean_ctor_set(x_520, 1, x_510); +lean_ctor_set(x_520, 2, x_511); +lean_ctor_set(x_520, 3, x_512); +lean_ctor_set(x_520, 4, x_513); +lean_ctor_set(x_520, 5, x_514); +lean_ctor_set(x_520, 6, x_515); +lean_ctor_set(x_520, 7, x_516); +lean_ctor_set(x_520, 8, x_517); +lean_ctor_set(x_520, 9, x_504); +lean_ctor_set_uint8(x_520, sizeof(void*)*10, x_518); +lean_ctor_set_uint8(x_520, sizeof(void*)*10 + 1, x_519); +x_521 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_386, x_498, x_520, x_508); +if (lean_obj_tag(x_521) == 0) +{ +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; +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_524 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_523); +lean_dec(x_4); +x_525 = lean_ctor_get(x_524, 0); +lean_inc(x_525); +x_526 = lean_ctor_get(x_524, 1); +lean_inc(x_526); +if (lean_is_exclusive(x_524)) { + lean_ctor_release(x_524, 0); + lean_ctor_release(x_524, 1); + x_527 = x_524; +} else { + lean_dec_ref(x_524); + x_527 = lean_box(0); +} +x_528 = lean_name_mk_numeral(x_486, x_525); +x_529 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_529, 0, x_485); +lean_ctor_set(x_529, 1, x_489); +lean_ctor_set(x_529, 2, x_528); +lean_ctor_set(x_529, 3, x_488); +x_530 = lean_array_push(x_491, x_529); +x_531 = lean_array_push(x_530, x_493); +x_532 = lean_array_push(x_531, x_493); +x_533 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; x_534 = lean_array_push(x_532, x_533); -x_535 = lean_array_push(x_534, x_515); -x_536 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_535 = lean_array_push(x_534, x_481); +x_536 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; x_537 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_537, 0, x_536); lean_ctor_set(x_537, 1, x_535); -if (lean_is_scalar(x_520)) { - x_538 = lean_alloc_ctor(0, 2, 0); +x_538 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_539 = lean_array_push(x_538, x_537); +x_540 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_541 = lean_array_push(x_539, x_540); +x_542 = lean_array_push(x_541, x_522); +x_543 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_544 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_544, 0, x_543); +lean_ctor_set(x_544, 1, x_542); +if (lean_is_scalar(x_527)) { + x_545 = lean_alloc_ctor(0, 2, 0); } else { - x_538 = x_520; + x_545 = x_527; } -lean_ctor_set(x_538, 0, x_537); -lean_ctor_set(x_538, 1, x_519); -return x_538; +lean_ctor_set(x_545, 0, x_544); +lean_ctor_set(x_545, 1, x_526); +return x_545; } else { -lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; -lean_dec(x_475); +lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; +lean_dec(x_481); lean_dec(x_4); -x_539 = lean_ctor_get(x_514, 0); -lean_inc(x_539); -x_540 = lean_ctor_get(x_514, 1); -lean_inc(x_540); -if (lean_is_exclusive(x_514)) { - lean_ctor_release(x_514, 0); - lean_ctor_release(x_514, 1); - x_541 = x_514; +x_546 = lean_ctor_get(x_521, 0); +lean_inc(x_546); +x_547 = lean_ctor_get(x_521, 1); +lean_inc(x_547); +if (lean_is_exclusive(x_521)) { + lean_ctor_release(x_521, 0); + lean_ctor_release(x_521, 1); + x_548 = x_521; } else { - lean_dec_ref(x_514); - x_541 = lean_box(0); + lean_dec_ref(x_521); + x_548 = lean_box(0); } -if (lean_is_scalar(x_541)) { - x_542 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_548)) { + x_549 = lean_alloc_ctor(1, 2, 0); } else { - x_542 = x_541; + x_549 = x_548; } -lean_ctor_set(x_542, 0, x_539); -lean_ctor_set(x_542, 1, x_540); -return x_542; +lean_ctor_set(x_549, 0, x_546); +lean_ctor_set(x_549, 1, x_547); +return x_549; } } } else { -lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; -lean_dec(x_383); -lean_dec(x_382); +lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; +lean_dec(x_388); +lean_dec(x_387); lean_free_object(x_2); -lean_dec(x_381); +lean_dec(x_386); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_543 = lean_ctor_get(x_384, 0); -lean_inc(x_543); -x_544 = lean_ctor_get(x_384, 1); -lean_inc(x_544); -if (lean_is_exclusive(x_384)) { - lean_ctor_release(x_384, 0); - lean_ctor_release(x_384, 1); - x_545 = x_384; +x_550 = lean_ctor_get(x_389, 0); +lean_inc(x_550); +x_551 = lean_ctor_get(x_389, 1); +lean_inc(x_551); +if (lean_is_exclusive(x_389)) { + lean_ctor_release(x_389, 0); + lean_ctor_release(x_389, 1); + x_552 = x_389; } else { - lean_dec_ref(x_384); - x_545 = lean_box(0); + lean_dec_ref(x_389); + x_552 = lean_box(0); } -if (lean_is_scalar(x_545)) { - x_546 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_552)) { + x_553 = lean_alloc_ctor(1, 2, 0); } else { - x_546 = x_545; + x_553 = x_552; } -lean_ctor_set(x_546, 0, x_543); -lean_ctor_set(x_546, 1, x_544); -return x_546; +lean_ctor_set(x_553, 0, x_550); +lean_ctor_set(x_553, 1, x_551); +return x_553; } } } else { -lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; -x_547 = lean_ctor_get(x_2, 0); -x_548 = lean_ctor_get(x_2, 1); -lean_inc(x_548); -lean_inc(x_547); +lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; +x_554 = lean_ctor_get(x_2, 0); +x_555 = lean_ctor_get(x_2, 1); +lean_inc(x_555); +lean_inc(x_554); lean_dec(x_2); -x_549 = lean_ctor_get(x_547, 0); -lean_inc(x_549); -x_550 = lean_ctor_get(x_547, 1); -lean_inc(x_550); -if (lean_is_exclusive(x_547)) { - lean_ctor_release(x_547, 0); - lean_ctor_release(x_547, 1); - x_551 = x_547; +x_556 = lean_ctor_get(x_554, 0); +lean_inc(x_556); +x_557 = lean_ctor_get(x_554, 1); +lean_inc(x_557); +if (lean_is_exclusive(x_554)) { + lean_ctor_release(x_554, 0); + lean_ctor_release(x_554, 1); + x_558 = x_554; } else { - lean_dec_ref(x_547); - x_551 = lean_box(0); + lean_dec_ref(x_554); + x_558 = lean_box(0); } lean_inc(x_4); -lean_inc(x_549); -x_552 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___spec__1(x_549, x_4, x_5); -if (lean_obj_tag(x_552) == 0) +lean_inc(x_556); +x_559 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___spec__1(x_556, x_4, x_5); +if (lean_obj_tag(x_559) == 0) { -lean_object* x_553; lean_object* x_554; lean_object* x_555; -x_553 = lean_ctor_get(x_552, 0); -lean_inc(x_553); -x_554 = lean_ctor_get(x_552, 1); -lean_inc(x_554); -lean_dec(x_552); -x_555 = l_List_join___main___rarg(x_553); -if (lean_obj_tag(x_555) == 0) +lean_object* x_560; lean_object* x_561; lean_object* x_562; +x_560 = lean_ctor_get(x_559, 0); +lean_inc(x_560); +x_561 = lean_ctor_get(x_559, 1); +lean_inc(x_561); +lean_dec(x_559); +x_562 = l_List_join___main___rarg(x_560); +if (lean_obj_tag(x_562) == 0) { -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; uint8_t x_597; lean_object* x_598; lean_object* x_599; -x_556 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_554); -x_557 = lean_ctor_get(x_556, 0); -lean_inc(x_557); -x_558 = lean_ctor_get(x_556, 1); -lean_inc(x_558); -lean_dec(x_556); -x_559 = lean_box(0); -x_560 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; -x_561 = lean_name_mk_numeral(x_560, x_557); -x_562 = lean_box(0); -x_563 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; -x_564 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_564, 0, x_559); -lean_ctor_set(x_564, 1, x_563); -lean_ctor_set(x_564, 2, x_561); -lean_ctor_set(x_564, 3, x_562); -x_565 = l_Array_empty___closed__1; -x_566 = lean_array_push(x_565, x_564); -x_567 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_568 = lean_array_push(x_566, x_567); -x_569 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_570 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_570, 0, x_569); -lean_ctor_set(x_570, 1, x_568); -x_571 = lean_array_push(x_565, x_570); -x_572 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__9; -x_573 = lean_array_push(x_571, x_572); -x_574 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_575 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_575, 0, x_574); -lean_ctor_set(x_575, 1, x_573); -if (lean_is_scalar(x_551)) { - x_576 = lean_alloc_ctor(0, 2, 0); -} else { - x_576 = x_551; -} -lean_ctor_set(x_576, 0, x_549); -lean_ctor_set(x_576, 1, x_575); +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; uint8_t x_604; uint8_t x_605; lean_object* x_606; lean_object* x_607; +x_563 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_561); +x_564 = lean_ctor_get(x_563, 0); +lean_inc(x_564); +x_565 = lean_ctor_get(x_563, 1); +lean_inc(x_565); +lean_dec(x_563); +x_566 = lean_box(0); +x_567 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; +x_568 = lean_name_mk_numeral(x_567, x_564); +x_569 = lean_box(0); +x_570 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; +x_571 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_571, 0, x_566); +lean_ctor_set(x_571, 1, x_570); +lean_ctor_set(x_571, 2, x_568); +lean_ctor_set(x_571, 3, x_569); +x_572 = l_Array_empty___closed__1; +x_573 = lean_array_push(x_572, x_571); +x_574 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_575 = lean_array_push(x_573, x_574); +x_576 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_577 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_577, 0, x_576); -lean_ctor_set(x_577, 1, x_3); -x_578 = lean_ctor_get(x_558, 0); -lean_inc(x_578); -x_579 = lean_ctor_get(x_558, 1); -lean_inc(x_579); -x_580 = lean_ctor_get(x_558, 2); -lean_inc(x_580); -x_581 = lean_ctor_get(x_558, 3); -lean_inc(x_581); -x_582 = lean_ctor_get(x_558, 4); -lean_inc(x_582); -x_583 = lean_ctor_get(x_558, 5); -lean_inc(x_583); -if (lean_is_exclusive(x_558)) { - lean_ctor_release(x_558, 0); - lean_ctor_release(x_558, 1); - lean_ctor_release(x_558, 2); - lean_ctor_release(x_558, 3); - lean_ctor_release(x_558, 4); - lean_ctor_release(x_558, 5); - x_584 = x_558; +lean_ctor_set(x_577, 1, x_575); +x_578 = lean_array_push(x_572, x_577); +x_579 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__9; +x_580 = lean_array_push(x_578, x_579); +x_581 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_582 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_582, 0, x_581); +lean_ctor_set(x_582, 1, x_580); +if (lean_is_scalar(x_558)) { + x_583 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_558); - x_584 = lean_box(0); + x_583 = x_558; } -x_585 = lean_unsigned_to_nat(1u); -x_586 = lean_nat_add(x_583, x_585); -if (lean_is_scalar(x_584)) { - x_587 = lean_alloc_ctor(0, 6, 0); -} else { - x_587 = x_584; -} -lean_ctor_set(x_587, 0, x_578); -lean_ctor_set(x_587, 1, x_579); -lean_ctor_set(x_587, 2, x_580); -lean_ctor_set(x_587, 3, x_581); -lean_ctor_set(x_587, 4, x_582); -lean_ctor_set(x_587, 5, x_586); -x_588 = lean_ctor_get(x_4, 0); +lean_ctor_set(x_583, 0, x_556); +lean_ctor_set(x_583, 1, x_582); +x_584 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_584, 0, x_583); +lean_ctor_set(x_584, 1, x_3); +x_585 = lean_ctor_get(x_565, 0); +lean_inc(x_585); +x_586 = lean_ctor_get(x_565, 1); +lean_inc(x_586); +x_587 = lean_ctor_get(x_565, 2); +lean_inc(x_587); +x_588 = lean_ctor_get(x_565, 3); lean_inc(x_588); -x_589 = lean_ctor_get(x_4, 1); +x_589 = lean_ctor_get(x_565, 4); lean_inc(x_589); -x_590 = lean_ctor_get(x_4, 2); +x_590 = lean_ctor_get(x_565, 5); lean_inc(x_590); -x_591 = lean_ctor_get(x_4, 3); -lean_inc(x_591); -x_592 = lean_ctor_get(x_4, 4); -lean_inc(x_592); -x_593 = lean_ctor_get(x_4, 5); -lean_inc(x_593); -x_594 = lean_ctor_get(x_4, 6); -lean_inc(x_594); -x_595 = lean_ctor_get(x_4, 7); +if (lean_is_exclusive(x_565)) { + lean_ctor_release(x_565, 0); + lean_ctor_release(x_565, 1); + lean_ctor_release(x_565, 2); + lean_ctor_release(x_565, 3); + lean_ctor_release(x_565, 4); + lean_ctor_release(x_565, 5); + x_591 = x_565; +} else { + lean_dec_ref(x_565); + x_591 = lean_box(0); +} +x_592 = lean_unsigned_to_nat(1u); +x_593 = lean_nat_add(x_590, x_592); +if (lean_is_scalar(x_591)) { + x_594 = lean_alloc_ctor(0, 6, 0); +} else { + x_594 = x_591; +} +lean_ctor_set(x_594, 0, x_585); +lean_ctor_set(x_594, 1, x_586); +lean_ctor_set(x_594, 2, x_587); +lean_ctor_set(x_594, 3, x_588); +lean_ctor_set(x_594, 4, x_589); +lean_ctor_set(x_594, 5, x_593); +x_595 = lean_ctor_get(x_4, 0); lean_inc(x_595); -x_596 = lean_ctor_get(x_4, 8); +x_596 = lean_ctor_get(x_4, 1); lean_inc(x_596); -x_597 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); -x_598 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_598, 0, x_588); -lean_ctor_set(x_598, 1, x_589); -lean_ctor_set(x_598, 2, x_590); -lean_ctor_set(x_598, 3, x_591); -lean_ctor_set(x_598, 4, x_592); -lean_ctor_set(x_598, 5, x_593); -lean_ctor_set(x_598, 6, x_594); -lean_ctor_set(x_598, 7, x_595); -lean_ctor_set(x_598, 8, x_596); -lean_ctor_set(x_598, 9, x_583); -lean_ctor_set_uint8(x_598, sizeof(void*)*10, x_597); -x_599 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_548, x_577, x_598, x_587); -if (lean_obj_tag(x_599) == 0) -{ -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; -x_600 = lean_ctor_get(x_599, 0); +x_597 = lean_ctor_get(x_4, 2); +lean_inc(x_597); +x_598 = lean_ctor_get(x_4, 3); +lean_inc(x_598); +x_599 = lean_ctor_get(x_4, 4); +lean_inc(x_599); +x_600 = lean_ctor_get(x_4, 5); lean_inc(x_600); -x_601 = lean_ctor_get(x_599, 1); +x_601 = lean_ctor_get(x_4, 6); lean_inc(x_601); -lean_dec(x_599); -x_602 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_601); -lean_dec(x_4); -x_603 = lean_ctor_get(x_602, 0); +x_602 = lean_ctor_get(x_4, 7); +lean_inc(x_602); +x_603 = lean_ctor_get(x_4, 8); lean_inc(x_603); -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; +x_604 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_605 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +x_606 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_606, 0, x_595); +lean_ctor_set(x_606, 1, x_596); +lean_ctor_set(x_606, 2, x_597); +lean_ctor_set(x_606, 3, x_598); +lean_ctor_set(x_606, 4, x_599); +lean_ctor_set(x_606, 5, x_600); +lean_ctor_set(x_606, 6, x_601); +lean_ctor_set(x_606, 7, x_602); +lean_ctor_set(x_606, 8, x_603); +lean_ctor_set(x_606, 9, x_590); +lean_ctor_set_uint8(x_606, sizeof(void*)*10, x_604); +lean_ctor_set_uint8(x_606, sizeof(void*)*10 + 1, x_605); +x_607 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_555, x_584, x_606, x_594); +if (lean_obj_tag(x_607) == 0) +{ +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; +x_608 = lean_ctor_get(x_607, 0); +lean_inc(x_608); +x_609 = lean_ctor_get(x_607, 1); +lean_inc(x_609); +lean_dec(x_607); +x_610 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_609); +lean_dec(x_4); +x_611 = lean_ctor_get(x_610, 0); +lean_inc(x_611); +x_612 = lean_ctor_get(x_610, 1); +lean_inc(x_612); +if (lean_is_exclusive(x_610)) { + lean_ctor_release(x_610, 0); + lean_ctor_release(x_610, 1); + x_613 = x_610; } else { - lean_dec_ref(x_602); - x_605 = lean_box(0); -} -x_606 = lean_name_mk_numeral(x_560, x_603); -x_607 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_607, 0, x_559); -lean_ctor_set(x_607, 1, x_563); -lean_ctor_set(x_607, 2, x_606); -lean_ctor_set(x_607, 3, x_562); -x_608 = lean_array_push(x_565, x_607); -x_609 = lean_array_push(x_608, x_567); -x_610 = lean_array_push(x_609, x_567); -x_611 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_612 = lean_array_push(x_610, x_611); -x_613 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__13; -x_614 = lean_array_push(x_613, x_550); -x_615 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -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 = lean_array_push(x_612, x_616); -x_618 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_619, 0, x_618); -lean_ctor_set(x_619, 1, x_617); -x_620 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_621 = lean_array_push(x_620, x_619); -x_622 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_623 = lean_array_push(x_621, x_622); -x_624 = lean_array_push(x_623, x_600); -x_625 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_626 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_626, 0, x_625); -lean_ctor_set(x_626, 1, x_624); -if (lean_is_scalar(x_605)) { - x_627 = lean_alloc_ctor(0, 2, 0); -} else { - x_627 = x_605; + lean_dec_ref(x_610); + x_613 = lean_box(0); } +x_614 = lean_name_mk_numeral(x_567, x_611); +x_615 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_615, 0, x_566); +lean_ctor_set(x_615, 1, x_570); +lean_ctor_set(x_615, 2, x_614); +lean_ctor_set(x_615, 3, x_569); +x_616 = lean_array_push(x_572, x_615); +x_617 = lean_array_push(x_616, x_574); +x_618 = lean_array_push(x_617, x_574); +x_619 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_620 = lean_array_push(x_618, x_619); +x_621 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__13; +x_622 = lean_array_push(x_621, x_557); +x_623 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_624 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_624, 0, x_623); +lean_ctor_set(x_624, 1, x_622); +x_625 = lean_array_push(x_620, x_624); +x_626 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_627 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_627, 0, x_626); -lean_ctor_set(x_627, 1, x_604); -return x_627; +lean_ctor_set(x_627, 1, x_625); +x_628 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_629 = lean_array_push(x_628, x_627); +x_630 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_631 = lean_array_push(x_629, x_630); +x_632 = lean_array_push(x_631, x_608); +x_633 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_634 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_634, 0, x_633); +lean_ctor_set(x_634, 1, x_632); +if (lean_is_scalar(x_613)) { + x_635 = lean_alloc_ctor(0, 2, 0); +} else { + x_635 = x_613; +} +lean_ctor_set(x_635, 0, x_634); +lean_ctor_set(x_635, 1, x_612); +return x_635; } else { -lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; -lean_dec(x_550); +lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; +lean_dec(x_557); lean_dec(x_4); -x_628 = lean_ctor_get(x_599, 0); -lean_inc(x_628); -x_629 = lean_ctor_get(x_599, 1); -lean_inc(x_629); -if (lean_is_exclusive(x_599)) { - lean_ctor_release(x_599, 0); - lean_ctor_release(x_599, 1); - x_630 = x_599; +x_636 = lean_ctor_get(x_607, 0); +lean_inc(x_636); +x_637 = lean_ctor_get(x_607, 1); +lean_inc(x_637); +if (lean_is_exclusive(x_607)) { + lean_ctor_release(x_607, 0); + lean_ctor_release(x_607, 1); + x_638 = x_607; } else { - lean_dec_ref(x_599); - x_630 = lean_box(0); + lean_dec_ref(x_607); + x_638 = lean_box(0); } -if (lean_is_scalar(x_630)) { - x_631 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_638)) { + x_639 = lean_alloc_ctor(1, 2, 0); } else { - x_631 = x_630; + x_639 = x_638; } -lean_ctor_set(x_631, 0, x_628); -lean_ctor_set(x_631, 1, x_629); -return x_631; +lean_ctor_set(x_639, 0, x_636); +lean_ctor_set(x_639, 1, x_637); +return x_639; } } 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; 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; uint8_t x_681; lean_object* x_682; lean_object* x_683; -x_632 = l_List_redLength___main___rarg(x_555); -x_633 = lean_mk_empty_array_with_capacity(x_632); -lean_dec(x_632); -lean_inc(x_555); -x_634 = l_List_toArrayAux___main___rarg(x_555, x_633); -if (lean_is_exclusive(x_555)) { - lean_ctor_release(x_555, 0); - lean_ctor_release(x_555, 1); - x_635 = x_555; +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; uint8_t x_689; uint8_t x_690; lean_object* x_691; lean_object* x_692; +x_640 = l_List_redLength___main___rarg(x_562); +x_641 = lean_mk_empty_array_with_capacity(x_640); +lean_dec(x_640); +lean_inc(x_562); +x_642 = l_List_toArrayAux___main___rarg(x_562, x_641); +if (lean_is_exclusive(x_562)) { + lean_ctor_release(x_562, 0); + lean_ctor_release(x_562, 1); + x_643 = x_562; } else { - lean_dec_ref(x_555); - x_635 = lean_box(0); + lean_dec_ref(x_562); + x_643 = lean_box(0); } -x_636 = l_Lean_nullKind___closed__2; -x_637 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_637, 0, x_636); -lean_ctor_set(x_637, 1, x_634); -x_638 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__16; -x_639 = lean_array_push(x_638, x_637); -x_640 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__15; -x_641 = lean_array_push(x_639, x_640); -x_642 = lean_array_push(x_641, x_550); -x_643 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_554); -x_646 = lean_ctor_get(x_645, 0); -lean_inc(x_646); -x_647 = lean_ctor_get(x_645, 1); -lean_inc(x_647); -lean_dec(x_645); -x_648 = lean_box(0); -x_649 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; -x_650 = lean_name_mk_numeral(x_649, x_646); -x_651 = lean_box(0); -x_652 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; -x_653 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_653, 0, x_648); -lean_ctor_set(x_653, 1, x_652); -lean_ctor_set(x_653, 2, x_650); -lean_ctor_set(x_653, 3, x_651); -x_654 = l_Array_empty___closed__1; -x_655 = lean_array_push(x_654, x_653); -x_656 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_657 = lean_array_push(x_655, x_656); -x_658 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_659 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_659, 0, x_658); -lean_ctor_set(x_659, 1, x_657); -if (lean_is_scalar(x_551)) { - x_660 = lean_alloc_ctor(0, 2, 0); +x_644 = l_Lean_nullKind___closed__2; +x_645 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_645, 0, x_644); +lean_ctor_set(x_645, 1, x_642); +x_646 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__16; +x_647 = lean_array_push(x_646, x_645); +x_648 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__15; +x_649 = lean_array_push(x_647, x_648); +x_650 = lean_array_push(x_649, x_557); +x_651 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_652 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_652, 0, x_651); +lean_ctor_set(x_652, 1, x_650); +x_653 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_561); +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); +x_656 = lean_box(0); +x_657 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__4; +x_658 = lean_name_mk_numeral(x_657, x_654); +x_659 = lean_box(0); +x_660 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__3; +x_661 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_661, 0, x_656); +lean_ctor_set(x_661, 1, x_660); +lean_ctor_set(x_661, 2, x_658); +lean_ctor_set(x_661, 3, x_659); +x_662 = l_Array_empty___closed__1; +x_663 = lean_array_push(x_662, x_661); +x_664 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_665 = lean_array_push(x_663, x_664); +x_666 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_667 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_667, 0, x_666); +lean_ctor_set(x_667, 1, x_665); +if (lean_is_scalar(x_558)) { + x_668 = lean_alloc_ctor(0, 2, 0); } else { - x_660 = x_551; + x_668 = x_558; } -lean_ctor_set(x_660, 0, x_549); -lean_ctor_set(x_660, 1, x_659); -if (lean_is_scalar(x_635)) { - x_661 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_668, 0, x_556); +lean_ctor_set(x_668, 1, x_667); +if (lean_is_scalar(x_643)) { + x_669 = lean_alloc_ctor(1, 2, 0); } else { - x_661 = x_635; + x_669 = x_643; } -lean_ctor_set(x_661, 0, x_660); -lean_ctor_set(x_661, 1, x_3); -x_662 = lean_ctor_get(x_647, 0); -lean_inc(x_662); -x_663 = lean_ctor_get(x_647, 1); -lean_inc(x_663); -x_664 = lean_ctor_get(x_647, 2); -lean_inc(x_664); -x_665 = lean_ctor_get(x_647, 3); -lean_inc(x_665); -x_666 = lean_ctor_get(x_647, 4); -lean_inc(x_666); -x_667 = lean_ctor_get(x_647, 5); -lean_inc(x_667); -if (lean_is_exclusive(x_647)) { - lean_ctor_release(x_647, 0); - lean_ctor_release(x_647, 1); - lean_ctor_release(x_647, 2); - lean_ctor_release(x_647, 3); - lean_ctor_release(x_647, 4); - lean_ctor_release(x_647, 5); - x_668 = x_647; -} else { - lean_dec_ref(x_647); - x_668 = lean_box(0); -} -x_669 = lean_unsigned_to_nat(1u); -x_670 = lean_nat_add(x_667, x_669); -if (lean_is_scalar(x_668)) { - x_671 = lean_alloc_ctor(0, 6, 0); -} else { - x_671 = x_668; -} -lean_ctor_set(x_671, 0, x_662); -lean_ctor_set(x_671, 1, x_663); -lean_ctor_set(x_671, 2, x_664); -lean_ctor_set(x_671, 3, x_665); -lean_ctor_set(x_671, 4, x_666); -lean_ctor_set(x_671, 5, x_670); -x_672 = lean_ctor_get(x_4, 0); +lean_ctor_set(x_669, 0, x_668); +lean_ctor_set(x_669, 1, x_3); +x_670 = lean_ctor_get(x_655, 0); +lean_inc(x_670); +x_671 = lean_ctor_get(x_655, 1); +lean_inc(x_671); +x_672 = lean_ctor_get(x_655, 2); lean_inc(x_672); -x_673 = lean_ctor_get(x_4, 1); +x_673 = lean_ctor_get(x_655, 3); lean_inc(x_673); -x_674 = lean_ctor_get(x_4, 2); +x_674 = lean_ctor_get(x_655, 4); lean_inc(x_674); -x_675 = lean_ctor_get(x_4, 3); +x_675 = lean_ctor_get(x_655, 5); lean_inc(x_675); -x_676 = lean_ctor_get(x_4, 4); -lean_inc(x_676); -x_677 = lean_ctor_get(x_4, 5); -lean_inc(x_677); -x_678 = lean_ctor_get(x_4, 6); -lean_inc(x_678); -x_679 = lean_ctor_get(x_4, 7); -lean_inc(x_679); -x_680 = lean_ctor_get(x_4, 8); +if (lean_is_exclusive(x_655)) { + lean_ctor_release(x_655, 0); + lean_ctor_release(x_655, 1); + lean_ctor_release(x_655, 2); + lean_ctor_release(x_655, 3); + lean_ctor_release(x_655, 4); + lean_ctor_release(x_655, 5); + x_676 = x_655; +} else { + lean_dec_ref(x_655); + x_676 = lean_box(0); +} +x_677 = lean_unsigned_to_nat(1u); +x_678 = lean_nat_add(x_675, x_677); +if (lean_is_scalar(x_676)) { + x_679 = lean_alloc_ctor(0, 6, 0); +} else { + x_679 = x_676; +} +lean_ctor_set(x_679, 0, x_670); +lean_ctor_set(x_679, 1, x_671); +lean_ctor_set(x_679, 2, x_672); +lean_ctor_set(x_679, 3, x_673); +lean_ctor_set(x_679, 4, x_674); +lean_ctor_set(x_679, 5, x_678); +x_680 = lean_ctor_get(x_4, 0); lean_inc(x_680); -x_681 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); -x_682 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_682, 0, x_672); -lean_ctor_set(x_682, 1, x_673); -lean_ctor_set(x_682, 2, x_674); -lean_ctor_set(x_682, 3, x_675); -lean_ctor_set(x_682, 4, x_676); -lean_ctor_set(x_682, 5, x_677); -lean_ctor_set(x_682, 6, x_678); -lean_ctor_set(x_682, 7, x_679); -lean_ctor_set(x_682, 8, x_680); -lean_ctor_set(x_682, 9, x_667); -lean_ctor_set_uint8(x_682, sizeof(void*)*10, x_681); -x_683 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_548, x_661, x_682, x_671); -if (lean_obj_tag(x_683) == 0) -{ -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; -x_684 = lean_ctor_get(x_683, 0); +x_681 = lean_ctor_get(x_4, 1); +lean_inc(x_681); +x_682 = lean_ctor_get(x_4, 2); +lean_inc(x_682); +x_683 = lean_ctor_get(x_4, 3); +lean_inc(x_683); +x_684 = lean_ctor_get(x_4, 4); lean_inc(x_684); -x_685 = lean_ctor_get(x_683, 1); +x_685 = lean_ctor_get(x_4, 5); lean_inc(x_685); -lean_dec(x_683); -x_686 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_685); -lean_dec(x_4); -x_687 = lean_ctor_get(x_686, 0); +x_686 = lean_ctor_get(x_4, 6); +lean_inc(x_686); +x_687 = lean_ctor_get(x_4, 7); lean_inc(x_687); -x_688 = lean_ctor_get(x_686, 1); +x_688 = lean_ctor_get(x_4, 8); lean_inc(x_688); -if (lean_is_exclusive(x_686)) { - lean_ctor_release(x_686, 0); - lean_ctor_release(x_686, 1); - x_689 = x_686; -} else { - lean_dec_ref(x_686); - x_689 = lean_box(0); -} -x_690 = lean_name_mk_numeral(x_649, x_687); -x_691 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_691, 0, x_648); -lean_ctor_set(x_691, 1, x_652); -lean_ctor_set(x_691, 2, x_690); -lean_ctor_set(x_691, 3, x_651); -x_692 = lean_array_push(x_654, x_691); -x_693 = lean_array_push(x_692, x_656); -x_694 = lean_array_push(x_693, x_656); -x_695 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; -x_696 = lean_array_push(x_694, x_695); -x_697 = lean_array_push(x_696, x_644); -x_698 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_699 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_699, 0, x_698); -lean_ctor_set(x_699, 1, x_697); -x_700 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -x_701 = lean_array_push(x_700, x_699); -x_702 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; -x_703 = lean_array_push(x_701, x_702); -x_704 = lean_array_push(x_703, x_684); -x_705 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_706 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_706, 0, x_705); -lean_ctor_set(x_706, 1, x_704); -if (lean_is_scalar(x_689)) { - x_707 = lean_alloc_ctor(0, 2, 0); -} else { - x_707 = x_689; -} -lean_ctor_set(x_707, 0, x_706); -lean_ctor_set(x_707, 1, x_688); -return x_707; -} -else +x_689 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_690 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +x_691 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_691, 0, x_680); +lean_ctor_set(x_691, 1, x_681); +lean_ctor_set(x_691, 2, x_682); +lean_ctor_set(x_691, 3, x_683); +lean_ctor_set(x_691, 4, x_684); +lean_ctor_set(x_691, 5, x_685); +lean_ctor_set(x_691, 6, x_686); +lean_ctor_set(x_691, 7, x_687); +lean_ctor_set(x_691, 8, x_688); +lean_ctor_set(x_691, 9, x_675); +lean_ctor_set_uint8(x_691, sizeof(void*)*10, x_689); +lean_ctor_set_uint8(x_691, sizeof(void*)*10 + 1, x_690); +x_692 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main(x_1, x_555, x_669, x_691, x_679); +if (lean_obj_tag(x_692) == 0) { -lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; -lean_dec(x_644); +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; +x_693 = lean_ctor_get(x_692, 0); +lean_inc(x_693); +x_694 = lean_ctor_get(x_692, 1); +lean_inc(x_694); +lean_dec(x_692); +x_695 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_694); lean_dec(x_4); -x_708 = lean_ctor_get(x_683, 0); -lean_inc(x_708); -x_709 = lean_ctor_get(x_683, 1); -lean_inc(x_709); -if (lean_is_exclusive(x_683)) { - lean_ctor_release(x_683, 0); - lean_ctor_release(x_683, 1); - x_710 = x_683; +x_696 = lean_ctor_get(x_695, 0); +lean_inc(x_696); +x_697 = lean_ctor_get(x_695, 1); +lean_inc(x_697); +if (lean_is_exclusive(x_695)) { + lean_ctor_release(x_695, 0); + lean_ctor_release(x_695, 1); + x_698 = x_695; } else { - lean_dec_ref(x_683); - x_710 = lean_box(0); + lean_dec_ref(x_695); + x_698 = lean_box(0); } -if (lean_is_scalar(x_710)) { - x_711 = lean_alloc_ctor(1, 2, 0); +x_699 = lean_name_mk_numeral(x_657, x_696); +x_700 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_700, 0, x_656); +lean_ctor_set(x_700, 1, x_660); +lean_ctor_set(x_700, 2, x_699); +lean_ctor_set(x_700, 3, x_659); +x_701 = lean_array_push(x_662, x_700); +x_702 = lean_array_push(x_701, x_664); +x_703 = lean_array_push(x_702, x_664); +x_704 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; +x_705 = lean_array_push(x_703, x_704); +x_706 = lean_array_push(x_705, x_652); +x_707 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_708 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_708, 0, x_707); +lean_ctor_set(x_708, 1, x_706); +x_709 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; +x_710 = lean_array_push(x_709, x_708); +x_711 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__10; +x_712 = lean_array_push(x_710, x_711); +x_713 = lean_array_push(x_712, x_693); +x_714 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_715 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_715, 0, x_714); +lean_ctor_set(x_715, 1, x_713); +if (lean_is_scalar(x_698)) { + x_716 = lean_alloc_ctor(0, 2, 0); } else { - x_711 = x_710; + x_716 = x_698; } -lean_ctor_set(x_711, 0, x_708); -lean_ctor_set(x_711, 1, x_709); -return x_711; +lean_ctor_set(x_716, 0, x_715); +lean_ctor_set(x_716, 1, x_697); +return x_716; +} +else +{ +lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; +lean_dec(x_652); +lean_dec(x_4); +x_717 = lean_ctor_get(x_692, 0); +lean_inc(x_717); +x_718 = lean_ctor_get(x_692, 1); +lean_inc(x_718); +if (lean_is_exclusive(x_692)) { + lean_ctor_release(x_692, 0); + lean_ctor_release(x_692, 1); + x_719 = x_692; +} else { + lean_dec_ref(x_692); + x_719 = lean_box(0); +} +if (lean_is_scalar(x_719)) { + x_720 = lean_alloc_ctor(1, 2, 0); +} else { + x_720 = x_719; +} +lean_ctor_set(x_720, 0, x_717); +lean_ctor_set(x_720, 1, x_718); +return x_720; } } } else { -lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; -lean_dec(x_551); -lean_dec(x_550); -lean_dec(x_549); -lean_dec(x_548); +lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; +lean_dec(x_558); +lean_dec(x_557); +lean_dec(x_556); +lean_dec(x_555); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_712 = lean_ctor_get(x_552, 0); -lean_inc(x_712); -x_713 = lean_ctor_get(x_552, 1); -lean_inc(x_713); -if (lean_is_exclusive(x_552)) { - lean_ctor_release(x_552, 0); - lean_ctor_release(x_552, 1); - x_714 = x_552; +x_721 = lean_ctor_get(x_559, 0); +lean_inc(x_721); +x_722 = lean_ctor_get(x_559, 1); +lean_inc(x_722); +if (lean_is_exclusive(x_559)) { + lean_ctor_release(x_559, 0); + lean_ctor_release(x_559, 1); + x_723 = x_559; } else { - lean_dec_ref(x_552); - x_714 = lean_box(0); + lean_dec_ref(x_559); + x_723 = lean_box(0); } -if (lean_is_scalar(x_714)) { - x_715 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_723)) { + x_724 = lean_alloc_ctor(1, 2, 0); } else { - x_715 = x_714; + x_724 = x_723; } -lean_ctor_set(x_715, 0, x_712); -lean_ctor_set(x_715, 1, x_713); -return x_715; +lean_ctor_set(x_724, 0, x_721); +lean_ctor_set(x_724, 1, x_722); +return x_724; } } } @@ -14532,570 +14564,565 @@ return x_3; lean_object* l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_95; lean_object* x_96; +lean_object* x_4; lean_object* x_5; lean_object* x_96; lean_object* x_97; x_4 = l_Lean_Syntax_getArgs(x_1); lean_inc(x_1); -x_95 = l_Lean_Syntax_getKind(x_1); -if (lean_obj_tag(x_95) == 1) +x_96 = l_Lean_Syntax_getKind(x_1); +if (lean_obj_tag(x_96) == 1) { -lean_object* x_105; -x_105 = lean_ctor_get(x_95, 0); -lean_inc(x_105); -switch (lean_obj_tag(x_105)) { +lean_object* x_106; +x_106 = lean_ctor_get(x_96, 0); +lean_inc(x_106); +switch (lean_obj_tag(x_106)) { case 0: { -lean_object* x_106; lean_object* x_107; uint8_t x_108; +lean_object* x_107; lean_object* x_108; uint8_t x_109; lean_dec(x_4); -x_106 = lean_ctor_get(x_95, 1); -lean_inc(x_106); -x_107 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__4; -x_108 = lean_string_dec_eq(x_106, x_107); -lean_dec(x_106); -if (x_108 == 0) +x_107 = lean_ctor_get(x_96, 1); +lean_inc(x_107); +x_108 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__4; +x_109 = lean_string_dec_eq(x_107, x_108); +lean_dec(x_107); +if (x_109 == 0) { -lean_object* x_109; -x_109 = lean_box(0); -x_96 = x_109; -goto block_104; +lean_object* x_110; +x_110 = lean_box(0); +x_97 = x_110; +goto block_105; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -lean_dec(x_95); +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_96); lean_dec(x_2); -x_110 = lean_unsigned_to_nat(0u); -x_111 = l_Lean_Syntax_getArg(x_1, x_110); +x_111 = lean_unsigned_to_nat(0u); +x_112 = l_Lean_Syntax_getArg(x_1, x_111); lean_dec(x_1); -x_112 = l_Lean_Expr_Inhabited; -x_113 = x_111; -x_114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_3); -return x_114; +x_113 = l_Lean_Expr_Inhabited; +x_114 = x_112; +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_3); +return x_115; } } case 1: { -lean_object* x_115; -x_115 = lean_ctor_get(x_105, 0); -lean_inc(x_115); -if (lean_obj_tag(x_115) == 1) -{ lean_object* x_116; -x_116 = lean_ctor_get(x_115, 0); +x_116 = lean_ctor_get(x_106, 0); lean_inc(x_116); if (lean_obj_tag(x_116) == 1) { lean_object* x_117; x_117 = lean_ctor_get(x_116, 0); lean_inc(x_117); -if (lean_obj_tag(x_117) == 0) +if (lean_obj_tag(x_117) == 1) { -lean_object* x_118; uint8_t x_119; -x_118 = lean_ctor_get(x_95, 1); +lean_object* x_118; +x_118 = lean_ctor_get(x_117, 0); lean_inc(x_118); -x_119 = !lean_is_exclusive(x_105); -if (x_119 == 0) +if (lean_obj_tag(x_118) == 0) { -size_t x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; -x_120 = lean_ctor_get_usize(x_95, 2); -x_121 = lean_ctor_get(x_105, 1); -x_122 = lean_ctor_get(x_105, 0); -lean_dec(x_122); -x_123 = !lean_is_exclusive(x_115); -if (x_123 == 0) +lean_object* x_119; uint8_t x_120; +x_119 = lean_ctor_get(x_96, 1); +lean_inc(x_119); +x_120 = !lean_is_exclusive(x_106); +if (x_120 == 0) { -lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_124 = lean_ctor_get(x_115, 1); -x_125 = lean_ctor_get(x_115, 0); -lean_dec(x_125); -x_126 = !lean_is_exclusive(x_116); -if (x_126 == 0) +size_t x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +x_121 = lean_ctor_get_usize(x_96, 2); +x_122 = lean_ctor_get(x_106, 1); +x_123 = lean_ctor_get(x_106, 0); +lean_dec(x_123); +x_124 = !lean_is_exclusive(x_116); +if (x_124 == 0) { -lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; -x_127 = lean_ctor_get(x_116, 1); -x_128 = lean_ctor_get(x_116, 0); +lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_125 = lean_ctor_get(x_116, 1); +x_126 = lean_ctor_get(x_116, 0); +lean_dec(x_126); +x_127 = !lean_is_exclusive(x_117); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; +x_128 = lean_ctor_get(x_117, 1); +x_129 = lean_ctor_get(x_117, 0); +lean_dec(x_129); +x_130 = l_Lean_nameToExprAux___main___closed__1; +x_131 = lean_string_dec_eq(x_128, x_130); lean_dec(x_128); -x_129 = l_Lean_nameToExprAux___main___closed__1; -x_130 = lean_string_dec_eq(x_127, x_129); -lean_dec(x_127); -if (x_130 == 0) +if (x_131 == 0) { -lean_object* x_131; +lean_object* x_132; +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_dec(x_124); -lean_free_object(x_105); -lean_dec(x_121); -lean_dec(x_118); +lean_dec(x_125); +lean_free_object(x_106); +lean_dec(x_122); +lean_dec(x_119); lean_dec(x_4); -x_131 = lean_box(0); -x_96 = x_131; -goto block_104; +x_132 = lean_box(0); +x_97 = x_132; +goto block_105; } else { -uint8_t x_132; -x_132 = !lean_is_exclusive(x_95); -if (x_132 == 0) +uint8_t x_133; +x_133 = !lean_is_exclusive(x_96); +if (x_133 == 0) { -lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_133 = lean_ctor_get(x_95, 1); -lean_dec(x_133); -x_134 = lean_ctor_get(x_95, 0); +lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_134 = lean_ctor_get(x_96, 1); lean_dec(x_134); -x_135 = l_Lean_Syntax_formatStxAux___main___closed__5; -x_136 = lean_string_dec_eq(x_124, x_135); -if (x_136 == 0) +x_135 = lean_ctor_get(x_96, 0); +lean_dec(x_135); +x_136 = l_Lean_Syntax_formatStxAux___main___closed__5; +x_137 = lean_string_dec_eq(x_125, x_136); +if (x_137 == 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_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_dec(x_4); -lean_ctor_set(x_116, 1, x_129); -x_137 = l_System_FilePath_dirName___closed__1; -x_138 = l_Lean_Name_toStringWithSep___main(x_137, x_95); -x_139 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_139, 0, x_138); -x_140 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_117, 1, x_130); +x_138 = l_System_FilePath_dirName___closed__1; +x_139 = l_Lean_Name_toStringWithSep___main(x_138, x_96); +x_140 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_140, 0, x_139); -x_141 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_142 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_140); -x_143 = l_Lean_Elab_Term_throwError___rarg(x_1, x_142, x_2, x_3); +x_141 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_141, 0, x_140); +x_142 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_143 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_141); +x_144 = l_Lean_Elab_Term_throwError___rarg(x_1, x_143, x_2, x_3); lean_dec(x_1); -return x_143; +return x_144; } else { -lean_object* x_144; uint8_t x_145; -lean_dec(x_124); -x_144 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; -x_145 = lean_string_dec_eq(x_121, x_144); -if (x_145 == 0) +lean_object* x_145; uint8_t x_146; +lean_dec(x_125); +x_145 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; +x_146 = lean_string_dec_eq(x_122, x_145); +if (x_146 == 0) { -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_object* x_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_4); -lean_ctor_set(x_116, 1, x_129); -lean_ctor_set(x_115, 1, x_135); -x_146 = l_System_FilePath_dirName___closed__1; -x_147 = l_Lean_Name_toStringWithSep___main(x_146, x_95); -x_148 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_148, 0, x_147); -x_149 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_117, 1, x_130); +lean_ctor_set(x_116, 1, x_136); +x_147 = l_System_FilePath_dirName___closed__1; +x_148 = l_Lean_Name_toStringWithSep___main(x_147, x_96); +x_149 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_149, 0, x_148); -x_150 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_151 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = l_Lean_Elab_Term_throwError___rarg(x_1, x_151, x_2, x_3); +x_150 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_150, 0, x_149); +x_151 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_152 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +x_153 = l_Lean_Elab_Term_throwError___rarg(x_1, x_152, x_2, x_3); lean_dec(x_1); -return x_152; +return x_153; } else { -lean_object* x_153; uint8_t x_154; -lean_dec(x_121); -x_153 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_154 = lean_string_dec_eq(x_118, x_153); -if (x_154 == 0) +lean_object* x_154; uint8_t x_155; +lean_dec(x_122); +x_154 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_155 = lean_string_dec_eq(x_119, x_154); +if (x_155 == 0) { -lean_object* x_155; uint8_t x_156; -x_155 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_156 = lean_string_dec_eq(x_118, x_155); -if (x_156 == 0) +lean_object* x_156; uint8_t x_157; +x_156 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_157 = lean_string_dec_eq(x_119, x_156); +if (x_157 == 0) { -lean_object* x_157; uint8_t x_158; -x_157 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_158 = lean_string_dec_eq(x_118, x_157); -if (x_158 == 0) +lean_object* x_158; uint8_t x_159; +x_158 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_159 = lean_string_dec_eq(x_119, x_158); +if (x_159 == 0) { -lean_object* x_159; uint8_t x_160; -x_159 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_160 = lean_string_dec_eq(x_118, x_159); -if (x_160 == 0) +lean_object* x_160; uint8_t x_161; +x_160 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_161 = lean_string_dec_eq(x_119, x_160); +if (x_161 == 0) { -lean_object* x_161; uint8_t x_162; -x_161 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_162 = lean_string_dec_eq(x_118, x_161); -if (x_162 == 0) +lean_object* x_162; uint8_t x_163; +x_162 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_163 = lean_string_dec_eq(x_119, x_162); +if (x_163 == 0) { -lean_object* x_163; uint8_t x_164; -x_163 = l_Lean_Parser_Level_paren___elambda__1___closed__3; -x_164 = lean_string_dec_eq(x_118, x_163); -if (x_164 == 0) +lean_object* x_164; uint8_t x_165; +x_164 = l_Lean_Parser_Level_paren___elambda__1___closed__3; +x_165 = lean_string_dec_eq(x_119, x_164); +if (x_165 == 0) { -lean_object* x_165; uint8_t x_166; -x_165 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_166 = lean_string_dec_eq(x_118, x_165); -if (x_166 == 0) +lean_object* x_166; uint8_t x_167; +x_166 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_167 = lean_string_dec_eq(x_119, x_166); +if (x_167 == 0) { -lean_object* x_167; uint8_t x_168; -x_167 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_168 = lean_string_dec_eq(x_118, x_167); -if (x_168 == 0) +lean_object* x_168; uint8_t x_169; +x_168 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_169 = lean_string_dec_eq(x_119, x_168); +if (x_169 == 0) { -lean_object* x_169; uint8_t x_170; +lean_object* x_170; uint8_t x_171; lean_dec(x_4); -x_169 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_170 = lean_string_dec_eq(x_118, x_169); -if (x_170 == 0) +x_170 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_171 = lean_string_dec_eq(x_119, x_170); +if (x_171 == 0) { -lean_object* x_171; uint8_t x_172; -x_171 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_172 = lean_string_dec_eq(x_118, x_171); -if (x_172 == 0) +lean_object* x_172; uint8_t x_173; +x_172 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_173 = lean_string_dec_eq(x_119, x_172); +if (x_173 == 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_ctor_set(x_116, 1, x_129); -lean_ctor_set(x_115, 1, x_135); -lean_ctor_set(x_105, 1, x_144); -x_173 = l_System_FilePath_dirName___closed__1; -x_174 = l_Lean_Name_toStringWithSep___main(x_173, x_95); -x_175 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_175, 0, x_174); -x_176 = lean_alloc_ctor(0, 1, 0); +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +lean_ctor_set(x_117, 1, x_130); +lean_ctor_set(x_116, 1, x_136); +lean_ctor_set(x_106, 1, x_145); +x_174 = l_System_FilePath_dirName___closed__1; +x_175 = l_Lean_Name_toStringWithSep___main(x_174, x_96); +x_176 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_176, 0, x_175); -x_177 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_178 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_176); -x_179 = l_Lean_Elab_Term_throwError___rarg(x_1, x_178, x_2, x_3); +x_177 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_177, 0, x_176); +x_178 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_179 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_177); +x_180 = l_Lean_Elab_Term_throwError___rarg(x_1, x_179, x_2, x_3); lean_dec(x_1); -return x_179; +return x_180; } else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -lean_free_object(x_95); +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_free_object(x_96); +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_2); -x_180 = lean_unsigned_to_nat(0u); -x_181 = l_Lean_Syntax_getArg(x_1, x_180); +x_181 = lean_unsigned_to_nat(0u); +x_182 = l_Lean_Syntax_getArg(x_1, x_181); lean_dec(x_1); -x_182 = l_Lean_numLitKind; -x_183 = l_Lean_Syntax_isNatLitAux(x_182, x_181); -lean_dec(x_181); -if (lean_obj_tag(x_183) == 0) +x_183 = l_Lean_numLitKind; +x_184 = l_Lean_Syntax_isNatLitAux(x_183, x_182); +lean_dec(x_182); +if (lean_obj_tag(x_184) == 0) { -lean_object* x_184; lean_object* x_185; -x_184 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; -x_185 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_3); -return x_185; +lean_object* x_185; lean_object* x_186; +x_185 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_3); +return x_186; } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_186 = lean_ctor_get(x_183, 0); -lean_inc(x_186); -lean_dec(x_183); -x_187 = l_Lean_mkNatLit(x_186); -x_188 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_3); -return x_188; +lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_187 = lean_ctor_get(x_184, 0); +lean_inc(x_187); +lean_dec(x_184); +x_188 = l_Lean_mkNatLit(x_187); +x_189 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_3); +return x_189; } } } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; -lean_free_object(x_95); +lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_free_object(x_96); +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_2); -x_189 = lean_unsigned_to_nat(0u); -x_190 = l_Lean_Syntax_getArg(x_1, x_189); +x_190 = lean_unsigned_to_nat(0u); +x_191 = l_Lean_Syntax_getArg(x_1, x_190); lean_dec(x_1); -x_191 = l_Lean_Syntax_isStrLit_x3f(x_190); -lean_dec(x_190); -if (lean_obj_tag(x_191) == 0) -{ -lean_object* x_192; lean_object* x_193; -x_192 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_3); -return x_193; -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_194 = lean_ctor_get(x_191, 0); -lean_inc(x_194); +x_192 = l_Lean_Syntax_isStrLit_x3f(x_191); lean_dec(x_191); -x_195 = l_Lean_mkStrLit(x_194); -x_196 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_3); -return x_196; +if (lean_obj_tag(x_192) == 0) +{ +lean_object* x_193; lean_object* x_194; +x_193 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; +x_194 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_3); +return x_194; +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_195 = lean_ctor_get(x_192, 0); +lean_inc(x_195); +lean_dec(x_192); +x_196 = l_Lean_mkStrLit(x_195); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_3); +return x_197; } } } 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_free_object(x_95); +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_free_object(x_96); +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_197 = l_Lean_Syntax_inhabited; -x_198 = lean_unsigned_to_nat(0u); -x_199 = lean_array_get(x_197, x_4, x_198); -x_200 = lean_unsigned_to_nat(2u); -x_201 = lean_array_get(x_197, x_4, x_200); +x_198 = l_Lean_Syntax_inhabited; +x_199 = lean_unsigned_to_nat(0u); +x_200 = lean_array_get(x_198, x_4, x_199); +x_201 = lean_unsigned_to_nat(2u); +x_202 = lean_array_get(x_198, x_4, x_201); lean_dec(x_4); -x_202 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_202, 0, x_117); -lean_closure_set(x_202, 1, x_199); -lean_closure_set(x_202, 2, x_201); -x_203 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_204 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_204, 0, x_203); -lean_closure_set(x_204, 1, x_202); -x_205 = l_Lean_Unhygienic_run___rarg(x_204); -x_1 = x_205; +x_203 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_203, 0, x_118); +lean_closure_set(x_203, 1, x_200); +lean_closure_set(x_203, 2, x_202); +x_204 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_205 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_205, 0, x_204); +lean_closure_set(x_205, 1, x_203); +x_206 = l_Lean_Unhygienic_run___rarg(x_205); +x_1 = x_206; goto _start; } } 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; lean_object* x_213; lean_object* x_214; lean_object* x_215; -lean_free_object(x_95); +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_free_object(x_96); +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_207 = l_Lean_Syntax_inhabited; -x_208 = lean_unsigned_to_nat(0u); -x_209 = lean_array_get(x_207, x_4, x_208); -x_210 = lean_unsigned_to_nat(2u); -x_211 = lean_array_get(x_207, x_4, x_210); +x_208 = l_Lean_Syntax_inhabited; +x_209 = lean_unsigned_to_nat(0u); +x_210 = lean_array_get(x_208, x_4, x_209); +x_211 = lean_unsigned_to_nat(2u); +x_212 = lean_array_get(x_208, x_4, x_211); lean_dec(x_4); -x_212 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_212, 0, x_117); -lean_closure_set(x_212, 1, x_209); -lean_closure_set(x_212, 2, x_211); -x_213 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_214 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_214, 0, x_213); -lean_closure_set(x_214, 1, x_212); -x_215 = l_Lean_Unhygienic_run___rarg(x_214); -x_1 = x_215; +x_213 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_213, 0, x_118); +lean_closure_set(x_213, 1, x_210); +lean_closure_set(x_213, 2, x_212); +x_214 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_215 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_215, 0, x_214); +lean_closure_set(x_215, 1, x_213); +x_216 = l_Lean_Unhygienic_run___rarg(x_215); +x_1 = x_216; goto _start; } } 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; uint8_t x_223; -lean_free_object(x_95); +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; +lean_free_object(x_96); +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_217 = l_Lean_Syntax_inhabited; -x_218 = lean_unsigned_to_nat(1u); -x_219 = lean_array_get(x_217, x_4, x_218); +x_218 = l_Lean_Syntax_inhabited; +x_219 = lean_unsigned_to_nat(1u); +x_220 = lean_array_get(x_218, x_4, x_219); lean_dec(x_4); -x_220 = l_Lean_Syntax_getArgs(x_219); -lean_dec(x_219); -x_221 = lean_array_get_size(x_220); -x_222 = lean_unsigned_to_nat(0u); -x_223 = lean_nat_dec_eq(x_221, x_222); +x_221 = l_Lean_Syntax_getArgs(x_220); +lean_dec(x_220); +x_222 = lean_array_get_size(x_221); +x_223 = lean_unsigned_to_nat(0u); +x_224 = lean_nat_dec_eq(x_222, x_223); +lean_dec(x_222); +if (x_224 == 0) +{ +lean_object* x_225; +x_225 = lean_array_get(x_218, x_221, x_223); lean_dec(x_221); -if (x_223 == 0) -{ -lean_object* x_224; -x_224 = lean_array_get(x_217, x_220, x_222); -lean_dec(x_220); -x_1 = x_224; +x_1 = x_225; goto _start; } else { -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_dec(x_220); +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_221); lean_dec(x_2); -x_226 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_227 = lean_name_mk_string(x_117, x_226); -x_228 = l_Lean_Elab_Term_elabParen___closed__4; -x_229 = lean_name_mk_string(x_227, x_228); -x_230 = lean_box(0); -x_231 = l_Lean_mkConst(x_229, x_230); -x_232 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_3); -return x_232; +x_227 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_228 = lean_name_mk_string(x_118, x_227); +x_229 = l_Lean_Elab_Term_elabParen___closed__4; +x_230 = lean_name_mk_string(x_228, x_229); +x_231 = lean_box(0); +x_232 = l_Lean_mkConst(x_230, x_231); +x_233 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_3); +return x_233; } } } 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_free_object(x_95); +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_free_object(x_96); +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_233 = l_Lean_Syntax_inhabited; -x_234 = lean_unsigned_to_nat(2u); -x_235 = lean_array_get(x_233, x_4, x_234); -x_236 = lean_unsigned_to_nat(4u); -x_237 = lean_array_get(x_233, x_4, x_236); -x_238 = lean_unsigned_to_nat(6u); -x_239 = lean_array_get(x_233, x_4, x_238); +x_234 = l_Lean_Syntax_inhabited; +x_235 = lean_unsigned_to_nat(2u); +x_236 = lean_array_get(x_234, x_4, x_235); +x_237 = lean_unsigned_to_nat(4u); +x_238 = lean_array_get(x_234, x_4, x_237); +x_239 = lean_unsigned_to_nat(6u); +x_240 = lean_array_get(x_234, x_4, x_239); lean_dec(x_4); -x_240 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_240, 0, x_117); -lean_closure_set(x_240, 1, x_235); -lean_closure_set(x_240, 2, x_237); -lean_closure_set(x_240, 3, x_239); -x_241 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_242 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_242, 0, x_241); -lean_closure_set(x_242, 1, x_240); -x_243 = l_Lean_Unhygienic_run___rarg(x_242); -x_1 = x_243; +x_241 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_241, 0, x_118); +lean_closure_set(x_241, 1, x_236); +lean_closure_set(x_241, 2, x_238); +lean_closure_set(x_241, 3, x_240); +x_242 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_243 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_243, 0, x_242); +lean_closure_set(x_243, 1, x_241); +x_244 = l_Lean_Unhygienic_run___rarg(x_243); +x_1 = x_244; goto _start; } } else { -lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; -lean_free_object(x_95); +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; +lean_free_object(x_96); +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_245 = l_Lean_Syntax_inhabited; -x_246 = lean_unsigned_to_nat(0u); -x_247 = lean_array_get(x_245, x_4, x_246); +x_246 = l_Lean_Syntax_inhabited; +x_247 = lean_unsigned_to_nat(0u); +x_248 = lean_array_get(x_246, x_4, x_247); lean_inc(x_2); -x_248 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_247, x_2, x_3); -if (lean_obj_tag(x_248) == 0) +x_249 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_248, x_2, x_3); +if (lean_obj_tag(x_249) == 0) { -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; -x_249 = lean_ctor_get(x_248, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_248, 1); +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_250 = lean_ctor_get(x_249, 0); lean_inc(x_250); -lean_dec(x_248); -x_251 = lean_unsigned_to_nat(1u); -x_252 = lean_array_get(x_245, x_4, x_251); -lean_dec(x_4); -x_253 = l_Lean_Syntax_getArgs(x_252); -lean_dec(x_252); -x_254 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_246, x_253, x_2, x_250); -if (lean_obj_tag(x_254) == 0) -{ -uint8_t x_255; -x_255 = !lean_is_exclusive(x_254); -if (x_255 == 0) -{ -lean_object* x_256; lean_object* x_257; -x_256 = lean_ctor_get(x_254, 0); -x_257 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_256, x_256, x_246, x_249); -lean_dec(x_256); -lean_ctor_set(x_254, 0, x_257); -return x_254; -} -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_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_258, x_258, x_246, x_249); -lean_dec(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; -} -} -else -{ -uint8_t x_262; +x_251 = lean_ctor_get(x_249, 1); +lean_inc(x_251); lean_dec(x_249); -x_262 = !lean_is_exclusive(x_254); -if (x_262 == 0) +x_252 = lean_unsigned_to_nat(1u); +x_253 = lean_array_get(x_246, x_4, x_252); +lean_dec(x_4); +x_254 = l_Lean_Syntax_getArgs(x_253); +lean_dec(x_253); +x_255 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_247, x_254, x_2, x_251); +if (lean_obj_tag(x_255) == 0) { -return x_254; +uint8_t x_256; +x_256 = !lean_is_exclusive(x_255); +if (x_256 == 0) +{ +lean_object* x_257; lean_object* x_258; +x_257 = lean_ctor_get(x_255, 0); +x_258 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_257, x_257, x_247, x_250); +lean_dec(x_257); +lean_ctor_set(x_255, 0, x_258); +return x_255; } 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_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_259 = lean_ctor_get(x_255, 0); +x_260 = lean_ctor_get(x_255, 1); +lean_inc(x_260); +lean_inc(x_259); +lean_dec(x_255); +x_261 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_259, x_259, x_247, x_250); +lean_dec(x_259); +x_262 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_260); +return x_262; +} +} +else +{ +uint8_t x_263; +lean_dec(x_250); +x_263 = !lean_is_exclusive(x_255); +if (x_263 == 0) +{ +return x_255; +} +else +{ +lean_object* x_264; lean_object* x_265; lean_object* x_266; +x_264 = lean_ctor_get(x_255, 0); +x_265 = lean_ctor_get(x_255, 1); +lean_inc(x_265); 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_dec(x_255); +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_264); +lean_ctor_set(x_266, 1, x_265); +return x_266; } } } else { -uint8_t x_266; +uint8_t x_267; lean_dec(x_4); lean_dec(x_2); -x_266 = !lean_is_exclusive(x_248); -if (x_266 == 0) +x_267 = !lean_is_exclusive(x_249); +if (x_267 == 0) { -return x_248; +return x_249; } else { -lean_object* x_267; lean_object* x_268; lean_object* x_269; -x_267 = lean_ctor_get(x_248, 0); -x_268 = lean_ctor_get(x_248, 1); +lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_268 = lean_ctor_get(x_249, 0); +x_269 = lean_ctor_get(x_249, 1); +lean_inc(x_269); lean_inc(x_268); -lean_inc(x_267); -lean_dec(x_248); -x_269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_269, 0, x_267); -lean_ctor_set(x_269, 1, x_268); -return x_269; +lean_dec(x_249); +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_268); +lean_ctor_set(x_270, 1, x_269); +return x_270; } } } } else { -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; -lean_free_object(x_95); +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +lean_free_object(x_96); +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_270 = l_Lean_Syntax_inhabited; -x_271 = lean_unsigned_to_nat(1u); -x_272 = lean_array_get(x_270, x_4, x_271); -lean_inc(x_272); -x_273 = l_Lean_Syntax_getKind(x_272); -if (lean_obj_tag(x_273) == 1) -{ -lean_object* x_274; -x_274 = lean_ctor_get(x_273, 0); -lean_inc(x_274); +x_271 = l_Lean_Syntax_inhabited; +x_272 = lean_unsigned_to_nat(1u); +x_273 = lean_array_get(x_271, x_4, x_272); +lean_inc(x_273); +x_274 = l_Lean_Syntax_getKind(x_273); if (lean_obj_tag(x_274) == 1) { lean_object* x_275; @@ -15111,12 +15138,14 @@ if (lean_obj_tag(x_276) == 1) lean_object* x_277; x_277 = lean_ctor_get(x_276, 0); lean_inc(x_277); -if (lean_obj_tag(x_277) == 0) +if (lean_obj_tag(x_277) == 1) { -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_object* x_278; +x_278 = lean_ctor_get(x_277, 0); lean_inc(x_278); -lean_dec(x_273); +if (lean_obj_tag(x_278) == 0) +{ +lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; uint8_t x_283; x_279 = lean_ctor_get(x_274, 1); lean_inc(x_279); lean_dec(x_274); @@ -15126,439 +15155,444 @@ lean_dec(x_275); x_281 = lean_ctor_get(x_276, 1); lean_inc(x_281); lean_dec(x_276); -x_282 = lean_string_dec_eq(x_281, x_129); +x_282 = lean_ctor_get(x_277, 1); +lean_inc(x_282); +lean_dec(x_277); +x_283 = lean_string_dec_eq(x_282, x_130); +lean_dec(x_282); +if (x_283 == 0) +{ +lean_object* x_284; lean_object* x_285; lean_dec(x_281); -if (x_282 == 0) -{ -lean_object* x_283; lean_object* x_284; lean_dec(x_280); lean_dec(x_279); -lean_dec(x_278); -lean_dec(x_272); -x_283 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_284 = l_unreachable_x21___rarg(x_283); -x_5 = x_284; -goto block_94; +lean_dec(x_273); +x_284 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_285 = l_unreachable_x21___rarg(x_284); +x_5 = x_285; +goto block_95; } else { -uint8_t x_285; -x_285 = lean_string_dec_eq(x_280, x_135); +uint8_t x_286; +x_286 = lean_string_dec_eq(x_281, x_136); +lean_dec(x_281); +if (x_286 == 0) +{ +lean_object* x_287; lean_object* x_288; lean_dec(x_280); -if (x_285 == 0) -{ -lean_object* x_286; lean_object* x_287; lean_dec(x_279); -lean_dec(x_278); -lean_dec(x_272); -x_286 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_287 = l_unreachable_x21___rarg(x_286); -x_5 = x_287; -goto block_94; +lean_dec(x_273); +x_287 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_288 = l_unreachable_x21___rarg(x_287); +x_5 = x_288; +goto block_95; } else { -uint8_t x_288; -x_288 = lean_string_dec_eq(x_279, x_144); +uint8_t x_289; +x_289 = lean_string_dec_eq(x_280, x_145); +lean_dec(x_280); +if (x_289 == 0) +{ +lean_object* x_290; lean_object* x_291; lean_dec(x_279); -if (x_288 == 0) +lean_dec(x_273); +x_290 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_291 = l_unreachable_x21___rarg(x_290); +x_5 = x_291; +goto block_95; +} +else { -lean_object* x_289; lean_object* x_290; +lean_object* x_292; uint8_t x_293; +x_292 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_293 = lean_string_dec_eq(x_279, x_292); +if (x_293 == 0) +{ +lean_object* x_294; uint8_t x_295; +x_294 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; +x_295 = lean_string_dec_eq(x_279, x_294); +lean_dec(x_279); +if (x_295 == 0) +{ +lean_object* x_296; lean_object* x_297; +lean_dec(x_273); +x_296 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_297 = l_unreachable_x21___rarg(x_296); +x_5 = x_297; +goto block_95; +} +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; +x_298 = lean_unsigned_to_nat(0u); +x_299 = l_Lean_Syntax_getArg(x_273, x_298); +x_300 = l_Lean_Syntax_getIdAt(x_299, x_298); +lean_dec(x_299); +x_301 = lean_unsigned_to_nat(3u); +x_302 = l_Lean_Syntax_getArg(x_273, x_301); +lean_dec(x_273); +x_303 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_303, 0, x_300); +lean_ctor_set(x_303, 1, x_302); +x_5 = x_303; +goto block_95; +} +} +else +{ +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; +lean_dec(x_279); +x_304 = lean_unsigned_to_nat(0u); +x_305 = l_Lean_Syntax_getIdAt(x_273, x_304); +x_306 = lean_unsigned_to_nat(4u); +x_307 = l_Lean_Syntax_getArg(x_273, x_306); +lean_dec(x_273); +x_308 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_308, 0, x_305); +lean_ctor_set(x_308, 1, x_307); +x_5 = x_308; +goto block_95; +} +} +} +} +} +else +{ +lean_object* x_309; lean_object* x_310; lean_dec(x_278); -lean_dec(x_272); -x_289 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_290 = l_unreachable_x21___rarg(x_289); -x_5 = x_290; -goto block_94; -} -else -{ -lean_object* x_291; uint8_t x_292; -x_291 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_292 = lean_string_dec_eq(x_278, x_291); -if (x_292 == 0) -{ -lean_object* x_293; uint8_t x_294; -x_293 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; -x_294 = lean_string_dec_eq(x_278, x_293); -lean_dec(x_278); -if (x_294 == 0) -{ -lean_object* x_295; lean_object* x_296; -lean_dec(x_272); -x_295 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_296 = l_unreachable_x21___rarg(x_295); -x_5 = x_296; -goto block_94; -} -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; -x_297 = lean_unsigned_to_nat(0u); -x_298 = l_Lean_Syntax_getArg(x_272, x_297); -x_299 = l_Lean_Syntax_getIdAt(x_298, x_297); -lean_dec(x_298); -x_300 = lean_unsigned_to_nat(3u); -x_301 = l_Lean_Syntax_getArg(x_272, x_300); -lean_dec(x_272); -x_302 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_302, 0, x_299); -lean_ctor_set(x_302, 1, x_301); -x_5 = x_302; -goto block_94; -} -} -else -{ -lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; -lean_dec(x_278); -x_303 = lean_unsigned_to_nat(0u); -x_304 = l_Lean_Syntax_getIdAt(x_272, x_303); -x_305 = lean_unsigned_to_nat(4u); -x_306 = l_Lean_Syntax_getArg(x_272, x_305); -lean_dec(x_272); -x_307 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_307, 0, x_304); -lean_ctor_set(x_307, 1, x_306); -x_5 = x_307; -goto block_94; -} -} -} -} -} -else -{ -lean_object* x_308; lean_object* x_309; lean_dec(x_277); lean_dec(x_276); lean_dec(x_275); lean_dec(x_274); lean_dec(x_273); -lean_dec(x_272); -x_308 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_309 = l_unreachable_x21___rarg(x_308); -x_5 = x_309; -goto block_94; +x_309 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_310 = l_unreachable_x21___rarg(x_309); +x_5 = x_310; +goto block_95; } } else { -lean_object* x_310; lean_object* x_311; +lean_object* x_311; lean_object* x_312; +lean_dec(x_277); lean_dec(x_276); lean_dec(x_275); lean_dec(x_274); lean_dec(x_273); -lean_dec(x_272); -x_310 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_311 = l_unreachable_x21___rarg(x_310); -x_5 = x_311; -goto block_94; +x_311 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_312 = l_unreachable_x21___rarg(x_311); +x_5 = x_312; +goto block_95; } } else { -lean_object* x_312; lean_object* x_313; +lean_object* x_313; lean_object* x_314; +lean_dec(x_276); lean_dec(x_275); lean_dec(x_274); lean_dec(x_273); -lean_dec(x_272); -x_312 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_313 = l_unreachable_x21___rarg(x_312); -x_5 = x_313; -goto block_94; +x_313 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_314 = l_unreachable_x21___rarg(x_313); +x_5 = x_314; +goto block_95; } } else { -lean_object* x_314; lean_object* x_315; +lean_object* x_315; lean_object* x_316; +lean_dec(x_275); lean_dec(x_274); lean_dec(x_273); -lean_dec(x_272); -x_314 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_315 = l_unreachable_x21___rarg(x_314); -x_5 = x_315; -goto block_94; +x_315 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_316 = l_unreachable_x21___rarg(x_315); +x_5 = x_316; +goto block_95; } } else { -lean_object* x_316; lean_object* x_317; +lean_object* x_317; lean_object* x_318; +lean_dec(x_274); lean_dec(x_273); -lean_dec(x_272); -x_316 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_317 = l_unreachable_x21___rarg(x_316); -x_5 = x_317; -goto block_94; +x_317 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_318 = l_unreachable_x21___rarg(x_317); +x_5 = x_318; +goto block_95; } } } else { -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; uint8_t x_326; -lean_free_object(x_95); +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; uint8_t x_327; +lean_free_object(x_96); +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_318 = l_Lean_Syntax_inhabited; -x_319 = lean_unsigned_to_nat(1u); -x_320 = lean_array_get(x_318, x_4, x_319); -x_321 = l_Lean_Syntax_getArgs(x_320); -lean_dec(x_320); -x_322 = lean_unsigned_to_nat(3u); -x_323 = lean_array_get(x_318, x_4, x_322); +x_319 = l_Lean_Syntax_inhabited; +x_320 = lean_unsigned_to_nat(1u); +x_321 = lean_array_get(x_319, x_4, x_320); +x_322 = l_Lean_Syntax_getArgs(x_321); +lean_dec(x_321); +x_323 = lean_unsigned_to_nat(3u); +x_324 = lean_array_get(x_319, x_4, x_323); lean_dec(x_4); -x_324 = lean_array_get_size(x_321); -x_325 = lean_unsigned_to_nat(0u); -x_326 = lean_nat_dec_eq(x_324, x_325); -lean_dec(x_324); -if (x_326 == 0) +x_325 = lean_array_get_size(x_322); +x_326 = lean_unsigned_to_nat(0u); +x_327 = lean_nat_dec_eq(x_325, x_326); +lean_dec(x_325); +if (x_327 == 0) { -lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; uint8_t x_332; -x_327 = lean_array_get(x_318, x_321, x_325); -x_328 = lean_name_mk_string(x_117, x_129); -x_329 = lean_name_mk_string(x_328, x_135); -x_330 = lean_name_mk_string(x_329, x_144); -lean_inc(x_330); -x_331 = lean_name_mk_string(x_330, x_153); -lean_inc(x_327); -x_332 = l_Lean_Syntax_isOfKind(x_327, x_331); -lean_dec(x_331); -if (x_332 == 0) +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_array_get(x_319, x_322, x_326); +x_329 = lean_name_mk_string(x_118, x_130); +x_330 = lean_name_mk_string(x_329, x_136); +x_331 = lean_name_mk_string(x_330, x_145); +lean_inc(x_331); +x_332 = lean_name_mk_string(x_331, x_154); +lean_inc(x_328); +x_333 = l_Lean_Syntax_isOfKind(x_328, x_332); +lean_dec(x_332); +if (x_333 == 0) { -lean_object* x_333; lean_object* x_334; uint8_t x_335; -x_333 = l_Lean_Parser_Level_hole___elambda__1___closed__1; -lean_inc(x_330); -x_334 = lean_name_mk_string(x_330, x_333); -lean_inc(x_327); -x_335 = l_Lean_Syntax_isOfKind(x_327, x_334); -lean_dec(x_334); -if (x_335 == 0) +lean_object* x_334; lean_object* x_335; uint8_t x_336; +x_334 = l_Lean_Parser_Level_hole___elambda__1___closed__1; +lean_inc(x_331); +x_335 = lean_name_mk_string(x_331, x_334); +lean_inc(x_328); +x_336 = l_Lean_Syntax_isOfKind(x_328, x_335); +lean_dec(x_335); +if (x_336 == 0) { -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; -x_336 = l_Lean_Syntax_getArg(x_327, x_319); -lean_dec(x_327); -x_337 = l_Lean_Syntax_getArg(x_336, x_325); -x_338 = l_Lean_Syntax_getIdAt(x_337, x_325); -lean_dec(x_337); -x_339 = l_Lean_Syntax_getArg(x_336, x_319); -lean_dec(x_336); -x_340 = l_Lean_Syntax_getArg(x_339, x_325); -lean_dec(x_339); -x_341 = l_Lean_Syntax_getArg(x_340, x_319); -lean_dec(x_340); -lean_inc(x_2); -x_342 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_341, x_2, x_3); -if (lean_obj_tag(x_342) == 0) -{ -lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; uint8_t 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; uint8_t x_365; -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 = l_Lean_Elab_Term_getLCtx(x_2, 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 = 0; -lean_inc_n(x_338, 2); -x_349 = lean_local_ctx_mk_local_decl(x_346, x_338, x_338, x_343, x_348); -x_350 = l_Array_eraseIdx___rarg(x_321, x_325); -x_351 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_347); -x_352 = lean_ctor_get(x_351, 1); -lean_inc(x_352); -lean_dec(x_351); -x_353 = lean_name_mk_string(x_330, x_155); -x_354 = l_Lean_nullKind___closed__1; -x_355 = lean_name_mk_string(x_117, x_354); -x_356 = l_Array_empty___closed__1; -x_357 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_350, x_350, x_325, x_356); -lean_dec(x_350); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_355); -lean_ctor_set(x_358, 1, x_357); -x_359 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_360 = lean_array_push(x_359, x_358); -x_361 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_362 = lean_array_push(x_360, x_361); -x_363 = lean_array_push(x_362, x_323); -x_364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_364, 0, x_353); -lean_ctor_set(x_364, 1, x_363); -x_365 = !lean_is_exclusive(x_2); -if (x_365 == 0) -{ -lean_object* x_366; uint8_t x_367; -x_366 = lean_ctor_get(x_2, 0); -x_367 = !lean_is_exclusive(x_366); -if (x_367 == 0) -{ -lean_object* x_368; lean_object* x_369; -x_368 = lean_ctor_get(x_366, 1); -lean_dec(x_368); -lean_inc(x_349); -lean_ctor_set(x_366, 1, x_349); -x_369 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_364, x_2, x_352); -if (lean_obj_tag(x_369) == 0) -{ -uint8_t x_370; -x_370 = !lean_is_exclusive(x_369); -if (x_370 == 0) -{ -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_369, 0); -x_372 = l_Lean_mkFVar(x_338); -x_373 = l_Lean_FileMap_ofString___closed__1; -x_374 = lean_array_push(x_373, x_372); -x_375 = l_Lean_LocalContext_mkLambda(x_349, x_374, x_371); -lean_dec(x_371); -lean_dec(x_374); -lean_ctor_set(x_369, 0, x_375); -return x_369; -} -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; -x_376 = lean_ctor_get(x_369, 0); -x_377 = lean_ctor_get(x_369, 1); -lean_inc(x_377); -lean_inc(x_376); -lean_dec(x_369); -x_378 = l_Lean_mkFVar(x_338); -x_379 = l_Lean_FileMap_ofString___closed__1; -x_380 = lean_array_push(x_379, x_378); -x_381 = l_Lean_LocalContext_mkLambda(x_349, x_380, x_376); -lean_dec(x_376); -lean_dec(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_377); -return x_382; -} -} -else -{ -uint8_t x_383; -lean_dec(x_349); +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; +x_337 = l_Lean_Syntax_getArg(x_328, x_320); +lean_dec(x_328); +x_338 = l_Lean_Syntax_getArg(x_337, x_326); +x_339 = l_Lean_Syntax_getIdAt(x_338, x_326); lean_dec(x_338); -x_383 = !lean_is_exclusive(x_369); -if (x_383 == 0) +x_340 = l_Lean_Syntax_getArg(x_337, x_320); +lean_dec(x_337); +x_341 = l_Lean_Syntax_getArg(x_340, x_326); +lean_dec(x_340); +x_342 = l_Lean_Syntax_getArg(x_341, x_320); +lean_dec(x_341); +lean_inc(x_2); +x_343 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_342, x_2, x_3); +if (lean_obj_tag(x_343) == 0) { -return x_369; -} -else +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; uint8_t 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; uint8_t x_366; +x_344 = lean_ctor_get(x_343, 0); +lean_inc(x_344); +x_345 = lean_ctor_get(x_343, 1); +lean_inc(x_345); +lean_dec(x_343); +x_346 = l_Lean_Elab_Term_getLCtx(x_2, x_345); +x_347 = lean_ctor_get(x_346, 0); +lean_inc(x_347); +x_348 = lean_ctor_get(x_346, 1); +lean_inc(x_348); +lean_dec(x_346); +x_349 = 0; +lean_inc_n(x_339, 2); +x_350 = lean_local_ctx_mk_local_decl(x_347, x_339, x_339, x_344, x_349); +x_351 = l_Array_eraseIdx___rarg(x_322, x_326); +x_352 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_348); +x_353 = lean_ctor_get(x_352, 1); +lean_inc(x_353); +lean_dec(x_352); +x_354 = lean_name_mk_string(x_331, x_156); +x_355 = l_Lean_nullKind___closed__1; +x_356 = lean_name_mk_string(x_118, x_355); +x_357 = l_Array_empty___closed__1; +x_358 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_351, x_351, x_326, x_357); +lean_dec(x_351); +x_359 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_359, 0, x_356); +lean_ctor_set(x_359, 1, x_358); +x_360 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_361 = lean_array_push(x_360, x_359); +x_362 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_363 = lean_array_push(x_361, x_362); +x_364 = lean_array_push(x_363, x_324); +x_365 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_365, 0, x_354); +lean_ctor_set(x_365, 1, x_364); +x_366 = !lean_is_exclusive(x_2); +if (x_366 == 0) { -lean_object* x_384; lean_object* x_385; lean_object* x_386; -x_384 = lean_ctor_get(x_369, 0); -x_385 = lean_ctor_get(x_369, 1); -lean_inc(x_385); -lean_inc(x_384); +lean_object* x_367; uint8_t x_368; +x_367 = lean_ctor_get(x_2, 0); +x_368 = !lean_is_exclusive(x_367); +if (x_368 == 0) +{ +lean_object* x_369; lean_object* x_370; +x_369 = lean_ctor_get(x_367, 1); lean_dec(x_369); -x_386 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_386, 0, x_384); -lean_ctor_set(x_386, 1, x_385); -return x_386; +lean_inc(x_350); +lean_ctor_set(x_367, 1, x_350); +x_370 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_365, x_2, x_353); +if (lean_obj_tag(x_370) == 0) +{ +uint8_t x_371; +x_371 = !lean_is_exclusive(x_370); +if (x_371 == 0) +{ +lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; +x_372 = lean_ctor_get(x_370, 0); +x_373 = l_Lean_mkFVar(x_339); +x_374 = l_Lean_FileMap_ofString___closed__1; +x_375 = lean_array_push(x_374, x_373); +x_376 = l_Lean_LocalContext_mkLambda(x_350, x_375, x_372); +lean_dec(x_372); +lean_dec(x_375); +lean_ctor_set(x_370, 0, x_376); +return x_370; +} +else +{ +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; +x_377 = lean_ctor_get(x_370, 0); +x_378 = lean_ctor_get(x_370, 1); +lean_inc(x_378); +lean_inc(x_377); +lean_dec(x_370); +x_379 = l_Lean_mkFVar(x_339); +x_380 = l_Lean_FileMap_ofString___closed__1; +x_381 = lean_array_push(x_380, x_379); +x_382 = l_Lean_LocalContext_mkLambda(x_350, x_381, x_377); +lean_dec(x_377); +lean_dec(x_381); +x_383 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_383, 0, x_382); +lean_ctor_set(x_383, 1, x_378); +return x_383; +} +} +else +{ +uint8_t x_384; +lean_dec(x_350); +lean_dec(x_339); +x_384 = !lean_is_exclusive(x_370); +if (x_384 == 0) +{ +return x_370; +} +else +{ +lean_object* x_385; lean_object* x_386; lean_object* x_387; +x_385 = lean_ctor_get(x_370, 0); +x_386 = lean_ctor_get(x_370, 1); +lean_inc(x_386); +lean_inc(x_385); +lean_dec(x_370); +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; } } } 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; -x_387 = lean_ctor_get(x_366, 0); -x_388 = lean_ctor_get(x_366, 2); -x_389 = lean_ctor_get(x_366, 3); -x_390 = lean_ctor_get(x_366, 4); +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_388 = lean_ctor_get(x_367, 0); +x_389 = lean_ctor_get(x_367, 2); +x_390 = lean_ctor_get(x_367, 3); +x_391 = lean_ctor_get(x_367, 4); +lean_inc(x_391); lean_inc(x_390); lean_inc(x_389); lean_inc(x_388); -lean_inc(x_387); -lean_dec(x_366); -lean_inc(x_349); -x_391 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_391, 0, x_387); -lean_ctor_set(x_391, 1, x_349); -lean_ctor_set(x_391, 2, x_388); -lean_ctor_set(x_391, 3, x_389); -lean_ctor_set(x_391, 4, x_390); -lean_ctor_set(x_2, 0, x_391); -x_392 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_364, x_2, x_352); -if (lean_obj_tag(x_392) == 0) +lean_dec(x_367); +lean_inc(x_350); +x_392 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_392, 0, x_388); +lean_ctor_set(x_392, 1, x_350); +lean_ctor_set(x_392, 2, x_389); +lean_ctor_set(x_392, 3, x_390); +lean_ctor_set(x_392, 4, x_391); +lean_ctor_set(x_2, 0, x_392); +x_393 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_365, x_2, x_353); +if (lean_obj_tag(x_393) == 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; -x_393 = lean_ctor_get(x_392, 0); -lean_inc(x_393); -x_394 = lean_ctor_get(x_392, 1); +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; +x_394 = lean_ctor_get(x_393, 0); lean_inc(x_394); -if (lean_is_exclusive(x_392)) { - lean_ctor_release(x_392, 0); - lean_ctor_release(x_392, 1); - x_395 = x_392; +x_395 = lean_ctor_get(x_393, 1); +lean_inc(x_395); +if (lean_is_exclusive(x_393)) { + lean_ctor_release(x_393, 0); + lean_ctor_release(x_393, 1); + x_396 = x_393; } else { - lean_dec_ref(x_392); - x_395 = lean_box(0); + lean_dec_ref(x_393); + x_396 = lean_box(0); } -x_396 = l_Lean_mkFVar(x_338); -x_397 = l_Lean_FileMap_ofString___closed__1; -x_398 = lean_array_push(x_397, x_396); -x_399 = l_Lean_LocalContext_mkLambda(x_349, x_398, x_393); -lean_dec(x_393); -lean_dec(x_398); -if (lean_is_scalar(x_395)) { - x_400 = lean_alloc_ctor(0, 2, 0); +x_397 = l_Lean_mkFVar(x_339); +x_398 = l_Lean_FileMap_ofString___closed__1; +x_399 = lean_array_push(x_398, x_397); +x_400 = l_Lean_LocalContext_mkLambda(x_350, x_399, x_394); +lean_dec(x_394); +lean_dec(x_399); +if (lean_is_scalar(x_396)) { + x_401 = lean_alloc_ctor(0, 2, 0); } else { - x_400 = x_395; + x_401 = x_396; } -lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_394); -return x_400; +lean_ctor_set(x_401, 0, x_400); +lean_ctor_set(x_401, 1, x_395); +return x_401; } else { -lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; -lean_dec(x_349); -lean_dec(x_338); -x_401 = lean_ctor_get(x_392, 0); -lean_inc(x_401); -x_402 = lean_ctor_get(x_392, 1); +lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; +lean_dec(x_350); +lean_dec(x_339); +x_402 = lean_ctor_get(x_393, 0); lean_inc(x_402); -if (lean_is_exclusive(x_392)) { - lean_ctor_release(x_392, 0); - lean_ctor_release(x_392, 1); - x_403 = x_392; +x_403 = lean_ctor_get(x_393, 1); +lean_inc(x_403); +if (lean_is_exclusive(x_393)) { + lean_ctor_release(x_393, 0); + lean_ctor_release(x_393, 1); + x_404 = x_393; } else { - lean_dec_ref(x_392); - x_403 = lean_box(0); + lean_dec_ref(x_393); + x_404 = lean_box(0); } -if (lean_is_scalar(x_403)) { - x_404 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_404)) { + x_405 = lean_alloc_ctor(1, 2, 0); } else { - x_404 = x_403; + x_405 = x_404; } -lean_ctor_set(x_404, 0, x_401); -lean_ctor_set(x_404, 1, x_402); -return x_404; +lean_ctor_set(x_405, 0, x_402); +lean_ctor_set(x_405, 1, x_403); +return x_405; } } } else { -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; uint8_t 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_405 = lean_ctor_get(x_2, 0); -x_406 = lean_ctor_get(x_2, 1); -x_407 = lean_ctor_get(x_2, 2); -x_408 = lean_ctor_get(x_2, 3); -x_409 = lean_ctor_get(x_2, 4); -x_410 = lean_ctor_get(x_2, 5); -x_411 = lean_ctor_get(x_2, 6); -x_412 = lean_ctor_get(x_2, 7); -x_413 = lean_ctor_get(x_2, 8); -x_414 = lean_ctor_get(x_2, 9); -x_415 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +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; uint8_t x_416; uint8_t 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; +x_406 = lean_ctor_get(x_2, 0); +x_407 = lean_ctor_get(x_2, 1); +x_408 = lean_ctor_get(x_2, 2); +x_409 = lean_ctor_get(x_2, 3); +x_410 = lean_ctor_get(x_2, 4); +x_411 = lean_ctor_get(x_2, 5); +x_412 = lean_ctor_get(x_2, 6); +x_413 = lean_ctor_get(x_2, 7); +x_414 = lean_ctor_get(x_2, 8); +x_415 = lean_ctor_get(x_2, 9); +x_416 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_417 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +lean_inc(x_415); lean_inc(x_414); lean_inc(x_413); lean_inc(x_412); @@ -15568,344 +15602,347 @@ lean_inc(x_409); lean_inc(x_408); lean_inc(x_407); lean_inc(x_406); -lean_inc(x_405); lean_dec(x_2); -x_416 = lean_ctor_get(x_405, 0); -lean_inc(x_416); -x_417 = lean_ctor_get(x_405, 2); -lean_inc(x_417); -x_418 = lean_ctor_get(x_405, 3); +x_418 = lean_ctor_get(x_406, 0); lean_inc(x_418); -x_419 = lean_ctor_get(x_405, 4); +x_419 = lean_ctor_get(x_406, 2); lean_inc(x_419); -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); - lean_ctor_release(x_405, 4); - x_420 = x_405; +x_420 = lean_ctor_get(x_406, 3); +lean_inc(x_420); +x_421 = lean_ctor_get(x_406, 4); +lean_inc(x_421); +if (lean_is_exclusive(x_406)) { + lean_ctor_release(x_406, 0); + lean_ctor_release(x_406, 1); + lean_ctor_release(x_406, 2); + lean_ctor_release(x_406, 3); + lean_ctor_release(x_406, 4); + x_422 = x_406; } else { - lean_dec_ref(x_405); - x_420 = lean_box(0); + lean_dec_ref(x_406); + x_422 = lean_box(0); } -lean_inc(x_349); -if (lean_is_scalar(x_420)) { - x_421 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_350); +if (lean_is_scalar(x_422)) { + x_423 = lean_alloc_ctor(0, 5, 0); } else { - x_421 = x_420; + x_423 = x_422; } -lean_ctor_set(x_421, 0, x_416); -lean_ctor_set(x_421, 1, x_349); -lean_ctor_set(x_421, 2, x_417); -lean_ctor_set(x_421, 3, x_418); -lean_ctor_set(x_421, 4, x_419); -x_422 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_422, 0, x_421); -lean_ctor_set(x_422, 1, x_406); -lean_ctor_set(x_422, 2, x_407); -lean_ctor_set(x_422, 3, x_408); -lean_ctor_set(x_422, 4, x_409); -lean_ctor_set(x_422, 5, x_410); -lean_ctor_set(x_422, 6, x_411); -lean_ctor_set(x_422, 7, x_412); -lean_ctor_set(x_422, 8, x_413); -lean_ctor_set(x_422, 9, x_414); -lean_ctor_set_uint8(x_422, sizeof(void*)*10, x_415); -x_423 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_364, x_422, x_352); -if (lean_obj_tag(x_423) == 0) +lean_ctor_set(x_423, 0, x_418); +lean_ctor_set(x_423, 1, x_350); +lean_ctor_set(x_423, 2, x_419); +lean_ctor_set(x_423, 3, x_420); +lean_ctor_set(x_423, 4, x_421); +x_424 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_424, 0, x_423); +lean_ctor_set(x_424, 1, x_407); +lean_ctor_set(x_424, 2, x_408); +lean_ctor_set(x_424, 3, x_409); +lean_ctor_set(x_424, 4, x_410); +lean_ctor_set(x_424, 5, x_411); +lean_ctor_set(x_424, 6, x_412); +lean_ctor_set(x_424, 7, x_413); +lean_ctor_set(x_424, 8, x_414); +lean_ctor_set(x_424, 9, x_415); +lean_ctor_set_uint8(x_424, sizeof(void*)*10, x_416); +lean_ctor_set_uint8(x_424, sizeof(void*)*10 + 1, x_417); +x_425 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_365, x_424, x_353); +if (lean_obj_tag(x_425) == 0) { -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_424 = lean_ctor_get(x_423, 0); -lean_inc(x_424); -x_425 = lean_ctor_get(x_423, 1); -lean_inc(x_425); -if (lean_is_exclusive(x_423)) { - lean_ctor_release(x_423, 0); - lean_ctor_release(x_423, 1); - x_426 = x_423; +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_426 = lean_ctor_get(x_425, 0); +lean_inc(x_426); +x_427 = lean_ctor_get(x_425, 1); +lean_inc(x_427); +if (lean_is_exclusive(x_425)) { + lean_ctor_release(x_425, 0); + lean_ctor_release(x_425, 1); + x_428 = x_425; } else { - lean_dec_ref(x_423); - x_426 = lean_box(0); + lean_dec_ref(x_425); + x_428 = lean_box(0); } -x_427 = l_Lean_mkFVar(x_338); -x_428 = l_Lean_FileMap_ofString___closed__1; -x_429 = lean_array_push(x_428, x_427); -x_430 = l_Lean_LocalContext_mkLambda(x_349, x_429, x_424); -lean_dec(x_424); -lean_dec(x_429); -if (lean_is_scalar(x_426)) { - x_431 = lean_alloc_ctor(0, 2, 0); +x_429 = l_Lean_mkFVar(x_339); +x_430 = l_Lean_FileMap_ofString___closed__1; +x_431 = lean_array_push(x_430, x_429); +x_432 = l_Lean_LocalContext_mkLambda(x_350, x_431, x_426); +lean_dec(x_426); +lean_dec(x_431); +if (lean_is_scalar(x_428)) { + x_433 = lean_alloc_ctor(0, 2, 0); } else { - x_431 = x_426; + x_433 = x_428; } -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_425); -return x_431; +lean_ctor_set(x_433, 0, x_432); +lean_ctor_set(x_433, 1, x_427); +return x_433; } else { -lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; -lean_dec(x_349); -lean_dec(x_338); -x_432 = lean_ctor_get(x_423, 0); -lean_inc(x_432); -x_433 = lean_ctor_get(x_423, 1); -lean_inc(x_433); -if (lean_is_exclusive(x_423)) { - lean_ctor_release(x_423, 0); - lean_ctor_release(x_423, 1); - x_434 = x_423; +lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; +lean_dec(x_350); +lean_dec(x_339); +x_434 = lean_ctor_get(x_425, 0); +lean_inc(x_434); +x_435 = lean_ctor_get(x_425, 1); +lean_inc(x_435); +if (lean_is_exclusive(x_425)) { + lean_ctor_release(x_425, 0); + lean_ctor_release(x_425, 1); + x_436 = x_425; } else { - lean_dec_ref(x_423); - x_434 = lean_box(0); + lean_dec_ref(x_425); + x_436 = lean_box(0); } -if (lean_is_scalar(x_434)) { - x_435 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_436)) { + x_437 = lean_alloc_ctor(1, 2, 0); } else { - x_435 = x_434; + x_437 = x_436; } -lean_ctor_set(x_435, 0, x_432); -lean_ctor_set(x_435, 1, x_433); -return x_435; +lean_ctor_set(x_437, 0, x_434); +lean_ctor_set(x_437, 1, x_435); +return x_437; } } } else { -uint8_t x_436; -lean_dec(x_338); -lean_dec(x_330); -lean_dec(x_323); -lean_dec(x_321); +uint8_t x_438; +lean_dec(x_339); +lean_dec(x_331); +lean_dec(x_324); +lean_dec(x_322); lean_dec(x_2); -x_436 = !lean_is_exclusive(x_342); -if (x_436 == 0) +x_438 = !lean_is_exclusive(x_343); +if (x_438 == 0) { -return x_342; +return x_343; } else { -lean_object* x_437; lean_object* x_438; lean_object* x_439; -x_437 = lean_ctor_get(x_342, 0); -x_438 = lean_ctor_get(x_342, 1); -lean_inc(x_438); -lean_inc(x_437); -lean_dec(x_342); -x_439 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_439, 0, x_437); -lean_ctor_set(x_439, 1, x_438); -return x_439; +lean_object* x_439; lean_object* x_440; lean_object* x_441; +x_439 = lean_ctor_get(x_343, 0); +x_440 = lean_ctor_get(x_343, 1); +lean_inc(x_440); +lean_inc(x_439); +lean_dec(x_343); +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; } } } else { -lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; uint8_t 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; uint8_t x_463; -lean_dec(x_327); -x_440 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_441 = lean_name_mk_string(x_117, x_440); -x_442 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -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___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_446 = 0; -lean_inc_n(x_441, 2); -x_447 = lean_local_ctx_mk_local_decl(x_443, x_441, x_441, x_445, x_446); -x_448 = l_Array_eraseIdx___rarg(x_321, x_325); -x_449 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_444); -x_450 = lean_ctor_get(x_449, 1); -lean_inc(x_450); -lean_dec(x_449); -x_451 = lean_name_mk_string(x_330, x_155); -x_452 = l_Lean_nullKind___closed__1; -x_453 = lean_name_mk_string(x_117, x_452); -x_454 = l_Array_empty___closed__1; -x_455 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_448, x_448, x_325, x_454); -lean_dec(x_448); -x_456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_456, 0, x_453); -lean_ctor_set(x_456, 1, x_455); -x_457 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_458 = lean_array_push(x_457, x_456); -x_459 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_460 = lean_array_push(x_458, x_459); -x_461 = lean_array_push(x_460, x_323); -x_462 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_462, 0, x_451); -lean_ctor_set(x_462, 1, x_461); -x_463 = !lean_is_exclusive(x_2); -if (x_463 == 0) -{ -lean_object* x_464; uint8_t x_465; -x_464 = lean_ctor_get(x_2, 0); -x_465 = !lean_is_exclusive(x_464); +lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; uint8_t 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; uint8_t x_465; +lean_dec(x_328); +x_442 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_443 = lean_name_mk_string(x_118, x_442); +x_444 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +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_447 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_448 = 0; +lean_inc_n(x_443, 2); +x_449 = lean_local_ctx_mk_local_decl(x_445, x_443, x_443, x_447, x_448); +x_450 = l_Array_eraseIdx___rarg(x_322, x_326); +x_451 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_446); +x_452 = lean_ctor_get(x_451, 1); +lean_inc(x_452); +lean_dec(x_451); +x_453 = lean_name_mk_string(x_331, x_156); +x_454 = l_Lean_nullKind___closed__1; +x_455 = lean_name_mk_string(x_118, x_454); +x_456 = l_Array_empty___closed__1; +x_457 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_450, x_450, x_326, x_456); +lean_dec(x_450); +x_458 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_458, 0, x_455); +lean_ctor_set(x_458, 1, x_457); +x_459 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_460 = lean_array_push(x_459, x_458); +x_461 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_462 = lean_array_push(x_460, x_461); +x_463 = lean_array_push(x_462, x_324); +x_464 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_464, 0, x_453); +lean_ctor_set(x_464, 1, x_463); +x_465 = !lean_is_exclusive(x_2); if (x_465 == 0) { -lean_object* x_466; lean_object* x_467; -x_466 = lean_ctor_get(x_464, 1); -lean_dec(x_466); -lean_inc(x_447); -lean_ctor_set(x_464, 1, x_447); -x_467 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_462, x_2, x_450); -if (lean_obj_tag(x_467) == 0) +lean_object* x_466; uint8_t x_467; +x_466 = lean_ctor_get(x_2, 0); +x_467 = !lean_is_exclusive(x_466); +if (x_467 == 0) { -uint8_t x_468; -x_468 = !lean_is_exclusive(x_467); -if (x_468 == 0) +lean_object* x_468; lean_object* x_469; +x_468 = lean_ctor_get(x_466, 1); +lean_dec(x_468); +lean_inc(x_449); +lean_ctor_set(x_466, 1, x_449); +x_469 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_464, x_2, x_452); +if (lean_obj_tag(x_469) == 0) { -lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; -x_469 = lean_ctor_get(x_467, 0); -x_470 = l_Lean_mkFVar(x_441); -x_471 = l_Lean_FileMap_ofString___closed__1; -x_472 = lean_array_push(x_471, x_470); -x_473 = l_Lean_LocalContext_mkLambda(x_447, x_472, x_469); -lean_dec(x_469); -lean_dec(x_472); -lean_ctor_set(x_467, 0, x_473); -return x_467; -} -else +uint8_t x_470; +x_470 = !lean_is_exclusive(x_469); +if (x_470 == 0) { -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; -x_474 = lean_ctor_get(x_467, 0); -x_475 = lean_ctor_get(x_467, 1); -lean_inc(x_475); -lean_inc(x_474); -lean_dec(x_467); -x_476 = l_Lean_mkFVar(x_441); -x_477 = l_Lean_FileMap_ofString___closed__1; -x_478 = lean_array_push(x_477, x_476); -x_479 = l_Lean_LocalContext_mkLambda(x_447, x_478, x_474); +lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; +x_471 = lean_ctor_get(x_469, 0); +x_472 = l_Lean_mkFVar(x_443); +x_473 = l_Lean_FileMap_ofString___closed__1; +x_474 = lean_array_push(x_473, x_472); +x_475 = l_Lean_LocalContext_mkLambda(x_449, x_474, x_471); +lean_dec(x_471); lean_dec(x_474); -lean_dec(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_475); -return x_480; +lean_ctor_set(x_469, 0, x_475); +return x_469; +} +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; +x_476 = lean_ctor_get(x_469, 0); +x_477 = lean_ctor_get(x_469, 1); +lean_inc(x_477); +lean_inc(x_476); +lean_dec(x_469); +x_478 = l_Lean_mkFVar(x_443); +x_479 = l_Lean_FileMap_ofString___closed__1; +x_480 = lean_array_push(x_479, x_478); +x_481 = l_Lean_LocalContext_mkLambda(x_449, x_480, x_476); +lean_dec(x_476); +lean_dec(x_480); +x_482 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_482, 0, x_481); +lean_ctor_set(x_482, 1, x_477); +return x_482; } } else { -uint8_t x_481; -lean_dec(x_447); -lean_dec(x_441); -x_481 = !lean_is_exclusive(x_467); -if (x_481 == 0) +uint8_t x_483; +lean_dec(x_449); +lean_dec(x_443); +x_483 = !lean_is_exclusive(x_469); +if (x_483 == 0) { -return x_467; +return x_469; } else { -lean_object* x_482; lean_object* x_483; lean_object* x_484; -x_482 = lean_ctor_get(x_467, 0); -x_483 = lean_ctor_get(x_467, 1); -lean_inc(x_483); -lean_inc(x_482); -lean_dec(x_467); -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_482); -lean_ctor_set(x_484, 1, x_483); -return x_484; +lean_object* x_484; lean_object* x_485; lean_object* x_486; +x_484 = lean_ctor_get(x_469, 0); +x_485 = lean_ctor_get(x_469, 1); +lean_inc(x_485); +lean_inc(x_484); +lean_dec(x_469); +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; } } } 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; -x_485 = lean_ctor_get(x_464, 0); -x_486 = lean_ctor_get(x_464, 2); -x_487 = lean_ctor_get(x_464, 3); -x_488 = lean_ctor_get(x_464, 4); +lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; +x_487 = lean_ctor_get(x_466, 0); +x_488 = lean_ctor_get(x_466, 2); +x_489 = lean_ctor_get(x_466, 3); +x_490 = lean_ctor_get(x_466, 4); +lean_inc(x_490); +lean_inc(x_489); lean_inc(x_488); lean_inc(x_487); -lean_inc(x_486); -lean_inc(x_485); -lean_dec(x_464); -lean_inc(x_447); -x_489 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_489, 0, x_485); -lean_ctor_set(x_489, 1, x_447); -lean_ctor_set(x_489, 2, x_486); -lean_ctor_set(x_489, 3, x_487); -lean_ctor_set(x_489, 4, x_488); -lean_ctor_set(x_2, 0, x_489); -x_490 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_462, x_2, x_450); -if (lean_obj_tag(x_490) == 0) +lean_dec(x_466); +lean_inc(x_449); +x_491 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_491, 0, x_487); +lean_ctor_set(x_491, 1, x_449); +lean_ctor_set(x_491, 2, x_488); +lean_ctor_set(x_491, 3, x_489); +lean_ctor_set(x_491, 4, x_490); +lean_ctor_set(x_2, 0, x_491); +x_492 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_464, x_2, x_452); +if (lean_obj_tag(x_492) == 0) { -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; -x_491 = lean_ctor_get(x_490, 0); -lean_inc(x_491); -x_492 = lean_ctor_get(x_490, 1); -lean_inc(x_492); -if (lean_is_exclusive(x_490)) { - lean_ctor_release(x_490, 0); - lean_ctor_release(x_490, 1); - x_493 = x_490; +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; +x_493 = lean_ctor_get(x_492, 0); +lean_inc(x_493); +x_494 = lean_ctor_get(x_492, 1); +lean_inc(x_494); +if (lean_is_exclusive(x_492)) { + lean_ctor_release(x_492, 0); + lean_ctor_release(x_492, 1); + x_495 = x_492; } else { - lean_dec_ref(x_490); - x_493 = lean_box(0); + lean_dec_ref(x_492); + x_495 = lean_box(0); } -x_494 = l_Lean_mkFVar(x_441); -x_495 = l_Lean_FileMap_ofString___closed__1; -x_496 = lean_array_push(x_495, x_494); -x_497 = l_Lean_LocalContext_mkLambda(x_447, x_496, x_491); -lean_dec(x_491); -lean_dec(x_496); -if (lean_is_scalar(x_493)) { - x_498 = lean_alloc_ctor(0, 2, 0); +x_496 = l_Lean_mkFVar(x_443); +x_497 = l_Lean_FileMap_ofString___closed__1; +x_498 = lean_array_push(x_497, x_496); +x_499 = l_Lean_LocalContext_mkLambda(x_449, x_498, x_493); +lean_dec(x_493); +lean_dec(x_498); +if (lean_is_scalar(x_495)) { + x_500 = lean_alloc_ctor(0, 2, 0); } else { - x_498 = x_493; + x_500 = x_495; } -lean_ctor_set(x_498, 0, x_497); -lean_ctor_set(x_498, 1, x_492); -return x_498; +lean_ctor_set(x_500, 0, x_499); +lean_ctor_set(x_500, 1, x_494); +return x_500; } else { -lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; -lean_dec(x_447); -lean_dec(x_441); -x_499 = lean_ctor_get(x_490, 0); -lean_inc(x_499); -x_500 = lean_ctor_get(x_490, 1); -lean_inc(x_500); -if (lean_is_exclusive(x_490)) { - lean_ctor_release(x_490, 0); - lean_ctor_release(x_490, 1); - x_501 = x_490; +lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; +lean_dec(x_449); +lean_dec(x_443); +x_501 = lean_ctor_get(x_492, 0); +lean_inc(x_501); +x_502 = lean_ctor_get(x_492, 1); +lean_inc(x_502); +if (lean_is_exclusive(x_492)) { + lean_ctor_release(x_492, 0); + lean_ctor_release(x_492, 1); + x_503 = x_492; } else { - lean_dec_ref(x_490); - x_501 = lean_box(0); + lean_dec_ref(x_492); + x_503 = lean_box(0); } -if (lean_is_scalar(x_501)) { - x_502 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_503)) { + x_504 = lean_alloc_ctor(1, 2, 0); } else { - x_502 = x_501; + x_504 = x_503; } -lean_ctor_set(x_502, 0, x_499); -lean_ctor_set(x_502, 1, x_500); -return x_502; +lean_ctor_set(x_504, 0, x_501); +lean_ctor_set(x_504, 1, x_502); +return x_504; } } } 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; uint8_t x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; -x_503 = lean_ctor_get(x_2, 0); -x_504 = lean_ctor_get(x_2, 1); -x_505 = lean_ctor_get(x_2, 2); -x_506 = lean_ctor_get(x_2, 3); -x_507 = lean_ctor_get(x_2, 4); -x_508 = lean_ctor_get(x_2, 5); -x_509 = lean_ctor_get(x_2, 6); -x_510 = lean_ctor_get(x_2, 7); -x_511 = lean_ctor_get(x_2, 8); -x_512 = lean_ctor_get(x_2, 9); -x_513 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +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; uint8_t x_515; uint8_t 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; +x_505 = lean_ctor_get(x_2, 0); +x_506 = lean_ctor_get(x_2, 1); +x_507 = lean_ctor_get(x_2, 2); +x_508 = lean_ctor_get(x_2, 3); +x_509 = lean_ctor_get(x_2, 4); +x_510 = lean_ctor_get(x_2, 5); +x_511 = lean_ctor_get(x_2, 6); +x_512 = lean_ctor_get(x_2, 7); +x_513 = lean_ctor_get(x_2, 8); +x_514 = lean_ctor_get(x_2, 9); +x_515 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_516 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +lean_inc(x_514); +lean_inc(x_513); lean_inc(x_512); lean_inc(x_511); lean_inc(x_510); @@ -15914,317 +15951,320 @@ lean_inc(x_508); lean_inc(x_507); lean_inc(x_506); lean_inc(x_505); -lean_inc(x_504); -lean_inc(x_503); lean_dec(x_2); -x_514 = lean_ctor_get(x_503, 0); -lean_inc(x_514); -x_515 = lean_ctor_get(x_503, 2); -lean_inc(x_515); -x_516 = lean_ctor_get(x_503, 3); -lean_inc(x_516); -x_517 = lean_ctor_get(x_503, 4); +x_517 = lean_ctor_get(x_505, 0); lean_inc(x_517); -if (lean_is_exclusive(x_503)) { - lean_ctor_release(x_503, 0); - lean_ctor_release(x_503, 1); - lean_ctor_release(x_503, 2); - lean_ctor_release(x_503, 3); - lean_ctor_release(x_503, 4); - x_518 = x_503; +x_518 = lean_ctor_get(x_505, 2); +lean_inc(x_518); +x_519 = lean_ctor_get(x_505, 3); +lean_inc(x_519); +x_520 = lean_ctor_get(x_505, 4); +lean_inc(x_520); +if (lean_is_exclusive(x_505)) { + lean_ctor_release(x_505, 0); + lean_ctor_release(x_505, 1); + lean_ctor_release(x_505, 2); + lean_ctor_release(x_505, 3); + lean_ctor_release(x_505, 4); + x_521 = x_505; } else { - lean_dec_ref(x_503); - x_518 = lean_box(0); + lean_dec_ref(x_505); + x_521 = lean_box(0); } -lean_inc(x_447); -if (lean_is_scalar(x_518)) { - x_519 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_449); +if (lean_is_scalar(x_521)) { + x_522 = lean_alloc_ctor(0, 5, 0); } else { - x_519 = x_518; + x_522 = x_521; } -lean_ctor_set(x_519, 0, x_514); -lean_ctor_set(x_519, 1, x_447); -lean_ctor_set(x_519, 2, x_515); -lean_ctor_set(x_519, 3, x_516); -lean_ctor_set(x_519, 4, x_517); -x_520 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_520, 0, x_519); -lean_ctor_set(x_520, 1, x_504); -lean_ctor_set(x_520, 2, x_505); -lean_ctor_set(x_520, 3, x_506); -lean_ctor_set(x_520, 4, x_507); -lean_ctor_set(x_520, 5, x_508); -lean_ctor_set(x_520, 6, x_509); -lean_ctor_set(x_520, 7, x_510); -lean_ctor_set(x_520, 8, x_511); -lean_ctor_set(x_520, 9, x_512); -lean_ctor_set_uint8(x_520, sizeof(void*)*10, x_513); -x_521 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_462, x_520, x_450); -if (lean_obj_tag(x_521) == 0) +lean_ctor_set(x_522, 0, x_517); +lean_ctor_set(x_522, 1, x_449); +lean_ctor_set(x_522, 2, x_518); +lean_ctor_set(x_522, 3, x_519); +lean_ctor_set(x_522, 4, x_520); +x_523 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_523, 0, x_522); +lean_ctor_set(x_523, 1, x_506); +lean_ctor_set(x_523, 2, x_507); +lean_ctor_set(x_523, 3, x_508); +lean_ctor_set(x_523, 4, x_509); +lean_ctor_set(x_523, 5, x_510); +lean_ctor_set(x_523, 6, x_511); +lean_ctor_set(x_523, 7, x_512); +lean_ctor_set(x_523, 8, x_513); +lean_ctor_set(x_523, 9, x_514); +lean_ctor_set_uint8(x_523, sizeof(void*)*10, x_515); +lean_ctor_set_uint8(x_523, sizeof(void*)*10 + 1, x_516); +x_524 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_464, x_523, x_452); +if (lean_obj_tag(x_524) == 0) { -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; -x_522 = lean_ctor_get(x_521, 0); -lean_inc(x_522); -x_523 = lean_ctor_get(x_521, 1); -lean_inc(x_523); -if (lean_is_exclusive(x_521)) { - lean_ctor_release(x_521, 0); - lean_ctor_release(x_521, 1); - x_524 = x_521; +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_525 = lean_ctor_get(x_524, 0); +lean_inc(x_525); +x_526 = lean_ctor_get(x_524, 1); +lean_inc(x_526); +if (lean_is_exclusive(x_524)) { + lean_ctor_release(x_524, 0); + lean_ctor_release(x_524, 1); + x_527 = x_524; } else { - lean_dec_ref(x_521); - x_524 = lean_box(0); + lean_dec_ref(x_524); + x_527 = lean_box(0); } -x_525 = l_Lean_mkFVar(x_441); -x_526 = l_Lean_FileMap_ofString___closed__1; -x_527 = lean_array_push(x_526, x_525); -x_528 = l_Lean_LocalContext_mkLambda(x_447, x_527, x_522); -lean_dec(x_522); -lean_dec(x_527); -if (lean_is_scalar(x_524)) { - x_529 = lean_alloc_ctor(0, 2, 0); +x_528 = l_Lean_mkFVar(x_443); +x_529 = l_Lean_FileMap_ofString___closed__1; +x_530 = lean_array_push(x_529, x_528); +x_531 = l_Lean_LocalContext_mkLambda(x_449, x_530, x_525); +lean_dec(x_525); +lean_dec(x_530); +if (lean_is_scalar(x_527)) { + x_532 = lean_alloc_ctor(0, 2, 0); } else { - x_529 = x_524; + x_532 = x_527; } -lean_ctor_set(x_529, 0, x_528); -lean_ctor_set(x_529, 1, x_523); -return x_529; +lean_ctor_set(x_532, 0, x_531); +lean_ctor_set(x_532, 1, x_526); +return x_532; } else { -lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; -lean_dec(x_447); -lean_dec(x_441); -x_530 = lean_ctor_get(x_521, 0); -lean_inc(x_530); -x_531 = lean_ctor_get(x_521, 1); -lean_inc(x_531); -if (lean_is_exclusive(x_521)) { - lean_ctor_release(x_521, 0); - lean_ctor_release(x_521, 1); - x_532 = x_521; +lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; +lean_dec(x_449); +lean_dec(x_443); +x_533 = lean_ctor_get(x_524, 0); +lean_inc(x_533); +x_534 = lean_ctor_get(x_524, 1); +lean_inc(x_534); +if (lean_is_exclusive(x_524)) { + lean_ctor_release(x_524, 0); + lean_ctor_release(x_524, 1); + x_535 = x_524; } else { - lean_dec_ref(x_521); - x_532 = lean_box(0); + lean_dec_ref(x_524); + x_535 = lean_box(0); } -if (lean_is_scalar(x_532)) { - x_533 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_535)) { + x_536 = lean_alloc_ctor(1, 2, 0); } else { - x_533 = x_532; + x_536 = x_535; } -lean_ctor_set(x_533, 0, x_530); -lean_ctor_set(x_533, 1, x_531); -return x_533; +lean_ctor_set(x_536, 0, x_533); +lean_ctor_set(x_536, 1, x_534); +return x_536; } } } } else { -lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; uint8_t 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; uint8_t x_556; -x_534 = l_Lean_Syntax_getIdAt(x_327, x_325); -lean_dec(x_327); -x_535 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -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); -x_538 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_539 = 0; -lean_inc_n(x_534, 2); -x_540 = lean_local_ctx_mk_local_decl(x_536, x_534, x_534, x_538, x_539); -x_541 = l_Array_eraseIdx___rarg(x_321, x_325); -x_542 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_537); -x_543 = lean_ctor_get(x_542, 1); -lean_inc(x_543); -lean_dec(x_542); -x_544 = lean_name_mk_string(x_330, x_155); -x_545 = l_Lean_nullKind___closed__1; -x_546 = lean_name_mk_string(x_117, x_545); -x_547 = l_Array_empty___closed__1; -x_548 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_541, x_541, x_325, x_547); -lean_dec(x_541); -x_549 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_549, 0, x_546); -lean_ctor_set(x_549, 1, x_548); -x_550 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_551 = lean_array_push(x_550, x_549); -x_552 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_553 = lean_array_push(x_551, x_552); -x_554 = lean_array_push(x_553, x_323); -x_555 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_555, 0, x_544); -lean_ctor_set(x_555, 1, x_554); -x_556 = !lean_is_exclusive(x_2); -if (x_556 == 0) -{ -lean_object* x_557; uint8_t x_558; -x_557 = lean_ctor_get(x_2, 0); -x_558 = !lean_is_exclusive(x_557); -if (x_558 == 0) -{ -lean_object* x_559; lean_object* x_560; -x_559 = lean_ctor_get(x_557, 1); -lean_dec(x_559); +lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; uint8_t x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; 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; uint8_t x_559; +x_537 = l_Lean_Syntax_getIdAt(x_328, x_326); +lean_dec(x_328); +x_538 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_539 = lean_ctor_get(x_538, 0); +lean_inc(x_539); +x_540 = lean_ctor_get(x_538, 1); lean_inc(x_540); -lean_ctor_set(x_557, 1, x_540); -x_560 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_555, x_2, x_543); -if (lean_obj_tag(x_560) == 0) +lean_dec(x_538); +x_541 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_542 = 0; +lean_inc_n(x_537, 2); +x_543 = lean_local_ctx_mk_local_decl(x_539, x_537, x_537, x_541, x_542); +x_544 = l_Array_eraseIdx___rarg(x_322, x_326); +x_545 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_540); +x_546 = lean_ctor_get(x_545, 1); +lean_inc(x_546); +lean_dec(x_545); +x_547 = lean_name_mk_string(x_331, x_156); +x_548 = l_Lean_nullKind___closed__1; +x_549 = lean_name_mk_string(x_118, x_548); +x_550 = l_Array_empty___closed__1; +x_551 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_544, x_544, x_326, x_550); +lean_dec(x_544); +x_552 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_552, 0, x_549); +lean_ctor_set(x_552, 1, x_551); +x_553 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_554 = lean_array_push(x_553, x_552); +x_555 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_556 = lean_array_push(x_554, x_555); +x_557 = lean_array_push(x_556, x_324); +x_558 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_558, 0, x_547); +lean_ctor_set(x_558, 1, x_557); +x_559 = !lean_is_exclusive(x_2); +if (x_559 == 0) { -uint8_t x_561; +lean_object* x_560; uint8_t x_561; +x_560 = lean_ctor_get(x_2, 0); x_561 = !lean_is_exclusive(x_560); if (x_561 == 0) { -lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; -x_562 = lean_ctor_get(x_560, 0); -x_563 = l_Lean_mkFVar(x_534); -x_564 = l_Lean_FileMap_ofString___closed__1; -x_565 = lean_array_push(x_564, x_563); -x_566 = l_Lean_LocalContext_mkLambda(x_540, x_565, x_562); +lean_object* x_562; lean_object* x_563; +x_562 = lean_ctor_get(x_560, 1); lean_dec(x_562); +lean_inc(x_543); +lean_ctor_set(x_560, 1, x_543); +x_563 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_558, x_2, x_546); +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; lean_object* x_567; lean_object* x_568; lean_object* x_569; +x_565 = lean_ctor_get(x_563, 0); +x_566 = l_Lean_mkFVar(x_537); +x_567 = l_Lean_FileMap_ofString___closed__1; +x_568 = lean_array_push(x_567, x_566); +x_569 = l_Lean_LocalContext_mkLambda(x_543, x_568, x_565); lean_dec(x_565); -lean_ctor_set(x_560, 0, x_566); -return x_560; +lean_dec(x_568); +lean_ctor_set(x_563, 0, x_569); +return x_563; } else { -lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; -x_567 = lean_ctor_get(x_560, 0); -x_568 = lean_ctor_get(x_560, 1); -lean_inc(x_568); -lean_inc(x_567); -lean_dec(x_560); -x_569 = l_Lean_mkFVar(x_534); -x_570 = l_Lean_FileMap_ofString___closed__1; -x_571 = lean_array_push(x_570, x_569); -x_572 = l_Lean_LocalContext_mkLambda(x_540, x_571, x_567); -lean_dec(x_567); -lean_dec(x_571); -x_573 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_573, 0, x_572); -lean_ctor_set(x_573, 1, x_568); -return x_573; +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_563, 0); +x_571 = lean_ctor_get(x_563, 1); +lean_inc(x_571); +lean_inc(x_570); +lean_dec(x_563); +x_572 = l_Lean_mkFVar(x_537); +x_573 = l_Lean_FileMap_ofString___closed__1; +x_574 = lean_array_push(x_573, x_572); +x_575 = l_Lean_LocalContext_mkLambda(x_543, x_574, x_570); +lean_dec(x_570); +lean_dec(x_574); +x_576 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_576, 0, x_575); +lean_ctor_set(x_576, 1, x_571); +return x_576; } } else { -uint8_t x_574; -lean_dec(x_540); -lean_dec(x_534); -x_574 = !lean_is_exclusive(x_560); -if (x_574 == 0) +uint8_t x_577; +lean_dec(x_543); +lean_dec(x_537); +x_577 = !lean_is_exclusive(x_563); +if (x_577 == 0) { -return x_560; +return x_563; } else { -lean_object* x_575; lean_object* x_576; lean_object* x_577; -x_575 = lean_ctor_get(x_560, 0); -x_576 = lean_ctor_get(x_560, 1); -lean_inc(x_576); -lean_inc(x_575); -lean_dec(x_560); -x_577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_577, 0, x_575); -lean_ctor_set(x_577, 1, x_576); -return x_577; -} -} -} -else -{ -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_578 = lean_ctor_get(x_557, 0); -x_579 = lean_ctor_get(x_557, 2); -x_580 = lean_ctor_get(x_557, 3); -x_581 = lean_ctor_get(x_557, 4); -lean_inc(x_581); -lean_inc(x_580); +lean_object* x_578; lean_object* x_579; lean_object* x_580; +x_578 = lean_ctor_get(x_563, 0); +x_579 = lean_ctor_get(x_563, 1); lean_inc(x_579); lean_inc(x_578); -lean_dec(x_557); -lean_inc(x_540); -x_582 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_582, 0, x_578); -lean_ctor_set(x_582, 1, x_540); -lean_ctor_set(x_582, 2, x_579); -lean_ctor_set(x_582, 3, x_580); -lean_ctor_set(x_582, 4, x_581); -lean_ctor_set(x_2, 0, x_582); -x_583 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_555, x_2, x_543); -if (lean_obj_tag(x_583) == 0) +lean_dec(x_563); +x_580 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_580, 0, x_578); +lean_ctor_set(x_580, 1, x_579); +return x_580; +} +} +} +else { -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; -x_584 = lean_ctor_get(x_583, 0); +lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; +x_581 = lean_ctor_get(x_560, 0); +x_582 = lean_ctor_get(x_560, 2); +x_583 = lean_ctor_get(x_560, 3); +x_584 = lean_ctor_get(x_560, 4); lean_inc(x_584); -x_585 = lean_ctor_get(x_583, 1); -lean_inc(x_585); -if (lean_is_exclusive(x_583)) { - lean_ctor_release(x_583, 0); - lean_ctor_release(x_583, 1); - x_586 = x_583; +lean_inc(x_583); +lean_inc(x_582); +lean_inc(x_581); +lean_dec(x_560); +lean_inc(x_543); +x_585 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_585, 0, x_581); +lean_ctor_set(x_585, 1, x_543); +lean_ctor_set(x_585, 2, x_582); +lean_ctor_set(x_585, 3, x_583); +lean_ctor_set(x_585, 4, x_584); +lean_ctor_set(x_2, 0, x_585); +x_586 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_558, x_2, x_546); +if (lean_obj_tag(x_586) == 0) +{ +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; +x_587 = lean_ctor_get(x_586, 0); +lean_inc(x_587); +x_588 = lean_ctor_get(x_586, 1); +lean_inc(x_588); +if (lean_is_exclusive(x_586)) { + lean_ctor_release(x_586, 0); + lean_ctor_release(x_586, 1); + x_589 = x_586; } else { - lean_dec_ref(x_583); - x_586 = lean_box(0); + lean_dec_ref(x_586); + x_589 = lean_box(0); } -x_587 = l_Lean_mkFVar(x_534); -x_588 = l_Lean_FileMap_ofString___closed__1; -x_589 = lean_array_push(x_588, x_587); -x_590 = l_Lean_LocalContext_mkLambda(x_540, x_589, x_584); -lean_dec(x_584); -lean_dec(x_589); -if (lean_is_scalar(x_586)) { - x_591 = lean_alloc_ctor(0, 2, 0); +x_590 = l_Lean_mkFVar(x_537); +x_591 = l_Lean_FileMap_ofString___closed__1; +x_592 = lean_array_push(x_591, x_590); +x_593 = l_Lean_LocalContext_mkLambda(x_543, x_592, x_587); +lean_dec(x_587); +lean_dec(x_592); +if (lean_is_scalar(x_589)) { + x_594 = lean_alloc_ctor(0, 2, 0); } else { - x_591 = x_586; + x_594 = x_589; } -lean_ctor_set(x_591, 0, x_590); -lean_ctor_set(x_591, 1, x_585); -return x_591; +lean_ctor_set(x_594, 0, x_593); +lean_ctor_set(x_594, 1, x_588); +return x_594; } else { -lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; -lean_dec(x_540); -lean_dec(x_534); -x_592 = lean_ctor_get(x_583, 0); -lean_inc(x_592); -x_593 = lean_ctor_get(x_583, 1); -lean_inc(x_593); -if (lean_is_exclusive(x_583)) { - lean_ctor_release(x_583, 0); - lean_ctor_release(x_583, 1); - x_594 = x_583; +lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; +lean_dec(x_543); +lean_dec(x_537); +x_595 = lean_ctor_get(x_586, 0); +lean_inc(x_595); +x_596 = lean_ctor_get(x_586, 1); +lean_inc(x_596); +if (lean_is_exclusive(x_586)) { + lean_ctor_release(x_586, 0); + lean_ctor_release(x_586, 1); + x_597 = x_586; } else { - lean_dec_ref(x_583); - x_594 = lean_box(0); + lean_dec_ref(x_586); + x_597 = lean_box(0); } -if (lean_is_scalar(x_594)) { - x_595 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_597)) { + x_598 = lean_alloc_ctor(1, 2, 0); } else { - x_595 = x_594; + x_598 = x_597; } -lean_ctor_set(x_595, 0, x_592); -lean_ctor_set(x_595, 1, x_593); -return x_595; +lean_ctor_set(x_598, 0, x_595); +lean_ctor_set(x_598, 1, x_596); +return x_598; } } } 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; uint8_t 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; -x_596 = lean_ctor_get(x_2, 0); -x_597 = lean_ctor_get(x_2, 1); -x_598 = lean_ctor_get(x_2, 2); -x_599 = lean_ctor_get(x_2, 3); -x_600 = lean_ctor_get(x_2, 4); -x_601 = lean_ctor_get(x_2, 5); -x_602 = lean_ctor_get(x_2, 6); -x_603 = lean_ctor_get(x_2, 7); -x_604 = lean_ctor_get(x_2, 8); -x_605 = lean_ctor_get(x_2, 9); -x_606 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +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; uint8_t x_609; uint8_t 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; +x_599 = lean_ctor_get(x_2, 0); +x_600 = lean_ctor_get(x_2, 1); +x_601 = lean_ctor_get(x_2, 2); +x_602 = lean_ctor_get(x_2, 3); +x_603 = lean_ctor_get(x_2, 4); +x_604 = lean_ctor_get(x_2, 5); +x_605 = lean_ctor_get(x_2, 6); +x_606 = lean_ctor_get(x_2, 7); +x_607 = lean_ctor_get(x_2, 8); +x_608 = lean_ctor_get(x_2, 9); +x_609 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_610 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +lean_inc(x_608); +lean_inc(x_607); +lean_inc(x_606); lean_inc(x_605); lean_inc(x_604); lean_inc(x_603); @@ -16232,630 +16272,628 @@ lean_inc(x_602); lean_inc(x_601); lean_inc(x_600); lean_inc(x_599); -lean_inc(x_598); -lean_inc(x_597); -lean_inc(x_596); lean_dec(x_2); -x_607 = lean_ctor_get(x_596, 0); -lean_inc(x_607); -x_608 = lean_ctor_get(x_596, 2); -lean_inc(x_608); -x_609 = lean_ctor_get(x_596, 3); -lean_inc(x_609); -x_610 = lean_ctor_get(x_596, 4); -lean_inc(x_610); -if (lean_is_exclusive(x_596)) { - lean_ctor_release(x_596, 0); - lean_ctor_release(x_596, 1); - lean_ctor_release(x_596, 2); - lean_ctor_release(x_596, 3); - lean_ctor_release(x_596, 4); - x_611 = x_596; +x_611 = lean_ctor_get(x_599, 0); +lean_inc(x_611); +x_612 = lean_ctor_get(x_599, 2); +lean_inc(x_612); +x_613 = lean_ctor_get(x_599, 3); +lean_inc(x_613); +x_614 = lean_ctor_get(x_599, 4); +lean_inc(x_614); +if (lean_is_exclusive(x_599)) { + lean_ctor_release(x_599, 0); + lean_ctor_release(x_599, 1); + lean_ctor_release(x_599, 2); + lean_ctor_release(x_599, 3); + lean_ctor_release(x_599, 4); + x_615 = x_599; } else { - lean_dec_ref(x_596); - x_611 = lean_box(0); + lean_dec_ref(x_599); + x_615 = lean_box(0); } -lean_inc(x_540); -if (lean_is_scalar(x_611)) { - x_612 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_543); +if (lean_is_scalar(x_615)) { + x_616 = lean_alloc_ctor(0, 5, 0); } else { - x_612 = x_611; + x_616 = x_615; } -lean_ctor_set(x_612, 0, x_607); -lean_ctor_set(x_612, 1, x_540); -lean_ctor_set(x_612, 2, x_608); -lean_ctor_set(x_612, 3, x_609); -lean_ctor_set(x_612, 4, x_610); -x_613 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_613, 0, x_612); -lean_ctor_set(x_613, 1, x_597); -lean_ctor_set(x_613, 2, x_598); -lean_ctor_set(x_613, 3, x_599); -lean_ctor_set(x_613, 4, x_600); -lean_ctor_set(x_613, 5, x_601); -lean_ctor_set(x_613, 6, x_602); -lean_ctor_set(x_613, 7, x_603); -lean_ctor_set(x_613, 8, x_604); -lean_ctor_set(x_613, 9, x_605); -lean_ctor_set_uint8(x_613, sizeof(void*)*10, x_606); -x_614 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_555, x_613, x_543); -if (lean_obj_tag(x_614) == 0) +lean_ctor_set(x_616, 0, x_611); +lean_ctor_set(x_616, 1, x_543); +lean_ctor_set(x_616, 2, x_612); +lean_ctor_set(x_616, 3, x_613); +lean_ctor_set(x_616, 4, x_614); +x_617 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_617, 0, x_616); +lean_ctor_set(x_617, 1, x_600); +lean_ctor_set(x_617, 2, x_601); +lean_ctor_set(x_617, 3, x_602); +lean_ctor_set(x_617, 4, x_603); +lean_ctor_set(x_617, 5, x_604); +lean_ctor_set(x_617, 6, x_605); +lean_ctor_set(x_617, 7, x_606); +lean_ctor_set(x_617, 8, x_607); +lean_ctor_set(x_617, 9, x_608); +lean_ctor_set_uint8(x_617, sizeof(void*)*10, x_609); +lean_ctor_set_uint8(x_617, sizeof(void*)*10 + 1, x_610); +x_618 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_558, x_617, x_546); +if (lean_obj_tag(x_618) == 0) { -lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; -x_615 = lean_ctor_get(x_614, 0); -lean_inc(x_615); -x_616 = lean_ctor_get(x_614, 1); -lean_inc(x_616); -if (lean_is_exclusive(x_614)) { - lean_ctor_release(x_614, 0); - lean_ctor_release(x_614, 1); - x_617 = x_614; +lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; +x_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_614); - x_617 = lean_box(0); + lean_dec_ref(x_618); + x_621 = lean_box(0); } -x_618 = l_Lean_mkFVar(x_534); -x_619 = l_Lean_FileMap_ofString___closed__1; -x_620 = lean_array_push(x_619, x_618); -x_621 = l_Lean_LocalContext_mkLambda(x_540, x_620, x_615); -lean_dec(x_615); -lean_dec(x_620); -if (lean_is_scalar(x_617)) { - x_622 = lean_alloc_ctor(0, 2, 0); +x_622 = l_Lean_mkFVar(x_537); +x_623 = l_Lean_FileMap_ofString___closed__1; +x_624 = lean_array_push(x_623, x_622); +x_625 = l_Lean_LocalContext_mkLambda(x_543, x_624, x_619); +lean_dec(x_619); +lean_dec(x_624); +if (lean_is_scalar(x_621)) { + x_626 = lean_alloc_ctor(0, 2, 0); } else { - x_622 = x_617; + x_626 = x_621; } -lean_ctor_set(x_622, 0, x_621); -lean_ctor_set(x_622, 1, x_616); -return x_622; -} -else -{ -lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; -lean_dec(x_540); -lean_dec(x_534); -x_623 = lean_ctor_get(x_614, 0); -lean_inc(x_623); -x_624 = lean_ctor_get(x_614, 1); -lean_inc(x_624); -if (lean_is_exclusive(x_614)) { - lean_ctor_release(x_614, 0); - lean_ctor_release(x_614, 1); - x_625 = x_614; -} else { - lean_dec_ref(x_614); - x_625 = lean_box(0); -} -if (lean_is_scalar(x_625)) { - x_626 = lean_alloc_ctor(1, 2, 0); -} else { - x_626 = x_625; -} -lean_ctor_set(x_626, 0, x_623); -lean_ctor_set(x_626, 1, x_624); +lean_ctor_set(x_626, 0, x_625); +lean_ctor_set(x_626, 1, x_620); return x_626; } +else +{ +lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; +lean_dec(x_543); +lean_dec(x_537); +x_627 = lean_ctor_get(x_618, 0); +lean_inc(x_627); +x_628 = lean_ctor_get(x_618, 1); +lean_inc(x_628); +if (lean_is_exclusive(x_618)) { + lean_ctor_release(x_618, 0); + lean_ctor_release(x_618, 1); + x_629 = x_618; +} else { + lean_dec_ref(x_618); + x_629 = lean_box(0); +} +if (lean_is_scalar(x_629)) { + x_630 = lean_alloc_ctor(1, 2, 0); +} else { + x_630 = x_629; +} +lean_ctor_set(x_630, 0, x_627); +lean_ctor_set(x_630, 1, x_628); +return x_630; +} } } } else { -lean_dec(x_321); -x_1 = x_323; +lean_dec(x_322); +x_1 = x_324; goto _start; } } } else { -lean_object* x_628; lean_object* x_629; lean_object* x_630; -lean_free_object(x_95); +lean_object* x_632; lean_object* x_633; lean_object* x_634; +lean_free_object(x_96); +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -x_628 = l_Lean_Syntax_inhabited; -x_629 = lean_unsigned_to_nat(0u); -x_630 = lean_array_get(x_628, x_4, x_629); +lean_free_object(x_106); +lean_dec(x_119); +x_632 = l_Lean_Syntax_inhabited; +x_633 = lean_unsigned_to_nat(0u); +x_634 = lean_array_get(x_632, x_4, x_633); lean_dec(x_4); -if (lean_obj_tag(x_630) == 3) +if (lean_obj_tag(x_634) == 3) { -lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; -x_631 = lean_ctor_get(x_630, 2); -lean_inc(x_631); -x_632 = lean_ctor_get(x_630, 3); -lean_inc(x_632); -lean_dec(x_630); -x_633 = lean_box(0); -lean_inc(x_2); -x_634 = l_Lean_Elab_Term_resolveName(x_1, x_631, x_632, x_633, x_2, x_3); -lean_dec(x_1); -if (lean_obj_tag(x_634) == 0) -{ -lean_object* x_635; -x_635 = lean_ctor_get(x_634, 0); +lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; +x_635 = lean_ctor_get(x_634, 2); lean_inc(x_635); -if (lean_obj_tag(x_635) == 0) -{ -lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_636 = lean_ctor_get(x_634, 1); +x_636 = lean_ctor_get(x_634, 3); lean_inc(x_636); lean_dec(x_634); -x_637 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_638 = l_unreachable_x21___rarg(x_637); -x_639 = lean_apply_2(x_638, x_2, x_636); -return x_639; +x_637 = lean_box(0); +lean_inc(x_2); +x_638 = l_Lean_Elab_Term_resolveName(x_1, x_635, x_636, x_637, x_2, x_3); +lean_dec(x_1); +if (lean_obj_tag(x_638) == 0) +{ +lean_object* x_639; +x_639 = lean_ctor_get(x_638, 0); +lean_inc(x_639); +if (lean_obj_tag(x_639) == 0) +{ +lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; +x_640 = lean_ctor_get(x_638, 1); +lean_inc(x_640); +lean_dec(x_638); +x_641 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_642 = l_unreachable_x21___rarg(x_641); +x_643 = lean_apply_2(x_642, x_2, x_640); +return x_643; } else { -lean_object* x_640; lean_object* x_641; +lean_object* x_644; lean_object* x_645; lean_dec(x_2); -x_640 = lean_ctor_get(x_635, 0); -lean_inc(x_640); -lean_dec(x_635); -x_641 = lean_ctor_get(x_640, 0); -lean_inc(x_641); -switch (lean_obj_tag(x_641)) { +x_644 = lean_ctor_get(x_639, 0); +lean_inc(x_644); +lean_dec(x_639); +x_645 = lean_ctor_get(x_644, 0); +lean_inc(x_645); +switch (lean_obj_tag(x_645)) { case 0: { -uint8_t x_642; -x_642 = !lean_is_exclusive(x_634); -if (x_642 == 0) +uint8_t x_646; +x_646 = !lean_is_exclusive(x_638); +if (x_646 == 0) { -lean_object* x_643; lean_object* x_644; lean_object* x_645; -x_643 = lean_ctor_get(x_634, 0); -lean_dec(x_643); -x_644 = lean_ctor_get(x_640, 1); -lean_inc(x_644); -lean_dec(x_640); -x_645 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_641, x_644); -lean_ctor_set(x_634, 0, x_645); -return x_634; +lean_object* x_647; lean_object* x_648; lean_object* x_649; +x_647 = lean_ctor_get(x_638, 0); +lean_dec(x_647); +x_648 = lean_ctor_get(x_644, 1); +lean_inc(x_648); +lean_dec(x_644); +x_649 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_118, x_645, x_648); +lean_ctor_set(x_638, 0, x_649); +return x_638; } else { -lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; -x_646 = lean_ctor_get(x_634, 1); -lean_inc(x_646); -lean_dec(x_634); -x_647 = lean_ctor_get(x_640, 1); -lean_inc(x_647); -lean_dec(x_640); -x_648 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_641, x_647); -x_649 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_649, 0, x_648); -lean_ctor_set(x_649, 1, x_646); -return x_649; +lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; +x_650 = lean_ctor_get(x_638, 1); +lean_inc(x_650); +lean_dec(x_638); +x_651 = lean_ctor_get(x_644, 1); +lean_inc(x_651); +lean_dec(x_644); +x_652 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_118, x_645, x_651); +x_653 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_653, 0, x_652); +lean_ctor_set(x_653, 1, x_650); +return x_653; } } case 1: { -uint8_t x_650; -x_650 = !lean_is_exclusive(x_634); -if (x_650 == 0) +uint8_t x_654; +x_654 = !lean_is_exclusive(x_638); +if (x_654 == 0) { -lean_object* x_651; lean_object* x_652; lean_object* x_653; -x_651 = lean_ctor_get(x_634, 0); -lean_dec(x_651); -x_652 = lean_ctor_get(x_640, 1); -lean_inc(x_652); -lean_dec(x_640); -x_653 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_641, x_652); -lean_ctor_set(x_634, 0, x_653); -return x_634; +lean_object* x_655; lean_object* x_656; lean_object* x_657; +x_655 = lean_ctor_get(x_638, 0); +lean_dec(x_655); +x_656 = lean_ctor_get(x_644, 1); +lean_inc(x_656); +lean_dec(x_644); +x_657 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_118, x_645, x_656); +lean_ctor_set(x_638, 0, x_657); +return x_638; } else { -lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; -x_654 = lean_ctor_get(x_634, 1); -lean_inc(x_654); -lean_dec(x_634); -x_655 = lean_ctor_get(x_640, 1); -lean_inc(x_655); -lean_dec(x_640); -x_656 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_641, x_655); -x_657 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_657, 0, x_656); -lean_ctor_set(x_657, 1, x_654); -return x_657; +lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; +x_658 = lean_ctor_get(x_638, 1); +lean_inc(x_658); +lean_dec(x_638); +x_659 = lean_ctor_get(x_644, 1); +lean_inc(x_659); +lean_dec(x_644); +x_660 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_118, x_645, x_659); +x_661 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_661, 0, x_660); +lean_ctor_set(x_661, 1, x_658); +return x_661; } } case 2: { -uint8_t x_658; -x_658 = !lean_is_exclusive(x_634); -if (x_658 == 0) +uint8_t x_662; +x_662 = !lean_is_exclusive(x_638); +if (x_662 == 0) { -lean_object* x_659; lean_object* x_660; lean_object* x_661; -x_659 = lean_ctor_get(x_634, 0); -lean_dec(x_659); -x_660 = lean_ctor_get(x_640, 1); -lean_inc(x_660); -lean_dec(x_640); -x_661 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_641, x_660); -lean_ctor_set(x_634, 0, x_661); -return x_634; +lean_object* x_663; lean_object* x_664; lean_object* x_665; +x_663 = lean_ctor_get(x_638, 0); +lean_dec(x_663); +x_664 = lean_ctor_get(x_644, 1); +lean_inc(x_664); +lean_dec(x_644); +x_665 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_118, x_645, x_664); +lean_ctor_set(x_638, 0, x_665); +return x_638; } else { -lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; -x_662 = lean_ctor_get(x_634, 1); -lean_inc(x_662); -lean_dec(x_634); -x_663 = lean_ctor_get(x_640, 1); -lean_inc(x_663); -lean_dec(x_640); -x_664 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_641, x_663); -x_665 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_665, 0, x_664); -lean_ctor_set(x_665, 1, x_662); -return x_665; +lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; +x_666 = lean_ctor_get(x_638, 1); +lean_inc(x_666); +lean_dec(x_638); +x_667 = lean_ctor_get(x_644, 1); +lean_inc(x_667); +lean_dec(x_644); +x_668 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_118, x_645, x_667); +x_669 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_669, 0, x_668); +lean_ctor_set(x_669, 1, x_666); +return x_669; } } case 3: { -uint8_t x_666; -x_666 = !lean_is_exclusive(x_634); -if (x_666 == 0) +uint8_t x_670; +x_670 = !lean_is_exclusive(x_638); +if (x_670 == 0) { -lean_object* x_667; lean_object* x_668; lean_object* x_669; -x_667 = lean_ctor_get(x_634, 0); -lean_dec(x_667); -x_668 = lean_ctor_get(x_640, 1); -lean_inc(x_668); -lean_dec(x_640); -x_669 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_641, x_668); -lean_ctor_set(x_634, 0, x_669); -return x_634; +lean_object* x_671; lean_object* x_672; lean_object* x_673; +x_671 = lean_ctor_get(x_638, 0); +lean_dec(x_671); +x_672 = lean_ctor_get(x_644, 1); +lean_inc(x_672); +lean_dec(x_644); +x_673 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_118, x_645, x_672); +lean_ctor_set(x_638, 0, x_673); +return x_638; } else { -lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; -x_670 = lean_ctor_get(x_634, 1); -lean_inc(x_670); -lean_dec(x_634); -x_671 = lean_ctor_get(x_640, 1); -lean_inc(x_671); -lean_dec(x_640); -x_672 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_641, x_671); -x_673 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_673, 0, x_672); -lean_ctor_set(x_673, 1, x_670); -return x_673; +lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; +x_674 = lean_ctor_get(x_638, 1); +lean_inc(x_674); +lean_dec(x_638); +x_675 = lean_ctor_get(x_644, 1); +lean_inc(x_675); +lean_dec(x_644); +x_676 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_118, x_645, x_675); +x_677 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_677, 0, x_676); +lean_ctor_set(x_677, 1, x_674); +return x_677; } } case 4: { -uint8_t x_674; -x_674 = !lean_is_exclusive(x_634); -if (x_674 == 0) +uint8_t x_678; +x_678 = !lean_is_exclusive(x_638); +if (x_678 == 0) { -lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; -x_675 = lean_ctor_get(x_634, 0); -lean_dec(x_675); -x_676 = lean_ctor_get(x_640, 1); -lean_inc(x_676); -lean_dec(x_640); -x_677 = lean_ctor_get(x_641, 0); -lean_inc(x_677); -lean_dec(x_641); -x_678 = l_Lean_mkConst(x_677, x_633); -x_679 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_678, x_676); -lean_ctor_set(x_634, 0, x_679); -return x_634; +lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; +x_679 = lean_ctor_get(x_638, 0); +lean_dec(x_679); +x_680 = lean_ctor_get(x_644, 1); +lean_inc(x_680); +lean_dec(x_644); +x_681 = lean_ctor_get(x_645, 0); +lean_inc(x_681); +lean_dec(x_645); +x_682 = l_Lean_mkConst(x_681, x_637); +x_683 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_118, x_682, x_680); +lean_ctor_set(x_638, 0, x_683); +return x_638; } else { -lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; -x_680 = lean_ctor_get(x_634, 1); -lean_inc(x_680); -lean_dec(x_634); -x_681 = lean_ctor_get(x_640, 1); -lean_inc(x_681); -lean_dec(x_640); -x_682 = lean_ctor_get(x_641, 0); -lean_inc(x_682); -lean_dec(x_641); -x_683 = l_Lean_mkConst(x_682, x_633); -x_684 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_683, x_681); -x_685 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_685, 0, x_684); -lean_ctor_set(x_685, 1, x_680); -return x_685; +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_684 = lean_ctor_get(x_638, 1); +lean_inc(x_684); +lean_dec(x_638); +x_685 = lean_ctor_get(x_644, 1); +lean_inc(x_685); +lean_dec(x_644); +x_686 = lean_ctor_get(x_645, 0); +lean_inc(x_686); +lean_dec(x_645); +x_687 = l_Lean_mkConst(x_686, x_637); +x_688 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_118, x_687, x_685); +x_689 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_689, 0, x_688); +lean_ctor_set(x_689, 1, x_684); +return x_689; } } case 5: { -uint8_t x_686; -x_686 = !lean_is_exclusive(x_634); -if (x_686 == 0) +uint8_t x_690; +x_690 = !lean_is_exclusive(x_638); +if (x_690 == 0) { -lean_object* x_687; lean_object* x_688; lean_object* x_689; -x_687 = lean_ctor_get(x_634, 0); -lean_dec(x_687); -x_688 = lean_ctor_get(x_640, 1); -lean_inc(x_688); -lean_dec(x_640); -x_689 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_641, x_688); -lean_ctor_set(x_634, 0, x_689); -return x_634; +lean_object* x_691; lean_object* x_692; lean_object* x_693; +x_691 = lean_ctor_get(x_638, 0); +lean_dec(x_691); +x_692 = lean_ctor_get(x_644, 1); +lean_inc(x_692); +lean_dec(x_644); +x_693 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_118, x_645, x_692); +lean_ctor_set(x_638, 0, x_693); +return x_638; } else { -lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; -x_690 = lean_ctor_get(x_634, 1); -lean_inc(x_690); -lean_dec(x_634); -x_691 = lean_ctor_get(x_640, 1); -lean_inc(x_691); -lean_dec(x_640); -x_692 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_641, x_691); -x_693 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_693, 0, x_692); -lean_ctor_set(x_693, 1, x_690); -return x_693; +lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; +x_694 = lean_ctor_get(x_638, 1); +lean_inc(x_694); +lean_dec(x_638); +x_695 = lean_ctor_get(x_644, 1); +lean_inc(x_695); +lean_dec(x_644); +x_696 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_118, x_645, x_695); +x_697 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_697, 0, x_696); +lean_ctor_set(x_697, 1, x_694); +return x_697; } } case 6: { -uint8_t x_694; -x_694 = !lean_is_exclusive(x_634); -if (x_694 == 0) +uint8_t x_698; +x_698 = !lean_is_exclusive(x_638); +if (x_698 == 0) { -lean_object* x_695; lean_object* x_696; lean_object* x_697; -x_695 = lean_ctor_get(x_634, 0); -lean_dec(x_695); -x_696 = lean_ctor_get(x_640, 1); -lean_inc(x_696); -lean_dec(x_640); -x_697 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_641, x_696); -lean_ctor_set(x_634, 0, x_697); -return x_634; +lean_object* x_699; lean_object* x_700; lean_object* x_701; +x_699 = lean_ctor_get(x_638, 0); +lean_dec(x_699); +x_700 = lean_ctor_get(x_644, 1); +lean_inc(x_700); +lean_dec(x_644); +x_701 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_118, x_645, x_700); +lean_ctor_set(x_638, 0, x_701); +return x_638; } else { -lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; -x_698 = lean_ctor_get(x_634, 1); -lean_inc(x_698); -lean_dec(x_634); -x_699 = lean_ctor_get(x_640, 1); -lean_inc(x_699); -lean_dec(x_640); -x_700 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_641, x_699); -x_701 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_701, 0, x_700); -lean_ctor_set(x_701, 1, x_698); -return x_701; +lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; +x_702 = lean_ctor_get(x_638, 1); +lean_inc(x_702); +lean_dec(x_638); +x_703 = lean_ctor_get(x_644, 1); +lean_inc(x_703); +lean_dec(x_644); +x_704 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_118, x_645, x_703); +x_705 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_705, 0, x_704); +lean_ctor_set(x_705, 1, x_702); +return x_705; } } case 7: { -uint8_t x_702; -x_702 = !lean_is_exclusive(x_634); -if (x_702 == 0) +uint8_t x_706; +x_706 = !lean_is_exclusive(x_638); +if (x_706 == 0) { -lean_object* x_703; lean_object* x_704; lean_object* x_705; -x_703 = lean_ctor_get(x_634, 0); -lean_dec(x_703); -x_704 = lean_ctor_get(x_640, 1); -lean_inc(x_704); -lean_dec(x_640); -x_705 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_641, x_704); -lean_ctor_set(x_634, 0, x_705); -return x_634; +lean_object* x_707; lean_object* x_708; lean_object* x_709; +x_707 = lean_ctor_get(x_638, 0); +lean_dec(x_707); +x_708 = lean_ctor_get(x_644, 1); +lean_inc(x_708); +lean_dec(x_644); +x_709 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_118, x_645, x_708); +lean_ctor_set(x_638, 0, x_709); +return x_638; } else { -lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; -x_706 = lean_ctor_get(x_634, 1); -lean_inc(x_706); -lean_dec(x_634); -x_707 = lean_ctor_get(x_640, 1); -lean_inc(x_707); -lean_dec(x_640); -x_708 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_641, x_707); -x_709 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_709, 0, x_708); -lean_ctor_set(x_709, 1, x_706); -return x_709; +lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; +x_710 = lean_ctor_get(x_638, 1); +lean_inc(x_710); +lean_dec(x_638); +x_711 = lean_ctor_get(x_644, 1); +lean_inc(x_711); +lean_dec(x_644); +x_712 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_118, x_645, x_711); +x_713 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_713, 0, x_712); +lean_ctor_set(x_713, 1, x_710); +return x_713; } } case 8: { -uint8_t x_710; -x_710 = !lean_is_exclusive(x_634); -if (x_710 == 0) +uint8_t x_714; +x_714 = !lean_is_exclusive(x_638); +if (x_714 == 0) { -lean_object* x_711; lean_object* x_712; lean_object* x_713; -x_711 = lean_ctor_get(x_634, 0); -lean_dec(x_711); -x_712 = lean_ctor_get(x_640, 1); -lean_inc(x_712); -lean_dec(x_640); -x_713 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_641, x_712); -lean_ctor_set(x_634, 0, x_713); -return x_634; +lean_object* x_715; lean_object* x_716; lean_object* x_717; +x_715 = lean_ctor_get(x_638, 0); +lean_dec(x_715); +x_716 = lean_ctor_get(x_644, 1); +lean_inc(x_716); +lean_dec(x_644); +x_717 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_118, x_645, x_716); +lean_ctor_set(x_638, 0, x_717); +return x_638; } else { -lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; -x_714 = lean_ctor_get(x_634, 1); -lean_inc(x_714); -lean_dec(x_634); -x_715 = lean_ctor_get(x_640, 1); -lean_inc(x_715); -lean_dec(x_640); -x_716 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_641, x_715); -x_717 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_717, 0, x_716); -lean_ctor_set(x_717, 1, x_714); -return x_717; +lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; +x_718 = lean_ctor_get(x_638, 1); +lean_inc(x_718); +lean_dec(x_638); +x_719 = lean_ctor_get(x_644, 1); +lean_inc(x_719); +lean_dec(x_644); +x_720 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_118, x_645, x_719); +x_721 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_721, 0, x_720); +lean_ctor_set(x_721, 1, x_718); +return x_721; } } case 9: { -uint8_t x_718; -x_718 = !lean_is_exclusive(x_634); -if (x_718 == 0) +uint8_t x_722; +x_722 = !lean_is_exclusive(x_638); +if (x_722 == 0) { -lean_object* x_719; lean_object* x_720; lean_object* x_721; -x_719 = lean_ctor_get(x_634, 0); -lean_dec(x_719); -x_720 = lean_ctor_get(x_640, 1); -lean_inc(x_720); -lean_dec(x_640); -x_721 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_641, x_720); -lean_ctor_set(x_634, 0, x_721); -return x_634; +lean_object* x_723; lean_object* x_724; lean_object* x_725; +x_723 = lean_ctor_get(x_638, 0); +lean_dec(x_723); +x_724 = lean_ctor_get(x_644, 1); +lean_inc(x_724); +lean_dec(x_644); +x_725 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_118, x_645, x_724); +lean_ctor_set(x_638, 0, x_725); +return x_638; } else { -lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; -x_722 = lean_ctor_get(x_634, 1); -lean_inc(x_722); -lean_dec(x_634); -x_723 = lean_ctor_get(x_640, 1); -lean_inc(x_723); -lean_dec(x_640); -x_724 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_641, x_723); -x_725 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_725, 0, x_724); -lean_ctor_set(x_725, 1, x_722); -return x_725; +lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; +x_726 = lean_ctor_get(x_638, 1); +lean_inc(x_726); +lean_dec(x_638); +x_727 = lean_ctor_get(x_644, 1); +lean_inc(x_727); +lean_dec(x_644); +x_728 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_118, x_645, x_727); +x_729 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_729, 0, x_728); +lean_ctor_set(x_729, 1, x_726); +return x_729; } } case 10: { -uint8_t x_726; -x_726 = !lean_is_exclusive(x_634); -if (x_726 == 0) +uint8_t x_730; +x_730 = !lean_is_exclusive(x_638); +if (x_730 == 0) { -lean_object* x_727; lean_object* x_728; lean_object* x_729; -x_727 = lean_ctor_get(x_634, 0); -lean_dec(x_727); -x_728 = lean_ctor_get(x_640, 1); -lean_inc(x_728); -lean_dec(x_640); -x_729 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_641, x_728); -lean_ctor_set(x_634, 0, x_729); -return x_634; +lean_object* x_731; lean_object* x_732; lean_object* x_733; +x_731 = lean_ctor_get(x_638, 0); +lean_dec(x_731); +x_732 = lean_ctor_get(x_644, 1); +lean_inc(x_732); +lean_dec(x_644); +x_733 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_118, x_645, x_732); +lean_ctor_set(x_638, 0, x_733); +return x_638; } else { -lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; -x_730 = lean_ctor_get(x_634, 1); -lean_inc(x_730); -lean_dec(x_634); -x_731 = lean_ctor_get(x_640, 1); -lean_inc(x_731); -lean_dec(x_640); -x_732 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_641, x_731); -x_733 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_733, 0, x_732); -lean_ctor_set(x_733, 1, x_730); -return x_733; +lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; +x_734 = lean_ctor_get(x_638, 1); +lean_inc(x_734); +lean_dec(x_638); +x_735 = lean_ctor_get(x_644, 1); +lean_inc(x_735); +lean_dec(x_644); +x_736 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_118, x_645, x_735); +x_737 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_737, 0, x_736); +lean_ctor_set(x_737, 1, x_734); +return x_737; } } case 11: { -uint8_t x_734; -x_734 = !lean_is_exclusive(x_634); -if (x_734 == 0) +uint8_t x_738; +x_738 = !lean_is_exclusive(x_638); +if (x_738 == 0) { -lean_object* x_735; lean_object* x_736; lean_object* x_737; -x_735 = lean_ctor_get(x_634, 0); -lean_dec(x_735); -x_736 = lean_ctor_get(x_640, 1); -lean_inc(x_736); -lean_dec(x_640); -x_737 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_641, x_736); -lean_ctor_set(x_634, 0, x_737); -return x_634; +lean_object* x_739; lean_object* x_740; lean_object* x_741; +x_739 = lean_ctor_get(x_638, 0); +lean_dec(x_739); +x_740 = lean_ctor_get(x_644, 1); +lean_inc(x_740); +lean_dec(x_644); +x_741 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_118, x_645, x_740); +lean_ctor_set(x_638, 0, x_741); +return x_638; } else { -lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; -x_738 = lean_ctor_get(x_634, 1); -lean_inc(x_738); -lean_dec(x_634); -x_739 = lean_ctor_get(x_640, 1); -lean_inc(x_739); -lean_dec(x_640); -x_740 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_641, x_739); -x_741 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_741, 0, x_740); -lean_ctor_set(x_741, 1, x_738); -return x_741; +lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; +x_742 = lean_ctor_get(x_638, 1); +lean_inc(x_742); +lean_dec(x_638); +x_743 = lean_ctor_get(x_644, 1); +lean_inc(x_743); +lean_dec(x_644); +x_744 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_118, x_645, x_743); +x_745 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_745, 0, x_744); +lean_ctor_set(x_745, 1, x_742); +return x_745; } } default: { -uint8_t x_742; -x_742 = !lean_is_exclusive(x_634); -if (x_742 == 0) +uint8_t x_746; +x_746 = !lean_is_exclusive(x_638); +if (x_746 == 0) { -lean_object* x_743; lean_object* x_744; lean_object* x_745; -x_743 = lean_ctor_get(x_634, 0); -lean_dec(x_743); -x_744 = lean_ctor_get(x_640, 1); -lean_inc(x_744); -lean_dec(x_640); -x_745 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_641, x_744); -lean_ctor_set(x_634, 0, x_745); -return x_634; +lean_object* x_747; lean_object* x_748; lean_object* x_749; +x_747 = lean_ctor_get(x_638, 0); +lean_dec(x_747); +x_748 = lean_ctor_get(x_644, 1); +lean_inc(x_748); +lean_dec(x_644); +x_749 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_118, x_645, x_748); +lean_ctor_set(x_638, 0, x_749); +return x_638; } else { -lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; -x_746 = lean_ctor_get(x_634, 1); -lean_inc(x_746); -lean_dec(x_634); -x_747 = lean_ctor_get(x_640, 1); -lean_inc(x_747); -lean_dec(x_640); -x_748 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_641, x_747); -x_749 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_749, 0, x_748); -lean_ctor_set(x_749, 1, x_746); -return x_749; -} -} -} -} -} -else -{ -uint8_t x_750; -lean_dec(x_2); -x_750 = !lean_is_exclusive(x_634); -if (x_750 == 0) -{ -return x_634; -} -else -{ -lean_object* x_751; lean_object* x_752; lean_object* x_753; -x_751 = lean_ctor_get(x_634, 0); -x_752 = lean_ctor_get(x_634, 1); -lean_inc(x_752); +lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; +x_750 = lean_ctor_get(x_638, 1); +lean_inc(x_750); +lean_dec(x_638); +x_751 = lean_ctor_get(x_644, 1); lean_inc(x_751); -lean_dec(x_634); -x_753 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_753, 0, x_751); -lean_ctor_set(x_753, 1, x_752); +lean_dec(x_644); +x_752 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_118, x_645, x_751); +x_753 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_753, 0, x_752); +lean_ctor_set(x_753, 1, x_750); return x_753; } } } +} +} else { -lean_object* x_754; lean_object* x_755; lean_object* x_756; -lean_dec(x_630); +uint8_t x_754; +lean_dec(x_2); +x_754 = !lean_is_exclusive(x_638); +if (x_754 == 0) +{ +return x_638; +} +else +{ +lean_object* x_755; lean_object* x_756; lean_object* x_757; +x_755 = lean_ctor_get(x_638, 0); +x_756 = lean_ctor_get(x_638, 1); +lean_inc(x_756); +lean_inc(x_755); +lean_dec(x_638); +x_757 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_757, 0, x_755); +lean_ctor_set(x_757, 1, x_756); +return x_757; +} +} +} +else +{ +lean_object* x_758; lean_object* x_759; lean_object* x_760; +lean_dec(x_634); lean_dec(x_1); -x_754 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_755 = l_unreachable_x21___rarg(x_754); -x_756 = lean_apply_2(x_755, x_2, x_3); -return x_756; +x_758 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_759 = l_unreachable_x21___rarg(x_758); +x_760 = lean_apply_2(x_759, x_2, x_3); +return x_760; } } } @@ -16863,434 +16901,407 @@ return x_756; } else { -lean_object* x_757; uint8_t x_758; -lean_dec(x_95); -x_757 = l_Lean_Syntax_formatStxAux___main___closed__5; -x_758 = lean_string_dec_eq(x_124, x_757); -if (x_758 == 0) +lean_object* x_761; uint8_t x_762; +lean_dec(x_96); +x_761 = l_Lean_Syntax_formatStxAux___main___closed__5; +x_762 = lean_string_dec_eq(x_125, x_761); +if (x_762 == 0) { -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_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_dec(x_4); -lean_ctor_set(x_116, 1, x_129); -x_759 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_759, 0, x_105); -lean_ctor_set(x_759, 1, x_118); -lean_ctor_set_usize(x_759, 2, x_120); -x_760 = l_System_FilePath_dirName___closed__1; -x_761 = l_Lean_Name_toStringWithSep___main(x_760, x_759); -x_762 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_762, 0, x_761); -x_763 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_763, 0, x_762); -x_764 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_765 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_765, 0, x_764); -lean_ctor_set(x_765, 1, x_763); -x_766 = l_Lean_Elab_Term_throwError___rarg(x_1, x_765, x_2, x_3); +lean_ctor_set(x_117, 1, x_130); +x_763 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_763, 0, x_106); +lean_ctor_set(x_763, 1, x_119); +lean_ctor_set_usize(x_763, 2, x_121); +x_764 = l_System_FilePath_dirName___closed__1; +x_765 = l_Lean_Name_toStringWithSep___main(x_764, x_763); +x_766 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_766, 0, x_765); +x_767 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_767, 0, x_766); +x_768 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_769 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_769, 0, x_768); +lean_ctor_set(x_769, 1, x_767); +x_770 = l_Lean_Elab_Term_throwError___rarg(x_1, x_769, x_2, x_3); lean_dec(x_1); -return x_766; +return x_770; } else { -lean_object* x_767; uint8_t x_768; -lean_dec(x_124); -x_767 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; -x_768 = lean_string_dec_eq(x_121, x_767); -if (x_768 == 0) +lean_object* x_771; uint8_t x_772; +lean_dec(x_125); +x_771 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; +x_772 = lean_string_dec_eq(x_122, x_771); +if (x_772 == 0) { -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_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_dec(x_4); -lean_ctor_set(x_116, 1, x_129); -lean_ctor_set(x_115, 1, x_757); -x_769 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_769, 0, x_105); -lean_ctor_set(x_769, 1, x_118); -lean_ctor_set_usize(x_769, 2, x_120); -x_770 = l_System_FilePath_dirName___closed__1; -x_771 = l_Lean_Name_toStringWithSep___main(x_770, x_769); -x_772 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_772, 0, x_771); -x_773 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_773, 0, x_772); -x_774 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_775 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_775, 0, x_774); -lean_ctor_set(x_775, 1, x_773); -x_776 = l_Lean_Elab_Term_throwError___rarg(x_1, x_775, x_2, x_3); +lean_ctor_set(x_117, 1, x_130); +lean_ctor_set(x_116, 1, x_761); +x_773 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_773, 0, x_106); +lean_ctor_set(x_773, 1, x_119); +lean_ctor_set_usize(x_773, 2, x_121); +x_774 = l_System_FilePath_dirName___closed__1; +x_775 = l_Lean_Name_toStringWithSep___main(x_774, x_773); +x_776 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_776, 0, x_775); +x_777 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_777, 0, x_776); +x_778 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_779 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_779, 0, x_778); +lean_ctor_set(x_779, 1, x_777); +x_780 = l_Lean_Elab_Term_throwError___rarg(x_1, x_779, x_2, x_3); lean_dec(x_1); -return x_776; +return x_780; } else { -lean_object* x_777; uint8_t x_778; -lean_dec(x_121); -x_777 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_778 = lean_string_dec_eq(x_118, x_777); -if (x_778 == 0) -{ -lean_object* x_779; uint8_t x_780; -x_779 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_780 = lean_string_dec_eq(x_118, x_779); -if (x_780 == 0) -{ lean_object* x_781; uint8_t x_782; -x_781 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_782 = lean_string_dec_eq(x_118, x_781); +lean_dec(x_122); +x_781 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_782 = lean_string_dec_eq(x_119, x_781); if (x_782 == 0) { lean_object* x_783; uint8_t x_784; -x_783 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_784 = lean_string_dec_eq(x_118, x_783); +x_783 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_784 = lean_string_dec_eq(x_119, x_783); if (x_784 == 0) { lean_object* x_785; uint8_t x_786; -x_785 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_786 = lean_string_dec_eq(x_118, x_785); +x_785 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_786 = lean_string_dec_eq(x_119, x_785); if (x_786 == 0) { lean_object* x_787; uint8_t x_788; -x_787 = l_Lean_Parser_Level_paren___elambda__1___closed__3; -x_788 = lean_string_dec_eq(x_118, x_787); +x_787 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_788 = lean_string_dec_eq(x_119, x_787); if (x_788 == 0) { lean_object* x_789; uint8_t x_790; -x_789 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_790 = lean_string_dec_eq(x_118, x_789); +x_789 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_790 = lean_string_dec_eq(x_119, x_789); if (x_790 == 0) { lean_object* x_791; uint8_t x_792; -x_791 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_792 = lean_string_dec_eq(x_118, x_791); +x_791 = l_Lean_Parser_Level_paren___elambda__1___closed__3; +x_792 = lean_string_dec_eq(x_119, x_791); if (x_792 == 0) { lean_object* x_793; uint8_t x_794; -lean_dec(x_4); -x_793 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_794 = lean_string_dec_eq(x_118, x_793); +x_793 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_794 = lean_string_dec_eq(x_119, x_793); if (x_794 == 0) { lean_object* x_795; uint8_t x_796; -x_795 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_796 = lean_string_dec_eq(x_118, x_795); +x_795 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_796 = lean_string_dec_eq(x_119, x_795); if (x_796 == 0) { -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_ctor_set(x_116, 1, x_129); -lean_ctor_set(x_115, 1, x_757); -lean_ctor_set(x_105, 1, x_767); -x_797 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_797, 0, x_105); -lean_ctor_set(x_797, 1, x_118); -lean_ctor_set_usize(x_797, 2, x_120); -x_798 = l_System_FilePath_dirName___closed__1; -x_799 = l_Lean_Name_toStringWithSep___main(x_798, x_797); -x_800 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_800, 0, x_799); -x_801 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_801, 0, x_800); -x_802 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_803 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_803, 0, x_802); -lean_ctor_set(x_803, 1, x_801); -x_804 = l_Lean_Elab_Term_throwError___rarg(x_1, x_803, x_2, x_3); +lean_object* x_797; uint8_t x_798; +lean_dec(x_4); +x_797 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_798 = lean_string_dec_eq(x_119, x_797); +if (x_798 == 0) +{ +lean_object* x_799; uint8_t x_800; +x_799 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_800 = lean_string_dec_eq(x_119, x_799); +if (x_800 == 0) +{ +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_ctor_set(x_117, 1, x_130); +lean_ctor_set(x_116, 1, x_761); +lean_ctor_set(x_106, 1, x_771); +x_801 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_801, 0, x_106); +lean_ctor_set(x_801, 1, x_119); +lean_ctor_set_usize(x_801, 2, x_121); +x_802 = l_System_FilePath_dirName___closed__1; +x_803 = l_Lean_Name_toStringWithSep___main(x_802, x_801); +x_804 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_804, 0, x_803); +x_805 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_805, 0, x_804); +x_806 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_807 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_807, 0, x_806); +lean_ctor_set(x_807, 1, x_805); +x_808 = l_Lean_Elab_Term_throwError___rarg(x_1, x_807, x_2, x_3); lean_dec(x_1); -return x_804; +return x_808; } else { -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_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_2); -x_805 = lean_unsigned_to_nat(0u); -x_806 = l_Lean_Syntax_getArg(x_1, x_805); +x_809 = lean_unsigned_to_nat(0u); +x_810 = l_Lean_Syntax_getArg(x_1, x_809); lean_dec(x_1); -x_807 = l_Lean_numLitKind; -x_808 = l_Lean_Syntax_isNatLitAux(x_807, x_806); -lean_dec(x_806); -if (lean_obj_tag(x_808) == 0) +x_811 = l_Lean_numLitKind; +x_812 = l_Lean_Syntax_isNatLitAux(x_811, x_810); +lean_dec(x_810); +if (lean_obj_tag(x_812) == 0) { -lean_object* x_809; lean_object* x_810; -x_809 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; -x_810 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_810, 0, x_809); -lean_ctor_set(x_810, 1, x_3); -return x_810; +lean_object* x_813; lean_object* x_814; +x_813 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; +x_814 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_814, 0, x_813); +lean_ctor_set(x_814, 1, x_3); +return x_814; } else { -lean_object* x_811; lean_object* x_812; lean_object* x_813; -x_811 = lean_ctor_get(x_808, 0); -lean_inc(x_811); -lean_dec(x_808); -x_812 = l_Lean_mkNatLit(x_811); -x_813 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_813, 0, x_812); -lean_ctor_set(x_813, 1, x_3); -return x_813; +lean_object* x_815; lean_object* x_816; lean_object* x_817; +x_815 = lean_ctor_get(x_812, 0); +lean_inc(x_815); +lean_dec(x_812); +x_816 = l_Lean_mkNatLit(x_815); +x_817 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_817, 0, x_816); +lean_ctor_set(x_817, 1, x_3); +return x_817; } } } else { -lean_object* x_814; lean_object* x_815; lean_object* x_816; +lean_object* x_818; lean_object* x_819; lean_object* x_820; +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_2); -x_814 = lean_unsigned_to_nat(0u); -x_815 = l_Lean_Syntax_getArg(x_1, x_814); +x_818 = lean_unsigned_to_nat(0u); +x_819 = l_Lean_Syntax_getArg(x_1, x_818); lean_dec(x_1); -x_816 = l_Lean_Syntax_isStrLit_x3f(x_815); -lean_dec(x_815); -if (lean_obj_tag(x_816) == 0) +x_820 = l_Lean_Syntax_isStrLit_x3f(x_819); +lean_dec(x_819); +if (lean_obj_tag(x_820) == 0) { -lean_object* x_817; lean_object* x_818; -x_817 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; -x_818 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_818, 0, x_817); -lean_ctor_set(x_818, 1, x_3); -return x_818; +lean_object* x_821; lean_object* x_822; +x_821 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; +x_822 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_822, 0, x_821); +lean_ctor_set(x_822, 1, x_3); +return x_822; } else { -lean_object* x_819; lean_object* x_820; lean_object* x_821; -x_819 = lean_ctor_get(x_816, 0); -lean_inc(x_819); -lean_dec(x_816); -x_820 = l_Lean_mkStrLit(x_819); -x_821 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_821, 0, x_820); -lean_ctor_set(x_821, 1, x_3); -return x_821; +lean_object* x_823; lean_object* x_824; lean_object* x_825; +x_823 = lean_ctor_get(x_820, 0); +lean_inc(x_823); +lean_dec(x_820); +x_824 = l_Lean_mkStrLit(x_823); +x_825 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_825, 0, x_824); +lean_ctor_set(x_825, 1, x_3); +return x_825; } } } else { -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_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_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_822 = l_Lean_Syntax_inhabited; -x_823 = lean_unsigned_to_nat(0u); -x_824 = lean_array_get(x_822, x_4, x_823); -x_825 = lean_unsigned_to_nat(2u); -x_826 = lean_array_get(x_822, x_4, x_825); +x_826 = l_Lean_Syntax_inhabited; +x_827 = lean_unsigned_to_nat(0u); +x_828 = lean_array_get(x_826, x_4, x_827); +x_829 = lean_unsigned_to_nat(2u); +x_830 = lean_array_get(x_826, x_4, x_829); lean_dec(x_4); -x_827 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_827, 0, x_117); -lean_closure_set(x_827, 1, x_824); -lean_closure_set(x_827, 2, x_826); -x_828 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_829 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_829, 0, x_828); -lean_closure_set(x_829, 1, x_827); -x_830 = l_Lean_Unhygienic_run___rarg(x_829); -x_1 = x_830; +x_831 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_831, 0, x_118); +lean_closure_set(x_831, 1, x_828); +lean_closure_set(x_831, 2, x_830); +x_832 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_833 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_833, 0, x_832); +lean_closure_set(x_833, 1, x_831); +x_834 = l_Lean_Unhygienic_run___rarg(x_833); +x_1 = x_834; goto _start; } } else { -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_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_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_832 = l_Lean_Syntax_inhabited; -x_833 = lean_unsigned_to_nat(0u); -x_834 = lean_array_get(x_832, x_4, x_833); -x_835 = lean_unsigned_to_nat(2u); -x_836 = lean_array_get(x_832, x_4, x_835); +x_836 = l_Lean_Syntax_inhabited; +x_837 = lean_unsigned_to_nat(0u); +x_838 = lean_array_get(x_836, x_4, x_837); +x_839 = lean_unsigned_to_nat(2u); +x_840 = lean_array_get(x_836, x_4, x_839); lean_dec(x_4); -x_837 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_837, 0, x_117); -lean_closure_set(x_837, 1, x_834); -lean_closure_set(x_837, 2, x_836); -x_838 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_839 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_839, 0, x_838); -lean_closure_set(x_839, 1, x_837); -x_840 = l_Lean_Unhygienic_run___rarg(x_839); -x_1 = x_840; +x_841 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_841, 0, x_118); +lean_closure_set(x_841, 1, x_838); +lean_closure_set(x_841, 2, x_840); +x_842 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_843 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_843, 0, x_842); +lean_closure_set(x_843, 1, x_841); +x_844 = l_Lean_Unhygienic_run___rarg(x_843); +x_1 = x_844; goto _start; } } else { -lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; uint8_t x_848; +lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; uint8_t x_852; +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_842 = l_Lean_Syntax_inhabited; -x_843 = lean_unsigned_to_nat(1u); -x_844 = lean_array_get(x_842, x_4, x_843); +x_846 = l_Lean_Syntax_inhabited; +x_847 = lean_unsigned_to_nat(1u); +x_848 = lean_array_get(x_846, x_4, x_847); lean_dec(x_4); -x_845 = l_Lean_Syntax_getArgs(x_844); -lean_dec(x_844); -x_846 = lean_array_get_size(x_845); -x_847 = lean_unsigned_to_nat(0u); -x_848 = lean_nat_dec_eq(x_846, x_847); -lean_dec(x_846); -if (x_848 == 0) +x_849 = l_Lean_Syntax_getArgs(x_848); +lean_dec(x_848); +x_850 = lean_array_get_size(x_849); +x_851 = lean_unsigned_to_nat(0u); +x_852 = lean_nat_dec_eq(x_850, x_851); +lean_dec(x_850); +if (x_852 == 0) { -lean_object* x_849; -x_849 = lean_array_get(x_842, x_845, x_847); -lean_dec(x_845); -x_1 = x_849; +lean_object* x_853; +x_853 = lean_array_get(x_846, x_849, x_851); +lean_dec(x_849); +x_1 = x_853; goto _start; } else { -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_dec(x_845); +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_dec(x_849); lean_dec(x_2); -x_851 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_852 = lean_name_mk_string(x_117, x_851); -x_853 = l_Lean_Elab_Term_elabParen___closed__4; -x_854 = lean_name_mk_string(x_852, x_853); -x_855 = lean_box(0); -x_856 = l_Lean_mkConst(x_854, x_855); -x_857 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_857, 0, x_856); -lean_ctor_set(x_857, 1, x_3); -return x_857; +x_855 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_856 = lean_name_mk_string(x_118, x_855); +x_857 = l_Lean_Elab_Term_elabParen___closed__4; +x_858 = lean_name_mk_string(x_856, x_857); +x_859 = lean_box(0); +x_860 = l_Lean_mkConst(x_858, x_859); +x_861 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_861, 0, x_860); +lean_ctor_set(x_861, 1, x_3); +return x_861; } } } 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; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; +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_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_858 = l_Lean_Syntax_inhabited; -x_859 = lean_unsigned_to_nat(2u); -x_860 = lean_array_get(x_858, x_4, x_859); -x_861 = lean_unsigned_to_nat(4u); -x_862 = lean_array_get(x_858, x_4, x_861); -x_863 = lean_unsigned_to_nat(6u); -x_864 = lean_array_get(x_858, x_4, x_863); +x_862 = l_Lean_Syntax_inhabited; +x_863 = lean_unsigned_to_nat(2u); +x_864 = lean_array_get(x_862, x_4, x_863); +x_865 = lean_unsigned_to_nat(4u); +x_866 = lean_array_get(x_862, x_4, x_865); +x_867 = lean_unsigned_to_nat(6u); +x_868 = lean_array_get(x_862, x_4, x_867); lean_dec(x_4); -x_865 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_865, 0, x_117); -lean_closure_set(x_865, 1, x_860); -lean_closure_set(x_865, 2, x_862); -lean_closure_set(x_865, 3, x_864); -x_866 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_867 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_867, 0, x_866); -lean_closure_set(x_867, 1, x_865); -x_868 = l_Lean_Unhygienic_run___rarg(x_867); -x_1 = x_868; +x_869 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_869, 0, x_118); +lean_closure_set(x_869, 1, x_864); +lean_closure_set(x_869, 2, x_866); +lean_closure_set(x_869, 3, x_868); +x_870 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_871 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_871, 0, x_870); +lean_closure_set(x_871, 1, x_869); +x_872 = l_Lean_Unhygienic_run___rarg(x_871); +x_1 = x_872; goto _start; } } else { -lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; +lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_870 = l_Lean_Syntax_inhabited; -x_871 = lean_unsigned_to_nat(0u); -x_872 = lean_array_get(x_870, x_4, x_871); +x_874 = l_Lean_Syntax_inhabited; +x_875 = lean_unsigned_to_nat(0u); +x_876 = lean_array_get(x_874, x_4, x_875); lean_inc(x_2); -x_873 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_872, x_2, x_3); -if (lean_obj_tag(x_873) == 0) +x_877 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_876, x_2, x_3); +if (lean_obj_tag(x_877) == 0) { -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_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_unsigned_to_nat(1u); -x_877 = lean_array_get(x_870, x_4, x_876); -lean_dec(x_4); -x_878 = l_Lean_Syntax_getArgs(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; +x_878 = lean_ctor_get(x_877, 0); +lean_inc(x_878); +x_879 = lean_ctor_get(x_877, 1); +lean_inc(x_879); lean_dec(x_877); -x_879 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_871, x_878, x_2, x_875); -if (lean_obj_tag(x_879) == 0) +x_880 = lean_unsigned_to_nat(1u); +x_881 = lean_array_get(x_874, x_4, x_880); +lean_dec(x_4); +x_882 = l_Lean_Syntax_getArgs(x_881); +lean_dec(x_881); +x_883 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_875, x_882, x_2, x_879); +if (lean_obj_tag(x_883) == 0) { -lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; -x_880 = lean_ctor_get(x_879, 0); -lean_inc(x_880); -x_881 = lean_ctor_get(x_879, 1); -lean_inc(x_881); -if (lean_is_exclusive(x_879)) { - lean_ctor_release(x_879, 0); - lean_ctor_release(x_879, 1); - x_882 = x_879; -} else { - lean_dec_ref(x_879); - x_882 = lean_box(0); -} -x_883 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_880, x_880, x_871, x_874); -lean_dec(x_880); -if (lean_is_scalar(x_882)) { - x_884 = lean_alloc_ctor(0, 2, 0); -} else { - x_884 = x_882; -} -lean_ctor_set(x_884, 0, x_883); -lean_ctor_set(x_884, 1, x_881); -return x_884; -} -else -{ -lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; -lean_dec(x_874); -x_885 = lean_ctor_get(x_879, 0); +lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; +x_884 = lean_ctor_get(x_883, 0); +lean_inc(x_884); +x_885 = lean_ctor_get(x_883, 1); lean_inc(x_885); -x_886 = lean_ctor_get(x_879, 1); -lean_inc(x_886); -if (lean_is_exclusive(x_879)) { - lean_ctor_release(x_879, 0); - lean_ctor_release(x_879, 1); - x_887 = x_879; +if (lean_is_exclusive(x_883)) { + lean_ctor_release(x_883, 0); + lean_ctor_release(x_883, 1); + x_886 = x_883; } else { - lean_dec_ref(x_879); - x_887 = lean_box(0); + lean_dec_ref(x_883); + x_886 = lean_box(0); } -if (lean_is_scalar(x_887)) { - x_888 = lean_alloc_ctor(1, 2, 0); +x_887 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_884, x_884, x_875, x_878); +lean_dec(x_884); +if (lean_is_scalar(x_886)) { + x_888 = lean_alloc_ctor(0, 2, 0); } else { - x_888 = x_887; + x_888 = x_886; } -lean_ctor_set(x_888, 0, x_885); -lean_ctor_set(x_888, 1, x_886); +lean_ctor_set(x_888, 0, x_887); +lean_ctor_set(x_888, 1, x_885); return x_888; } -} else { lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; -lean_dec(x_4); -lean_dec(x_2); -x_889 = lean_ctor_get(x_873, 0); +lean_dec(x_878); +x_889 = lean_ctor_get(x_883, 0); lean_inc(x_889); -x_890 = lean_ctor_get(x_873, 1); +x_890 = lean_ctor_get(x_883, 1); lean_inc(x_890); -if (lean_is_exclusive(x_873)) { - lean_ctor_release(x_873, 0); - lean_ctor_release(x_873, 1); - x_891 = x_873; +if (lean_is_exclusive(x_883)) { + lean_ctor_release(x_883, 0); + lean_ctor_release(x_883, 1); + x_891 = x_883; } else { - lean_dec_ref(x_873); + lean_dec_ref(x_883); x_891 = lean_box(0); } if (lean_is_scalar(x_891)) { @@ -17303,339 +17314,367 @@ lean_ctor_set(x_892, 1, x_890); return x_892; } } -} else { lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; +lean_dec(x_4); +lean_dec(x_2); +x_893 = lean_ctor_get(x_877, 0); +lean_inc(x_893); +x_894 = lean_ctor_get(x_877, 1); +lean_inc(x_894); +if (lean_is_exclusive(x_877)) { + lean_ctor_release(x_877, 0); + lean_ctor_release(x_877, 1); + x_895 = x_877; +} else { + lean_dec_ref(x_877); + x_895 = lean_box(0); +} +if (lean_is_scalar(x_895)) { + x_896 = lean_alloc_ctor(1, 2, 0); +} else { + x_896 = x_895; +} +lean_ctor_set(x_896, 0, x_893); +lean_ctor_set(x_896, 1, x_894); +return x_896; +} +} +} +else +{ +lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_893 = l_Lean_Syntax_inhabited; -x_894 = lean_unsigned_to_nat(1u); -x_895 = lean_array_get(x_893, x_4, x_894); -lean_inc(x_895); -x_896 = l_Lean_Syntax_getKind(x_895); -if (lean_obj_tag(x_896) == 1) -{ -lean_object* x_897; -x_897 = lean_ctor_get(x_896, 0); -lean_inc(x_897); -if (lean_obj_tag(x_897) == 1) -{ -lean_object* x_898; -x_898 = lean_ctor_get(x_897, 0); -lean_inc(x_898); -if (lean_obj_tag(x_898) == 1) -{ -lean_object* x_899; -x_899 = lean_ctor_get(x_898, 0); +x_897 = l_Lean_Syntax_inhabited; +x_898 = lean_unsigned_to_nat(1u); +x_899 = lean_array_get(x_897, x_4, x_898); lean_inc(x_899); -if (lean_obj_tag(x_899) == 1) +x_900 = l_Lean_Syntax_getKind(x_899); +if (lean_obj_tag(x_900) == 1) { -lean_object* x_900; -x_900 = lean_ctor_get(x_899, 0); -lean_inc(x_900); -if (lean_obj_tag(x_900) == 0) -{ -lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; uint8_t x_905; -x_901 = lean_ctor_get(x_896, 1); +lean_object* x_901; +x_901 = lean_ctor_get(x_900, 0); lean_inc(x_901); -lean_dec(x_896); -x_902 = lean_ctor_get(x_897, 1); +if (lean_obj_tag(x_901) == 1) +{ +lean_object* x_902; +x_902 = lean_ctor_get(x_901, 0); lean_inc(x_902); -lean_dec(x_897); -x_903 = lean_ctor_get(x_898, 1); +if (lean_obj_tag(x_902) == 1) +{ +lean_object* x_903; +x_903 = lean_ctor_get(x_902, 0); lean_inc(x_903); -lean_dec(x_898); -x_904 = lean_ctor_get(x_899, 1); +if (lean_obj_tag(x_903) == 1) +{ +lean_object* x_904; +x_904 = lean_ctor_get(x_903, 0); lean_inc(x_904); +if (lean_obj_tag(x_904) == 0) +{ +lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; uint8_t x_909; +x_905 = lean_ctor_get(x_900, 1); +lean_inc(x_905); +lean_dec(x_900); +x_906 = lean_ctor_get(x_901, 1); +lean_inc(x_906); +lean_dec(x_901); +x_907 = lean_ctor_get(x_902, 1); +lean_inc(x_907); +lean_dec(x_902); +x_908 = lean_ctor_get(x_903, 1); +lean_inc(x_908); +lean_dec(x_903); +x_909 = lean_string_dec_eq(x_908, x_130); +lean_dec(x_908); +if (x_909 == 0) +{ +lean_object* x_910; lean_object* x_911; +lean_dec(x_907); +lean_dec(x_906); +lean_dec(x_905); lean_dec(x_899); -x_905 = lean_string_dec_eq(x_904, x_129); -lean_dec(x_904); -if (x_905 == 0) -{ -lean_object* x_906; lean_object* x_907; -lean_dec(x_903); -lean_dec(x_902); -lean_dec(x_901); -lean_dec(x_895); -x_906 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_907 = l_unreachable_x21___rarg(x_906); -x_5 = x_907; -goto block_94; +x_910 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_911 = l_unreachable_x21___rarg(x_910); +x_5 = x_911; +goto block_95; } else { -uint8_t x_908; -x_908 = lean_string_dec_eq(x_903, x_757); -lean_dec(x_903); -if (x_908 == 0) +uint8_t x_912; +x_912 = lean_string_dec_eq(x_907, x_761); +lean_dec(x_907); +if (x_912 == 0) { -lean_object* x_909; lean_object* x_910; -lean_dec(x_902); -lean_dec(x_901); -lean_dec(x_895); -x_909 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_910 = l_unreachable_x21___rarg(x_909); -x_5 = x_910; -goto block_94; +lean_object* x_913; lean_object* x_914; +lean_dec(x_906); +lean_dec(x_905); +lean_dec(x_899); +x_913 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_914 = l_unreachable_x21___rarg(x_913); +x_5 = x_914; +goto block_95; } else { -uint8_t x_911; -x_911 = lean_string_dec_eq(x_902, x_767); -lean_dec(x_902); -if (x_911 == 0) -{ -lean_object* x_912; lean_object* x_913; -lean_dec(x_901); -lean_dec(x_895); -x_912 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_913 = l_unreachable_x21___rarg(x_912); -x_5 = x_913; -goto block_94; -} -else -{ -lean_object* x_914; uint8_t x_915; -x_914 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_915 = lean_string_dec_eq(x_901, x_914); +uint8_t x_915; +x_915 = lean_string_dec_eq(x_906, x_771); +lean_dec(x_906); if (x_915 == 0) { -lean_object* x_916; uint8_t x_917; -x_916 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; -x_917 = lean_string_dec_eq(x_901, x_916); -lean_dec(x_901); -if (x_917 == 0) -{ -lean_object* x_918; lean_object* x_919; -lean_dec(x_895); -x_918 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_919 = l_unreachable_x21___rarg(x_918); -x_5 = x_919; -goto block_94; -} -else -{ -lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; -x_920 = lean_unsigned_to_nat(0u); -x_921 = l_Lean_Syntax_getArg(x_895, x_920); -x_922 = l_Lean_Syntax_getIdAt(x_921, x_920); -lean_dec(x_921); -x_923 = lean_unsigned_to_nat(3u); -x_924 = l_Lean_Syntax_getArg(x_895, x_923); -lean_dec(x_895); -x_925 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_925, 0, x_922); -lean_ctor_set(x_925, 1, x_924); -x_5 = x_925; -goto block_94; -} -} -else -{ -lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; -lean_dec(x_901); -x_926 = lean_unsigned_to_nat(0u); -x_927 = l_Lean_Syntax_getIdAt(x_895, x_926); -x_928 = lean_unsigned_to_nat(4u); -x_929 = l_Lean_Syntax_getArg(x_895, x_928); -lean_dec(x_895); -x_930 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_930, 0, x_927); -lean_ctor_set(x_930, 1, x_929); -x_5 = x_930; -goto block_94; -} -} -} -} -} -else -{ -lean_object* x_931; lean_object* x_932; -lean_dec(x_900); +lean_object* x_916; lean_object* x_917; +lean_dec(x_905); lean_dec(x_899); -lean_dec(x_898); -lean_dec(x_897); -lean_dec(x_896); -lean_dec(x_895); -x_931 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_932 = l_unreachable_x21___rarg(x_931); -x_5 = x_932; -goto block_94; +x_916 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_917 = l_unreachable_x21___rarg(x_916); +x_5 = x_917; +goto block_95; +} +else +{ +lean_object* x_918; uint8_t x_919; +x_918 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_919 = lean_string_dec_eq(x_905, x_918); +if (x_919 == 0) +{ +lean_object* x_920; uint8_t x_921; +x_920 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; +x_921 = lean_string_dec_eq(x_905, x_920); +lean_dec(x_905); +if (x_921 == 0) +{ +lean_object* x_922; lean_object* x_923; +lean_dec(x_899); +x_922 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_923 = l_unreachable_x21___rarg(x_922); +x_5 = x_923; +goto block_95; +} +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; +x_924 = lean_unsigned_to_nat(0u); +x_925 = l_Lean_Syntax_getArg(x_899, x_924); +x_926 = l_Lean_Syntax_getIdAt(x_925, x_924); +lean_dec(x_925); +x_927 = lean_unsigned_to_nat(3u); +x_928 = l_Lean_Syntax_getArg(x_899, x_927); +lean_dec(x_899); +x_929 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_929, 0, x_926); +lean_ctor_set(x_929, 1, x_928); +x_5 = x_929; +goto block_95; } } else { -lean_object* x_933; lean_object* x_934; +lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; +lean_dec(x_905); +x_930 = lean_unsigned_to_nat(0u); +x_931 = l_Lean_Syntax_getIdAt(x_899, x_930); +x_932 = lean_unsigned_to_nat(4u); +x_933 = l_Lean_Syntax_getArg(x_899, x_932); lean_dec(x_899); -lean_dec(x_898); -lean_dec(x_897); -lean_dec(x_896); -lean_dec(x_895); -x_933 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_934 = l_unreachable_x21___rarg(x_933); +x_934 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_934, 0, x_931); +lean_ctor_set(x_934, 1, x_933); x_5 = x_934; -goto block_94; +goto block_95; +} +} +} } } else { lean_object* x_935; lean_object* x_936; -lean_dec(x_898); -lean_dec(x_897); -lean_dec(x_896); -lean_dec(x_895); +lean_dec(x_904); +lean_dec(x_903); +lean_dec(x_902); +lean_dec(x_901); +lean_dec(x_900); +lean_dec(x_899); x_935 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; x_936 = l_unreachable_x21___rarg(x_935); x_5 = x_936; -goto block_94; +goto block_95; } } else { lean_object* x_937; lean_object* x_938; -lean_dec(x_897); -lean_dec(x_896); -lean_dec(x_895); +lean_dec(x_903); +lean_dec(x_902); +lean_dec(x_901); +lean_dec(x_900); +lean_dec(x_899); x_937 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; x_938 = l_unreachable_x21___rarg(x_937); x_5 = x_938; -goto block_94; +goto block_95; } } else { lean_object* x_939; lean_object* x_940; -lean_dec(x_896); -lean_dec(x_895); +lean_dec(x_902); +lean_dec(x_901); +lean_dec(x_900); +lean_dec(x_899); x_939 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; x_940 = l_unreachable_x21___rarg(x_939); x_5 = x_940; -goto block_94; +goto block_95; +} +} +else +{ +lean_object* x_941; lean_object* x_942; +lean_dec(x_901); +lean_dec(x_900); +lean_dec(x_899); +x_941 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_942 = l_unreachable_x21___rarg(x_941); +x_5 = x_942; +goto block_95; +} +} +else +{ +lean_object* x_943; lean_object* x_944; +lean_dec(x_900); +lean_dec(x_899); +x_943 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_944 = l_unreachable_x21___rarg(x_943); +x_5 = x_944; +goto block_95; } } } else { -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; uint8_t x_949; +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; uint8_t x_953; +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_941 = l_Lean_Syntax_inhabited; -x_942 = lean_unsigned_to_nat(1u); -x_943 = lean_array_get(x_941, x_4, x_942); -x_944 = l_Lean_Syntax_getArgs(x_943); -lean_dec(x_943); -x_945 = lean_unsigned_to_nat(3u); -x_946 = lean_array_get(x_941, x_4, x_945); -lean_dec(x_4); -x_947 = lean_array_get_size(x_944); -x_948 = lean_unsigned_to_nat(0u); -x_949 = lean_nat_dec_eq(x_947, x_948); +x_945 = l_Lean_Syntax_inhabited; +x_946 = lean_unsigned_to_nat(1u); +x_947 = lean_array_get(x_945, x_4, x_946); +x_948 = l_Lean_Syntax_getArgs(x_947); lean_dec(x_947); -if (x_949 == 0) +x_949 = lean_unsigned_to_nat(3u); +x_950 = lean_array_get(x_945, x_4, x_949); +lean_dec(x_4); +x_951 = lean_array_get_size(x_948); +x_952 = lean_unsigned_to_nat(0u); +x_953 = lean_nat_dec_eq(x_951, x_952); +lean_dec(x_951); +if (x_953 == 0) { -lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; uint8_t x_955; -x_950 = lean_array_get(x_941, x_944, x_948); -x_951 = lean_name_mk_string(x_117, x_129); -x_952 = lean_name_mk_string(x_951, x_757); -x_953 = lean_name_mk_string(x_952, x_767); -lean_inc(x_953); -x_954 = lean_name_mk_string(x_953, x_777); -lean_inc(x_950); -x_955 = l_Lean_Syntax_isOfKind(x_950, x_954); +lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; uint8_t x_959; +x_954 = lean_array_get(x_945, x_948, x_952); +x_955 = lean_name_mk_string(x_118, x_130); +x_956 = lean_name_mk_string(x_955, x_761); +x_957 = lean_name_mk_string(x_956, x_771); +lean_inc(x_957); +x_958 = lean_name_mk_string(x_957, x_781); +lean_inc(x_954); +x_959 = l_Lean_Syntax_isOfKind(x_954, x_958); +lean_dec(x_958); +if (x_959 == 0) +{ +lean_object* x_960; lean_object* x_961; uint8_t x_962; +x_960 = l_Lean_Parser_Level_hole___elambda__1___closed__1; +lean_inc(x_957); +x_961 = lean_name_mk_string(x_957, x_960); +lean_inc(x_954); +x_962 = l_Lean_Syntax_isOfKind(x_954, x_961); +lean_dec(x_961); +if (x_962 == 0) +{ +lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; +x_963 = l_Lean_Syntax_getArg(x_954, x_946); lean_dec(x_954); -if (x_955 == 0) -{ -lean_object* x_956; lean_object* x_957; uint8_t x_958; -x_956 = l_Lean_Parser_Level_hole___elambda__1___closed__1; -lean_inc(x_953); -x_957 = lean_name_mk_string(x_953, x_956); -lean_inc(x_950); -x_958 = l_Lean_Syntax_isOfKind(x_950, x_957); -lean_dec(x_957); -if (x_958 == 0) -{ -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_959 = l_Lean_Syntax_getArg(x_950, x_942); -lean_dec(x_950); -x_960 = l_Lean_Syntax_getArg(x_959, x_948); -x_961 = l_Lean_Syntax_getIdAt(x_960, x_948); -lean_dec(x_960); -x_962 = l_Lean_Syntax_getArg(x_959, x_942); -lean_dec(x_959); -x_963 = l_Lean_Syntax_getArg(x_962, x_948); -lean_dec(x_962); -x_964 = l_Lean_Syntax_getArg(x_963, x_942); +x_964 = l_Lean_Syntax_getArg(x_963, x_952); +x_965 = l_Lean_Syntax_getIdAt(x_964, x_952); +lean_dec(x_964); +x_966 = l_Lean_Syntax_getArg(x_963, x_946); lean_dec(x_963); +x_967 = l_Lean_Syntax_getArg(x_966, x_952); +lean_dec(x_966); +x_968 = l_Lean_Syntax_getArg(x_967, x_946); +lean_dec(x_967); lean_inc(x_2); -x_965 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_964, x_2, x_3); -if (lean_obj_tag(x_965) == 0) +x_969 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_968, x_2, x_3); +if (lean_obj_tag(x_969) == 0) { -lean_object* x_966; lean_object* x_967; 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_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; uint8_t 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; -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_Term_getLCtx(x_2, x_967); -x_969 = lean_ctor_get(x_968, 0); -lean_inc(x_969); -x_970 = lean_ctor_get(x_968, 1); +lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; uint8_t 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; uint8_t x_1002; uint8_t 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; +x_970 = lean_ctor_get(x_969, 0); lean_inc(x_970); -lean_dec(x_968); -x_971 = 0; -lean_inc_n(x_961, 2); -x_972 = lean_local_ctx_mk_local_decl(x_969, x_961, x_961, x_966, x_971); -x_973 = l_Array_eraseIdx___rarg(x_944, x_948); -x_974 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_970); -x_975 = lean_ctor_get(x_974, 1); -lean_inc(x_975); -lean_dec(x_974); -x_976 = lean_name_mk_string(x_953, x_779); -x_977 = l_Lean_nullKind___closed__1; -x_978 = lean_name_mk_string(x_117, x_977); -x_979 = l_Array_empty___closed__1; -x_980 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_973, x_973, x_948, x_979); -lean_dec(x_973); -x_981 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_981, 0, x_978); -lean_ctor_set(x_981, 1, x_980); -x_982 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_983 = lean_array_push(x_982, x_981); -x_984 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_985 = lean_array_push(x_983, x_984); -x_986 = lean_array_push(x_985, x_946); -x_987 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_987, 0, x_976); -lean_ctor_set(x_987, 1, x_986); -x_988 = lean_ctor_get(x_2, 0); -lean_inc(x_988); -x_989 = lean_ctor_get(x_2, 1); -lean_inc(x_989); -x_990 = lean_ctor_get(x_2, 2); -lean_inc(x_990); -x_991 = lean_ctor_get(x_2, 3); -lean_inc(x_991); -x_992 = lean_ctor_get(x_2, 4); +x_971 = lean_ctor_get(x_969, 1); +lean_inc(x_971); +lean_dec(x_969); +x_972 = l_Lean_Elab_Term_getLCtx(x_2, 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 = 0; +lean_inc_n(x_965, 2); +x_976 = lean_local_ctx_mk_local_decl(x_973, x_965, x_965, x_970, x_975); +x_977 = l_Array_eraseIdx___rarg(x_948, x_952); +x_978 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_974); +x_979 = lean_ctor_get(x_978, 1); +lean_inc(x_979); +lean_dec(x_978); +x_980 = lean_name_mk_string(x_957, x_783); +x_981 = l_Lean_nullKind___closed__1; +x_982 = lean_name_mk_string(x_118, x_981); +x_983 = l_Array_empty___closed__1; +x_984 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_977, x_977, x_952, x_983); +lean_dec(x_977); +x_985 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_985, 0, x_982); +lean_ctor_set(x_985, 1, x_984); +x_986 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_987 = lean_array_push(x_986, x_985); +x_988 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_989 = lean_array_push(x_987, x_988); +x_990 = lean_array_push(x_989, x_950); +x_991 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_991, 0, x_980); +lean_ctor_set(x_991, 1, x_990); +x_992 = lean_ctor_get(x_2, 0); lean_inc(x_992); -x_993 = lean_ctor_get(x_2, 5); +x_993 = lean_ctor_get(x_2, 1); lean_inc(x_993); -x_994 = lean_ctor_get(x_2, 6); +x_994 = lean_ctor_get(x_2, 2); lean_inc(x_994); -x_995 = lean_ctor_get(x_2, 7); +x_995 = lean_ctor_get(x_2, 3); lean_inc(x_995); -x_996 = lean_ctor_get(x_2, 8); +x_996 = lean_ctor_get(x_2, 4); lean_inc(x_996); -x_997 = lean_ctor_get(x_2, 9); +x_997 = lean_ctor_get(x_2, 5); lean_inc(x_997); -x_998 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_998 = lean_ctor_get(x_2, 6); +lean_inc(x_998); +x_999 = lean_ctor_get(x_2, 7); +lean_inc(x_999); +x_1000 = lean_ctor_get(x_2, 8); +lean_inc(x_1000); +x_1001 = lean_ctor_get(x_2, 9); +lean_inc(x_1001); +x_1002 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1003 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -17647,204 +17686,206 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_999 = x_2; + x_1004 = x_2; } else { lean_dec_ref(x_2); - x_999 = lean_box(0); -} -x_1000 = lean_ctor_get(x_988, 0); -lean_inc(x_1000); -x_1001 = lean_ctor_get(x_988, 2); -lean_inc(x_1001); -x_1002 = lean_ctor_get(x_988, 3); -lean_inc(x_1002); -x_1003 = lean_ctor_get(x_988, 4); -lean_inc(x_1003); -if (lean_is_exclusive(x_988)) { - lean_ctor_release(x_988, 0); - lean_ctor_release(x_988, 1); - lean_ctor_release(x_988, 2); - lean_ctor_release(x_988, 3); - lean_ctor_release(x_988, 4); - x_1004 = x_988; -} else { - lean_dec_ref(x_988); x_1004 = lean_box(0); } -lean_inc(x_972); -if (lean_is_scalar(x_1004)) { - x_1005 = lean_alloc_ctor(0, 5, 0); -} else { - x_1005 = x_1004; -} -lean_ctor_set(x_1005, 0, x_1000); -lean_ctor_set(x_1005, 1, x_972); -lean_ctor_set(x_1005, 2, x_1001); -lean_ctor_set(x_1005, 3, x_1002); -lean_ctor_set(x_1005, 4, x_1003); -if (lean_is_scalar(x_999)) { - x_1006 = lean_alloc_ctor(0, 10, 1); -} else { - x_1006 = x_999; -} -lean_ctor_set(x_1006, 0, x_1005); -lean_ctor_set(x_1006, 1, x_989); -lean_ctor_set(x_1006, 2, x_990); -lean_ctor_set(x_1006, 3, x_991); -lean_ctor_set(x_1006, 4, x_992); -lean_ctor_set(x_1006, 5, x_993); -lean_ctor_set(x_1006, 6, x_994); -lean_ctor_set(x_1006, 7, x_995); -lean_ctor_set(x_1006, 8, x_996); -lean_ctor_set(x_1006, 9, x_997); -lean_ctor_set_uint8(x_1006, sizeof(void*)*10, x_998); -x_1007 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_987, x_1006, x_975); -if (lean_obj_tag(x_1007) == 0) -{ -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; -x_1008 = lean_ctor_get(x_1007, 0); +x_1005 = lean_ctor_get(x_992, 0); +lean_inc(x_1005); +x_1006 = lean_ctor_get(x_992, 2); +lean_inc(x_1006); +x_1007 = lean_ctor_get(x_992, 3); +lean_inc(x_1007); +x_1008 = lean_ctor_get(x_992, 4); lean_inc(x_1008); -x_1009 = lean_ctor_get(x_1007, 1); -lean_inc(x_1009); -if (lean_is_exclusive(x_1007)) { - lean_ctor_release(x_1007, 0); - lean_ctor_release(x_1007, 1); - x_1010 = x_1007; +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); + x_1009 = x_992; } else { - lean_dec_ref(x_1007); - x_1010 = lean_box(0); + lean_dec_ref(x_992); + x_1009 = lean_box(0); } -x_1011 = l_Lean_mkFVar(x_961); -x_1012 = l_Lean_FileMap_ofString___closed__1; -x_1013 = lean_array_push(x_1012, x_1011); -x_1014 = l_Lean_LocalContext_mkLambda(x_972, x_1013, x_1008); -lean_dec(x_1008); +lean_inc(x_976); +if (lean_is_scalar(x_1009)) { + x_1010 = lean_alloc_ctor(0, 5, 0); +} else { + x_1010 = x_1009; +} +lean_ctor_set(x_1010, 0, x_1005); +lean_ctor_set(x_1010, 1, x_976); +lean_ctor_set(x_1010, 2, x_1006); +lean_ctor_set(x_1010, 3, x_1007); +lean_ctor_set(x_1010, 4, x_1008); +if (lean_is_scalar(x_1004)) { + x_1011 = lean_alloc_ctor(0, 10, 2); +} else { + x_1011 = x_1004; +} +lean_ctor_set(x_1011, 0, x_1010); +lean_ctor_set(x_1011, 1, x_993); +lean_ctor_set(x_1011, 2, x_994); +lean_ctor_set(x_1011, 3, x_995); +lean_ctor_set(x_1011, 4, x_996); +lean_ctor_set(x_1011, 5, x_997); +lean_ctor_set(x_1011, 6, x_998); +lean_ctor_set(x_1011, 7, x_999); +lean_ctor_set(x_1011, 8, x_1000); +lean_ctor_set(x_1011, 9, x_1001); +lean_ctor_set_uint8(x_1011, sizeof(void*)*10, x_1002); +lean_ctor_set_uint8(x_1011, sizeof(void*)*10 + 1, x_1003); +x_1012 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_991, x_1011, x_979); +if (lean_obj_tag(x_1012) == 0) +{ +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; +x_1013 = lean_ctor_get(x_1012, 0); +lean_inc(x_1013); +x_1014 = lean_ctor_get(x_1012, 1); +lean_inc(x_1014); +if (lean_is_exclusive(x_1012)) { + lean_ctor_release(x_1012, 0); + lean_ctor_release(x_1012, 1); + x_1015 = x_1012; +} else { + lean_dec_ref(x_1012); + x_1015 = lean_box(0); +} +x_1016 = l_Lean_mkFVar(x_965); +x_1017 = l_Lean_FileMap_ofString___closed__1; +x_1018 = lean_array_push(x_1017, x_1016); +x_1019 = l_Lean_LocalContext_mkLambda(x_976, x_1018, x_1013); lean_dec(x_1013); -if (lean_is_scalar(x_1010)) { - x_1015 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_1018); +if (lean_is_scalar(x_1015)) { + x_1020 = lean_alloc_ctor(0, 2, 0); } else { - x_1015 = x_1010; + x_1020 = x_1015; } -lean_ctor_set(x_1015, 0, x_1014); -lean_ctor_set(x_1015, 1, x_1009); -return x_1015; +lean_ctor_set(x_1020, 0, x_1019); +lean_ctor_set(x_1020, 1, x_1014); +return x_1020; } else { -lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; -lean_dec(x_972); -lean_dec(x_961); -x_1016 = lean_ctor_get(x_1007, 0); -lean_inc(x_1016); -x_1017 = lean_ctor_get(x_1007, 1); -lean_inc(x_1017); -if (lean_is_exclusive(x_1007)) { - lean_ctor_release(x_1007, 0); - lean_ctor_release(x_1007, 1); - x_1018 = x_1007; -} else { - lean_dec_ref(x_1007); - x_1018 = lean_box(0); -} -if (lean_is_scalar(x_1018)) { - x_1019 = lean_alloc_ctor(1, 2, 0); -} else { - x_1019 = x_1018; -} -lean_ctor_set(x_1019, 0, x_1016); -lean_ctor_set(x_1019, 1, x_1017); -return x_1019; -} -} -else -{ -lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; -lean_dec(x_961); -lean_dec(x_953); -lean_dec(x_946); -lean_dec(x_944); -lean_dec(x_2); -x_1020 = lean_ctor_get(x_965, 0); -lean_inc(x_1020); -x_1021 = lean_ctor_get(x_965, 1); +lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; +lean_dec(x_976); +lean_dec(x_965); +x_1021 = lean_ctor_get(x_1012, 0); lean_inc(x_1021); -if (lean_is_exclusive(x_965)) { - lean_ctor_release(x_965, 0); - lean_ctor_release(x_965, 1); - x_1022 = x_965; +x_1022 = lean_ctor_get(x_1012, 1); +lean_inc(x_1022); +if (lean_is_exclusive(x_1012)) { + lean_ctor_release(x_1012, 0); + lean_ctor_release(x_1012, 1); + x_1023 = x_1012; } else { - lean_dec_ref(x_965); - x_1022 = lean_box(0); + lean_dec_ref(x_1012); + x_1023 = lean_box(0); } -if (lean_is_scalar(x_1022)) { - x_1023 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1023)) { + x_1024 = lean_alloc_ctor(1, 2, 0); } else { - x_1023 = x_1022; + x_1024 = x_1023; } -lean_ctor_set(x_1023, 0, x_1020); -lean_ctor_set(x_1023, 1, x_1021); -return x_1023; +lean_ctor_set(x_1024, 0, x_1021); +lean_ctor_set(x_1024, 1, x_1022); +return x_1024; } } else { -lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; uint8_t 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; uint8_t 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_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; +lean_dec(x_965); +lean_dec(x_957); lean_dec(x_950); -x_1024 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_1025 = lean_name_mk_string(x_117, x_1024); -x_1026 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1027 = lean_ctor_get(x_1026, 0); -lean_inc(x_1027); -x_1028 = lean_ctor_get(x_1026, 1); -lean_inc(x_1028); -lean_dec(x_1026); -x_1029 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_1030 = 0; -lean_inc_n(x_1025, 2); -x_1031 = lean_local_ctx_mk_local_decl(x_1027, x_1025, x_1025, x_1029, x_1030); -x_1032 = l_Array_eraseIdx___rarg(x_944, x_948); -x_1033 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1028); -x_1034 = lean_ctor_get(x_1033, 1); -lean_inc(x_1034); -lean_dec(x_1033); -x_1035 = lean_name_mk_string(x_953, x_779); -x_1036 = l_Lean_nullKind___closed__1; -x_1037 = lean_name_mk_string(x_117, x_1036); -x_1038 = l_Array_empty___closed__1; -x_1039 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1032, x_1032, x_948, x_1038); -lean_dec(x_1032); -x_1040 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1040, 0, x_1037); -lean_ctor_set(x_1040, 1, x_1039); -x_1041 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1042 = lean_array_push(x_1041, x_1040); -x_1043 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1044 = lean_array_push(x_1042, x_1043); -x_1045 = lean_array_push(x_1044, x_946); -x_1046 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1046, 0, x_1035); -lean_ctor_set(x_1046, 1, x_1045); -x_1047 = lean_ctor_get(x_2, 0); -lean_inc(x_1047); -x_1048 = lean_ctor_get(x_2, 1); -lean_inc(x_1048); -x_1049 = lean_ctor_get(x_2, 2); -lean_inc(x_1049); -x_1050 = lean_ctor_get(x_2, 3); -lean_inc(x_1050); -x_1051 = lean_ctor_get(x_2, 4); -lean_inc(x_1051); -x_1052 = lean_ctor_get(x_2, 5); +lean_dec(x_948); +lean_dec(x_2); +x_1025 = lean_ctor_get(x_969, 0); +lean_inc(x_1025); +x_1026 = lean_ctor_get(x_969, 1); +lean_inc(x_1026); +if (lean_is_exclusive(x_969)) { + lean_ctor_release(x_969, 0); + lean_ctor_release(x_969, 1); + x_1027 = x_969; +} else { + lean_dec_ref(x_969); + x_1027 = lean_box(0); +} +if (lean_is_scalar(x_1027)) { + x_1028 = lean_alloc_ctor(1, 2, 0); +} else { + x_1028 = x_1027; +} +lean_ctor_set(x_1028, 0, x_1025); +lean_ctor_set(x_1028, 1, x_1026); +return x_1028; +} +} +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; uint8_t 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; uint8_t x_1062; uint8_t 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_dec(x_954); +x_1029 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_1030 = lean_name_mk_string(x_118, x_1029); +x_1031 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_1032 = lean_ctor_get(x_1031, 0); +lean_inc(x_1032); +x_1033 = lean_ctor_get(x_1031, 1); +lean_inc(x_1033); +lean_dec(x_1031); +x_1034 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_1035 = 0; +lean_inc_n(x_1030, 2); +x_1036 = lean_local_ctx_mk_local_decl(x_1032, x_1030, x_1030, x_1034, x_1035); +x_1037 = l_Array_eraseIdx___rarg(x_948, x_952); +x_1038 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1033); +x_1039 = lean_ctor_get(x_1038, 1); +lean_inc(x_1039); +lean_dec(x_1038); +x_1040 = lean_name_mk_string(x_957, x_783); +x_1041 = l_Lean_nullKind___closed__1; +x_1042 = lean_name_mk_string(x_118, x_1041); +x_1043 = l_Array_empty___closed__1; +x_1044 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1037, x_1037, x_952, x_1043); +lean_dec(x_1037); +x_1045 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1045, 0, x_1042); +lean_ctor_set(x_1045, 1, x_1044); +x_1046 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1047 = lean_array_push(x_1046, x_1045); +x_1048 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1049 = lean_array_push(x_1047, x_1048); +x_1050 = lean_array_push(x_1049, x_950); +x_1051 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1051, 0, x_1040); +lean_ctor_set(x_1051, 1, x_1050); +x_1052 = lean_ctor_get(x_2, 0); lean_inc(x_1052); -x_1053 = lean_ctor_get(x_2, 6); +x_1053 = lean_ctor_get(x_2, 1); lean_inc(x_1053); -x_1054 = lean_ctor_get(x_2, 7); +x_1054 = lean_ctor_get(x_2, 2); lean_inc(x_1054); -x_1055 = lean_ctor_get(x_2, 8); +x_1055 = lean_ctor_get(x_2, 3); lean_inc(x_1055); -x_1056 = lean_ctor_get(x_2, 9); +x_1056 = lean_ctor_get(x_2, 4); lean_inc(x_1056); -x_1057 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1057 = lean_ctor_get(x_2, 5); +lean_inc(x_1057); +x_1058 = lean_ctor_get(x_2, 6); +lean_inc(x_1058); +x_1059 = lean_ctor_get(x_2, 7); +lean_inc(x_1059); +x_1060 = lean_ctor_get(x_2, 8); +lean_inc(x_1060); +x_1061 = lean_ctor_get(x_2, 9); +lean_inc(x_1061); +x_1062 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1063 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -17856,174 +17897,176 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1058 = x_2; + x_1064 = x_2; } else { lean_dec_ref(x_2); - x_1058 = lean_box(0); + x_1064 = lean_box(0); } -x_1059 = lean_ctor_get(x_1047, 0); -lean_inc(x_1059); -x_1060 = lean_ctor_get(x_1047, 2); -lean_inc(x_1060); -x_1061 = lean_ctor_get(x_1047, 3); -lean_inc(x_1061); -x_1062 = lean_ctor_get(x_1047, 4); -lean_inc(x_1062); -if (lean_is_exclusive(x_1047)) { - lean_ctor_release(x_1047, 0); - lean_ctor_release(x_1047, 1); - lean_ctor_release(x_1047, 2); - lean_ctor_release(x_1047, 3); - lean_ctor_release(x_1047, 4); - x_1063 = x_1047; -} else { - lean_dec_ref(x_1047); - x_1063 = lean_box(0); -} -lean_inc(x_1031); -if (lean_is_scalar(x_1063)) { - x_1064 = lean_alloc_ctor(0, 5, 0); -} else { - x_1064 = x_1063; -} -lean_ctor_set(x_1064, 0, x_1059); -lean_ctor_set(x_1064, 1, x_1031); -lean_ctor_set(x_1064, 2, x_1060); -lean_ctor_set(x_1064, 3, x_1061); -lean_ctor_set(x_1064, 4, x_1062); -if (lean_is_scalar(x_1058)) { - x_1065 = lean_alloc_ctor(0, 10, 1); -} else { - x_1065 = x_1058; -} -lean_ctor_set(x_1065, 0, x_1064); -lean_ctor_set(x_1065, 1, x_1048); -lean_ctor_set(x_1065, 2, x_1049); -lean_ctor_set(x_1065, 3, x_1050); -lean_ctor_set(x_1065, 4, x_1051); -lean_ctor_set(x_1065, 5, x_1052); -lean_ctor_set(x_1065, 6, x_1053); -lean_ctor_set(x_1065, 7, x_1054); -lean_ctor_set(x_1065, 8, x_1055); -lean_ctor_set(x_1065, 9, x_1056); -lean_ctor_set_uint8(x_1065, sizeof(void*)*10, x_1057); -x_1066 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1046, x_1065, x_1034); -if (lean_obj_tag(x_1066) == 0) -{ -lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; -x_1067 = lean_ctor_get(x_1066, 0); +x_1065 = lean_ctor_get(x_1052, 0); +lean_inc(x_1065); +x_1066 = lean_ctor_get(x_1052, 2); +lean_inc(x_1066); +x_1067 = lean_ctor_get(x_1052, 3); lean_inc(x_1067); -x_1068 = lean_ctor_get(x_1066, 1); +x_1068 = lean_ctor_get(x_1052, 4); lean_inc(x_1068); -if (lean_is_exclusive(x_1066)) { - lean_ctor_release(x_1066, 0); - lean_ctor_release(x_1066, 1); - x_1069 = x_1066; +if (lean_is_exclusive(x_1052)) { + lean_ctor_release(x_1052, 0); + lean_ctor_release(x_1052, 1); + lean_ctor_release(x_1052, 2); + lean_ctor_release(x_1052, 3); + lean_ctor_release(x_1052, 4); + x_1069 = x_1052; } else { - lean_dec_ref(x_1066); + lean_dec_ref(x_1052); x_1069 = lean_box(0); } -x_1070 = l_Lean_mkFVar(x_1025); -x_1071 = l_Lean_FileMap_ofString___closed__1; -x_1072 = lean_array_push(x_1071, x_1070); -x_1073 = l_Lean_LocalContext_mkLambda(x_1031, x_1072, x_1067); -lean_dec(x_1067); -lean_dec(x_1072); +lean_inc(x_1036); if (lean_is_scalar(x_1069)) { - x_1074 = lean_alloc_ctor(0, 2, 0); + x_1070 = lean_alloc_ctor(0, 5, 0); } else { - x_1074 = x_1069; + x_1070 = x_1069; } -lean_ctor_set(x_1074, 0, x_1073); -lean_ctor_set(x_1074, 1, x_1068); -return x_1074; +lean_ctor_set(x_1070, 0, x_1065); +lean_ctor_set(x_1070, 1, x_1036); +lean_ctor_set(x_1070, 2, x_1066); +lean_ctor_set(x_1070, 3, x_1067); +lean_ctor_set(x_1070, 4, x_1068); +if (lean_is_scalar(x_1064)) { + x_1071 = lean_alloc_ctor(0, 10, 2); +} else { + x_1071 = x_1064; +} +lean_ctor_set(x_1071, 0, x_1070); +lean_ctor_set(x_1071, 1, x_1053); +lean_ctor_set(x_1071, 2, x_1054); +lean_ctor_set(x_1071, 3, x_1055); +lean_ctor_set(x_1071, 4, x_1056); +lean_ctor_set(x_1071, 5, x_1057); +lean_ctor_set(x_1071, 6, x_1058); +lean_ctor_set(x_1071, 7, x_1059); +lean_ctor_set(x_1071, 8, x_1060); +lean_ctor_set(x_1071, 9, x_1061); +lean_ctor_set_uint8(x_1071, sizeof(void*)*10, x_1062); +lean_ctor_set_uint8(x_1071, sizeof(void*)*10 + 1, x_1063); +x_1072 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1051, x_1071, x_1039); +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; lean_object* x_1080; +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_mkFVar(x_1030); +x_1077 = l_Lean_FileMap_ofString___closed__1; +x_1078 = lean_array_push(x_1077, x_1076); +x_1079 = l_Lean_LocalContext_mkLambda(x_1036, x_1078, x_1073); +lean_dec(x_1073); +lean_dec(x_1078); +if (lean_is_scalar(x_1075)) { + x_1080 = lean_alloc_ctor(0, 2, 0); +} else { + x_1080 = x_1075; +} +lean_ctor_set(x_1080, 0, x_1079); +lean_ctor_set(x_1080, 1, x_1074); +return x_1080; } else { -lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; -lean_dec(x_1031); -lean_dec(x_1025); -x_1075 = lean_ctor_get(x_1066, 0); -lean_inc(x_1075); -x_1076 = lean_ctor_get(x_1066, 1); -lean_inc(x_1076); -if (lean_is_exclusive(x_1066)) { - lean_ctor_release(x_1066, 0); - lean_ctor_release(x_1066, 1); - x_1077 = x_1066; -} else { - lean_dec_ref(x_1066); - x_1077 = lean_box(0); -} -if (lean_is_scalar(x_1077)) { - x_1078 = lean_alloc_ctor(1, 2, 0); -} else { - x_1078 = x_1077; -} -lean_ctor_set(x_1078, 0, x_1075); -lean_ctor_set(x_1078, 1, x_1076); -return x_1078; -} -} -} -else -{ -lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; uint8_t 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; uint8_t 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; -x_1079 = l_Lean_Syntax_getIdAt(x_950, x_948); -lean_dec(x_950); -x_1080 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1081 = lean_ctor_get(x_1080, 0); +lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; +lean_dec(x_1036); +lean_dec(x_1030); +x_1081 = lean_ctor_get(x_1072, 0); lean_inc(x_1081); -x_1082 = lean_ctor_get(x_1080, 1); +x_1082 = lean_ctor_get(x_1072, 1); lean_inc(x_1082); -lean_dec(x_1080); -x_1083 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_1084 = 0; -lean_inc_n(x_1079, 2); -x_1085 = lean_local_ctx_mk_local_decl(x_1081, x_1079, x_1079, x_1083, x_1084); -x_1086 = l_Array_eraseIdx___rarg(x_944, x_948); -x_1087 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1082); -x_1088 = lean_ctor_get(x_1087, 1); +if (lean_is_exclusive(x_1072)) { + lean_ctor_release(x_1072, 0); + lean_ctor_release(x_1072, 1); + x_1083 = x_1072; +} else { + lean_dec_ref(x_1072); + x_1083 = lean_box(0); +} +if (lean_is_scalar(x_1083)) { + x_1084 = lean_alloc_ctor(1, 2, 0); +} else { + x_1084 = x_1083; +} +lean_ctor_set(x_1084, 0, x_1081); +lean_ctor_set(x_1084, 1, x_1082); +return x_1084; +} +} +} +else +{ +lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; uint8_t 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; uint8_t x_1117; uint8_t 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; +x_1085 = l_Lean_Syntax_getIdAt(x_954, x_952); +lean_dec(x_954); +x_1086 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_1087 = lean_ctor_get(x_1086, 0); +lean_inc(x_1087); +x_1088 = lean_ctor_get(x_1086, 1); lean_inc(x_1088); -lean_dec(x_1087); -x_1089 = lean_name_mk_string(x_953, x_779); -x_1090 = l_Lean_nullKind___closed__1; -x_1091 = lean_name_mk_string(x_117, x_1090); -x_1092 = l_Array_empty___closed__1; -x_1093 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1086, x_1086, x_948, x_1092); lean_dec(x_1086); -x_1094 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1094, 0, x_1091); -lean_ctor_set(x_1094, 1, x_1093); -x_1095 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1096 = lean_array_push(x_1095, x_1094); -x_1097 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1098 = lean_array_push(x_1096, x_1097); -x_1099 = lean_array_push(x_1098, x_946); +x_1089 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_1090 = 0; +lean_inc_n(x_1085, 2); +x_1091 = lean_local_ctx_mk_local_decl(x_1087, x_1085, x_1085, x_1089, x_1090); +x_1092 = l_Array_eraseIdx___rarg(x_948, x_952); +x_1093 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1088); +x_1094 = lean_ctor_get(x_1093, 1); +lean_inc(x_1094); +lean_dec(x_1093); +x_1095 = lean_name_mk_string(x_957, x_783); +x_1096 = l_Lean_nullKind___closed__1; +x_1097 = lean_name_mk_string(x_118, x_1096); +x_1098 = l_Array_empty___closed__1; +x_1099 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1092, x_1092, x_952, x_1098); +lean_dec(x_1092); x_1100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1100, 0, x_1089); +lean_ctor_set(x_1100, 0, x_1097); lean_ctor_set(x_1100, 1, x_1099); -x_1101 = lean_ctor_get(x_2, 0); -lean_inc(x_1101); -x_1102 = lean_ctor_get(x_2, 1); -lean_inc(x_1102); -x_1103 = lean_ctor_get(x_2, 2); -lean_inc(x_1103); -x_1104 = lean_ctor_get(x_2, 3); -lean_inc(x_1104); -x_1105 = lean_ctor_get(x_2, 4); -lean_inc(x_1105); -x_1106 = lean_ctor_get(x_2, 5); -lean_inc(x_1106); -x_1107 = lean_ctor_get(x_2, 6); +x_1101 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1102 = lean_array_push(x_1101, x_1100); +x_1103 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1104 = lean_array_push(x_1102, x_1103); +x_1105 = lean_array_push(x_1104, x_950); +x_1106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1106, 0, x_1095); +lean_ctor_set(x_1106, 1, x_1105); +x_1107 = lean_ctor_get(x_2, 0); lean_inc(x_1107); -x_1108 = lean_ctor_get(x_2, 7); +x_1108 = lean_ctor_get(x_2, 1); lean_inc(x_1108); -x_1109 = lean_ctor_get(x_2, 8); +x_1109 = lean_ctor_get(x_2, 2); lean_inc(x_1109); -x_1110 = lean_ctor_get(x_2, 9); +x_1110 = lean_ctor_get(x_2, 3); lean_inc(x_1110); -x_1111 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1111 = lean_ctor_get(x_2, 4); +lean_inc(x_1111); +x_1112 = lean_ctor_get(x_2, 5); +lean_inc(x_1112); +x_1113 = lean_ctor_get(x_2, 6); +lean_inc(x_1113); +x_1114 = lean_ctor_get(x_2, 7); +lean_inc(x_1114); +x_1115 = lean_ctor_get(x_2, 8); +lean_inc(x_1115); +x_1116 = lean_ctor_get(x_2, 9); +lean_inc(x_1116); +x_1117 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1118 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -18035,1389 +18078,1391 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1112 = x_2; + x_1119 = x_2; } else { lean_dec_ref(x_2); - x_1112 = lean_box(0); + x_1119 = lean_box(0); } -x_1113 = lean_ctor_get(x_1101, 0); -lean_inc(x_1113); -x_1114 = lean_ctor_get(x_1101, 2); -lean_inc(x_1114); -x_1115 = lean_ctor_get(x_1101, 3); -lean_inc(x_1115); -x_1116 = lean_ctor_get(x_1101, 4); -lean_inc(x_1116); -if (lean_is_exclusive(x_1101)) { - lean_ctor_release(x_1101, 0); - lean_ctor_release(x_1101, 1); - lean_ctor_release(x_1101, 2); - lean_ctor_release(x_1101, 3); - lean_ctor_release(x_1101, 4); - x_1117 = x_1101; -} else { - lean_dec_ref(x_1101); - x_1117 = lean_box(0); -} -lean_inc(x_1085); -if (lean_is_scalar(x_1117)) { - x_1118 = lean_alloc_ctor(0, 5, 0); -} else { - x_1118 = x_1117; -} -lean_ctor_set(x_1118, 0, x_1113); -lean_ctor_set(x_1118, 1, x_1085); -lean_ctor_set(x_1118, 2, x_1114); -lean_ctor_set(x_1118, 3, x_1115); -lean_ctor_set(x_1118, 4, x_1116); -if (lean_is_scalar(x_1112)) { - x_1119 = lean_alloc_ctor(0, 10, 1); -} else { - x_1119 = x_1112; -} -lean_ctor_set(x_1119, 0, x_1118); -lean_ctor_set(x_1119, 1, x_1102); -lean_ctor_set(x_1119, 2, x_1103); -lean_ctor_set(x_1119, 3, x_1104); -lean_ctor_set(x_1119, 4, x_1105); -lean_ctor_set(x_1119, 5, x_1106); -lean_ctor_set(x_1119, 6, x_1107); -lean_ctor_set(x_1119, 7, x_1108); -lean_ctor_set(x_1119, 8, x_1109); -lean_ctor_set(x_1119, 9, x_1110); -lean_ctor_set_uint8(x_1119, sizeof(void*)*10, x_1111); -x_1120 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1100, x_1119, x_1088); -if (lean_obj_tag(x_1120) == 0) -{ -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; -x_1121 = lean_ctor_get(x_1120, 0); +x_1120 = lean_ctor_get(x_1107, 0); +lean_inc(x_1120); +x_1121 = lean_ctor_get(x_1107, 2); lean_inc(x_1121); -x_1122 = lean_ctor_get(x_1120, 1); +x_1122 = lean_ctor_get(x_1107, 3); lean_inc(x_1122); -if (lean_is_exclusive(x_1120)) { - lean_ctor_release(x_1120, 0); - lean_ctor_release(x_1120, 1); - x_1123 = x_1120; +x_1123 = lean_ctor_get(x_1107, 4); +lean_inc(x_1123); +if (lean_is_exclusive(x_1107)) { + lean_ctor_release(x_1107, 0); + lean_ctor_release(x_1107, 1); + lean_ctor_release(x_1107, 2); + lean_ctor_release(x_1107, 3); + lean_ctor_release(x_1107, 4); + x_1124 = x_1107; } else { - lean_dec_ref(x_1120); - x_1123 = lean_box(0); + lean_dec_ref(x_1107); + x_1124 = lean_box(0); } -x_1124 = l_Lean_mkFVar(x_1079); -x_1125 = l_Lean_FileMap_ofString___closed__1; -x_1126 = lean_array_push(x_1125, x_1124); -x_1127 = l_Lean_LocalContext_mkLambda(x_1085, x_1126, x_1121); -lean_dec(x_1121); -lean_dec(x_1126); -if (lean_is_scalar(x_1123)) { - x_1128 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_1091); +if (lean_is_scalar(x_1124)) { + x_1125 = lean_alloc_ctor(0, 5, 0); } else { - x_1128 = x_1123; + x_1125 = x_1124; } -lean_ctor_set(x_1128, 0, x_1127); -lean_ctor_set(x_1128, 1, x_1122); -return x_1128; +lean_ctor_set(x_1125, 0, x_1120); +lean_ctor_set(x_1125, 1, x_1091); +lean_ctor_set(x_1125, 2, x_1121); +lean_ctor_set(x_1125, 3, x_1122); +lean_ctor_set(x_1125, 4, x_1123); +if (lean_is_scalar(x_1119)) { + x_1126 = lean_alloc_ctor(0, 10, 2); +} else { + x_1126 = x_1119; } -else +lean_ctor_set(x_1126, 0, x_1125); +lean_ctor_set(x_1126, 1, x_1108); +lean_ctor_set(x_1126, 2, x_1109); +lean_ctor_set(x_1126, 3, x_1110); +lean_ctor_set(x_1126, 4, x_1111); +lean_ctor_set(x_1126, 5, x_1112); +lean_ctor_set(x_1126, 6, x_1113); +lean_ctor_set(x_1126, 7, x_1114); +lean_ctor_set(x_1126, 8, x_1115); +lean_ctor_set(x_1126, 9, x_1116); +lean_ctor_set_uint8(x_1126, sizeof(void*)*10, x_1117); +lean_ctor_set_uint8(x_1126, sizeof(void*)*10 + 1, x_1118); +x_1127 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1106, x_1126, x_1094); +if (lean_obj_tag(x_1127) == 0) { -lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; -lean_dec(x_1085); -lean_dec(x_1079); -x_1129 = lean_ctor_get(x_1120, 0); +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; +x_1128 = lean_ctor_get(x_1127, 0); +lean_inc(x_1128); +x_1129 = lean_ctor_get(x_1127, 1); lean_inc(x_1129); -x_1130 = lean_ctor_get(x_1120, 1); -lean_inc(x_1130); -if (lean_is_exclusive(x_1120)) { - lean_ctor_release(x_1120, 0); - lean_ctor_release(x_1120, 1); - x_1131 = x_1120; +if (lean_is_exclusive(x_1127)) { + lean_ctor_release(x_1127, 0); + lean_ctor_release(x_1127, 1); + x_1130 = x_1127; } else { - lean_dec_ref(x_1120); - x_1131 = lean_box(0); + lean_dec_ref(x_1127); + x_1130 = lean_box(0); } -if (lean_is_scalar(x_1131)) { - x_1132 = lean_alloc_ctor(1, 2, 0); +x_1131 = l_Lean_mkFVar(x_1085); +x_1132 = l_Lean_FileMap_ofString___closed__1; +x_1133 = lean_array_push(x_1132, x_1131); +x_1134 = l_Lean_LocalContext_mkLambda(x_1091, x_1133, x_1128); +lean_dec(x_1128); +lean_dec(x_1133); +if (lean_is_scalar(x_1130)) { + x_1135 = lean_alloc_ctor(0, 2, 0); } else { - x_1132 = x_1131; + x_1135 = x_1130; } -lean_ctor_set(x_1132, 0, x_1129); -lean_ctor_set(x_1132, 1, x_1130); -return x_1132; +lean_ctor_set(x_1135, 0, x_1134); +lean_ctor_set(x_1135, 1, x_1129); +return x_1135; +} +else +{ +lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; +lean_dec(x_1091); +lean_dec(x_1085); +x_1136 = lean_ctor_get(x_1127, 0); +lean_inc(x_1136); +x_1137 = lean_ctor_get(x_1127, 1); +lean_inc(x_1137); +if (lean_is_exclusive(x_1127)) { + lean_ctor_release(x_1127, 0); + lean_ctor_release(x_1127, 1); + x_1138 = x_1127; +} else { + lean_dec_ref(x_1127); + x_1138 = lean_box(0); +} +if (lean_is_scalar(x_1138)) { + x_1139 = lean_alloc_ctor(1, 2, 0); +} else { + x_1139 = x_1138; +} +lean_ctor_set(x_1139, 0, x_1136); +lean_ctor_set(x_1139, 1, x_1137); +return x_1139; } } } else { -lean_dec(x_944); -x_1 = x_946; +lean_dec(x_948); +x_1 = x_950; goto _start; } } } else { -lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; +lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; +lean_free_object(x_117); lean_free_object(x_116); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -x_1134 = l_Lean_Syntax_inhabited; -x_1135 = lean_unsigned_to_nat(0u); -x_1136 = lean_array_get(x_1134, x_4, x_1135); +lean_free_object(x_106); +lean_dec(x_119); +x_1141 = l_Lean_Syntax_inhabited; +x_1142 = lean_unsigned_to_nat(0u); +x_1143 = lean_array_get(x_1141, x_4, x_1142); lean_dec(x_4); -if (lean_obj_tag(x_1136) == 3) +if (lean_obj_tag(x_1143) == 3) { -lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; -x_1137 = lean_ctor_get(x_1136, 2); -lean_inc(x_1137); -x_1138 = lean_ctor_get(x_1136, 3); -lean_inc(x_1138); -lean_dec(x_1136); -x_1139 = lean_box(0); +lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; +x_1144 = lean_ctor_get(x_1143, 2); +lean_inc(x_1144); +x_1145 = lean_ctor_get(x_1143, 3); +lean_inc(x_1145); +lean_dec(x_1143); +x_1146 = lean_box(0); lean_inc(x_2); -x_1140 = l_Lean_Elab_Term_resolveName(x_1, x_1137, x_1138, x_1139, x_2, x_3); +x_1147 = l_Lean_Elab_Term_resolveName(x_1, x_1144, x_1145, x_1146, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_1140) == 0) +if (lean_obj_tag(x_1147) == 0) { -lean_object* x_1141; -x_1141 = lean_ctor_get(x_1140, 0); -lean_inc(x_1141); -if (lean_obj_tag(x_1141) == 0) +lean_object* x_1148; +x_1148 = lean_ctor_get(x_1147, 0); +lean_inc(x_1148); +if (lean_obj_tag(x_1148) == 0) { -lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; -x_1142 = lean_ctor_get(x_1140, 1); -lean_inc(x_1142); -lean_dec(x_1140); -x_1143 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1144 = l_unreachable_x21___rarg(x_1143); -x_1145 = lean_apply_2(x_1144, x_2, x_1142); -return x_1145; +lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; +x_1149 = lean_ctor_get(x_1147, 1); +lean_inc(x_1149); +lean_dec(x_1147); +x_1150 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1151 = l_unreachable_x21___rarg(x_1150); +x_1152 = lean_apply_2(x_1151, x_2, x_1149); +return x_1152; } else { -lean_object* x_1146; lean_object* x_1147; +lean_object* x_1153; lean_object* x_1154; lean_dec(x_2); -x_1146 = lean_ctor_get(x_1141, 0); -lean_inc(x_1146); -lean_dec(x_1141); -x_1147 = lean_ctor_get(x_1146, 0); -lean_inc(x_1147); -switch (lean_obj_tag(x_1147)) { +x_1153 = lean_ctor_get(x_1148, 0); +lean_inc(x_1153); +lean_dec(x_1148); +x_1154 = lean_ctor_get(x_1153, 0); +lean_inc(x_1154); +switch (lean_obj_tag(x_1154)) { case 0: { -lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; -x_1148 = lean_ctor_get(x_1140, 1); -lean_inc(x_1148); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1149 = x_1140; +lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; +x_1155 = lean_ctor_get(x_1147, 1); +lean_inc(x_1155); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1156 = x_1147; } else { - lean_dec_ref(x_1140); - x_1149 = lean_box(0); + lean_dec_ref(x_1147); + x_1156 = lean_box(0); } -x_1150 = lean_ctor_get(x_1146, 1); -lean_inc(x_1150); -lean_dec(x_1146); -x_1151 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_1147, x_1150); -if (lean_is_scalar(x_1149)) { - x_1152 = lean_alloc_ctor(0, 2, 0); +x_1157 = lean_ctor_get(x_1153, 1); +lean_inc(x_1157); +lean_dec(x_1153); +x_1158 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_118, x_1154, x_1157); +if (lean_is_scalar(x_1156)) { + x_1159 = lean_alloc_ctor(0, 2, 0); } else { - x_1152 = x_1149; + x_1159 = x_1156; } -lean_ctor_set(x_1152, 0, x_1151); -lean_ctor_set(x_1152, 1, x_1148); -return x_1152; +lean_ctor_set(x_1159, 0, x_1158); +lean_ctor_set(x_1159, 1, x_1155); +return x_1159; } case 1: { -lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; -x_1153 = lean_ctor_get(x_1140, 1); -lean_inc(x_1153); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1154 = x_1140; +lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; +x_1160 = lean_ctor_get(x_1147, 1); +lean_inc(x_1160); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1161 = x_1147; } else { - lean_dec_ref(x_1140); - x_1154 = lean_box(0); + lean_dec_ref(x_1147); + x_1161 = lean_box(0); } -x_1155 = lean_ctor_get(x_1146, 1); -lean_inc(x_1155); -lean_dec(x_1146); -x_1156 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_1147, x_1155); -if (lean_is_scalar(x_1154)) { - x_1157 = lean_alloc_ctor(0, 2, 0); +x_1162 = lean_ctor_get(x_1153, 1); +lean_inc(x_1162); +lean_dec(x_1153); +x_1163 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_118, x_1154, x_1162); +if (lean_is_scalar(x_1161)) { + x_1164 = lean_alloc_ctor(0, 2, 0); } else { - x_1157 = x_1154; + x_1164 = x_1161; } -lean_ctor_set(x_1157, 0, x_1156); -lean_ctor_set(x_1157, 1, x_1153); -return x_1157; +lean_ctor_set(x_1164, 0, x_1163); +lean_ctor_set(x_1164, 1, x_1160); +return x_1164; } case 2: { -lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; -x_1158 = lean_ctor_get(x_1140, 1); -lean_inc(x_1158); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1159 = x_1140; +lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; +x_1165 = lean_ctor_get(x_1147, 1); +lean_inc(x_1165); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1166 = x_1147; } else { - lean_dec_ref(x_1140); - x_1159 = lean_box(0); + lean_dec_ref(x_1147); + x_1166 = lean_box(0); } -x_1160 = lean_ctor_get(x_1146, 1); -lean_inc(x_1160); -lean_dec(x_1146); -x_1161 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_1147, x_1160); -if (lean_is_scalar(x_1159)) { - x_1162 = lean_alloc_ctor(0, 2, 0); +x_1167 = lean_ctor_get(x_1153, 1); +lean_inc(x_1167); +lean_dec(x_1153); +x_1168 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_118, x_1154, x_1167); +if (lean_is_scalar(x_1166)) { + x_1169 = lean_alloc_ctor(0, 2, 0); } else { - x_1162 = x_1159; + x_1169 = x_1166; } -lean_ctor_set(x_1162, 0, x_1161); -lean_ctor_set(x_1162, 1, x_1158); -return x_1162; +lean_ctor_set(x_1169, 0, x_1168); +lean_ctor_set(x_1169, 1, x_1165); +return x_1169; } case 3: { -lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; -x_1163 = lean_ctor_get(x_1140, 1); -lean_inc(x_1163); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1164 = x_1140; +lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; +x_1170 = lean_ctor_get(x_1147, 1); +lean_inc(x_1170); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1171 = x_1147; } else { - lean_dec_ref(x_1140); - x_1164 = lean_box(0); + lean_dec_ref(x_1147); + x_1171 = lean_box(0); } -x_1165 = lean_ctor_get(x_1146, 1); -lean_inc(x_1165); -lean_dec(x_1146); -x_1166 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_1147, x_1165); -if (lean_is_scalar(x_1164)) { - x_1167 = lean_alloc_ctor(0, 2, 0); +x_1172 = lean_ctor_get(x_1153, 1); +lean_inc(x_1172); +lean_dec(x_1153); +x_1173 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_118, x_1154, x_1172); +if (lean_is_scalar(x_1171)) { + x_1174 = lean_alloc_ctor(0, 2, 0); } else { - x_1167 = x_1164; + x_1174 = x_1171; } -lean_ctor_set(x_1167, 0, x_1166); -lean_ctor_set(x_1167, 1, x_1163); -return x_1167; +lean_ctor_set(x_1174, 0, x_1173); +lean_ctor_set(x_1174, 1, x_1170); +return x_1174; } case 4: { -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; -x_1168 = lean_ctor_get(x_1140, 1); -lean_inc(x_1168); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1169 = x_1140; +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; +x_1175 = lean_ctor_get(x_1147, 1); +lean_inc(x_1175); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1176 = x_1147; } else { - lean_dec_ref(x_1140); - x_1169 = lean_box(0); + lean_dec_ref(x_1147); + x_1176 = lean_box(0); } -x_1170 = lean_ctor_get(x_1146, 1); -lean_inc(x_1170); -lean_dec(x_1146); -x_1171 = lean_ctor_get(x_1147, 0); -lean_inc(x_1171); -lean_dec(x_1147); -x_1172 = l_Lean_mkConst(x_1171, x_1139); -x_1173 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_1172, x_1170); -if (lean_is_scalar(x_1169)) { - x_1174 = lean_alloc_ctor(0, 2, 0); +x_1177 = lean_ctor_get(x_1153, 1); +lean_inc(x_1177); +lean_dec(x_1153); +x_1178 = lean_ctor_get(x_1154, 0); +lean_inc(x_1178); +lean_dec(x_1154); +x_1179 = l_Lean_mkConst(x_1178, x_1146); +x_1180 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_118, x_1179, x_1177); +if (lean_is_scalar(x_1176)) { + x_1181 = lean_alloc_ctor(0, 2, 0); } else { - x_1174 = x_1169; + x_1181 = x_1176; } -lean_ctor_set(x_1174, 0, x_1173); -lean_ctor_set(x_1174, 1, x_1168); -return x_1174; +lean_ctor_set(x_1181, 0, x_1180); +lean_ctor_set(x_1181, 1, x_1175); +return x_1181; } case 5: { -lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; -x_1175 = lean_ctor_get(x_1140, 1); -lean_inc(x_1175); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1176 = x_1140; +lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; +x_1182 = lean_ctor_get(x_1147, 1); +lean_inc(x_1182); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1183 = x_1147; } else { - lean_dec_ref(x_1140); - x_1176 = lean_box(0); + lean_dec_ref(x_1147); + x_1183 = lean_box(0); } -x_1177 = lean_ctor_get(x_1146, 1); -lean_inc(x_1177); -lean_dec(x_1146); -x_1178 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_1147, x_1177); -if (lean_is_scalar(x_1176)) { - x_1179 = lean_alloc_ctor(0, 2, 0); +x_1184 = lean_ctor_get(x_1153, 1); +lean_inc(x_1184); +lean_dec(x_1153); +x_1185 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_118, x_1154, x_1184); +if (lean_is_scalar(x_1183)) { + x_1186 = lean_alloc_ctor(0, 2, 0); } else { - x_1179 = x_1176; + x_1186 = x_1183; } -lean_ctor_set(x_1179, 0, x_1178); -lean_ctor_set(x_1179, 1, x_1175); -return x_1179; +lean_ctor_set(x_1186, 0, x_1185); +lean_ctor_set(x_1186, 1, x_1182); +return x_1186; } case 6: { -lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; -x_1180 = lean_ctor_get(x_1140, 1); -lean_inc(x_1180); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1181 = x_1140; +lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; +x_1187 = lean_ctor_get(x_1147, 1); +lean_inc(x_1187); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1188 = x_1147; } else { - lean_dec_ref(x_1140); - x_1181 = lean_box(0); + lean_dec_ref(x_1147); + x_1188 = lean_box(0); } -x_1182 = lean_ctor_get(x_1146, 1); -lean_inc(x_1182); -lean_dec(x_1146); -x_1183 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_1147, x_1182); -if (lean_is_scalar(x_1181)) { - x_1184 = lean_alloc_ctor(0, 2, 0); +x_1189 = lean_ctor_get(x_1153, 1); +lean_inc(x_1189); +lean_dec(x_1153); +x_1190 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_118, x_1154, x_1189); +if (lean_is_scalar(x_1188)) { + x_1191 = lean_alloc_ctor(0, 2, 0); } else { - x_1184 = x_1181; + x_1191 = x_1188; } -lean_ctor_set(x_1184, 0, x_1183); -lean_ctor_set(x_1184, 1, x_1180); -return x_1184; +lean_ctor_set(x_1191, 0, x_1190); +lean_ctor_set(x_1191, 1, x_1187); +return x_1191; } case 7: { -lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; -x_1185 = lean_ctor_get(x_1140, 1); -lean_inc(x_1185); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1186 = x_1140; +lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; +x_1192 = lean_ctor_get(x_1147, 1); +lean_inc(x_1192); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1193 = x_1147; } else { - lean_dec_ref(x_1140); - x_1186 = lean_box(0); + lean_dec_ref(x_1147); + x_1193 = lean_box(0); } -x_1187 = lean_ctor_get(x_1146, 1); -lean_inc(x_1187); -lean_dec(x_1146); -x_1188 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_1147, x_1187); -if (lean_is_scalar(x_1186)) { - x_1189 = lean_alloc_ctor(0, 2, 0); +x_1194 = lean_ctor_get(x_1153, 1); +lean_inc(x_1194); +lean_dec(x_1153); +x_1195 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_118, x_1154, x_1194); +if (lean_is_scalar(x_1193)) { + x_1196 = lean_alloc_ctor(0, 2, 0); } else { - x_1189 = x_1186; + x_1196 = x_1193; } -lean_ctor_set(x_1189, 0, x_1188); -lean_ctor_set(x_1189, 1, x_1185); -return x_1189; +lean_ctor_set(x_1196, 0, x_1195); +lean_ctor_set(x_1196, 1, x_1192); +return x_1196; } case 8: { -lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; -x_1190 = lean_ctor_get(x_1140, 1); -lean_inc(x_1190); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1191 = x_1140; +lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; +x_1197 = lean_ctor_get(x_1147, 1); +lean_inc(x_1197); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1198 = x_1147; } else { - lean_dec_ref(x_1140); - x_1191 = lean_box(0); + lean_dec_ref(x_1147); + x_1198 = lean_box(0); } -x_1192 = lean_ctor_get(x_1146, 1); -lean_inc(x_1192); -lean_dec(x_1146); -x_1193 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_1147, x_1192); -if (lean_is_scalar(x_1191)) { - x_1194 = lean_alloc_ctor(0, 2, 0); +x_1199 = lean_ctor_get(x_1153, 1); +lean_inc(x_1199); +lean_dec(x_1153); +x_1200 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_118, x_1154, x_1199); +if (lean_is_scalar(x_1198)) { + x_1201 = lean_alloc_ctor(0, 2, 0); } else { - x_1194 = x_1191; + x_1201 = x_1198; } -lean_ctor_set(x_1194, 0, x_1193); -lean_ctor_set(x_1194, 1, x_1190); -return x_1194; +lean_ctor_set(x_1201, 0, x_1200); +lean_ctor_set(x_1201, 1, x_1197); +return x_1201; } case 9: { -lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; -x_1195 = lean_ctor_get(x_1140, 1); -lean_inc(x_1195); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1196 = x_1140; +lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; +x_1202 = lean_ctor_get(x_1147, 1); +lean_inc(x_1202); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1203 = x_1147; } else { - lean_dec_ref(x_1140); - x_1196 = lean_box(0); + lean_dec_ref(x_1147); + x_1203 = lean_box(0); } -x_1197 = lean_ctor_get(x_1146, 1); -lean_inc(x_1197); -lean_dec(x_1146); -x_1198 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_1147, x_1197); -if (lean_is_scalar(x_1196)) { - x_1199 = lean_alloc_ctor(0, 2, 0); +x_1204 = lean_ctor_get(x_1153, 1); +lean_inc(x_1204); +lean_dec(x_1153); +x_1205 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_118, x_1154, x_1204); +if (lean_is_scalar(x_1203)) { + x_1206 = lean_alloc_ctor(0, 2, 0); } else { - x_1199 = x_1196; + x_1206 = x_1203; } -lean_ctor_set(x_1199, 0, x_1198); -lean_ctor_set(x_1199, 1, x_1195); -return x_1199; +lean_ctor_set(x_1206, 0, x_1205); +lean_ctor_set(x_1206, 1, x_1202); +return x_1206; } case 10: { -lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; -x_1200 = lean_ctor_get(x_1140, 1); -lean_inc(x_1200); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1201 = x_1140; +lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; +x_1207 = lean_ctor_get(x_1147, 1); +lean_inc(x_1207); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1208 = x_1147; } else { - lean_dec_ref(x_1140); - x_1201 = lean_box(0); + lean_dec_ref(x_1147); + x_1208 = lean_box(0); } -x_1202 = lean_ctor_get(x_1146, 1); -lean_inc(x_1202); -lean_dec(x_1146); -x_1203 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_1147, x_1202); -if (lean_is_scalar(x_1201)) { - x_1204 = lean_alloc_ctor(0, 2, 0); +x_1209 = lean_ctor_get(x_1153, 1); +lean_inc(x_1209); +lean_dec(x_1153); +x_1210 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_118, x_1154, x_1209); +if (lean_is_scalar(x_1208)) { + x_1211 = lean_alloc_ctor(0, 2, 0); } else { - x_1204 = x_1201; + x_1211 = x_1208; } -lean_ctor_set(x_1204, 0, x_1203); -lean_ctor_set(x_1204, 1, x_1200); -return x_1204; +lean_ctor_set(x_1211, 0, x_1210); +lean_ctor_set(x_1211, 1, x_1207); +return x_1211; } case 11: { -lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; -x_1205 = lean_ctor_get(x_1140, 1); -lean_inc(x_1205); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1206 = x_1140; +lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; +x_1212 = lean_ctor_get(x_1147, 1); +lean_inc(x_1212); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1213 = x_1147; } else { - lean_dec_ref(x_1140); - x_1206 = lean_box(0); + lean_dec_ref(x_1147); + x_1213 = lean_box(0); } -x_1207 = lean_ctor_get(x_1146, 1); -lean_inc(x_1207); -lean_dec(x_1146); -x_1208 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_1147, x_1207); -if (lean_is_scalar(x_1206)) { - x_1209 = lean_alloc_ctor(0, 2, 0); +x_1214 = lean_ctor_get(x_1153, 1); +lean_inc(x_1214); +lean_dec(x_1153); +x_1215 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_118, x_1154, x_1214); +if (lean_is_scalar(x_1213)) { + x_1216 = lean_alloc_ctor(0, 2, 0); } else { - x_1209 = x_1206; + x_1216 = x_1213; } -lean_ctor_set(x_1209, 0, x_1208); -lean_ctor_set(x_1209, 1, x_1205); -return x_1209; +lean_ctor_set(x_1216, 0, x_1215); +lean_ctor_set(x_1216, 1, x_1212); +return x_1216; } default: { -lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; -x_1210 = lean_ctor_get(x_1140, 1); -lean_inc(x_1210); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1211 = x_1140; +lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; +x_1217 = lean_ctor_get(x_1147, 1); +lean_inc(x_1217); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1218 = x_1147; } else { - lean_dec_ref(x_1140); - x_1211 = lean_box(0); + lean_dec_ref(x_1147); + x_1218 = lean_box(0); } -x_1212 = lean_ctor_get(x_1146, 1); -lean_inc(x_1212); -lean_dec(x_1146); -x_1213 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_1147, x_1212); -if (lean_is_scalar(x_1211)) { - x_1214 = lean_alloc_ctor(0, 2, 0); +x_1219 = lean_ctor_get(x_1153, 1); +lean_inc(x_1219); +lean_dec(x_1153); +x_1220 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_118, x_1154, x_1219); +if (lean_is_scalar(x_1218)) { + x_1221 = lean_alloc_ctor(0, 2, 0); } else { - x_1214 = x_1211; + x_1221 = x_1218; } -lean_ctor_set(x_1214, 0, x_1213); -lean_ctor_set(x_1214, 1, x_1210); -return x_1214; -} -} -} -} -else -{ -lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; -lean_dec(x_2); -x_1215 = lean_ctor_get(x_1140, 0); -lean_inc(x_1215); -x_1216 = lean_ctor_get(x_1140, 1); -lean_inc(x_1216); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1217 = x_1140; -} else { - lean_dec_ref(x_1140); - x_1217 = lean_box(0); -} -if (lean_is_scalar(x_1217)) { - x_1218 = lean_alloc_ctor(1, 2, 0); -} else { - x_1218 = x_1217; -} -lean_ctor_set(x_1218, 0, x_1215); -lean_ctor_set(x_1218, 1, x_1216); -return x_1218; -} -} -else -{ -lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; -lean_dec(x_1136); -lean_dec(x_1); -x_1219 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1220 = l_unreachable_x21___rarg(x_1219); -x_1221 = lean_apply_2(x_1220, x_2, x_3); +lean_ctor_set(x_1221, 0, x_1220); +lean_ctor_set(x_1221, 1, x_1217); return x_1221; } } } } -} -} -} else { -lean_object* x_1222; size_t x_1223; lean_object* x_1224; uint8_t x_1225; -x_1222 = lean_ctor_get(x_116, 1); -x_1223 = lean_ctor_get_usize(x_116, 2); +lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; +lean_dec(x_2); +x_1222 = lean_ctor_get(x_1147, 0); lean_inc(x_1222); -lean_dec(x_116); -x_1224 = l_Lean_nameToExprAux___main___closed__1; -x_1225 = lean_string_dec_eq(x_1222, x_1224); -lean_dec(x_1222); -if (x_1225 == 0) -{ -lean_object* x_1226; -lean_free_object(x_115); -lean_dec(x_124); -lean_free_object(x_105); -lean_dec(x_121); -lean_dec(x_118); -lean_dec(x_4); -x_1226 = lean_box(0); -x_96 = x_1226; -goto block_104; +x_1223 = lean_ctor_get(x_1147, 1); +lean_inc(x_1223); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1224 = x_1147; +} else { + lean_dec_ref(x_1147); + x_1224 = lean_box(0); +} +if (lean_is_scalar(x_1224)) { + x_1225 = lean_alloc_ctor(1, 2, 0); +} else { + x_1225 = x_1224; +} +lean_ctor_set(x_1225, 0, x_1222); +lean_ctor_set(x_1225, 1, x_1223); +return x_1225; +} } else { -lean_object* x_1227; lean_object* x_1228; uint8_t x_1229; -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_1227 = x_95; -} else { - lean_dec_ref(x_95); - x_1227 = lean_box(0); -} -x_1228 = l_Lean_Syntax_formatStxAux___main___closed__5; -x_1229 = lean_string_dec_eq(x_124, x_1228); -if (x_1229 == 0) -{ -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_dec(x_4); -x_1230 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1230, 0, x_117); -lean_ctor_set(x_1230, 1, x_1224); -lean_ctor_set_usize(x_1230, 2, x_1223); -lean_ctor_set(x_115, 0, x_1230); -if (lean_is_scalar(x_1227)) { - x_1231 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1231 = x_1227; -} -lean_ctor_set(x_1231, 0, x_105); -lean_ctor_set(x_1231, 1, x_118); -lean_ctor_set_usize(x_1231, 2, x_120); -x_1232 = l_System_FilePath_dirName___closed__1; -x_1233 = l_Lean_Name_toStringWithSep___main(x_1232, x_1231); -x_1234 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1234, 0, x_1233); -x_1235 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1235, 0, x_1234); -x_1236 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1237 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1237, 0, x_1236); -lean_ctor_set(x_1237, 1, x_1235); -x_1238 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1237, x_2, x_3); +lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; +lean_dec(x_1143); lean_dec(x_1); -return x_1238; +x_1226 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1227 = l_unreachable_x21___rarg(x_1226); +x_1228 = lean_apply_2(x_1227, x_2, x_3); +return x_1228; +} +} +} +} +} +} } else { -lean_object* x_1239; uint8_t x_1240; -lean_dec(x_124); -x_1239 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; -x_1240 = lean_string_dec_eq(x_121, x_1239); -if (x_1240 == 0) +lean_object* x_1229; size_t x_1230; lean_object* x_1231; uint8_t x_1232; +x_1229 = lean_ctor_get(x_117, 1); +x_1230 = lean_ctor_get_usize(x_117, 2); +lean_inc(x_1229); +lean_dec(x_117); +x_1231 = l_Lean_nameToExprAux___main___closed__1; +x_1232 = lean_string_dec_eq(x_1229, x_1231); +lean_dec(x_1229); +if (x_1232 == 0) { -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_1233; +lean_free_object(x_116); +lean_dec(x_125); +lean_free_object(x_106); +lean_dec(x_122); +lean_dec(x_119); lean_dec(x_4); -x_1241 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1241, 0, x_117); -lean_ctor_set(x_1241, 1, x_1224); -lean_ctor_set_usize(x_1241, 2, x_1223); -lean_ctor_set(x_115, 1, x_1228); -lean_ctor_set(x_115, 0, x_1241); -if (lean_is_scalar(x_1227)) { - x_1242 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1242 = x_1227; -} -lean_ctor_set(x_1242, 0, x_105); -lean_ctor_set(x_1242, 1, x_118); -lean_ctor_set_usize(x_1242, 2, x_120); -x_1243 = l_System_FilePath_dirName___closed__1; -x_1244 = l_Lean_Name_toStringWithSep___main(x_1243, x_1242); -x_1245 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1245, 0, x_1244); -x_1246 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1246, 0, x_1245); -x_1247 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1248 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1248, 0, x_1247); -lean_ctor_set(x_1248, 1, x_1246); -x_1249 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1248, x_2, x_3); -lean_dec(x_1); -return x_1249; +x_1233 = lean_box(0); +x_97 = x_1233; +goto block_105; } else { -lean_object* x_1250; uint8_t x_1251; -lean_dec(x_121); -x_1250 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_1251 = lean_string_dec_eq(x_118, x_1250); -if (x_1251 == 0) -{ -lean_object* x_1252; uint8_t x_1253; -x_1252 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_1253 = lean_string_dec_eq(x_118, x_1252); -if (x_1253 == 0) -{ -lean_object* x_1254; uint8_t x_1255; -x_1254 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_1255 = lean_string_dec_eq(x_118, x_1254); -if (x_1255 == 0) -{ -lean_object* x_1256; uint8_t x_1257; -x_1256 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_1257 = lean_string_dec_eq(x_118, x_1256); -if (x_1257 == 0) -{ -lean_object* x_1258; uint8_t x_1259; -x_1258 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_1259 = lean_string_dec_eq(x_118, x_1258); -if (x_1259 == 0) -{ -lean_object* x_1260; uint8_t x_1261; -x_1260 = l_Lean_Parser_Level_paren___elambda__1___closed__3; -x_1261 = lean_string_dec_eq(x_118, x_1260); -if (x_1261 == 0) -{ -lean_object* x_1262; uint8_t x_1263; -x_1262 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_1263 = lean_string_dec_eq(x_118, x_1262); -if (x_1263 == 0) -{ -lean_object* x_1264; uint8_t x_1265; -x_1264 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_1265 = lean_string_dec_eq(x_118, x_1264); -if (x_1265 == 0) -{ -lean_object* x_1266; uint8_t x_1267; -lean_dec(x_4); -x_1266 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_1267 = lean_string_dec_eq(x_118, x_1266); -if (x_1267 == 0) -{ -lean_object* x_1268; uint8_t x_1269; -x_1268 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_1269 = lean_string_dec_eq(x_118, x_1268); -if (x_1269 == 0) -{ -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; -x_1270 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1270, 0, x_117); -lean_ctor_set(x_1270, 1, x_1224); -lean_ctor_set_usize(x_1270, 2, x_1223); -lean_ctor_set(x_115, 1, x_1228); -lean_ctor_set(x_115, 0, x_1270); -lean_ctor_set(x_105, 1, x_1239); -if (lean_is_scalar(x_1227)) { - x_1271 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_1234; lean_object* x_1235; uint8_t x_1236; +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_1234 = x_96; } else { - x_1271 = x_1227; + lean_dec_ref(x_96); + x_1234 = lean_box(0); } -lean_ctor_set(x_1271, 0, x_105); -lean_ctor_set(x_1271, 1, x_118); -lean_ctor_set_usize(x_1271, 2, x_120); -x_1272 = l_System_FilePath_dirName___closed__1; -x_1273 = l_Lean_Name_toStringWithSep___main(x_1272, x_1271); -x_1274 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1274, 0, x_1273); -x_1275 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1275, 0, x_1274); -x_1276 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1277 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1277, 0, x_1276); -lean_ctor_set(x_1277, 1, x_1275); -x_1278 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1277, x_2, x_3); +x_1235 = l_Lean_Syntax_formatStxAux___main___closed__5; +x_1236 = lean_string_dec_eq(x_125, x_1235); +if (x_1236 == 0) +{ +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_dec(x_4); +x_1237 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1237, 0, x_118); +lean_ctor_set(x_1237, 1, x_1231); +lean_ctor_set_usize(x_1237, 2, x_1230); +lean_ctor_set(x_116, 0, x_1237); +if (lean_is_scalar(x_1234)) { + x_1238 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1238 = x_1234; +} +lean_ctor_set(x_1238, 0, x_106); +lean_ctor_set(x_1238, 1, x_119); +lean_ctor_set_usize(x_1238, 2, x_121); +x_1239 = l_System_FilePath_dirName___closed__1; +x_1240 = l_Lean_Name_toStringWithSep___main(x_1239, x_1238); +x_1241 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1241, 0, x_1240); +x_1242 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1242, 0, x_1241); +x_1243 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1244 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1244, 0, x_1243); +lean_ctor_set(x_1244, 1, x_1242); +x_1245 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1244, x_2, x_3); lean_dec(x_1); -return x_1278; +return x_1245; } else { -lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; -lean_dec(x_1227); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_2); -x_1279 = lean_unsigned_to_nat(0u); -x_1280 = l_Lean_Syntax_getArg(x_1, x_1279); -lean_dec(x_1); -x_1281 = l_Lean_numLitKind; -x_1282 = l_Lean_Syntax_isNatLitAux(x_1281, x_1280); -lean_dec(x_1280); -if (lean_obj_tag(x_1282) == 0) +lean_object* x_1246; uint8_t x_1247; +lean_dec(x_125); +x_1246 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; +x_1247 = lean_string_dec_eq(x_122, x_1246); +if (x_1247 == 0) { -lean_object* x_1283; lean_object* x_1284; -x_1283 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; -x_1284 = lean_alloc_ctor(0, 2, 0); +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_dec(x_4); +x_1248 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1248, 0, x_118); +lean_ctor_set(x_1248, 1, x_1231); +lean_ctor_set_usize(x_1248, 2, x_1230); +lean_ctor_set(x_116, 1, x_1235); +lean_ctor_set(x_116, 0, x_1248); +if (lean_is_scalar(x_1234)) { + x_1249 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1249 = x_1234; +} +lean_ctor_set(x_1249, 0, x_106); +lean_ctor_set(x_1249, 1, x_119); +lean_ctor_set_usize(x_1249, 2, x_121); +x_1250 = l_System_FilePath_dirName___closed__1; +x_1251 = l_Lean_Name_toStringWithSep___main(x_1250, x_1249); +x_1252 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1252, 0, x_1251); +x_1253 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1253, 0, x_1252); +x_1254 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1255 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1255, 0, x_1254); +lean_ctor_set(x_1255, 1, x_1253); +x_1256 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1255, x_2, x_3); +lean_dec(x_1); +return x_1256; +} +else +{ +lean_object* x_1257; uint8_t x_1258; +lean_dec(x_122); +x_1257 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_1258 = lean_string_dec_eq(x_119, x_1257); +if (x_1258 == 0) +{ +lean_object* x_1259; uint8_t x_1260; +x_1259 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_1260 = lean_string_dec_eq(x_119, x_1259); +if (x_1260 == 0) +{ +lean_object* x_1261; uint8_t x_1262; +x_1261 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_1262 = lean_string_dec_eq(x_119, x_1261); +if (x_1262 == 0) +{ +lean_object* x_1263; uint8_t x_1264; +x_1263 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_1264 = lean_string_dec_eq(x_119, x_1263); +if (x_1264 == 0) +{ +lean_object* x_1265; uint8_t x_1266; +x_1265 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_1266 = lean_string_dec_eq(x_119, x_1265); +if (x_1266 == 0) +{ +lean_object* x_1267; uint8_t x_1268; +x_1267 = l_Lean_Parser_Level_paren___elambda__1___closed__3; +x_1268 = lean_string_dec_eq(x_119, x_1267); +if (x_1268 == 0) +{ +lean_object* x_1269; uint8_t x_1270; +x_1269 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_1270 = lean_string_dec_eq(x_119, x_1269); +if (x_1270 == 0) +{ +lean_object* x_1271; uint8_t x_1272; +x_1271 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_1272 = lean_string_dec_eq(x_119, x_1271); +if (x_1272 == 0) +{ +lean_object* x_1273; uint8_t x_1274; +lean_dec(x_4); +x_1273 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_1274 = lean_string_dec_eq(x_119, x_1273); +if (x_1274 == 0) +{ +lean_object* x_1275; uint8_t x_1276; +x_1275 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_1276 = lean_string_dec_eq(x_119, x_1275); +if (x_1276 == 0) +{ +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; +x_1277 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1277, 0, x_118); +lean_ctor_set(x_1277, 1, x_1231); +lean_ctor_set_usize(x_1277, 2, x_1230); +lean_ctor_set(x_116, 1, x_1235); +lean_ctor_set(x_116, 0, x_1277); +lean_ctor_set(x_106, 1, x_1246); +if (lean_is_scalar(x_1234)) { + x_1278 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1278 = x_1234; +} +lean_ctor_set(x_1278, 0, x_106); +lean_ctor_set(x_1278, 1, x_119); +lean_ctor_set_usize(x_1278, 2, x_121); +x_1279 = l_System_FilePath_dirName___closed__1; +x_1280 = l_Lean_Name_toStringWithSep___main(x_1279, x_1278); +x_1281 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1281, 0, x_1280); +x_1282 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1282, 0, x_1281); +x_1283 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1284 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_1284, 0, x_1283); -lean_ctor_set(x_1284, 1, x_3); -return x_1284; -} -else -{ -lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; -x_1285 = lean_ctor_get(x_1282, 0); -lean_inc(x_1285); -lean_dec(x_1282); -x_1286 = l_Lean_mkNatLit(x_1285); -x_1287 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1287, 0, x_1286); -lean_ctor_set(x_1287, 1, x_3); -return x_1287; -} -} -} -else -{ -lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; -lean_dec(x_1227); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_2); -x_1288 = lean_unsigned_to_nat(0u); -x_1289 = l_Lean_Syntax_getArg(x_1, x_1288); +lean_ctor_set(x_1284, 1, x_1282); +x_1285 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1284, x_2, x_3); lean_dec(x_1); -x_1290 = l_Lean_Syntax_isStrLit_x3f(x_1289); +return x_1285; +} +else +{ +lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; +lean_dec(x_1234); +lean_free_object(x_116); +lean_free_object(x_106); +lean_dec(x_119); +lean_dec(x_2); +x_1286 = lean_unsigned_to_nat(0u); +x_1287 = l_Lean_Syntax_getArg(x_1, x_1286); +lean_dec(x_1); +x_1288 = l_Lean_numLitKind; +x_1289 = l_Lean_Syntax_isNatLitAux(x_1288, x_1287); +lean_dec(x_1287); +if (lean_obj_tag(x_1289) == 0) +{ +lean_object* x_1290; lean_object* x_1291; +x_1290 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; +x_1291 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1291, 0, x_1290); +lean_ctor_set(x_1291, 1, x_3); +return x_1291; +} +else +{ +lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; +x_1292 = lean_ctor_get(x_1289, 0); +lean_inc(x_1292); lean_dec(x_1289); -if (lean_obj_tag(x_1290) == 0) -{ -lean_object* x_1291; lean_object* x_1292; -x_1291 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; -x_1292 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1292, 0, x_1291); -lean_ctor_set(x_1292, 1, x_3); -return x_1292; -} -else -{ -lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; -x_1293 = lean_ctor_get(x_1290, 0); -lean_inc(x_1293); -lean_dec(x_1290); -x_1294 = l_Lean_mkStrLit(x_1293); -x_1295 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1295, 0, x_1294); -lean_ctor_set(x_1295, 1, x_3); -return x_1295; +x_1293 = l_Lean_mkNatLit(x_1292); +x_1294 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1294, 0, x_1293); +lean_ctor_set(x_1294, 1, x_3); +return x_1294; } } } else { -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_dec(x_1227); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1296 = l_Lean_Syntax_inhabited; -x_1297 = lean_unsigned_to_nat(0u); -x_1298 = lean_array_get(x_1296, x_4, x_1297); -x_1299 = lean_unsigned_to_nat(2u); -x_1300 = lean_array_get(x_1296, x_4, x_1299); -lean_dec(x_4); -x_1301 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_1301, 0, x_117); -lean_closure_set(x_1301, 1, x_1298); -lean_closure_set(x_1301, 2, x_1300); -x_1302 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_1303 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1303, 0, x_1302); -lean_closure_set(x_1303, 1, x_1301); -x_1304 = l_Lean_Unhygienic_run___rarg(x_1303); -x_1 = x_1304; -goto _start; -} -} -else -{ -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_dec(x_1227); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1306 = l_Lean_Syntax_inhabited; -x_1307 = lean_unsigned_to_nat(0u); -x_1308 = lean_array_get(x_1306, x_4, x_1307); -x_1309 = lean_unsigned_to_nat(2u); -x_1310 = lean_array_get(x_1306, x_4, x_1309); -lean_dec(x_4); -x_1311 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_1311, 0, x_117); -lean_closure_set(x_1311, 1, x_1308); -lean_closure_set(x_1311, 2, x_1310); -x_1312 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_1313 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1313, 0, x_1312); -lean_closure_set(x_1313, 1, x_1311); -x_1314 = l_Lean_Unhygienic_run___rarg(x_1313); -x_1 = x_1314; -goto _start; -} -} -else -{ -lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; uint8_t x_1322; -lean_dec(x_1227); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1316 = l_Lean_Syntax_inhabited; -x_1317 = lean_unsigned_to_nat(1u); -x_1318 = lean_array_get(x_1316, x_4, x_1317); -lean_dec(x_4); -x_1319 = l_Lean_Syntax_getArgs(x_1318); -lean_dec(x_1318); -x_1320 = lean_array_get_size(x_1319); -x_1321 = lean_unsigned_to_nat(0u); -x_1322 = lean_nat_dec_eq(x_1320, x_1321); -lean_dec(x_1320); -if (x_1322 == 0) -{ -lean_object* x_1323; -x_1323 = lean_array_get(x_1316, x_1319, x_1321); -lean_dec(x_1319); -x_1 = x_1323; -goto _start; -} -else -{ -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_dec(x_1319); +lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; +lean_dec(x_1234); +lean_free_object(x_116); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_2); -x_1325 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_1326 = lean_name_mk_string(x_117, x_1325); -x_1327 = l_Lean_Elab_Term_elabParen___closed__4; -x_1328 = lean_name_mk_string(x_1326, x_1327); -x_1329 = lean_box(0); -x_1330 = l_Lean_mkConst(x_1328, x_1329); -x_1331 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1331, 0, x_1330); -lean_ctor_set(x_1331, 1, x_3); -return x_1331; +x_1295 = lean_unsigned_to_nat(0u); +x_1296 = l_Lean_Syntax_getArg(x_1, x_1295); +lean_dec(x_1); +x_1297 = l_Lean_Syntax_isStrLit_x3f(x_1296); +lean_dec(x_1296); +if (lean_obj_tag(x_1297) == 0) +{ +lean_object* x_1298; lean_object* x_1299; +x_1298 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; +x_1299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1299, 0, x_1298); +lean_ctor_set(x_1299, 1, x_3); +return x_1299; +} +else +{ +lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; +x_1300 = lean_ctor_get(x_1297, 0); +lean_inc(x_1300); +lean_dec(x_1297); +x_1301 = l_Lean_mkStrLit(x_1300); +x_1302 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1302, 0, x_1301); +lean_ctor_set(x_1302, 1, x_3); +return x_1302; } } } else { -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_dec(x_1227); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +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_dec(x_1234); +lean_free_object(x_116); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_1332 = l_Lean_Syntax_inhabited; -x_1333 = lean_unsigned_to_nat(2u); -x_1334 = lean_array_get(x_1332, x_4, x_1333); -x_1335 = lean_unsigned_to_nat(4u); -x_1336 = lean_array_get(x_1332, x_4, x_1335); -x_1337 = lean_unsigned_to_nat(6u); -x_1338 = lean_array_get(x_1332, x_4, x_1337); +x_1303 = l_Lean_Syntax_inhabited; +x_1304 = lean_unsigned_to_nat(0u); +x_1305 = lean_array_get(x_1303, x_4, x_1304); +x_1306 = lean_unsigned_to_nat(2u); +x_1307 = lean_array_get(x_1303, x_4, x_1306); lean_dec(x_4); -x_1339 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_1339, 0, x_117); -lean_closure_set(x_1339, 1, x_1334); -lean_closure_set(x_1339, 2, x_1336); -lean_closure_set(x_1339, 3, x_1338); -x_1340 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_1341 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1341, 0, x_1340); -lean_closure_set(x_1341, 1, x_1339); -x_1342 = l_Lean_Unhygienic_run___rarg(x_1341); -x_1 = x_1342; +x_1308 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_1308, 0, x_118); +lean_closure_set(x_1308, 1, x_1305); +lean_closure_set(x_1308, 2, x_1307); +x_1309 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_1310 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1310, 0, x_1309); +lean_closure_set(x_1310, 1, x_1308); +x_1311 = l_Lean_Unhygienic_run___rarg(x_1310); +x_1 = x_1311; goto _start; } } else { -lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; -lean_dec(x_1227); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +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_dec(x_1234); +lean_free_object(x_116); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_1344 = l_Lean_Syntax_inhabited; -x_1345 = lean_unsigned_to_nat(0u); -x_1346 = lean_array_get(x_1344, x_4, x_1345); +x_1313 = l_Lean_Syntax_inhabited; +x_1314 = lean_unsigned_to_nat(0u); +x_1315 = lean_array_get(x_1313, x_4, x_1314); +x_1316 = lean_unsigned_to_nat(2u); +x_1317 = lean_array_get(x_1313, x_4, x_1316); +lean_dec(x_4); +x_1318 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_1318, 0, x_118); +lean_closure_set(x_1318, 1, x_1315); +lean_closure_set(x_1318, 2, x_1317); +x_1319 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_1320 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1320, 0, x_1319); +lean_closure_set(x_1320, 1, x_1318); +x_1321 = l_Lean_Unhygienic_run___rarg(x_1320); +x_1 = x_1321; +goto _start; +} +} +else +{ +lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; uint8_t x_1329; +lean_dec(x_1234); +lean_free_object(x_116); +lean_free_object(x_106); +lean_dec(x_119); +lean_dec(x_1); +x_1323 = l_Lean_Syntax_inhabited; +x_1324 = lean_unsigned_to_nat(1u); +x_1325 = lean_array_get(x_1323, x_4, x_1324); +lean_dec(x_4); +x_1326 = l_Lean_Syntax_getArgs(x_1325); +lean_dec(x_1325); +x_1327 = lean_array_get_size(x_1326); +x_1328 = lean_unsigned_to_nat(0u); +x_1329 = lean_nat_dec_eq(x_1327, x_1328); +lean_dec(x_1327); +if (x_1329 == 0) +{ +lean_object* x_1330; +x_1330 = lean_array_get(x_1323, x_1326, x_1328); +lean_dec(x_1326); +x_1 = x_1330; +goto _start; +} +else +{ +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_dec(x_1326); +lean_dec(x_2); +x_1332 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_1333 = lean_name_mk_string(x_118, x_1332); +x_1334 = l_Lean_Elab_Term_elabParen___closed__4; +x_1335 = lean_name_mk_string(x_1333, x_1334); +x_1336 = lean_box(0); +x_1337 = l_Lean_mkConst(x_1335, x_1336); +x_1338 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1338, 0, x_1337); +lean_ctor_set(x_1338, 1, x_3); +return x_1338; +} +} +} +else +{ +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_dec(x_1234); +lean_free_object(x_116); +lean_free_object(x_106); +lean_dec(x_119); +lean_dec(x_1); +x_1339 = l_Lean_Syntax_inhabited; +x_1340 = lean_unsigned_to_nat(2u); +x_1341 = lean_array_get(x_1339, x_4, x_1340); +x_1342 = lean_unsigned_to_nat(4u); +x_1343 = lean_array_get(x_1339, x_4, x_1342); +x_1344 = lean_unsigned_to_nat(6u); +x_1345 = lean_array_get(x_1339, x_4, x_1344); +lean_dec(x_4); +x_1346 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_1346, 0, x_118); +lean_closure_set(x_1346, 1, x_1341); +lean_closure_set(x_1346, 2, x_1343); +lean_closure_set(x_1346, 3, x_1345); +x_1347 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_1348 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1348, 0, x_1347); +lean_closure_set(x_1348, 1, x_1346); +x_1349 = l_Lean_Unhygienic_run___rarg(x_1348); +x_1 = x_1349; +goto _start; +} +} +else +{ +lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; +lean_dec(x_1234); +lean_free_object(x_116); +lean_free_object(x_106); +lean_dec(x_119); +lean_dec(x_1); +x_1351 = l_Lean_Syntax_inhabited; +x_1352 = lean_unsigned_to_nat(0u); +x_1353 = lean_array_get(x_1351, x_4, x_1352); lean_inc(x_2); -x_1347 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1346, x_2, x_3); -if (lean_obj_tag(x_1347) == 0) +x_1354 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1353, x_2, x_3); +if (lean_obj_tag(x_1354) == 0) { -lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; -x_1348 = lean_ctor_get(x_1347, 0); -lean_inc(x_1348); -x_1349 = lean_ctor_get(x_1347, 1); -lean_inc(x_1349); -lean_dec(x_1347); -x_1350 = lean_unsigned_to_nat(1u); -x_1351 = lean_array_get(x_1344, x_4, x_1350); -lean_dec(x_4); -x_1352 = l_Lean_Syntax_getArgs(x_1351); -lean_dec(x_1351); -x_1353 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_1345, x_1352, x_2, x_1349); -if (lean_obj_tag(x_1353) == 0) -{ -lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; -x_1354 = lean_ctor_get(x_1353, 0); -lean_inc(x_1354); -x_1355 = lean_ctor_get(x_1353, 1); +lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; +x_1355 = lean_ctor_get(x_1354, 0); lean_inc(x_1355); -if (lean_is_exclusive(x_1353)) { - lean_ctor_release(x_1353, 0); - lean_ctor_release(x_1353, 1); - x_1356 = x_1353; -} else { - lean_dec_ref(x_1353); - x_1356 = lean_box(0); -} -x_1357 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1354, x_1354, x_1345, x_1348); +x_1356 = lean_ctor_get(x_1354, 1); +lean_inc(x_1356); lean_dec(x_1354); -if (lean_is_scalar(x_1356)) { - x_1358 = lean_alloc_ctor(0, 2, 0); +x_1357 = lean_unsigned_to_nat(1u); +x_1358 = lean_array_get(x_1351, x_4, x_1357); +lean_dec(x_4); +x_1359 = l_Lean_Syntax_getArgs(x_1358); +lean_dec(x_1358); +x_1360 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_1352, x_1359, x_2, x_1356); +if (lean_obj_tag(x_1360) == 0) +{ +lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; +x_1361 = lean_ctor_get(x_1360, 0); +lean_inc(x_1361); +x_1362 = lean_ctor_get(x_1360, 1); +lean_inc(x_1362); +if (lean_is_exclusive(x_1360)) { + lean_ctor_release(x_1360, 0); + lean_ctor_release(x_1360, 1); + x_1363 = x_1360; } else { - x_1358 = x_1356; + lean_dec_ref(x_1360); + x_1363 = lean_box(0); } -lean_ctor_set(x_1358, 0, x_1357); -lean_ctor_set(x_1358, 1, x_1355); -return x_1358; +x_1364 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1361, x_1361, x_1352, x_1355); +lean_dec(x_1361); +if (lean_is_scalar(x_1363)) { + x_1365 = lean_alloc_ctor(0, 2, 0); +} else { + x_1365 = x_1363; +} +lean_ctor_set(x_1365, 0, x_1364); +lean_ctor_set(x_1365, 1, x_1362); +return x_1365; } else { -lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; -lean_dec(x_1348); -x_1359 = lean_ctor_get(x_1353, 0); -lean_inc(x_1359); -x_1360 = lean_ctor_get(x_1353, 1); -lean_inc(x_1360); -if (lean_is_exclusive(x_1353)) { - lean_ctor_release(x_1353, 0); - lean_ctor_release(x_1353, 1); - x_1361 = x_1353; +lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; +lean_dec(x_1355); +x_1366 = lean_ctor_get(x_1360, 0); +lean_inc(x_1366); +x_1367 = lean_ctor_get(x_1360, 1); +lean_inc(x_1367); +if (lean_is_exclusive(x_1360)) { + lean_ctor_release(x_1360, 0); + lean_ctor_release(x_1360, 1); + x_1368 = x_1360; } else { - lean_dec_ref(x_1353); - x_1361 = lean_box(0); + lean_dec_ref(x_1360); + x_1368 = lean_box(0); } -if (lean_is_scalar(x_1361)) { - x_1362 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1368)) { + x_1369 = lean_alloc_ctor(1, 2, 0); } else { - x_1362 = x_1361; + x_1369 = x_1368; } -lean_ctor_set(x_1362, 0, x_1359); -lean_ctor_set(x_1362, 1, x_1360); -return x_1362; +lean_ctor_set(x_1369, 0, x_1366); +lean_ctor_set(x_1369, 1, x_1367); +return x_1369; } } else { -lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; +lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_dec(x_4); lean_dec(x_2); -x_1363 = lean_ctor_get(x_1347, 0); -lean_inc(x_1363); -x_1364 = lean_ctor_get(x_1347, 1); -lean_inc(x_1364); -if (lean_is_exclusive(x_1347)) { - lean_ctor_release(x_1347, 0); - lean_ctor_release(x_1347, 1); - x_1365 = x_1347; -} else { - lean_dec_ref(x_1347); - x_1365 = lean_box(0); -} -if (lean_is_scalar(x_1365)) { - x_1366 = lean_alloc_ctor(1, 2, 0); -} else { - x_1366 = x_1365; -} -lean_ctor_set(x_1366, 0, x_1363); -lean_ctor_set(x_1366, 1, x_1364); -return x_1366; -} -} -} -else -{ -lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; -lean_dec(x_1227); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1367 = l_Lean_Syntax_inhabited; -x_1368 = lean_unsigned_to_nat(1u); -x_1369 = lean_array_get(x_1367, x_4, x_1368); -lean_inc(x_1369); -x_1370 = l_Lean_Syntax_getKind(x_1369); -if (lean_obj_tag(x_1370) == 1) -{ -lean_object* x_1371; -x_1371 = lean_ctor_get(x_1370, 0); +x_1370 = lean_ctor_get(x_1354, 0); +lean_inc(x_1370); +x_1371 = lean_ctor_get(x_1354, 1); lean_inc(x_1371); -if (lean_obj_tag(x_1371) == 1) +if (lean_is_exclusive(x_1354)) { + lean_ctor_release(x_1354, 0); + lean_ctor_release(x_1354, 1); + x_1372 = x_1354; +} else { + lean_dec_ref(x_1354); + x_1372 = lean_box(0); +} +if (lean_is_scalar(x_1372)) { + x_1373 = lean_alloc_ctor(1, 2, 0); +} else { + x_1373 = x_1372; +} +lean_ctor_set(x_1373, 0, x_1370); +lean_ctor_set(x_1373, 1, x_1371); +return x_1373; +} +} +} +else { -lean_object* x_1372; -x_1372 = lean_ctor_get(x_1371, 0); -lean_inc(x_1372); -if (lean_obj_tag(x_1372) == 1) -{ -lean_object* x_1373; -x_1373 = lean_ctor_get(x_1372, 0); -lean_inc(x_1373); -if (lean_obj_tag(x_1373) == 1) -{ -lean_object* x_1374; -x_1374 = lean_ctor_get(x_1373, 0); -lean_inc(x_1374); -if (lean_obj_tag(x_1374) == 0) -{ -lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; uint8_t x_1379; -x_1375 = lean_ctor_get(x_1370, 1); -lean_inc(x_1375); -lean_dec(x_1370); -x_1376 = lean_ctor_get(x_1371, 1); +lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; +lean_dec(x_1234); +lean_free_object(x_116); +lean_free_object(x_106); +lean_dec(x_119); +lean_dec(x_1); +x_1374 = l_Lean_Syntax_inhabited; +x_1375 = lean_unsigned_to_nat(1u); +x_1376 = lean_array_get(x_1374, x_4, x_1375); lean_inc(x_1376); -lean_dec(x_1371); -x_1377 = lean_ctor_get(x_1372, 1); -lean_inc(x_1377); -lean_dec(x_1372); -x_1378 = lean_ctor_get(x_1373, 1); +x_1377 = l_Lean_Syntax_getKind(x_1376); +if (lean_obj_tag(x_1377) == 1) +{ +lean_object* x_1378; +x_1378 = lean_ctor_get(x_1377, 0); lean_inc(x_1378); -lean_dec(x_1373); -x_1379 = lean_string_dec_eq(x_1378, x_1224); +if (lean_obj_tag(x_1378) == 1) +{ +lean_object* x_1379; +x_1379 = lean_ctor_get(x_1378, 0); +lean_inc(x_1379); +if (lean_obj_tag(x_1379) == 1) +{ +lean_object* x_1380; +x_1380 = lean_ctor_get(x_1379, 0); +lean_inc(x_1380); +if (lean_obj_tag(x_1380) == 1) +{ +lean_object* x_1381; +x_1381 = lean_ctor_get(x_1380, 0); +lean_inc(x_1381); +if (lean_obj_tag(x_1381) == 0) +{ +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_1377, 1); +lean_inc(x_1382); +lean_dec(x_1377); +x_1383 = lean_ctor_get(x_1378, 1); +lean_inc(x_1383); lean_dec(x_1378); -if (x_1379 == 0) +x_1384 = lean_ctor_get(x_1379, 1); +lean_inc(x_1384); +lean_dec(x_1379); +x_1385 = lean_ctor_get(x_1380, 1); +lean_inc(x_1385); +lean_dec(x_1380); +x_1386 = lean_string_dec_eq(x_1385, x_1231); +lean_dec(x_1385); +if (x_1386 == 0) { -lean_object* x_1380; lean_object* x_1381; -lean_dec(x_1377); +lean_object* x_1387; lean_object* x_1388; +lean_dec(x_1384); +lean_dec(x_1383); +lean_dec(x_1382); lean_dec(x_1376); -lean_dec(x_1375); -lean_dec(x_1369); -x_1380 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1381 = l_unreachable_x21___rarg(x_1380); -x_5 = x_1381; -goto block_94; +x_1387 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1388 = l_unreachable_x21___rarg(x_1387); +x_5 = x_1388; +goto block_95; } else { -uint8_t x_1382; -x_1382 = lean_string_dec_eq(x_1377, x_1228); -lean_dec(x_1377); -if (x_1382 == 0) -{ -lean_object* x_1383; lean_object* x_1384; -lean_dec(x_1376); -lean_dec(x_1375); -lean_dec(x_1369); -x_1383 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1384 = l_unreachable_x21___rarg(x_1383); -x_5 = x_1384; -goto block_94; -} -else -{ -uint8_t x_1385; -x_1385 = lean_string_dec_eq(x_1376, x_1239); -lean_dec(x_1376); -if (x_1385 == 0) -{ -lean_object* x_1386; lean_object* x_1387; -lean_dec(x_1375); -lean_dec(x_1369); -x_1386 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1387 = l_unreachable_x21___rarg(x_1386); -x_5 = x_1387; -goto block_94; -} -else -{ -lean_object* x_1388; uint8_t x_1389; -x_1388 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_1389 = lean_string_dec_eq(x_1375, x_1388); +uint8_t x_1389; +x_1389 = lean_string_dec_eq(x_1384, x_1235); +lean_dec(x_1384); if (x_1389 == 0) { -lean_object* x_1390; uint8_t x_1391; -x_1390 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; -x_1391 = lean_string_dec_eq(x_1375, x_1390); -lean_dec(x_1375); -if (x_1391 == 0) -{ -lean_object* x_1392; lean_object* x_1393; -lean_dec(x_1369); -x_1392 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1393 = l_unreachable_x21___rarg(x_1392); -x_5 = x_1393; -goto block_94; +lean_object* x_1390; lean_object* x_1391; +lean_dec(x_1383); +lean_dec(x_1382); +lean_dec(x_1376); +x_1390 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1391 = l_unreachable_x21___rarg(x_1390); +x_5 = x_1391; +goto block_95; } else { -lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; -x_1394 = lean_unsigned_to_nat(0u); -x_1395 = l_Lean_Syntax_getArg(x_1369, x_1394); -x_1396 = l_Lean_Syntax_getIdAt(x_1395, x_1394); -lean_dec(x_1395); -x_1397 = lean_unsigned_to_nat(3u); -x_1398 = l_Lean_Syntax_getArg(x_1369, x_1397); -lean_dec(x_1369); -x_1399 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1399, 0, x_1396); -lean_ctor_set(x_1399, 1, x_1398); -x_5 = x_1399; -goto block_94; -} +uint8_t x_1392; +x_1392 = lean_string_dec_eq(x_1383, x_1246); +lean_dec(x_1383); +if (x_1392 == 0) +{ +lean_object* x_1393; lean_object* x_1394; +lean_dec(x_1382); +lean_dec(x_1376); +x_1393 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1394 = l_unreachable_x21___rarg(x_1393); +x_5 = x_1394; +goto block_95; } else { -lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; -lean_dec(x_1375); -x_1400 = lean_unsigned_to_nat(0u); -x_1401 = l_Lean_Syntax_getIdAt(x_1369, x_1400); -x_1402 = lean_unsigned_to_nat(4u); -x_1403 = l_Lean_Syntax_getArg(x_1369, x_1402); -lean_dec(x_1369); -x_1404 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1404, 0, x_1401); -lean_ctor_set(x_1404, 1, x_1403); -x_5 = x_1404; -goto block_94; -} -} -} -} +lean_object* x_1395; uint8_t x_1396; +x_1395 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_1396 = lean_string_dec_eq(x_1382, x_1395); +if (x_1396 == 0) +{ +lean_object* x_1397; uint8_t x_1398; +x_1397 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; +x_1398 = lean_string_dec_eq(x_1382, x_1397); +lean_dec(x_1382); +if (x_1398 == 0) +{ +lean_object* x_1399; lean_object* x_1400; +lean_dec(x_1376); +x_1399 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1400 = l_unreachable_x21___rarg(x_1399); +x_5 = x_1400; +goto block_95; } else { -lean_object* x_1405; lean_object* x_1406; -lean_dec(x_1374); -lean_dec(x_1373); -lean_dec(x_1372); -lean_dec(x_1371); -lean_dec(x_1370); -lean_dec(x_1369); -x_1405 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1406 = l_unreachable_x21___rarg(x_1405); +lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; +x_1401 = lean_unsigned_to_nat(0u); +x_1402 = l_Lean_Syntax_getArg(x_1376, x_1401); +x_1403 = l_Lean_Syntax_getIdAt(x_1402, x_1401); +lean_dec(x_1402); +x_1404 = lean_unsigned_to_nat(3u); +x_1405 = l_Lean_Syntax_getArg(x_1376, x_1404); +lean_dec(x_1376); +x_1406 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1406, 0, x_1403); +lean_ctor_set(x_1406, 1, x_1405); x_5 = x_1406; -goto block_94; +goto block_95; } } else { -lean_object* x_1407; lean_object* x_1408; -lean_dec(x_1373); -lean_dec(x_1372); -lean_dec(x_1371); -lean_dec(x_1370); -lean_dec(x_1369); -x_1407 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1408 = l_unreachable_x21___rarg(x_1407); -x_5 = x_1408; -goto block_94; +lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; +lean_dec(x_1382); +x_1407 = lean_unsigned_to_nat(0u); +x_1408 = l_Lean_Syntax_getIdAt(x_1376, x_1407); +x_1409 = lean_unsigned_to_nat(4u); +x_1410 = l_Lean_Syntax_getArg(x_1376, x_1409); +lean_dec(x_1376); +x_1411 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1411, 0, x_1408); +lean_ctor_set(x_1411, 1, x_1410); +x_5 = x_1411; +goto block_95; } } -else -{ -lean_object* x_1409; lean_object* x_1410; -lean_dec(x_1372); -lean_dec(x_1371); -lean_dec(x_1370); -lean_dec(x_1369); -x_1409 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1410 = l_unreachable_x21___rarg(x_1409); -x_5 = x_1410; -goto block_94; -} -} -else -{ -lean_object* x_1411; lean_object* x_1412; -lean_dec(x_1371); -lean_dec(x_1370); -lean_dec(x_1369); -x_1411 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1412 = l_unreachable_x21___rarg(x_1411); -x_5 = x_1412; -goto block_94; -} -} -else -{ -lean_object* x_1413; lean_object* x_1414; -lean_dec(x_1370); -lean_dec(x_1369); -x_1413 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1414 = l_unreachable_x21___rarg(x_1413); -x_5 = x_1414; -goto block_94; } } } else { -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; uint8_t x_1423; -lean_dec(x_1227); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); +lean_object* x_1412; lean_object* x_1413; +lean_dec(x_1381); +lean_dec(x_1380); +lean_dec(x_1379); +lean_dec(x_1378); +lean_dec(x_1377); +lean_dec(x_1376); +x_1412 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1413 = l_unreachable_x21___rarg(x_1412); +x_5 = x_1413; +goto block_95; +} +} +else +{ +lean_object* x_1414; lean_object* x_1415; +lean_dec(x_1380); +lean_dec(x_1379); +lean_dec(x_1378); +lean_dec(x_1377); +lean_dec(x_1376); +x_1414 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1415 = l_unreachable_x21___rarg(x_1414); +x_5 = x_1415; +goto block_95; +} +} +else +{ +lean_object* x_1416; lean_object* x_1417; +lean_dec(x_1379); +lean_dec(x_1378); +lean_dec(x_1377); +lean_dec(x_1376); +x_1416 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1417 = l_unreachable_x21___rarg(x_1416); +x_5 = x_1417; +goto block_95; +} +} +else +{ +lean_object* x_1418; lean_object* x_1419; +lean_dec(x_1378); +lean_dec(x_1377); +lean_dec(x_1376); +x_1418 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1419 = l_unreachable_x21___rarg(x_1418); +x_5 = x_1419; +goto block_95; +} +} +else +{ +lean_object* x_1420; lean_object* x_1421; +lean_dec(x_1377); +lean_dec(x_1376); +x_1420 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1421 = l_unreachable_x21___rarg(x_1420); +x_5 = x_1421; +goto block_95; +} +} +} +else +{ +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; uint8_t x_1430; +lean_dec(x_1234); +lean_free_object(x_116); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_1415 = l_Lean_Syntax_inhabited; -x_1416 = lean_unsigned_to_nat(1u); -x_1417 = lean_array_get(x_1415, x_4, x_1416); -x_1418 = l_Lean_Syntax_getArgs(x_1417); -lean_dec(x_1417); -x_1419 = lean_unsigned_to_nat(3u); -x_1420 = lean_array_get(x_1415, x_4, x_1419); -lean_dec(x_4); -x_1421 = lean_array_get_size(x_1418); -x_1422 = lean_unsigned_to_nat(0u); -x_1423 = lean_nat_dec_eq(x_1421, x_1422); -lean_dec(x_1421); -if (x_1423 == 0) -{ -lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; uint8_t x_1429; -x_1424 = lean_array_get(x_1415, x_1418, x_1422); -x_1425 = lean_name_mk_string(x_117, x_1224); -x_1426 = lean_name_mk_string(x_1425, x_1228); -x_1427 = lean_name_mk_string(x_1426, x_1239); -lean_inc(x_1427); -x_1428 = lean_name_mk_string(x_1427, x_1250); -lean_inc(x_1424); -x_1429 = l_Lean_Syntax_isOfKind(x_1424, x_1428); -lean_dec(x_1428); -if (x_1429 == 0) -{ -lean_object* x_1430; lean_object* x_1431; uint8_t x_1432; -x_1430 = l_Lean_Parser_Level_hole___elambda__1___closed__1; -lean_inc(x_1427); -x_1431 = lean_name_mk_string(x_1427, x_1430); -lean_inc(x_1424); -x_1432 = l_Lean_Syntax_isOfKind(x_1424, x_1431); -lean_dec(x_1431); -if (x_1432 == 0) -{ -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; -x_1433 = l_Lean_Syntax_getArg(x_1424, x_1416); +x_1422 = l_Lean_Syntax_inhabited; +x_1423 = lean_unsigned_to_nat(1u); +x_1424 = lean_array_get(x_1422, x_4, x_1423); +x_1425 = l_Lean_Syntax_getArgs(x_1424); lean_dec(x_1424); -x_1434 = l_Lean_Syntax_getArg(x_1433, x_1422); -x_1435 = l_Lean_Syntax_getIdAt(x_1434, x_1422); -lean_dec(x_1434); -x_1436 = l_Lean_Syntax_getArg(x_1433, x_1416); -lean_dec(x_1433); -x_1437 = l_Lean_Syntax_getArg(x_1436, x_1422); -lean_dec(x_1436); -x_1438 = l_Lean_Syntax_getArg(x_1437, x_1416); -lean_dec(x_1437); -lean_inc(x_2); -x_1439 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1438, x_2, x_3); -if (lean_obj_tag(x_1439) == 0) +x_1426 = lean_unsigned_to_nat(3u); +x_1427 = lean_array_get(x_1422, x_4, x_1426); +lean_dec(x_4); +x_1428 = lean_array_get_size(x_1425); +x_1429 = lean_unsigned_to_nat(0u); +x_1430 = lean_nat_dec_eq(x_1428, x_1429); +lean_dec(x_1428); +if (x_1430 == 0) { -lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; uint8_t x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; 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; 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; uint8_t 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; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; -x_1440 = lean_ctor_get(x_1439, 0); -lean_inc(x_1440); -x_1441 = lean_ctor_get(x_1439, 1); -lean_inc(x_1441); -lean_dec(x_1439); -x_1442 = l_Lean_Elab_Term_getLCtx(x_2, x_1441); -x_1443 = lean_ctor_get(x_1442, 0); -lean_inc(x_1443); -x_1444 = lean_ctor_get(x_1442, 1); -lean_inc(x_1444); -lean_dec(x_1442); -x_1445 = 0; -lean_inc_n(x_1435, 2); -x_1446 = lean_local_ctx_mk_local_decl(x_1443, x_1435, x_1435, x_1440, x_1445); -x_1447 = l_Array_eraseIdx___rarg(x_1418, x_1422); -x_1448 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1444); -x_1449 = lean_ctor_get(x_1448, 1); -lean_inc(x_1449); -lean_dec(x_1448); -x_1450 = lean_name_mk_string(x_1427, x_1252); -x_1451 = l_Lean_nullKind___closed__1; -x_1452 = lean_name_mk_string(x_117, x_1451); -x_1453 = l_Array_empty___closed__1; -x_1454 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1447, x_1447, x_1422, x_1453); -lean_dec(x_1447); -x_1455 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1455, 0, x_1452); -lean_ctor_set(x_1455, 1, x_1454); -x_1456 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1457 = lean_array_push(x_1456, x_1455); -x_1458 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1459 = lean_array_push(x_1457, x_1458); -x_1460 = lean_array_push(x_1459, x_1420); -x_1461 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1461, 0, x_1450); -lean_ctor_set(x_1461, 1, x_1460); -x_1462 = lean_ctor_get(x_2, 0); -lean_inc(x_1462); -x_1463 = lean_ctor_get(x_2, 1); -lean_inc(x_1463); -x_1464 = lean_ctor_get(x_2, 2); -lean_inc(x_1464); -x_1465 = lean_ctor_get(x_2, 3); -lean_inc(x_1465); -x_1466 = lean_ctor_get(x_2, 4); -lean_inc(x_1466); -x_1467 = lean_ctor_get(x_2, 5); -lean_inc(x_1467); -x_1468 = lean_ctor_get(x_2, 6); -lean_inc(x_1468); -x_1469 = lean_ctor_get(x_2, 7); +lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; uint8_t x_1436; +x_1431 = lean_array_get(x_1422, x_1425, x_1429); +x_1432 = lean_name_mk_string(x_118, x_1231); +x_1433 = lean_name_mk_string(x_1432, x_1235); +x_1434 = lean_name_mk_string(x_1433, x_1246); +lean_inc(x_1434); +x_1435 = lean_name_mk_string(x_1434, x_1257); +lean_inc(x_1431); +x_1436 = l_Lean_Syntax_isOfKind(x_1431, x_1435); +lean_dec(x_1435); +if (x_1436 == 0) +{ +lean_object* x_1437; lean_object* x_1438; uint8_t x_1439; +x_1437 = l_Lean_Parser_Level_hole___elambda__1___closed__1; +lean_inc(x_1434); +x_1438 = lean_name_mk_string(x_1434, x_1437); +lean_inc(x_1431); +x_1439 = l_Lean_Syntax_isOfKind(x_1431, x_1438); +lean_dec(x_1438); +if (x_1439 == 0) +{ +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_1440 = l_Lean_Syntax_getArg(x_1431, x_1423); +lean_dec(x_1431); +x_1441 = l_Lean_Syntax_getArg(x_1440, x_1429); +x_1442 = l_Lean_Syntax_getIdAt(x_1441, x_1429); +lean_dec(x_1441); +x_1443 = l_Lean_Syntax_getArg(x_1440, x_1423); +lean_dec(x_1440); +x_1444 = l_Lean_Syntax_getArg(x_1443, x_1429); +lean_dec(x_1443); +x_1445 = l_Lean_Syntax_getArg(x_1444, x_1423); +lean_dec(x_1444); +lean_inc(x_2); +x_1446 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1445, x_2, x_3); +if (lean_obj_tag(x_1446) == 0) +{ +lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; uint8_t 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; 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_object* x_1478; uint8_t x_1479; uint8_t x_1480; lean_object* x_1481; lean_object* x_1482; 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_1447 = lean_ctor_get(x_1446, 0); +lean_inc(x_1447); +x_1448 = lean_ctor_get(x_1446, 1); +lean_inc(x_1448); +lean_dec(x_1446); +x_1449 = l_Lean_Elab_Term_getLCtx(x_2, x_1448); +x_1450 = lean_ctor_get(x_1449, 0); +lean_inc(x_1450); +x_1451 = lean_ctor_get(x_1449, 1); +lean_inc(x_1451); +lean_dec(x_1449); +x_1452 = 0; +lean_inc_n(x_1442, 2); +x_1453 = lean_local_ctx_mk_local_decl(x_1450, x_1442, x_1442, x_1447, x_1452); +x_1454 = l_Array_eraseIdx___rarg(x_1425, x_1429); +x_1455 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1451); +x_1456 = lean_ctor_get(x_1455, 1); +lean_inc(x_1456); +lean_dec(x_1455); +x_1457 = lean_name_mk_string(x_1434, x_1259); +x_1458 = l_Lean_nullKind___closed__1; +x_1459 = lean_name_mk_string(x_118, x_1458); +x_1460 = l_Array_empty___closed__1; +x_1461 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1454, x_1454, x_1429, x_1460); +lean_dec(x_1454); +x_1462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1462, 0, x_1459); +lean_ctor_set(x_1462, 1, x_1461); +x_1463 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1464 = lean_array_push(x_1463, x_1462); +x_1465 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1466 = lean_array_push(x_1464, x_1465); +x_1467 = lean_array_push(x_1466, x_1427); +x_1468 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1468, 0, x_1457); +lean_ctor_set(x_1468, 1, x_1467); +x_1469 = lean_ctor_get(x_2, 0); lean_inc(x_1469); -x_1470 = lean_ctor_get(x_2, 8); +x_1470 = lean_ctor_get(x_2, 1); lean_inc(x_1470); -x_1471 = lean_ctor_get(x_2, 9); +x_1471 = lean_ctor_get(x_2, 2); lean_inc(x_1471); -x_1472 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1472 = lean_ctor_get(x_2, 3); +lean_inc(x_1472); +x_1473 = lean_ctor_get(x_2, 4); +lean_inc(x_1473); +x_1474 = lean_ctor_get(x_2, 5); +lean_inc(x_1474); +x_1475 = lean_ctor_get(x_2, 6); +lean_inc(x_1475); +x_1476 = lean_ctor_get(x_2, 7); +lean_inc(x_1476); +x_1477 = lean_ctor_get(x_2, 8); +lean_inc(x_1477); +x_1478 = lean_ctor_get(x_2, 9); +lean_inc(x_1478); +x_1479 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1480 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -19429,204 +19474,206 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1473 = x_2; + x_1481 = x_2; } else { lean_dec_ref(x_2); - x_1473 = lean_box(0); + x_1481 = lean_box(0); } -x_1474 = lean_ctor_get(x_1462, 0); -lean_inc(x_1474); -x_1475 = lean_ctor_get(x_1462, 2); -lean_inc(x_1475); -x_1476 = lean_ctor_get(x_1462, 3); -lean_inc(x_1476); -x_1477 = lean_ctor_get(x_1462, 4); -lean_inc(x_1477); -if (lean_is_exclusive(x_1462)) { - lean_ctor_release(x_1462, 0); - lean_ctor_release(x_1462, 1); - lean_ctor_release(x_1462, 2); - lean_ctor_release(x_1462, 3); - lean_ctor_release(x_1462, 4); - x_1478 = x_1462; -} else { - lean_dec_ref(x_1462); - x_1478 = lean_box(0); -} -lean_inc(x_1446); -if (lean_is_scalar(x_1478)) { - x_1479 = lean_alloc_ctor(0, 5, 0); -} else { - x_1479 = x_1478; -} -lean_ctor_set(x_1479, 0, x_1474); -lean_ctor_set(x_1479, 1, x_1446); -lean_ctor_set(x_1479, 2, x_1475); -lean_ctor_set(x_1479, 3, x_1476); -lean_ctor_set(x_1479, 4, x_1477); -if (lean_is_scalar(x_1473)) { - x_1480 = lean_alloc_ctor(0, 10, 1); -} else { - x_1480 = x_1473; -} -lean_ctor_set(x_1480, 0, x_1479); -lean_ctor_set(x_1480, 1, x_1463); -lean_ctor_set(x_1480, 2, x_1464); -lean_ctor_set(x_1480, 3, x_1465); -lean_ctor_set(x_1480, 4, x_1466); -lean_ctor_set(x_1480, 5, x_1467); -lean_ctor_set(x_1480, 6, x_1468); -lean_ctor_set(x_1480, 7, x_1469); -lean_ctor_set(x_1480, 8, x_1470); -lean_ctor_set(x_1480, 9, x_1471); -lean_ctor_set_uint8(x_1480, sizeof(void*)*10, x_1472); -x_1481 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1461, x_1480, x_1449); -if (lean_obj_tag(x_1481) == 0) -{ -lean_object* x_1482; 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_1482 = lean_ctor_get(x_1481, 0); +x_1482 = lean_ctor_get(x_1469, 0); lean_inc(x_1482); -x_1483 = lean_ctor_get(x_1481, 1); +x_1483 = lean_ctor_get(x_1469, 2); lean_inc(x_1483); -if (lean_is_exclusive(x_1481)) { - lean_ctor_release(x_1481, 0); - lean_ctor_release(x_1481, 1); - x_1484 = x_1481; +x_1484 = lean_ctor_get(x_1469, 3); +lean_inc(x_1484); +x_1485 = lean_ctor_get(x_1469, 4); +lean_inc(x_1485); +if (lean_is_exclusive(x_1469)) { + lean_ctor_release(x_1469, 0); + lean_ctor_release(x_1469, 1); + lean_ctor_release(x_1469, 2); + lean_ctor_release(x_1469, 3); + lean_ctor_release(x_1469, 4); + x_1486 = x_1469; } else { - lean_dec_ref(x_1481); - x_1484 = lean_box(0); + lean_dec_ref(x_1469); + x_1486 = lean_box(0); } -x_1485 = l_Lean_mkFVar(x_1435); -x_1486 = l_Lean_FileMap_ofString___closed__1; -x_1487 = lean_array_push(x_1486, x_1485); -x_1488 = l_Lean_LocalContext_mkLambda(x_1446, x_1487, x_1482); -lean_dec(x_1482); -lean_dec(x_1487); -if (lean_is_scalar(x_1484)) { - x_1489 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_1453); +if (lean_is_scalar(x_1486)) { + x_1487 = lean_alloc_ctor(0, 5, 0); } else { - x_1489 = x_1484; + x_1487 = x_1486; } -lean_ctor_set(x_1489, 0, x_1488); -lean_ctor_set(x_1489, 1, x_1483); -return x_1489; +lean_ctor_set(x_1487, 0, x_1482); +lean_ctor_set(x_1487, 1, x_1453); +lean_ctor_set(x_1487, 2, x_1483); +lean_ctor_set(x_1487, 3, x_1484); +lean_ctor_set(x_1487, 4, x_1485); +if (lean_is_scalar(x_1481)) { + x_1488 = lean_alloc_ctor(0, 10, 2); +} else { + x_1488 = x_1481; } -else +lean_ctor_set(x_1488, 0, x_1487); +lean_ctor_set(x_1488, 1, x_1470); +lean_ctor_set(x_1488, 2, x_1471); +lean_ctor_set(x_1488, 3, x_1472); +lean_ctor_set(x_1488, 4, x_1473); +lean_ctor_set(x_1488, 5, x_1474); +lean_ctor_set(x_1488, 6, x_1475); +lean_ctor_set(x_1488, 7, x_1476); +lean_ctor_set(x_1488, 8, x_1477); +lean_ctor_set(x_1488, 9, x_1478); +lean_ctor_set_uint8(x_1488, sizeof(void*)*10, x_1479); +lean_ctor_set_uint8(x_1488, sizeof(void*)*10 + 1, x_1480); +x_1489 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1468, x_1488, x_1456); +if (lean_obj_tag(x_1489) == 0) { -lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; -lean_dec(x_1446); -lean_dec(x_1435); -x_1490 = lean_ctor_get(x_1481, 0); +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_1489, 0); lean_inc(x_1490); -x_1491 = lean_ctor_get(x_1481, 1); +x_1491 = lean_ctor_get(x_1489, 1); lean_inc(x_1491); -if (lean_is_exclusive(x_1481)) { - lean_ctor_release(x_1481, 0); - lean_ctor_release(x_1481, 1); - x_1492 = x_1481; +if (lean_is_exclusive(x_1489)) { + lean_ctor_release(x_1489, 0); + lean_ctor_release(x_1489, 1); + x_1492 = x_1489; } else { - lean_dec_ref(x_1481); + lean_dec_ref(x_1489); x_1492 = lean_box(0); } +x_1493 = l_Lean_mkFVar(x_1442); +x_1494 = l_Lean_FileMap_ofString___closed__1; +x_1495 = lean_array_push(x_1494, x_1493); +x_1496 = l_Lean_LocalContext_mkLambda(x_1453, x_1495, x_1490); +lean_dec(x_1490); +lean_dec(x_1495); if (lean_is_scalar(x_1492)) { - x_1493 = lean_alloc_ctor(1, 2, 0); + x_1497 = lean_alloc_ctor(0, 2, 0); } else { - x_1493 = x_1492; + x_1497 = x_1492; } -lean_ctor_set(x_1493, 0, x_1490); -lean_ctor_set(x_1493, 1, x_1491); -return x_1493; -} -} -else -{ -lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; -lean_dec(x_1435); -lean_dec(x_1427); -lean_dec(x_1420); -lean_dec(x_1418); -lean_dec(x_2); -x_1494 = lean_ctor_get(x_1439, 0); -lean_inc(x_1494); -x_1495 = lean_ctor_get(x_1439, 1); -lean_inc(x_1495); -if (lean_is_exclusive(x_1439)) { - lean_ctor_release(x_1439, 0); - lean_ctor_release(x_1439, 1); - x_1496 = x_1439; -} else { - lean_dec_ref(x_1439); - x_1496 = lean_box(0); -} -if (lean_is_scalar(x_1496)) { - x_1497 = lean_alloc_ctor(1, 2, 0); -} else { - x_1497 = x_1496; -} -lean_ctor_set(x_1497, 0, x_1494); -lean_ctor_set(x_1497, 1, x_1495); +lean_ctor_set(x_1497, 0, x_1496); +lean_ctor_set(x_1497, 1, x_1491); return x_1497; } +else +{ +lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; +lean_dec(x_1453); +lean_dec(x_1442); +x_1498 = lean_ctor_get(x_1489, 0); +lean_inc(x_1498); +x_1499 = lean_ctor_get(x_1489, 1); +lean_inc(x_1499); +if (lean_is_exclusive(x_1489)) { + lean_ctor_release(x_1489, 0); + lean_ctor_release(x_1489, 1); + x_1500 = x_1489; +} else { + lean_dec_ref(x_1489); + x_1500 = lean_box(0); +} +if (lean_is_scalar(x_1500)) { + x_1501 = lean_alloc_ctor(1, 2, 0); +} else { + x_1501 = x_1500; +} +lean_ctor_set(x_1501, 0, x_1498); +lean_ctor_set(x_1501, 1, x_1499); +return x_1501; +} } else { -lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; uint8_t x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; 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; uint8_t 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_dec(x_1424); -x_1498 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_1499 = lean_name_mk_string(x_117, x_1498); -x_1500 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1501 = lean_ctor_get(x_1500, 0); -lean_inc(x_1501); -x_1502 = lean_ctor_get(x_1500, 1); +lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; +lean_dec(x_1442); +lean_dec(x_1434); +lean_dec(x_1427); +lean_dec(x_1425); +lean_dec(x_2); +x_1502 = lean_ctor_get(x_1446, 0); lean_inc(x_1502); -lean_dec(x_1500); -x_1503 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_1504 = 0; -lean_inc_n(x_1499, 2); -x_1505 = lean_local_ctx_mk_local_decl(x_1501, x_1499, x_1499, x_1503, x_1504); -x_1506 = l_Array_eraseIdx___rarg(x_1418, x_1422); -x_1507 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1502); -x_1508 = lean_ctor_get(x_1507, 1); -lean_inc(x_1508); -lean_dec(x_1507); -x_1509 = lean_name_mk_string(x_1427, x_1252); -x_1510 = l_Lean_nullKind___closed__1; -x_1511 = lean_name_mk_string(x_117, x_1510); -x_1512 = l_Array_empty___closed__1; -x_1513 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1506, x_1506, x_1422, x_1512); -lean_dec(x_1506); -x_1514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1514, 0, x_1511); -lean_ctor_set(x_1514, 1, x_1513); -x_1515 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1516 = lean_array_push(x_1515, x_1514); -x_1517 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1518 = lean_array_push(x_1516, x_1517); -x_1519 = lean_array_push(x_1518, x_1420); -x_1520 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1520, 0, x_1509); -lean_ctor_set(x_1520, 1, x_1519); -x_1521 = lean_ctor_get(x_2, 0); -lean_inc(x_1521); -x_1522 = lean_ctor_get(x_2, 1); -lean_inc(x_1522); -x_1523 = lean_ctor_get(x_2, 2); -lean_inc(x_1523); -x_1524 = lean_ctor_get(x_2, 3); -lean_inc(x_1524); -x_1525 = lean_ctor_get(x_2, 4); -lean_inc(x_1525); -x_1526 = lean_ctor_get(x_2, 5); -lean_inc(x_1526); -x_1527 = lean_ctor_get(x_2, 6); -lean_inc(x_1527); -x_1528 = lean_ctor_get(x_2, 7); -lean_inc(x_1528); -x_1529 = lean_ctor_get(x_2, 8); +x_1503 = lean_ctor_get(x_1446, 1); +lean_inc(x_1503); +if (lean_is_exclusive(x_1446)) { + lean_ctor_release(x_1446, 0); + lean_ctor_release(x_1446, 1); + x_1504 = x_1446; +} else { + lean_dec_ref(x_1446); + x_1504 = lean_box(0); +} +if (lean_is_scalar(x_1504)) { + x_1505 = lean_alloc_ctor(1, 2, 0); +} else { + x_1505 = x_1504; +} +lean_ctor_set(x_1505, 0, x_1502); +lean_ctor_set(x_1505, 1, x_1503); +return x_1505; +} +} +else +{ +lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; uint8_t 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; uint8_t x_1539; uint8_t 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_dec(x_1431); +x_1506 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_1507 = lean_name_mk_string(x_118, x_1506); +x_1508 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +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_1511 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_1512 = 0; +lean_inc_n(x_1507, 2); +x_1513 = lean_local_ctx_mk_local_decl(x_1509, x_1507, x_1507, x_1511, x_1512); +x_1514 = l_Array_eraseIdx___rarg(x_1425, x_1429); +x_1515 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1510); +x_1516 = lean_ctor_get(x_1515, 1); +lean_inc(x_1516); +lean_dec(x_1515); +x_1517 = lean_name_mk_string(x_1434, x_1259); +x_1518 = l_Lean_nullKind___closed__1; +x_1519 = lean_name_mk_string(x_118, x_1518); +x_1520 = l_Array_empty___closed__1; +x_1521 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1514, x_1514, x_1429, x_1520); +lean_dec(x_1514); +x_1522 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1522, 0, x_1519); +lean_ctor_set(x_1522, 1, x_1521); +x_1523 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1524 = lean_array_push(x_1523, x_1522); +x_1525 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1526 = lean_array_push(x_1524, x_1525); +x_1527 = lean_array_push(x_1526, x_1427); +x_1528 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1528, 0, x_1517); +lean_ctor_set(x_1528, 1, x_1527); +x_1529 = lean_ctor_get(x_2, 0); lean_inc(x_1529); -x_1530 = lean_ctor_get(x_2, 9); +x_1530 = lean_ctor_get(x_2, 1); lean_inc(x_1530); -x_1531 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1531 = lean_ctor_get(x_2, 2); +lean_inc(x_1531); +x_1532 = lean_ctor_get(x_2, 3); +lean_inc(x_1532); +x_1533 = lean_ctor_get(x_2, 4); +lean_inc(x_1533); +x_1534 = lean_ctor_get(x_2, 5); +lean_inc(x_1534); +x_1535 = lean_ctor_get(x_2, 6); +lean_inc(x_1535); +x_1536 = lean_ctor_get(x_2, 7); +lean_inc(x_1536); +x_1537 = lean_ctor_get(x_2, 8); +lean_inc(x_1537); +x_1538 = lean_ctor_get(x_2, 9); +lean_inc(x_1538); +x_1539 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1540 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -19638,174 +19685,176 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1532 = x_2; + x_1541 = x_2; } else { lean_dec_ref(x_2); - x_1532 = lean_box(0); + x_1541 = lean_box(0); } -x_1533 = lean_ctor_get(x_1521, 0); -lean_inc(x_1533); -x_1534 = lean_ctor_get(x_1521, 2); -lean_inc(x_1534); -x_1535 = lean_ctor_get(x_1521, 3); -lean_inc(x_1535); -x_1536 = lean_ctor_get(x_1521, 4); -lean_inc(x_1536); -if (lean_is_exclusive(x_1521)) { - lean_ctor_release(x_1521, 0); - lean_ctor_release(x_1521, 1); - lean_ctor_release(x_1521, 2); - lean_ctor_release(x_1521, 3); - lean_ctor_release(x_1521, 4); - x_1537 = x_1521; -} else { - lean_dec_ref(x_1521); - x_1537 = lean_box(0); -} -lean_inc(x_1505); -if (lean_is_scalar(x_1537)) { - x_1538 = lean_alloc_ctor(0, 5, 0); -} else { - x_1538 = x_1537; -} -lean_ctor_set(x_1538, 0, x_1533); -lean_ctor_set(x_1538, 1, x_1505); -lean_ctor_set(x_1538, 2, x_1534); -lean_ctor_set(x_1538, 3, x_1535); -lean_ctor_set(x_1538, 4, x_1536); -if (lean_is_scalar(x_1532)) { - x_1539 = lean_alloc_ctor(0, 10, 1); -} else { - x_1539 = x_1532; -} -lean_ctor_set(x_1539, 0, x_1538); -lean_ctor_set(x_1539, 1, x_1522); -lean_ctor_set(x_1539, 2, x_1523); -lean_ctor_set(x_1539, 3, x_1524); -lean_ctor_set(x_1539, 4, x_1525); -lean_ctor_set(x_1539, 5, x_1526); -lean_ctor_set(x_1539, 6, x_1527); -lean_ctor_set(x_1539, 7, x_1528); -lean_ctor_set(x_1539, 8, x_1529); -lean_ctor_set(x_1539, 9, x_1530); -lean_ctor_set_uint8(x_1539, sizeof(void*)*10, x_1531); -x_1540 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1520, x_1539, x_1508); -if (lean_obj_tag(x_1540) == 0) -{ -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; -x_1541 = lean_ctor_get(x_1540, 0); -lean_inc(x_1541); -x_1542 = lean_ctor_get(x_1540, 1); +x_1542 = lean_ctor_get(x_1529, 0); lean_inc(x_1542); -if (lean_is_exclusive(x_1540)) { - lean_ctor_release(x_1540, 0); - lean_ctor_release(x_1540, 1); - x_1543 = x_1540; +x_1543 = lean_ctor_get(x_1529, 2); +lean_inc(x_1543); +x_1544 = lean_ctor_get(x_1529, 3); +lean_inc(x_1544); +x_1545 = lean_ctor_get(x_1529, 4); +lean_inc(x_1545); +if (lean_is_exclusive(x_1529)) { + lean_ctor_release(x_1529, 0); + lean_ctor_release(x_1529, 1); + lean_ctor_release(x_1529, 2); + lean_ctor_release(x_1529, 3); + lean_ctor_release(x_1529, 4); + x_1546 = x_1529; } else { - lean_dec_ref(x_1540); - x_1543 = lean_box(0); + lean_dec_ref(x_1529); + x_1546 = lean_box(0); } -x_1544 = l_Lean_mkFVar(x_1499); -x_1545 = l_Lean_FileMap_ofString___closed__1; -x_1546 = lean_array_push(x_1545, x_1544); -x_1547 = l_Lean_LocalContext_mkLambda(x_1505, x_1546, x_1541); -lean_dec(x_1541); -lean_dec(x_1546); -if (lean_is_scalar(x_1543)) { - x_1548 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_1513); +if (lean_is_scalar(x_1546)) { + x_1547 = lean_alloc_ctor(0, 5, 0); } else { - x_1548 = x_1543; + x_1547 = x_1546; +} +lean_ctor_set(x_1547, 0, x_1542); +lean_ctor_set(x_1547, 1, x_1513); +lean_ctor_set(x_1547, 2, x_1543); +lean_ctor_set(x_1547, 3, x_1544); +lean_ctor_set(x_1547, 4, x_1545); +if (lean_is_scalar(x_1541)) { + x_1548 = lean_alloc_ctor(0, 10, 2); +} else { + x_1548 = x_1541; } lean_ctor_set(x_1548, 0, x_1547); -lean_ctor_set(x_1548, 1, x_1542); -return x_1548; -} -else +lean_ctor_set(x_1548, 1, x_1530); +lean_ctor_set(x_1548, 2, x_1531); +lean_ctor_set(x_1548, 3, x_1532); +lean_ctor_set(x_1548, 4, x_1533); +lean_ctor_set(x_1548, 5, x_1534); +lean_ctor_set(x_1548, 6, x_1535); +lean_ctor_set(x_1548, 7, x_1536); +lean_ctor_set(x_1548, 8, x_1537); +lean_ctor_set(x_1548, 9, x_1538); +lean_ctor_set_uint8(x_1548, sizeof(void*)*10, x_1539); +lean_ctor_set_uint8(x_1548, sizeof(void*)*10 + 1, x_1540); +x_1549 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1528, x_1548, x_1516); +if (lean_obj_tag(x_1549) == 0) { -lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; -lean_dec(x_1505); -lean_dec(x_1499); -x_1549 = lean_ctor_get(x_1540, 0); -lean_inc(x_1549); -x_1550 = lean_ctor_get(x_1540, 1); +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; +x_1550 = lean_ctor_get(x_1549, 0); lean_inc(x_1550); -if (lean_is_exclusive(x_1540)) { - lean_ctor_release(x_1540, 0); - lean_ctor_release(x_1540, 1); - x_1551 = x_1540; +x_1551 = lean_ctor_get(x_1549, 1); +lean_inc(x_1551); +if (lean_is_exclusive(x_1549)) { + lean_ctor_release(x_1549, 0); + lean_ctor_release(x_1549, 1); + x_1552 = x_1549; } else { - lean_dec_ref(x_1540); - x_1551 = lean_box(0); + lean_dec_ref(x_1549); + x_1552 = lean_box(0); } -if (lean_is_scalar(x_1551)) { - x_1552 = lean_alloc_ctor(1, 2, 0); +x_1553 = l_Lean_mkFVar(x_1507); +x_1554 = l_Lean_FileMap_ofString___closed__1; +x_1555 = lean_array_push(x_1554, x_1553); +x_1556 = l_Lean_LocalContext_mkLambda(x_1513, x_1555, x_1550); +lean_dec(x_1550); +lean_dec(x_1555); +if (lean_is_scalar(x_1552)) { + x_1557 = lean_alloc_ctor(0, 2, 0); } else { - x_1552 = x_1551; + x_1557 = x_1552; } -lean_ctor_set(x_1552, 0, x_1549); -lean_ctor_set(x_1552, 1, x_1550); -return x_1552; +lean_ctor_set(x_1557, 0, x_1556); +lean_ctor_set(x_1557, 1, x_1551); +return x_1557; +} +else +{ +lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; +lean_dec(x_1513); +lean_dec(x_1507); +x_1558 = lean_ctor_get(x_1549, 0); +lean_inc(x_1558); +x_1559 = lean_ctor_get(x_1549, 1); +lean_inc(x_1559); +if (lean_is_exclusive(x_1549)) { + lean_ctor_release(x_1549, 0); + lean_ctor_release(x_1549, 1); + x_1560 = x_1549; +} else { + lean_dec_ref(x_1549); + x_1560 = lean_box(0); +} +if (lean_is_scalar(x_1560)) { + x_1561 = lean_alloc_ctor(1, 2, 0); +} else { + x_1561 = x_1560; +} +lean_ctor_set(x_1561, 0, x_1558); +lean_ctor_set(x_1561, 1, x_1559); +return x_1561; } } } else { -lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; uint8_t 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; uint8_t 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; -x_1553 = l_Lean_Syntax_getIdAt(x_1424, x_1422); -lean_dec(x_1424); -x_1554 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1555 = lean_ctor_get(x_1554, 0); -lean_inc(x_1555); -x_1556 = lean_ctor_get(x_1554, 1); -lean_inc(x_1556); -lean_dec(x_1554); -x_1557 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_1558 = 0; -lean_inc_n(x_1553, 2); -x_1559 = lean_local_ctx_mk_local_decl(x_1555, x_1553, x_1553, x_1557, x_1558); -x_1560 = l_Array_eraseIdx___rarg(x_1418, x_1422); -x_1561 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1556); -x_1562 = lean_ctor_get(x_1561, 1); -lean_inc(x_1562); -lean_dec(x_1561); -x_1563 = lean_name_mk_string(x_1427, x_1252); -x_1564 = l_Lean_nullKind___closed__1; -x_1565 = lean_name_mk_string(x_117, x_1564); -x_1566 = l_Array_empty___closed__1; -x_1567 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1560, x_1560, x_1422, x_1566); -lean_dec(x_1560); -x_1568 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1568, 0, x_1565); -lean_ctor_set(x_1568, 1, x_1567); -x_1569 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1570 = lean_array_push(x_1569, x_1568); -x_1571 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1572 = lean_array_push(x_1570, x_1571); -x_1573 = lean_array_push(x_1572, x_1420); -x_1574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1574, 0, x_1563); -lean_ctor_set(x_1574, 1, x_1573); -x_1575 = lean_ctor_get(x_2, 0); -lean_inc(x_1575); -x_1576 = lean_ctor_get(x_2, 1); -lean_inc(x_1576); -x_1577 = lean_ctor_get(x_2, 2); -lean_inc(x_1577); -x_1578 = lean_ctor_get(x_2, 3); -lean_inc(x_1578); -x_1579 = lean_ctor_get(x_2, 4); -lean_inc(x_1579); -x_1580 = lean_ctor_get(x_2, 5); -lean_inc(x_1580); -x_1581 = lean_ctor_get(x_2, 6); -lean_inc(x_1581); -x_1582 = lean_ctor_get(x_2, 7); -lean_inc(x_1582); -x_1583 = lean_ctor_get(x_2, 8); -lean_inc(x_1583); -x_1584 = lean_ctor_get(x_2, 9); +lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; uint8_t 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; uint8_t x_1594; uint8_t 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; +x_1562 = l_Lean_Syntax_getIdAt(x_1431, x_1429); +lean_dec(x_1431); +x_1563 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_1564 = lean_ctor_get(x_1563, 0); +lean_inc(x_1564); +x_1565 = lean_ctor_get(x_1563, 1); +lean_inc(x_1565); +lean_dec(x_1563); +x_1566 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_1567 = 0; +lean_inc_n(x_1562, 2); +x_1568 = lean_local_ctx_mk_local_decl(x_1564, x_1562, x_1562, x_1566, x_1567); +x_1569 = l_Array_eraseIdx___rarg(x_1425, x_1429); +x_1570 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1565); +x_1571 = lean_ctor_get(x_1570, 1); +lean_inc(x_1571); +lean_dec(x_1570); +x_1572 = lean_name_mk_string(x_1434, x_1259); +x_1573 = l_Lean_nullKind___closed__1; +x_1574 = lean_name_mk_string(x_118, x_1573); +x_1575 = l_Array_empty___closed__1; +x_1576 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1569, x_1569, x_1429, x_1575); +lean_dec(x_1569); +x_1577 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1577, 0, x_1574); +lean_ctor_set(x_1577, 1, x_1576); +x_1578 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1579 = lean_array_push(x_1578, x_1577); +x_1580 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1581 = lean_array_push(x_1579, x_1580); +x_1582 = lean_array_push(x_1581, x_1427); +x_1583 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1583, 0, x_1572); +lean_ctor_set(x_1583, 1, x_1582); +x_1584 = lean_ctor_get(x_2, 0); lean_inc(x_1584); -x_1585 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1585 = lean_ctor_get(x_2, 1); +lean_inc(x_1585); +x_1586 = lean_ctor_get(x_2, 2); +lean_inc(x_1586); +x_1587 = lean_ctor_get(x_2, 3); +lean_inc(x_1587); +x_1588 = lean_ctor_get(x_2, 4); +lean_inc(x_1588); +x_1589 = lean_ctor_get(x_2, 5); +lean_inc(x_1589); +x_1590 = lean_ctor_get(x_2, 6); +lean_inc(x_1590); +x_1591 = lean_ctor_get(x_2, 7); +lean_inc(x_1591); +x_1592 = lean_ctor_get(x_2, 8); +lean_inc(x_1592); +x_1593 = lean_ctor_get(x_2, 9); +lean_inc(x_1593); +x_1594 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1595 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -19817,242 +19866,191 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1586 = x_2; + x_1596 = x_2; } else { lean_dec_ref(x_2); - x_1586 = lean_box(0); + x_1596 = lean_box(0); } -x_1587 = lean_ctor_get(x_1575, 0); -lean_inc(x_1587); -x_1588 = lean_ctor_get(x_1575, 2); -lean_inc(x_1588); -x_1589 = lean_ctor_get(x_1575, 3); -lean_inc(x_1589); -x_1590 = lean_ctor_get(x_1575, 4); -lean_inc(x_1590); -if (lean_is_exclusive(x_1575)) { - lean_ctor_release(x_1575, 0); - lean_ctor_release(x_1575, 1); - lean_ctor_release(x_1575, 2); - lean_ctor_release(x_1575, 3); - lean_ctor_release(x_1575, 4); - x_1591 = x_1575; +x_1597 = lean_ctor_get(x_1584, 0); +lean_inc(x_1597); +x_1598 = lean_ctor_get(x_1584, 2); +lean_inc(x_1598); +x_1599 = lean_ctor_get(x_1584, 3); +lean_inc(x_1599); +x_1600 = lean_ctor_get(x_1584, 4); +lean_inc(x_1600); +if (lean_is_exclusive(x_1584)) { + lean_ctor_release(x_1584, 0); + lean_ctor_release(x_1584, 1); + lean_ctor_release(x_1584, 2); + lean_ctor_release(x_1584, 3); + lean_ctor_release(x_1584, 4); + x_1601 = x_1584; } else { - lean_dec_ref(x_1575); - x_1591 = lean_box(0); + lean_dec_ref(x_1584); + x_1601 = lean_box(0); } -lean_inc(x_1559); -if (lean_is_scalar(x_1591)) { - x_1592 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_1568); +if (lean_is_scalar(x_1601)) { + x_1602 = lean_alloc_ctor(0, 5, 0); } else { - x_1592 = x_1591; + x_1602 = x_1601; } -lean_ctor_set(x_1592, 0, x_1587); -lean_ctor_set(x_1592, 1, x_1559); -lean_ctor_set(x_1592, 2, x_1588); -lean_ctor_set(x_1592, 3, x_1589); -lean_ctor_set(x_1592, 4, x_1590); -if (lean_is_scalar(x_1586)) { - x_1593 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_1602, 0, x_1597); +lean_ctor_set(x_1602, 1, x_1568); +lean_ctor_set(x_1602, 2, x_1598); +lean_ctor_set(x_1602, 3, x_1599); +lean_ctor_set(x_1602, 4, x_1600); +if (lean_is_scalar(x_1596)) { + x_1603 = lean_alloc_ctor(0, 10, 2); } else { - x_1593 = x_1586; + x_1603 = x_1596; } -lean_ctor_set(x_1593, 0, x_1592); -lean_ctor_set(x_1593, 1, x_1576); -lean_ctor_set(x_1593, 2, x_1577); -lean_ctor_set(x_1593, 3, x_1578); -lean_ctor_set(x_1593, 4, x_1579); -lean_ctor_set(x_1593, 5, x_1580); -lean_ctor_set(x_1593, 6, x_1581); -lean_ctor_set(x_1593, 7, x_1582); -lean_ctor_set(x_1593, 8, x_1583); -lean_ctor_set(x_1593, 9, x_1584); -lean_ctor_set_uint8(x_1593, sizeof(void*)*10, x_1585); -x_1594 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1574, x_1593, x_1562); -if (lean_obj_tag(x_1594) == 0) +lean_ctor_set(x_1603, 0, x_1602); +lean_ctor_set(x_1603, 1, x_1585); +lean_ctor_set(x_1603, 2, x_1586); +lean_ctor_set(x_1603, 3, x_1587); +lean_ctor_set(x_1603, 4, x_1588); +lean_ctor_set(x_1603, 5, x_1589); +lean_ctor_set(x_1603, 6, x_1590); +lean_ctor_set(x_1603, 7, x_1591); +lean_ctor_set(x_1603, 8, x_1592); +lean_ctor_set(x_1603, 9, x_1593); +lean_ctor_set_uint8(x_1603, sizeof(void*)*10, x_1594); +lean_ctor_set_uint8(x_1603, sizeof(void*)*10 + 1, x_1595); +x_1604 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1583, x_1603, x_1571); +if (lean_obj_tag(x_1604) == 0) { -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; -x_1595 = lean_ctor_get(x_1594, 0); -lean_inc(x_1595); -x_1596 = lean_ctor_get(x_1594, 1); -lean_inc(x_1596); -if (lean_is_exclusive(x_1594)) { - lean_ctor_release(x_1594, 0); - lean_ctor_release(x_1594, 1); - x_1597 = x_1594; +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; +x_1605 = lean_ctor_get(x_1604, 0); +lean_inc(x_1605); +x_1606 = lean_ctor_get(x_1604, 1); +lean_inc(x_1606); +if (lean_is_exclusive(x_1604)) { + lean_ctor_release(x_1604, 0); + lean_ctor_release(x_1604, 1); + x_1607 = x_1604; } else { - lean_dec_ref(x_1594); - x_1597 = lean_box(0); + lean_dec_ref(x_1604); + x_1607 = lean_box(0); } -x_1598 = l_Lean_mkFVar(x_1553); -x_1599 = l_Lean_FileMap_ofString___closed__1; -x_1600 = lean_array_push(x_1599, x_1598); -x_1601 = l_Lean_LocalContext_mkLambda(x_1559, x_1600, x_1595); -lean_dec(x_1595); -lean_dec(x_1600); -if (lean_is_scalar(x_1597)) { - x_1602 = lean_alloc_ctor(0, 2, 0); +x_1608 = l_Lean_mkFVar(x_1562); +x_1609 = l_Lean_FileMap_ofString___closed__1; +x_1610 = lean_array_push(x_1609, x_1608); +x_1611 = l_Lean_LocalContext_mkLambda(x_1568, x_1610, x_1605); +lean_dec(x_1605); +lean_dec(x_1610); +if (lean_is_scalar(x_1607)) { + x_1612 = lean_alloc_ctor(0, 2, 0); } else { - x_1602 = x_1597; + x_1612 = x_1607; } -lean_ctor_set(x_1602, 0, x_1601); -lean_ctor_set(x_1602, 1, x_1596); -return x_1602; +lean_ctor_set(x_1612, 0, x_1611); +lean_ctor_set(x_1612, 1, x_1606); +return x_1612; } else { -lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; -lean_dec(x_1559); -lean_dec(x_1553); -x_1603 = lean_ctor_get(x_1594, 0); -lean_inc(x_1603); -x_1604 = lean_ctor_get(x_1594, 1); -lean_inc(x_1604); -if (lean_is_exclusive(x_1594)) { - lean_ctor_release(x_1594, 0); - lean_ctor_release(x_1594, 1); - x_1605 = x_1594; +lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; +lean_dec(x_1568); +lean_dec(x_1562); +x_1613 = lean_ctor_get(x_1604, 0); +lean_inc(x_1613); +x_1614 = lean_ctor_get(x_1604, 1); +lean_inc(x_1614); +if (lean_is_exclusive(x_1604)) { + lean_ctor_release(x_1604, 0); + lean_ctor_release(x_1604, 1); + x_1615 = x_1604; } else { - lean_dec_ref(x_1594); - x_1605 = lean_box(0); + lean_dec_ref(x_1604); + x_1615 = lean_box(0); } -if (lean_is_scalar(x_1605)) { - x_1606 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1615)) { + x_1616 = lean_alloc_ctor(1, 2, 0); } else { - x_1606 = x_1605; + x_1616 = x_1615; } -lean_ctor_set(x_1606, 0, x_1603); -lean_ctor_set(x_1606, 1, x_1604); -return x_1606; +lean_ctor_set(x_1616, 0, x_1613); +lean_ctor_set(x_1616, 1, x_1614); +return x_1616; } } } else { -lean_dec(x_1418); -x_1 = x_1420; +lean_dec(x_1425); +x_1 = x_1427; goto _start; } } } else { -lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; -lean_dec(x_1227); -lean_free_object(x_115); -lean_free_object(x_105); -lean_dec(x_118); -x_1608 = l_Lean_Syntax_inhabited; -x_1609 = lean_unsigned_to_nat(0u); -x_1610 = lean_array_get(x_1608, x_4, x_1609); +lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; +lean_dec(x_1234); +lean_free_object(x_116); +lean_free_object(x_106); +lean_dec(x_119); +x_1618 = l_Lean_Syntax_inhabited; +x_1619 = lean_unsigned_to_nat(0u); +x_1620 = lean_array_get(x_1618, x_4, x_1619); lean_dec(x_4); -if (lean_obj_tag(x_1610) == 3) +if (lean_obj_tag(x_1620) == 3) { -lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; -x_1611 = lean_ctor_get(x_1610, 2); -lean_inc(x_1611); -x_1612 = lean_ctor_get(x_1610, 3); -lean_inc(x_1612); -lean_dec(x_1610); -x_1613 = lean_box(0); +lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; +x_1621 = lean_ctor_get(x_1620, 2); +lean_inc(x_1621); +x_1622 = lean_ctor_get(x_1620, 3); +lean_inc(x_1622); +lean_dec(x_1620); +x_1623 = lean_box(0); lean_inc(x_2); -x_1614 = l_Lean_Elab_Term_resolveName(x_1, x_1611, x_1612, x_1613, x_2, x_3); +x_1624 = l_Lean_Elab_Term_resolveName(x_1, x_1621, x_1622, x_1623, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_1614) == 0) +if (lean_obj_tag(x_1624) == 0) { -lean_object* x_1615; -x_1615 = lean_ctor_get(x_1614, 0); -lean_inc(x_1615); -if (lean_obj_tag(x_1615) == 0) +lean_object* x_1625; +x_1625 = lean_ctor_get(x_1624, 0); +lean_inc(x_1625); +if (lean_obj_tag(x_1625) == 0) { -lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; -x_1616 = lean_ctor_get(x_1614, 1); -lean_inc(x_1616); -lean_dec(x_1614); -x_1617 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1618 = l_unreachable_x21___rarg(x_1617); -x_1619 = lean_apply_2(x_1618, x_2, x_1616); -return x_1619; +lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; +x_1626 = lean_ctor_get(x_1624, 1); +lean_inc(x_1626); +lean_dec(x_1624); +x_1627 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1628 = l_unreachable_x21___rarg(x_1627); +x_1629 = lean_apply_2(x_1628, x_2, x_1626); +return x_1629; } else { -lean_object* x_1620; lean_object* x_1621; +lean_object* x_1630; lean_object* x_1631; lean_dec(x_2); -x_1620 = lean_ctor_get(x_1615, 0); -lean_inc(x_1620); -lean_dec(x_1615); -x_1621 = lean_ctor_get(x_1620, 0); -lean_inc(x_1621); -switch (lean_obj_tag(x_1621)) { +x_1630 = lean_ctor_get(x_1625, 0); +lean_inc(x_1630); +lean_dec(x_1625); +x_1631 = lean_ctor_get(x_1630, 0); +lean_inc(x_1631); +switch (lean_obj_tag(x_1631)) { case 0: { -lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; -x_1622 = lean_ctor_get(x_1614, 1); -lean_inc(x_1622); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1623 = x_1614; -} else { - lean_dec_ref(x_1614); - x_1623 = lean_box(0); -} -x_1624 = lean_ctor_get(x_1620, 1); -lean_inc(x_1624); -lean_dec(x_1620); -x_1625 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_1621, x_1624); -if (lean_is_scalar(x_1623)) { - x_1626 = lean_alloc_ctor(0, 2, 0); -} else { - x_1626 = x_1623; -} -lean_ctor_set(x_1626, 0, x_1625); -lean_ctor_set(x_1626, 1, x_1622); -return x_1626; -} -case 1: -{ -lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; -x_1627 = lean_ctor_get(x_1614, 1); -lean_inc(x_1627); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1628 = x_1614; -} else { - lean_dec_ref(x_1614); - x_1628 = lean_box(0); -} -x_1629 = lean_ctor_get(x_1620, 1); -lean_inc(x_1629); -lean_dec(x_1620); -x_1630 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_1621, x_1629); -if (lean_is_scalar(x_1628)) { - x_1631 = lean_alloc_ctor(0, 2, 0); -} else { - x_1631 = x_1628; -} -lean_ctor_set(x_1631, 0, x_1630); -lean_ctor_set(x_1631, 1, x_1627); -return x_1631; -} -case 2: -{ lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; -x_1632 = lean_ctor_get(x_1614, 1); +x_1632 = lean_ctor_get(x_1624, 1); lean_inc(x_1632); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1633 = x_1614; +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1633 = x_1624; } else { - lean_dec_ref(x_1614); + lean_dec_ref(x_1624); x_1633 = lean_box(0); } -x_1634 = lean_ctor_get(x_1620, 1); +x_1634 = lean_ctor_get(x_1630, 1); lean_inc(x_1634); -lean_dec(x_1620); -x_1635 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_1621, x_1634); +lean_dec(x_1630); +x_1635 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_118, x_1631, x_1634); if (lean_is_scalar(x_1633)) { x_1636 = lean_alloc_ctor(0, 2, 0); } else { @@ -20062,23 +20060,23 @@ lean_ctor_set(x_1636, 0, x_1635); lean_ctor_set(x_1636, 1, x_1632); return x_1636; } -case 3: +case 1: { lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; -x_1637 = lean_ctor_get(x_1614, 1); +x_1637 = lean_ctor_get(x_1624, 1); lean_inc(x_1637); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1638 = x_1614; +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1638 = x_1624; } else { - lean_dec_ref(x_1614); + lean_dec_ref(x_1624); x_1638 = lean_box(0); } -x_1639 = lean_ctor_get(x_1620, 1); +x_1639 = lean_ctor_get(x_1630, 1); lean_inc(x_1639); -lean_dec(x_1620); -x_1640 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_1621, x_1639); +lean_dec(x_1630); +x_1640 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_118, x_1631, x_1639); if (lean_is_scalar(x_1638)) { x_1641 = lean_alloc_ctor(0, 2, 0); } else { @@ -20088,105 +20086,105 @@ lean_ctor_set(x_1641, 0, x_1640); lean_ctor_set(x_1641, 1, x_1637); return x_1641; } -case 4: +case 2: { -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; -x_1642 = lean_ctor_get(x_1614, 1); +lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; +x_1642 = lean_ctor_get(x_1624, 1); lean_inc(x_1642); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1643 = x_1614; +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1643 = x_1624; } else { - lean_dec_ref(x_1614); + lean_dec_ref(x_1624); x_1643 = lean_box(0); } -x_1644 = lean_ctor_get(x_1620, 1); +x_1644 = lean_ctor_get(x_1630, 1); lean_inc(x_1644); -lean_dec(x_1620); -x_1645 = lean_ctor_get(x_1621, 0); -lean_inc(x_1645); -lean_dec(x_1621); -x_1646 = l_Lean_mkConst(x_1645, x_1613); -x_1647 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_1646, x_1644); +lean_dec(x_1630); +x_1645 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_118, x_1631, x_1644); if (lean_is_scalar(x_1643)) { - x_1648 = lean_alloc_ctor(0, 2, 0); + x_1646 = lean_alloc_ctor(0, 2, 0); } else { - x_1648 = x_1643; + x_1646 = x_1643; } -lean_ctor_set(x_1648, 0, x_1647); -lean_ctor_set(x_1648, 1, x_1642); -return x_1648; +lean_ctor_set(x_1646, 0, x_1645); +lean_ctor_set(x_1646, 1, x_1642); +return x_1646; +} +case 3: +{ +lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; +x_1647 = lean_ctor_get(x_1624, 1); +lean_inc(x_1647); +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1648 = x_1624; +} else { + lean_dec_ref(x_1624); + x_1648 = lean_box(0); +} +x_1649 = lean_ctor_get(x_1630, 1); +lean_inc(x_1649); +lean_dec(x_1630); +x_1650 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_118, x_1631, x_1649); +if (lean_is_scalar(x_1648)) { + x_1651 = lean_alloc_ctor(0, 2, 0); +} else { + x_1651 = x_1648; +} +lean_ctor_set(x_1651, 0, x_1650); +lean_ctor_set(x_1651, 1, x_1647); +return x_1651; +} +case 4: +{ +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; +x_1652 = lean_ctor_get(x_1624, 1); +lean_inc(x_1652); +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1653 = x_1624; +} else { + lean_dec_ref(x_1624); + x_1653 = lean_box(0); +} +x_1654 = lean_ctor_get(x_1630, 1); +lean_inc(x_1654); +lean_dec(x_1630); +x_1655 = lean_ctor_get(x_1631, 0); +lean_inc(x_1655); +lean_dec(x_1631); +x_1656 = l_Lean_mkConst(x_1655, x_1623); +x_1657 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_118, x_1656, x_1654); +if (lean_is_scalar(x_1653)) { + x_1658 = lean_alloc_ctor(0, 2, 0); +} else { + x_1658 = x_1653; +} +lean_ctor_set(x_1658, 0, x_1657); +lean_ctor_set(x_1658, 1, x_1652); +return x_1658; } case 5: { -lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; -x_1649 = lean_ctor_get(x_1614, 1); -lean_inc(x_1649); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1650 = x_1614; -} else { - lean_dec_ref(x_1614); - x_1650 = lean_box(0); -} -x_1651 = lean_ctor_get(x_1620, 1); -lean_inc(x_1651); -lean_dec(x_1620); -x_1652 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_1621, x_1651); -if (lean_is_scalar(x_1650)) { - x_1653 = lean_alloc_ctor(0, 2, 0); -} else { - x_1653 = x_1650; -} -lean_ctor_set(x_1653, 0, x_1652); -lean_ctor_set(x_1653, 1, x_1649); -return x_1653; -} -case 6: -{ -lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; -x_1654 = lean_ctor_get(x_1614, 1); -lean_inc(x_1654); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1655 = x_1614; -} else { - lean_dec_ref(x_1614); - x_1655 = lean_box(0); -} -x_1656 = lean_ctor_get(x_1620, 1); -lean_inc(x_1656); -lean_dec(x_1620); -x_1657 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_1621, x_1656); -if (lean_is_scalar(x_1655)) { - x_1658 = lean_alloc_ctor(0, 2, 0); -} else { - x_1658 = x_1655; -} -lean_ctor_set(x_1658, 0, x_1657); -lean_ctor_set(x_1658, 1, x_1654); -return x_1658; -} -case 7: -{ lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; -x_1659 = lean_ctor_get(x_1614, 1); +x_1659 = lean_ctor_get(x_1624, 1); lean_inc(x_1659); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1660 = x_1614; +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1660 = x_1624; } else { - lean_dec_ref(x_1614); + lean_dec_ref(x_1624); x_1660 = lean_box(0); } -x_1661 = lean_ctor_get(x_1620, 1); +x_1661 = lean_ctor_get(x_1630, 1); lean_inc(x_1661); -lean_dec(x_1620); -x_1662 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_1621, x_1661); +lean_dec(x_1630); +x_1662 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_118, x_1631, x_1661); if (lean_is_scalar(x_1660)) { x_1663 = lean_alloc_ctor(0, 2, 0); } else { @@ -20196,23 +20194,23 @@ lean_ctor_set(x_1663, 0, x_1662); lean_ctor_set(x_1663, 1, x_1659); return x_1663; } -case 8: +case 6: { lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; -x_1664 = lean_ctor_get(x_1614, 1); +x_1664 = lean_ctor_get(x_1624, 1); lean_inc(x_1664); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1665 = x_1614; +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1665 = x_1624; } else { - lean_dec_ref(x_1614); + lean_dec_ref(x_1624); x_1665 = lean_box(0); } -x_1666 = lean_ctor_get(x_1620, 1); +x_1666 = lean_ctor_get(x_1630, 1); lean_inc(x_1666); -lean_dec(x_1620); -x_1667 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_1621, x_1666); +lean_dec(x_1630); +x_1667 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_118, x_1631, x_1666); if (lean_is_scalar(x_1665)) { x_1668 = lean_alloc_ctor(0, 2, 0); } else { @@ -20222,23 +20220,23 @@ lean_ctor_set(x_1668, 0, x_1667); lean_ctor_set(x_1668, 1, x_1664); return x_1668; } -case 9: +case 7: { lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; -x_1669 = lean_ctor_get(x_1614, 1); +x_1669 = lean_ctor_get(x_1624, 1); lean_inc(x_1669); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1670 = x_1614; +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1670 = x_1624; } else { - lean_dec_ref(x_1614); + lean_dec_ref(x_1624); x_1670 = lean_box(0); } -x_1671 = lean_ctor_get(x_1620, 1); +x_1671 = lean_ctor_get(x_1630, 1); lean_inc(x_1671); -lean_dec(x_1620); -x_1672 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_1621, x_1671); +lean_dec(x_1630); +x_1672 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_118, x_1631, x_1671); if (lean_is_scalar(x_1670)) { x_1673 = lean_alloc_ctor(0, 2, 0); } else { @@ -20248,23 +20246,23 @@ lean_ctor_set(x_1673, 0, x_1672); lean_ctor_set(x_1673, 1, x_1669); return x_1673; } -case 10: +case 8: { lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; -x_1674 = lean_ctor_get(x_1614, 1); +x_1674 = lean_ctor_get(x_1624, 1); lean_inc(x_1674); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1675 = x_1614; +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1675 = x_1624; } else { - lean_dec_ref(x_1614); + lean_dec_ref(x_1624); x_1675 = lean_box(0); } -x_1676 = lean_ctor_get(x_1620, 1); +x_1676 = lean_ctor_get(x_1630, 1); lean_inc(x_1676); -lean_dec(x_1620); -x_1677 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_1621, x_1676); +lean_dec(x_1630); +x_1677 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_118, x_1631, x_1676); if (lean_is_scalar(x_1675)) { x_1678 = lean_alloc_ctor(0, 2, 0); } else { @@ -20274,23 +20272,23 @@ lean_ctor_set(x_1678, 0, x_1677); lean_ctor_set(x_1678, 1, x_1674); return x_1678; } -case 11: +case 9: { lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; -x_1679 = lean_ctor_get(x_1614, 1); +x_1679 = lean_ctor_get(x_1624, 1); lean_inc(x_1679); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1680 = x_1614; +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1680 = x_1624; } else { - lean_dec_ref(x_1614); + lean_dec_ref(x_1624); x_1680 = lean_box(0); } -x_1681 = lean_ctor_get(x_1620, 1); +x_1681 = lean_ctor_get(x_1630, 1); lean_inc(x_1681); -lean_dec(x_1620); -x_1682 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_1621, x_1681); +lean_dec(x_1630); +x_1682 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_118, x_1631, x_1681); if (lean_is_scalar(x_1680)) { x_1683 = lean_alloc_ctor(0, 2, 0); } else { @@ -20300,23 +20298,23 @@ lean_ctor_set(x_1683, 0, x_1682); lean_ctor_set(x_1683, 1, x_1679); return x_1683; } -default: +case 10: { lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; -x_1684 = lean_ctor_get(x_1614, 1); +x_1684 = lean_ctor_get(x_1624, 1); lean_inc(x_1684); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1685 = x_1614; +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1685 = x_1624; } else { - lean_dec_ref(x_1614); + lean_dec_ref(x_1624); x_1685 = lean_box(0); } -x_1686 = lean_ctor_get(x_1620, 1); +x_1686 = lean_ctor_get(x_1630, 1); lean_inc(x_1686); -lean_dec(x_1620); -x_1687 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_1621, x_1686); +lean_dec(x_1630); +x_1687 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_118, x_1631, x_1686); if (lean_is_scalar(x_1685)) { x_1688 = lean_alloc_ctor(0, 2, 0); } else { @@ -20326,380 +20324,405 @@ lean_ctor_set(x_1688, 0, x_1687); lean_ctor_set(x_1688, 1, x_1684); return x_1688; } -} -} -} -else +case 11: { -lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; -lean_dec(x_2); -x_1689 = lean_ctor_get(x_1614, 0); +lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; +x_1689 = lean_ctor_get(x_1624, 1); lean_inc(x_1689); -x_1690 = lean_ctor_get(x_1614, 1); -lean_inc(x_1690); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - lean_ctor_release(x_1614, 1); - x_1691 = x_1614; +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1690 = x_1624; } else { - lean_dec_ref(x_1614); - x_1691 = lean_box(0); + lean_dec_ref(x_1624); + x_1690 = lean_box(0); } -if (lean_is_scalar(x_1691)) { - x_1692 = lean_alloc_ctor(1, 2, 0); +x_1691 = lean_ctor_get(x_1630, 1); +lean_inc(x_1691); +lean_dec(x_1630); +x_1692 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_118, x_1631, x_1691); +if (lean_is_scalar(x_1690)) { + x_1693 = lean_alloc_ctor(0, 2, 0); } else { - x_1692 = x_1691; + x_1693 = x_1690; } -lean_ctor_set(x_1692, 0, x_1689); -lean_ctor_set(x_1692, 1, x_1690); -return x_1692; +lean_ctor_set(x_1693, 0, x_1692); +lean_ctor_set(x_1693, 1, x_1689); +return x_1693; } -} -else +default: { -lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; -lean_dec(x_1610); -lean_dec(x_1); -x_1693 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1694 = l_unreachable_x21___rarg(x_1693); -x_1695 = lean_apply_2(x_1694, x_2, x_3); -return x_1695; +lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; +x_1694 = lean_ctor_get(x_1624, 1); +lean_inc(x_1694); +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1695 = x_1624; +} else { + lean_dec_ref(x_1624); + x_1695 = lean_box(0); } -} -} -} -} -} -} -else -{ -lean_object* x_1696; size_t x_1697; lean_object* x_1698; size_t x_1699; lean_object* x_1700; lean_object* x_1701; uint8_t x_1702; -x_1696 = lean_ctor_get(x_115, 1); -x_1697 = lean_ctor_get_usize(x_115, 2); +x_1696 = lean_ctor_get(x_1630, 1); lean_inc(x_1696); -lean_dec(x_115); -x_1698 = lean_ctor_get(x_116, 1); -lean_inc(x_1698); -x_1699 = lean_ctor_get_usize(x_116, 2); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_1700 = x_116; +lean_dec(x_1630); +x_1697 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_118, x_1631, x_1696); +if (lean_is_scalar(x_1695)) { + x_1698 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_116); - x_1700 = lean_box(0); + x_1698 = x_1695; +} +lean_ctor_set(x_1698, 0, x_1697); +lean_ctor_set(x_1698, 1, x_1694); +return x_1698; +} +} } -x_1701 = l_Lean_nameToExprAux___main___closed__1; -x_1702 = lean_string_dec_eq(x_1698, x_1701); -lean_dec(x_1698); -if (x_1702 == 0) -{ -lean_object* x_1703; -lean_dec(x_1700); -lean_dec(x_1696); -lean_free_object(x_105); -lean_dec(x_121); -lean_dec(x_118); -lean_dec(x_4); -x_1703 = lean_box(0); -x_96 = x_1703; -goto block_104; } else { -lean_object* x_1704; lean_object* x_1705; uint8_t x_1706; -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_1704 = x_95; +lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; +lean_dec(x_2); +x_1699 = lean_ctor_get(x_1624, 0); +lean_inc(x_1699); +x_1700 = lean_ctor_get(x_1624, 1); +lean_inc(x_1700); +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1701 = x_1624; } else { - lean_dec_ref(x_95); - x_1704 = lean_box(0); + lean_dec_ref(x_1624); + x_1701 = lean_box(0); } -x_1705 = l_Lean_Syntax_formatStxAux___main___closed__5; -x_1706 = lean_string_dec_eq(x_1696, x_1705); -if (x_1706 == 0) +if (lean_is_scalar(x_1701)) { + x_1702 = lean_alloc_ctor(1, 2, 0); +} else { + x_1702 = x_1701; +} +lean_ctor_set(x_1702, 0, x_1699); +lean_ctor_set(x_1702, 1, x_1700); +return x_1702; +} +} +else { -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_dec(x_4); -if (lean_is_scalar(x_1700)) { - x_1707 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1707 = x_1700; -} -lean_ctor_set(x_1707, 0, x_117); -lean_ctor_set(x_1707, 1, x_1701); -lean_ctor_set_usize(x_1707, 2, x_1699); -x_1708 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1708, 0, x_1707); -lean_ctor_set(x_1708, 1, x_1696); -lean_ctor_set_usize(x_1708, 2, x_1697); -lean_ctor_set(x_105, 0, x_1708); -if (lean_is_scalar(x_1704)) { - x_1709 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1709 = x_1704; -} -lean_ctor_set(x_1709, 0, x_105); -lean_ctor_set(x_1709, 1, x_118); -lean_ctor_set_usize(x_1709, 2, x_120); -x_1710 = l_System_FilePath_dirName___closed__1; -x_1711 = l_Lean_Name_toStringWithSep___main(x_1710, x_1709); -x_1712 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1712, 0, x_1711); -x_1713 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1713, 0, x_1712); -x_1714 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1715 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1715, 0, x_1714); -lean_ctor_set(x_1715, 1, x_1713); -x_1716 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1715, x_2, x_3); +lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; +lean_dec(x_1620); lean_dec(x_1); -return x_1716; +x_1703 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1704 = l_unreachable_x21___rarg(x_1703); +x_1705 = lean_apply_2(x_1704, x_2, x_3); +return x_1705; +} +} +} +} +} +} } else { -lean_object* x_1717; uint8_t x_1718; -lean_dec(x_1696); -x_1717 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; -x_1718 = lean_string_dec_eq(x_121, x_1717); -if (x_1718 == 0) +lean_object* x_1706; size_t x_1707; lean_object* x_1708; size_t x_1709; lean_object* x_1710; lean_object* x_1711; uint8_t x_1712; +x_1706 = lean_ctor_get(x_116, 1); +x_1707 = lean_ctor_get_usize(x_116, 2); +lean_inc(x_1706); +lean_dec(x_116); +x_1708 = lean_ctor_get(x_117, 1); +lean_inc(x_1708); +x_1709 = lean_ctor_get_usize(x_117, 2); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_1710 = x_117; +} else { + lean_dec_ref(x_117); + x_1710 = lean_box(0); +} +x_1711 = l_Lean_nameToExprAux___main___closed__1; +x_1712 = lean_string_dec_eq(x_1708, x_1711); +lean_dec(x_1708); +if (x_1712 == 0) { -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_1713; +lean_dec(x_1710); +lean_dec(x_1706); +lean_free_object(x_106); +lean_dec(x_122); +lean_dec(x_119); lean_dec(x_4); -if (lean_is_scalar(x_1700)) { +x_1713 = lean_box(0); +x_97 = x_1713; +goto block_105; +} +else +{ +lean_object* x_1714; lean_object* x_1715; uint8_t x_1716; +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_1714 = x_96; +} else { + lean_dec_ref(x_96); + x_1714 = lean_box(0); +} +x_1715 = l_Lean_Syntax_formatStxAux___main___closed__5; +x_1716 = lean_string_dec_eq(x_1706, x_1715); +if (x_1716 == 0) +{ +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_dec(x_4); +if (lean_is_scalar(x_1710)) { + x_1717 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1717 = x_1710; +} +lean_ctor_set(x_1717, 0, x_118); +lean_ctor_set(x_1717, 1, x_1711); +lean_ctor_set_usize(x_1717, 2, x_1709); +x_1718 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1718, 0, x_1717); +lean_ctor_set(x_1718, 1, x_1706); +lean_ctor_set_usize(x_1718, 2, x_1707); +lean_ctor_set(x_106, 0, x_1718); +if (lean_is_scalar(x_1714)) { x_1719 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1719 = x_1700; + x_1719 = x_1714; } -lean_ctor_set(x_1719, 0, x_117); -lean_ctor_set(x_1719, 1, x_1701); -lean_ctor_set_usize(x_1719, 2, x_1699); -x_1720 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1720, 0, x_1719); -lean_ctor_set(x_1720, 1, x_1705); -lean_ctor_set_usize(x_1720, 2, x_1697); -lean_ctor_set(x_105, 0, x_1720); -if (lean_is_scalar(x_1704)) { - x_1721 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1721 = x_1704; -} -lean_ctor_set(x_1721, 0, x_105); -lean_ctor_set(x_1721, 1, x_118); -lean_ctor_set_usize(x_1721, 2, x_120); -x_1722 = l_System_FilePath_dirName___closed__1; -x_1723 = l_Lean_Name_toStringWithSep___main(x_1722, x_1721); -x_1724 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1724, 0, x_1723); -x_1725 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1719, 0, x_106); +lean_ctor_set(x_1719, 1, x_119); +lean_ctor_set_usize(x_1719, 2, x_121); +x_1720 = l_System_FilePath_dirName___closed__1; +x_1721 = l_Lean_Name_toStringWithSep___main(x_1720, x_1719); +x_1722 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1722, 0, x_1721); +x_1723 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1723, 0, x_1722); +x_1724 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1725 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_1725, 0, x_1724); -x_1726 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1727 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1727, 0, x_1726); -lean_ctor_set(x_1727, 1, x_1725); -x_1728 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1727, x_2, x_3); +lean_ctor_set(x_1725, 1, x_1723); +x_1726 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1725, x_2, x_3); lean_dec(x_1); -return x_1728; +return x_1726; } else { -lean_object* x_1729; uint8_t x_1730; -lean_dec(x_121); -x_1729 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_1730 = lean_string_dec_eq(x_118, x_1729); -if (x_1730 == 0) +lean_object* x_1727; uint8_t x_1728; +lean_dec(x_1706); +x_1727 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; +x_1728 = lean_string_dec_eq(x_122, x_1727); +if (x_1728 == 0) { -lean_object* x_1731; uint8_t x_1732; -x_1731 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_1732 = lean_string_dec_eq(x_118, x_1731); -if (x_1732 == 0) -{ -lean_object* x_1733; uint8_t x_1734; -x_1733 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_1734 = lean_string_dec_eq(x_118, x_1733); -if (x_1734 == 0) -{ -lean_object* x_1735; uint8_t x_1736; -x_1735 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_1736 = lean_string_dec_eq(x_118, x_1735); -if (x_1736 == 0) -{ -lean_object* x_1737; uint8_t x_1738; -x_1737 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_1738 = lean_string_dec_eq(x_118, x_1737); -if (x_1738 == 0) +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_dec(x_4); +if (lean_is_scalar(x_1710)) { + x_1729 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1729 = x_1710; +} +lean_ctor_set(x_1729, 0, x_118); +lean_ctor_set(x_1729, 1, x_1711); +lean_ctor_set_usize(x_1729, 2, x_1709); +x_1730 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1730, 0, x_1729); +lean_ctor_set(x_1730, 1, x_1715); +lean_ctor_set_usize(x_1730, 2, x_1707); +lean_ctor_set(x_106, 0, x_1730); +if (lean_is_scalar(x_1714)) { + x_1731 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1731 = x_1714; +} +lean_ctor_set(x_1731, 0, x_106); +lean_ctor_set(x_1731, 1, x_119); +lean_ctor_set_usize(x_1731, 2, x_121); +x_1732 = l_System_FilePath_dirName___closed__1; +x_1733 = l_Lean_Name_toStringWithSep___main(x_1732, x_1731); +x_1734 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1734, 0, x_1733); +x_1735 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1735, 0, x_1734); +x_1736 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1737 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1737, 0, x_1736); +lean_ctor_set(x_1737, 1, x_1735); +x_1738 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1737, x_2, x_3); +lean_dec(x_1); +return x_1738; +} +else { lean_object* x_1739; uint8_t x_1740; -x_1739 = l_Lean_Parser_Level_paren___elambda__1___closed__3; -x_1740 = lean_string_dec_eq(x_118, x_1739); +lean_dec(x_122); +x_1739 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_1740 = lean_string_dec_eq(x_119, x_1739); if (x_1740 == 0) { lean_object* x_1741; uint8_t x_1742; -x_1741 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_1742 = lean_string_dec_eq(x_118, x_1741); +x_1741 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_1742 = lean_string_dec_eq(x_119, x_1741); if (x_1742 == 0) { lean_object* x_1743; uint8_t x_1744; -x_1743 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_1744 = lean_string_dec_eq(x_118, x_1743); +x_1743 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_1744 = lean_string_dec_eq(x_119, x_1743); if (x_1744 == 0) { lean_object* x_1745; uint8_t x_1746; -lean_dec(x_4); -x_1745 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_1746 = lean_string_dec_eq(x_118, x_1745); +x_1745 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_1746 = lean_string_dec_eq(x_119, x_1745); if (x_1746 == 0) { lean_object* x_1747; uint8_t x_1748; -x_1747 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_1748 = lean_string_dec_eq(x_118, x_1747); +x_1747 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_1748 = lean_string_dec_eq(x_119, x_1747); if (x_1748 == 0) { -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; -if (lean_is_scalar(x_1700)) { - x_1749 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1749 = x_1700; -} -lean_ctor_set(x_1749, 0, x_117); -lean_ctor_set(x_1749, 1, x_1701); -lean_ctor_set_usize(x_1749, 2, x_1699); -x_1750 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1750, 0, x_1749); -lean_ctor_set(x_1750, 1, x_1705); -lean_ctor_set_usize(x_1750, 2, x_1697); -lean_ctor_set(x_105, 1, x_1717); -lean_ctor_set(x_105, 0, x_1750); -if (lean_is_scalar(x_1704)) { - x_1751 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1751 = x_1704; -} -lean_ctor_set(x_1751, 0, x_105); -lean_ctor_set(x_1751, 1, x_118); -lean_ctor_set_usize(x_1751, 2, x_120); -x_1752 = l_System_FilePath_dirName___closed__1; -x_1753 = l_Lean_Name_toStringWithSep___main(x_1752, x_1751); -x_1754 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1754, 0, x_1753); -x_1755 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1755, 0, x_1754); -x_1756 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_1757 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1757, 0, x_1756); -lean_ctor_set(x_1757, 1, x_1755); -x_1758 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1757, x_2, x_3); -lean_dec(x_1); -return x_1758; -} -else +lean_object* x_1749; uint8_t x_1750; +x_1749 = l_Lean_Parser_Level_paren___elambda__1___closed__3; +x_1750 = lean_string_dec_eq(x_119, x_1749); +if (x_1750 == 0) { -lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; -lean_dec(x_1704); -lean_dec(x_1700); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_2); -x_1759 = lean_unsigned_to_nat(0u); -x_1760 = l_Lean_Syntax_getArg(x_1, x_1759); -lean_dec(x_1); -x_1761 = l_Lean_numLitKind; -x_1762 = l_Lean_Syntax_isNatLitAux(x_1761, x_1760); -lean_dec(x_1760); -if (lean_obj_tag(x_1762) == 0) +lean_object* x_1751; uint8_t x_1752; +x_1751 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_1752 = lean_string_dec_eq(x_119, x_1751); +if (x_1752 == 0) { -lean_object* x_1763; lean_object* x_1764; -x_1763 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; -x_1764 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1764, 0, x_1763); -lean_ctor_set(x_1764, 1, x_3); -return x_1764; -} -else +lean_object* x_1753; uint8_t x_1754; +x_1753 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_1754 = lean_string_dec_eq(x_119, x_1753); +if (x_1754 == 0) { -lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; -x_1765 = lean_ctor_get(x_1762, 0); -lean_inc(x_1765); -lean_dec(x_1762); -x_1766 = l_Lean_mkNatLit(x_1765); -x_1767 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1767, 0, x_1766); -lean_ctor_set(x_1767, 1, x_3); -return x_1767; -} -} -} -else -{ -lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; -lean_dec(x_1704); -lean_dec(x_1700); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_2); -x_1768 = lean_unsigned_to_nat(0u); -x_1769 = l_Lean_Syntax_getArg(x_1, x_1768); -lean_dec(x_1); -x_1770 = l_Lean_Syntax_isStrLit_x3f(x_1769); -lean_dec(x_1769); -if (lean_obj_tag(x_1770) == 0) -{ -lean_object* x_1771; lean_object* x_1772; -x_1771 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; -x_1772 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1772, 0, x_1771); -lean_ctor_set(x_1772, 1, x_3); -return x_1772; -} -else -{ -lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; -x_1773 = lean_ctor_get(x_1770, 0); -lean_inc(x_1773); -lean_dec(x_1770); -x_1774 = l_Lean_mkStrLit(x_1773); -x_1775 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1775, 0, x_1774); -lean_ctor_set(x_1775, 1, x_3); -return x_1775; -} -} -} -else -{ -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_dec(x_1704); -lean_dec(x_1700); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1776 = l_Lean_Syntax_inhabited; -x_1777 = lean_unsigned_to_nat(0u); -x_1778 = lean_array_get(x_1776, x_4, x_1777); -x_1779 = lean_unsigned_to_nat(2u); -x_1780 = lean_array_get(x_1776, x_4, x_1779); +lean_object* x_1755; uint8_t x_1756; lean_dec(x_4); -x_1781 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_1781, 0, x_117); -lean_closure_set(x_1781, 1, x_1778); -lean_closure_set(x_1781, 2, x_1780); -x_1782 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_1783 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1783, 0, x_1782); -lean_closure_set(x_1783, 1, x_1781); -x_1784 = l_Lean_Unhygienic_run___rarg(x_1783); -x_1 = x_1784; -goto _start; +x_1755 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_1756 = lean_string_dec_eq(x_119, x_1755); +if (x_1756 == 0) +{ +lean_object* x_1757; uint8_t x_1758; +x_1757 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_1758 = lean_string_dec_eq(x_119, x_1757); +if (x_1758 == 0) +{ +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; +if (lean_is_scalar(x_1710)) { + x_1759 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1759 = x_1710; +} +lean_ctor_set(x_1759, 0, x_118); +lean_ctor_set(x_1759, 1, x_1711); +lean_ctor_set_usize(x_1759, 2, x_1709); +x_1760 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1760, 0, x_1759); +lean_ctor_set(x_1760, 1, x_1715); +lean_ctor_set_usize(x_1760, 2, x_1707); +lean_ctor_set(x_106, 1, x_1727); +lean_ctor_set(x_106, 0, x_1760); +if (lean_is_scalar(x_1714)) { + x_1761 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1761 = x_1714; +} +lean_ctor_set(x_1761, 0, x_106); +lean_ctor_set(x_1761, 1, x_119); +lean_ctor_set_usize(x_1761, 2, x_121); +x_1762 = l_System_FilePath_dirName___closed__1; +x_1763 = l_Lean_Name_toStringWithSep___main(x_1762, x_1761); +x_1764 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1764, 0, x_1763); +x_1765 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1765, 0, x_1764); +x_1766 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_1767 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1767, 0, x_1766); +lean_ctor_set(x_1767, 1, x_1765); +x_1768 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1767, x_2, x_3); +lean_dec(x_1); +return x_1768; +} +else +{ +lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; +lean_dec(x_1714); +lean_dec(x_1710); +lean_free_object(x_106); +lean_dec(x_119); +lean_dec(x_2); +x_1769 = lean_unsigned_to_nat(0u); +x_1770 = l_Lean_Syntax_getArg(x_1, x_1769); +lean_dec(x_1); +x_1771 = l_Lean_numLitKind; +x_1772 = l_Lean_Syntax_isNatLitAux(x_1771, x_1770); +lean_dec(x_1770); +if (lean_obj_tag(x_1772) == 0) +{ +lean_object* x_1773; lean_object* x_1774; +x_1773 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; +x_1774 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1774, 0, x_1773); +lean_ctor_set(x_1774, 1, x_3); +return x_1774; +} +else +{ +lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; +x_1775 = lean_ctor_get(x_1772, 0); +lean_inc(x_1775); +lean_dec(x_1772); +x_1776 = l_Lean_mkNatLit(x_1775); +x_1777 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1777, 0, x_1776); +lean_ctor_set(x_1777, 1, x_3); +return x_1777; +} +} +} +else +{ +lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; +lean_dec(x_1714); +lean_dec(x_1710); +lean_free_object(x_106); +lean_dec(x_119); +lean_dec(x_2); +x_1778 = lean_unsigned_to_nat(0u); +x_1779 = l_Lean_Syntax_getArg(x_1, x_1778); +lean_dec(x_1); +x_1780 = l_Lean_Syntax_isStrLit_x3f(x_1779); +lean_dec(x_1779); +if (lean_obj_tag(x_1780) == 0) +{ +lean_object* x_1781; lean_object* x_1782; +x_1781 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; +x_1782 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1782, 0, x_1781); +lean_ctor_set(x_1782, 1, x_3); +return x_1782; +} +else +{ +lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; +x_1783 = lean_ctor_get(x_1780, 0); +lean_inc(x_1783); +lean_dec(x_1780); +x_1784 = l_Lean_mkStrLit(x_1783); +x_1785 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1785, 0, x_1784); +lean_ctor_set(x_1785, 1, x_3); +return x_1785; +} } } else { 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_dec(x_1704); -lean_dec(x_1700); -lean_free_object(x_105); -lean_dec(x_118); +lean_dec(x_1714); +lean_dec(x_1710); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); x_1786 = l_Lean_Syntax_inhabited; x_1787 = lean_unsigned_to_nat(0u); @@ -20707,8 +20730,8 @@ x_1788 = lean_array_get(x_1786, x_4, x_1787); x_1789 = lean_unsigned_to_nat(2u); x_1790 = lean_array_get(x_1786, x_4, x_1789); lean_dec(x_4); -x_1791 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_1791, 0, x_117); +x_1791 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_1791, 0, x_118); lean_closure_set(x_1791, 1, x_1788); lean_closure_set(x_1791, 2, x_1790); x_1792 = l_Lean_Unhygienic_MonadQuotation___closed__1; @@ -20722,517 +20745,545 @@ goto _start; } else { -lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; uint8_t x_1802; -lean_dec(x_1704); -lean_dec(x_1700); -lean_free_object(x_105); -lean_dec(x_118); +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_dec(x_1714); +lean_dec(x_1710); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); x_1796 = l_Lean_Syntax_inhabited; -x_1797 = lean_unsigned_to_nat(1u); +x_1797 = lean_unsigned_to_nat(0u); x_1798 = lean_array_get(x_1796, x_4, x_1797); +x_1799 = lean_unsigned_to_nat(2u); +x_1800 = lean_array_get(x_1796, x_4, x_1799); lean_dec(x_4); -x_1799 = l_Lean_Syntax_getArgs(x_1798); -lean_dec(x_1798); -x_1800 = lean_array_get_size(x_1799); -x_1801 = lean_unsigned_to_nat(0u); -x_1802 = lean_nat_dec_eq(x_1800, x_1801); -lean_dec(x_1800); -if (x_1802 == 0) +x_1801 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_1801, 0, x_118); +lean_closure_set(x_1801, 1, x_1798); +lean_closure_set(x_1801, 2, x_1800); +x_1802 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_1803 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1803, 0, x_1802); +lean_closure_set(x_1803, 1, x_1801); +x_1804 = l_Lean_Unhygienic_run___rarg(x_1803); +x_1 = x_1804; +goto _start; +} +} +else { -lean_object* x_1803; -x_1803 = lean_array_get(x_1796, x_1799, x_1801); -lean_dec(x_1799); -x_1 = x_1803; +lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; uint8_t x_1812; +lean_dec(x_1714); +lean_dec(x_1710); +lean_free_object(x_106); +lean_dec(x_119); +lean_dec(x_1); +x_1806 = l_Lean_Syntax_inhabited; +x_1807 = lean_unsigned_to_nat(1u); +x_1808 = lean_array_get(x_1806, x_4, x_1807); +lean_dec(x_4); +x_1809 = l_Lean_Syntax_getArgs(x_1808); +lean_dec(x_1808); +x_1810 = lean_array_get_size(x_1809); +x_1811 = lean_unsigned_to_nat(0u); +x_1812 = lean_nat_dec_eq(x_1810, x_1811); +lean_dec(x_1810); +if (x_1812 == 0) +{ +lean_object* x_1813; +x_1813 = lean_array_get(x_1806, x_1809, x_1811); +lean_dec(x_1809); +x_1 = x_1813; goto _start; } else { -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_dec(x_1799); +lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; +lean_dec(x_1809); lean_dec(x_2); -x_1805 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_1806 = lean_name_mk_string(x_117, x_1805); -x_1807 = l_Lean_Elab_Term_elabParen___closed__4; -x_1808 = lean_name_mk_string(x_1806, x_1807); -x_1809 = lean_box(0); -x_1810 = l_Lean_mkConst(x_1808, x_1809); -x_1811 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1811, 0, x_1810); -lean_ctor_set(x_1811, 1, x_3); -return x_1811; +x_1815 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_1816 = lean_name_mk_string(x_118, x_1815); +x_1817 = l_Lean_Elab_Term_elabParen___closed__4; +x_1818 = lean_name_mk_string(x_1816, x_1817); +x_1819 = lean_box(0); +x_1820 = l_Lean_mkConst(x_1818, x_1819); +x_1821 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1821, 0, x_1820); +lean_ctor_set(x_1821, 1, x_3); +return x_1821; } } } else { -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; lean_object* x_1821; lean_object* x_1822; -lean_dec(x_1704); -lean_dec(x_1700); -lean_free_object(x_105); -lean_dec(x_118); +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_dec(x_1714); +lean_dec(x_1710); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_1812 = l_Lean_Syntax_inhabited; -x_1813 = lean_unsigned_to_nat(2u); -x_1814 = lean_array_get(x_1812, x_4, x_1813); -x_1815 = lean_unsigned_to_nat(4u); -x_1816 = lean_array_get(x_1812, x_4, x_1815); -x_1817 = lean_unsigned_to_nat(6u); -x_1818 = lean_array_get(x_1812, x_4, x_1817); +x_1822 = l_Lean_Syntax_inhabited; +x_1823 = lean_unsigned_to_nat(2u); +x_1824 = lean_array_get(x_1822, x_4, x_1823); +x_1825 = lean_unsigned_to_nat(4u); +x_1826 = lean_array_get(x_1822, x_4, x_1825); +x_1827 = lean_unsigned_to_nat(6u); +x_1828 = lean_array_get(x_1822, x_4, x_1827); lean_dec(x_4); -x_1819 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_1819, 0, x_117); -lean_closure_set(x_1819, 1, x_1814); -lean_closure_set(x_1819, 2, x_1816); -lean_closure_set(x_1819, 3, x_1818); -x_1820 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_1821 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1821, 0, x_1820); -lean_closure_set(x_1821, 1, x_1819); -x_1822 = l_Lean_Unhygienic_run___rarg(x_1821); -x_1 = x_1822; +x_1829 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_1829, 0, x_118); +lean_closure_set(x_1829, 1, x_1824); +lean_closure_set(x_1829, 2, x_1826); +lean_closure_set(x_1829, 3, x_1828); +x_1830 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_1831 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1831, 0, x_1830); +lean_closure_set(x_1831, 1, x_1829); +x_1832 = l_Lean_Unhygienic_run___rarg(x_1831); +x_1 = x_1832; goto _start; } } else { -lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; -lean_dec(x_1704); -lean_dec(x_1700); -lean_free_object(x_105); -lean_dec(x_118); +lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; +lean_dec(x_1714); +lean_dec(x_1710); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_1824 = l_Lean_Syntax_inhabited; -x_1825 = lean_unsigned_to_nat(0u); -x_1826 = lean_array_get(x_1824, x_4, x_1825); +x_1834 = l_Lean_Syntax_inhabited; +x_1835 = lean_unsigned_to_nat(0u); +x_1836 = lean_array_get(x_1834, x_4, x_1835); lean_inc(x_2); -x_1827 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1826, x_2, x_3); -if (lean_obj_tag(x_1827) == 0) +x_1837 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1836, x_2, x_3); +if (lean_obj_tag(x_1837) == 0) { -lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; -x_1828 = lean_ctor_get(x_1827, 0); -lean_inc(x_1828); -x_1829 = lean_ctor_get(x_1827, 1); -lean_inc(x_1829); -lean_dec(x_1827); -x_1830 = lean_unsigned_to_nat(1u); -x_1831 = lean_array_get(x_1824, x_4, x_1830); -lean_dec(x_4); -x_1832 = l_Lean_Syntax_getArgs(x_1831); -lean_dec(x_1831); -x_1833 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_1825, x_1832, x_2, x_1829); -if (lean_obj_tag(x_1833) == 0) -{ -lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; -x_1834 = lean_ctor_get(x_1833, 0); -lean_inc(x_1834); -x_1835 = lean_ctor_get(x_1833, 1); -lean_inc(x_1835); -if (lean_is_exclusive(x_1833)) { - lean_ctor_release(x_1833, 0); - lean_ctor_release(x_1833, 1); - x_1836 = x_1833; -} else { - lean_dec_ref(x_1833); - x_1836 = lean_box(0); -} -x_1837 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1834, x_1834, x_1825, x_1828); -lean_dec(x_1834); -if (lean_is_scalar(x_1836)) { - x_1838 = lean_alloc_ctor(0, 2, 0); -} else { - x_1838 = x_1836; -} -lean_ctor_set(x_1838, 0, x_1837); -lean_ctor_set(x_1838, 1, x_1835); -return x_1838; -} -else -{ -lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; -lean_dec(x_1828); -x_1839 = lean_ctor_get(x_1833, 0); +lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; +x_1838 = lean_ctor_get(x_1837, 0); +lean_inc(x_1838); +x_1839 = lean_ctor_get(x_1837, 1); lean_inc(x_1839); -x_1840 = lean_ctor_get(x_1833, 1); -lean_inc(x_1840); -if (lean_is_exclusive(x_1833)) { - lean_ctor_release(x_1833, 0); - lean_ctor_release(x_1833, 1); - x_1841 = x_1833; +lean_dec(x_1837); +x_1840 = lean_unsigned_to_nat(1u); +x_1841 = lean_array_get(x_1834, x_4, x_1840); +lean_dec(x_4); +x_1842 = l_Lean_Syntax_getArgs(x_1841); +lean_dec(x_1841); +x_1843 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_1835, x_1842, x_2, x_1839); +if (lean_obj_tag(x_1843) == 0) +{ +lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; +x_1844 = lean_ctor_get(x_1843, 0); +lean_inc(x_1844); +x_1845 = lean_ctor_get(x_1843, 1); +lean_inc(x_1845); +if (lean_is_exclusive(x_1843)) { + lean_ctor_release(x_1843, 0); + lean_ctor_release(x_1843, 1); + x_1846 = x_1843; } else { - lean_dec_ref(x_1833); - x_1841 = lean_box(0); + lean_dec_ref(x_1843); + x_1846 = lean_box(0); } -if (lean_is_scalar(x_1841)) { - x_1842 = lean_alloc_ctor(1, 2, 0); +x_1847 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1844, x_1844, x_1835, x_1838); +lean_dec(x_1844); +if (lean_is_scalar(x_1846)) { + x_1848 = lean_alloc_ctor(0, 2, 0); } else { - x_1842 = x_1841; + x_1848 = x_1846; } -lean_ctor_set(x_1842, 0, x_1839); -lean_ctor_set(x_1842, 1, x_1840); -return x_1842; +lean_ctor_set(x_1848, 0, x_1847); +lean_ctor_set(x_1848, 1, x_1845); +return x_1848; +} +else +{ +lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; +lean_dec(x_1838); +x_1849 = lean_ctor_get(x_1843, 0); +lean_inc(x_1849); +x_1850 = lean_ctor_get(x_1843, 1); +lean_inc(x_1850); +if (lean_is_exclusive(x_1843)) { + lean_ctor_release(x_1843, 0); + lean_ctor_release(x_1843, 1); + x_1851 = x_1843; +} else { + lean_dec_ref(x_1843); + x_1851 = lean_box(0); +} +if (lean_is_scalar(x_1851)) { + x_1852 = lean_alloc_ctor(1, 2, 0); +} else { + x_1852 = x_1851; +} +lean_ctor_set(x_1852, 0, x_1849); +lean_ctor_set(x_1852, 1, x_1850); +return x_1852; } } else { -lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; +lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_dec(x_4); lean_dec(x_2); -x_1843 = lean_ctor_get(x_1827, 0); -lean_inc(x_1843); -x_1844 = lean_ctor_get(x_1827, 1); -lean_inc(x_1844); -if (lean_is_exclusive(x_1827)) { - lean_ctor_release(x_1827, 0); - lean_ctor_release(x_1827, 1); - x_1845 = x_1827; -} else { - lean_dec_ref(x_1827); - x_1845 = lean_box(0); -} -if (lean_is_scalar(x_1845)) { - x_1846 = lean_alloc_ctor(1, 2, 0); -} else { - x_1846 = x_1845; -} -lean_ctor_set(x_1846, 0, x_1843); -lean_ctor_set(x_1846, 1, x_1844); -return x_1846; -} -} -} -else -{ -lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; -lean_dec(x_1704); -lean_dec(x_1700); -lean_free_object(x_105); -lean_dec(x_118); -lean_dec(x_1); -x_1847 = l_Lean_Syntax_inhabited; -x_1848 = lean_unsigned_to_nat(1u); -x_1849 = lean_array_get(x_1847, x_4, x_1848); -lean_inc(x_1849); -x_1850 = l_Lean_Syntax_getKind(x_1849); -if (lean_obj_tag(x_1850) == 1) -{ -lean_object* x_1851; -x_1851 = lean_ctor_get(x_1850, 0); -lean_inc(x_1851); -if (lean_obj_tag(x_1851) == 1) -{ -lean_object* x_1852; -x_1852 = lean_ctor_get(x_1851, 0); -lean_inc(x_1852); -if (lean_obj_tag(x_1852) == 1) -{ -lean_object* x_1853; -x_1853 = lean_ctor_get(x_1852, 0); +x_1853 = lean_ctor_get(x_1837, 0); lean_inc(x_1853); -if (lean_obj_tag(x_1853) == 1) -{ -lean_object* x_1854; -x_1854 = lean_ctor_get(x_1853, 0); +x_1854 = lean_ctor_get(x_1837, 1); lean_inc(x_1854); -if (lean_obj_tag(x_1854) == 0) -{ -lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; uint8_t x_1859; -x_1855 = lean_ctor_get(x_1850, 1); -lean_inc(x_1855); -lean_dec(x_1850); -x_1856 = lean_ctor_get(x_1851, 1); -lean_inc(x_1856); -lean_dec(x_1851); -x_1857 = lean_ctor_get(x_1852, 1); -lean_inc(x_1857); -lean_dec(x_1852); -x_1858 = lean_ctor_get(x_1853, 1); -lean_inc(x_1858); -lean_dec(x_1853); -x_1859 = lean_string_dec_eq(x_1858, x_1701); -lean_dec(x_1858); -if (x_1859 == 0) -{ -lean_object* x_1860; lean_object* x_1861; -lean_dec(x_1857); -lean_dec(x_1856); -lean_dec(x_1855); -lean_dec(x_1849); -x_1860 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1861 = l_unreachable_x21___rarg(x_1860); -x_5 = x_1861; -goto block_94; +if (lean_is_exclusive(x_1837)) { + lean_ctor_release(x_1837, 0); + lean_ctor_release(x_1837, 1); + x_1855 = x_1837; +} else { + lean_dec_ref(x_1837); + x_1855 = lean_box(0); +} +if (lean_is_scalar(x_1855)) { + x_1856 = lean_alloc_ctor(1, 2, 0); +} else { + x_1856 = x_1855; +} +lean_ctor_set(x_1856, 0, x_1853); +lean_ctor_set(x_1856, 1, x_1854); +return x_1856; +} +} } else { -uint8_t x_1862; -x_1862 = lean_string_dec_eq(x_1857, x_1705); -lean_dec(x_1857); -if (x_1862 == 0) +lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; +lean_dec(x_1714); +lean_dec(x_1710); +lean_free_object(x_106); +lean_dec(x_119); +lean_dec(x_1); +x_1857 = l_Lean_Syntax_inhabited; +x_1858 = lean_unsigned_to_nat(1u); +x_1859 = lean_array_get(x_1857, x_4, x_1858); +lean_inc(x_1859); +x_1860 = l_Lean_Syntax_getKind(x_1859); +if (lean_obj_tag(x_1860) == 1) { -lean_object* x_1863; lean_object* x_1864; -lean_dec(x_1856); -lean_dec(x_1855); -lean_dec(x_1849); -x_1863 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1864 = l_unreachable_x21___rarg(x_1863); -x_5 = x_1864; -goto block_94; -} -else +lean_object* x_1861; +x_1861 = lean_ctor_get(x_1860, 0); +lean_inc(x_1861); +if (lean_obj_tag(x_1861) == 1) { -uint8_t x_1865; -x_1865 = lean_string_dec_eq(x_1856, x_1717); -lean_dec(x_1856); -if (x_1865 == 0) +lean_object* x_1862; +x_1862 = lean_ctor_get(x_1861, 0); +lean_inc(x_1862); +if (lean_obj_tag(x_1862) == 1) { -lean_object* x_1866; lean_object* x_1867; -lean_dec(x_1855); -lean_dec(x_1849); -x_1866 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1867 = l_unreachable_x21___rarg(x_1866); -x_5 = x_1867; -goto block_94; -} -else +lean_object* x_1863; +x_1863 = lean_ctor_get(x_1862, 0); +lean_inc(x_1863); +if (lean_obj_tag(x_1863) == 1) { -lean_object* x_1868; uint8_t x_1869; -x_1868 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_1869 = lean_string_dec_eq(x_1855, x_1868); +lean_object* x_1864; +x_1864 = lean_ctor_get(x_1863, 0); +lean_inc(x_1864); +if (lean_obj_tag(x_1864) == 0) +{ +lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; uint8_t x_1869; +x_1865 = lean_ctor_get(x_1860, 1); +lean_inc(x_1865); +lean_dec(x_1860); +x_1866 = lean_ctor_get(x_1861, 1); +lean_inc(x_1866); +lean_dec(x_1861); +x_1867 = lean_ctor_get(x_1862, 1); +lean_inc(x_1867); +lean_dec(x_1862); +x_1868 = lean_ctor_get(x_1863, 1); +lean_inc(x_1868); +lean_dec(x_1863); +x_1869 = lean_string_dec_eq(x_1868, x_1711); +lean_dec(x_1868); if (x_1869 == 0) { -lean_object* x_1870; uint8_t x_1871; -x_1870 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; -x_1871 = lean_string_dec_eq(x_1855, x_1870); -lean_dec(x_1855); -if (x_1871 == 0) -{ -lean_object* x_1872; lean_object* x_1873; -lean_dec(x_1849); -x_1872 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1873 = l_unreachable_x21___rarg(x_1872); -x_5 = x_1873; -goto block_94; +lean_object* x_1870; lean_object* x_1871; +lean_dec(x_1867); +lean_dec(x_1866); +lean_dec(x_1865); +lean_dec(x_1859); +x_1870 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1871 = l_unreachable_x21___rarg(x_1870); +x_5 = x_1871; +goto block_95; } else { -lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; -x_1874 = lean_unsigned_to_nat(0u); -x_1875 = l_Lean_Syntax_getArg(x_1849, x_1874); -x_1876 = l_Lean_Syntax_getIdAt(x_1875, x_1874); -lean_dec(x_1875); -x_1877 = lean_unsigned_to_nat(3u); -x_1878 = l_Lean_Syntax_getArg(x_1849, x_1877); -lean_dec(x_1849); -x_1879 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1879, 0, x_1876); -lean_ctor_set(x_1879, 1, x_1878); -x_5 = x_1879; -goto block_94; +uint8_t x_1872; +x_1872 = lean_string_dec_eq(x_1867, x_1715); +lean_dec(x_1867); +if (x_1872 == 0) +{ +lean_object* x_1873; lean_object* x_1874; +lean_dec(x_1866); +lean_dec(x_1865); +lean_dec(x_1859); +x_1873 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1874 = l_unreachable_x21___rarg(x_1873); +x_5 = x_1874; +goto block_95; +} +else +{ +uint8_t x_1875; +x_1875 = lean_string_dec_eq(x_1866, x_1727); +lean_dec(x_1866); +if (x_1875 == 0) +{ +lean_object* x_1876; lean_object* x_1877; +lean_dec(x_1865); +lean_dec(x_1859); +x_1876 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1877 = l_unreachable_x21___rarg(x_1876); +x_5 = x_1877; +goto block_95; +} +else +{ +lean_object* x_1878; uint8_t x_1879; +x_1878 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_1879 = lean_string_dec_eq(x_1865, x_1878); +if (x_1879 == 0) +{ +lean_object* x_1880; uint8_t x_1881; +x_1880 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; +x_1881 = lean_string_dec_eq(x_1865, x_1880); +lean_dec(x_1865); +if (x_1881 == 0) +{ +lean_object* x_1882; lean_object* x_1883; +lean_dec(x_1859); +x_1882 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1883 = l_unreachable_x21___rarg(x_1882); +x_5 = x_1883; +goto block_95; +} +else +{ +lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; +x_1884 = lean_unsigned_to_nat(0u); +x_1885 = l_Lean_Syntax_getArg(x_1859, x_1884); +x_1886 = l_Lean_Syntax_getIdAt(x_1885, x_1884); +lean_dec(x_1885); +x_1887 = lean_unsigned_to_nat(3u); +x_1888 = l_Lean_Syntax_getArg(x_1859, x_1887); +lean_dec(x_1859); +x_1889 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1889, 0, x_1886); +lean_ctor_set(x_1889, 1, x_1888); +x_5 = x_1889; +goto block_95; } } else { -lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; -lean_dec(x_1855); -x_1880 = lean_unsigned_to_nat(0u); -x_1881 = l_Lean_Syntax_getIdAt(x_1849, x_1880); -x_1882 = lean_unsigned_to_nat(4u); -x_1883 = l_Lean_Syntax_getArg(x_1849, x_1882); -lean_dec(x_1849); -x_1884 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1884, 0, x_1881); -lean_ctor_set(x_1884, 1, x_1883); -x_5 = x_1884; -goto block_94; -} -} -} -} -} -else -{ -lean_object* x_1885; lean_object* x_1886; -lean_dec(x_1854); -lean_dec(x_1853); -lean_dec(x_1852); -lean_dec(x_1851); -lean_dec(x_1850); -lean_dec(x_1849); -x_1885 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1886 = l_unreachable_x21___rarg(x_1885); -x_5 = x_1886; -goto block_94; -} -} -else -{ -lean_object* x_1887; lean_object* x_1888; -lean_dec(x_1853); -lean_dec(x_1852); -lean_dec(x_1851); -lean_dec(x_1850); -lean_dec(x_1849); -x_1887 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1888 = l_unreachable_x21___rarg(x_1887); -x_5 = x_1888; -goto block_94; -} -} -else -{ -lean_object* x_1889; lean_object* x_1890; -lean_dec(x_1852); -lean_dec(x_1851); -lean_dec(x_1850); -lean_dec(x_1849); -x_1889 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1890 = l_unreachable_x21___rarg(x_1889); -x_5 = x_1890; -goto block_94; -} -} -else -{ -lean_object* x_1891; lean_object* x_1892; -lean_dec(x_1851); -lean_dec(x_1850); -lean_dec(x_1849); -x_1891 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1892 = l_unreachable_x21___rarg(x_1891); -x_5 = x_1892; -goto block_94; -} -} -else -{ -lean_object* x_1893; lean_object* x_1894; -lean_dec(x_1850); -lean_dec(x_1849); -x_1893 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_1894 = l_unreachable_x21___rarg(x_1893); +lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; +lean_dec(x_1865); +x_1890 = lean_unsigned_to_nat(0u); +x_1891 = l_Lean_Syntax_getIdAt(x_1859, x_1890); +x_1892 = lean_unsigned_to_nat(4u); +x_1893 = l_Lean_Syntax_getArg(x_1859, x_1892); +lean_dec(x_1859); +x_1894 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1894, 0, x_1891); +lean_ctor_set(x_1894, 1, x_1893); x_5 = x_1894; -goto block_94; +goto block_95; +} +} } } } else { -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; uint8_t x_1903; -lean_dec(x_1704); -lean_dec(x_1700); -lean_free_object(x_105); -lean_dec(x_118); +lean_object* x_1895; lean_object* x_1896; +lean_dec(x_1864); +lean_dec(x_1863); +lean_dec(x_1862); +lean_dec(x_1861); +lean_dec(x_1860); +lean_dec(x_1859); +x_1895 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1896 = l_unreachable_x21___rarg(x_1895); +x_5 = x_1896; +goto block_95; +} +} +else +{ +lean_object* x_1897; lean_object* x_1898; +lean_dec(x_1863); +lean_dec(x_1862); +lean_dec(x_1861); +lean_dec(x_1860); +lean_dec(x_1859); +x_1897 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1898 = l_unreachable_x21___rarg(x_1897); +x_5 = x_1898; +goto block_95; +} +} +else +{ +lean_object* x_1899; lean_object* x_1900; +lean_dec(x_1862); +lean_dec(x_1861); +lean_dec(x_1860); +lean_dec(x_1859); +x_1899 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1900 = l_unreachable_x21___rarg(x_1899); +x_5 = x_1900; +goto block_95; +} +} +else +{ +lean_object* x_1901; lean_object* x_1902; +lean_dec(x_1861); +lean_dec(x_1860); +lean_dec(x_1859); +x_1901 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1902 = l_unreachable_x21___rarg(x_1901); +x_5 = x_1902; +goto block_95; +} +} +else +{ +lean_object* x_1903; lean_object* x_1904; +lean_dec(x_1860); +lean_dec(x_1859); +x_1903 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_1904 = l_unreachable_x21___rarg(x_1903); +x_5 = x_1904; +goto block_95; +} +} +} +else +{ +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; uint8_t x_1913; +lean_dec(x_1714); +lean_dec(x_1710); +lean_free_object(x_106); +lean_dec(x_119); lean_dec(x_1); -x_1895 = l_Lean_Syntax_inhabited; -x_1896 = lean_unsigned_to_nat(1u); -x_1897 = lean_array_get(x_1895, x_4, x_1896); -x_1898 = l_Lean_Syntax_getArgs(x_1897); -lean_dec(x_1897); -x_1899 = lean_unsigned_to_nat(3u); -x_1900 = lean_array_get(x_1895, x_4, x_1899); +x_1905 = l_Lean_Syntax_inhabited; +x_1906 = lean_unsigned_to_nat(1u); +x_1907 = lean_array_get(x_1905, x_4, x_1906); +x_1908 = l_Lean_Syntax_getArgs(x_1907); +lean_dec(x_1907); +x_1909 = lean_unsigned_to_nat(3u); +x_1910 = lean_array_get(x_1905, x_4, x_1909); lean_dec(x_4); -x_1901 = lean_array_get_size(x_1898); -x_1902 = lean_unsigned_to_nat(0u); -x_1903 = lean_nat_dec_eq(x_1901, x_1902); -lean_dec(x_1901); -if (x_1903 == 0) -{ -lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; uint8_t x_1909; -x_1904 = lean_array_get(x_1895, x_1898, x_1902); -x_1905 = lean_name_mk_string(x_117, x_1701); -x_1906 = lean_name_mk_string(x_1905, x_1705); -x_1907 = lean_name_mk_string(x_1906, x_1717); -lean_inc(x_1907); -x_1908 = lean_name_mk_string(x_1907, x_1729); -lean_inc(x_1904); -x_1909 = l_Lean_Syntax_isOfKind(x_1904, x_1908); -lean_dec(x_1908); -if (x_1909 == 0) -{ -lean_object* x_1910; lean_object* x_1911; uint8_t x_1912; -x_1910 = l_Lean_Parser_Level_hole___elambda__1___closed__1; -lean_inc(x_1907); -x_1911 = lean_name_mk_string(x_1907, x_1910); -lean_inc(x_1904); -x_1912 = l_Lean_Syntax_isOfKind(x_1904, x_1911); +x_1911 = lean_array_get_size(x_1908); +x_1912 = lean_unsigned_to_nat(0u); +x_1913 = lean_nat_dec_eq(x_1911, x_1912); lean_dec(x_1911); -if (x_1912 == 0) +if (x_1913 == 0) { -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; -x_1913 = l_Lean_Syntax_getArg(x_1904, x_1896); -lean_dec(x_1904); -x_1914 = l_Lean_Syntax_getArg(x_1913, x_1902); -x_1915 = l_Lean_Syntax_getIdAt(x_1914, x_1902); +lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; uint8_t x_1919; +x_1914 = lean_array_get(x_1905, x_1908, x_1912); +x_1915 = lean_name_mk_string(x_118, x_1711); +x_1916 = lean_name_mk_string(x_1915, x_1715); +x_1917 = lean_name_mk_string(x_1916, x_1727); +lean_inc(x_1917); +x_1918 = lean_name_mk_string(x_1917, x_1739); +lean_inc(x_1914); +x_1919 = l_Lean_Syntax_isOfKind(x_1914, x_1918); +lean_dec(x_1918); +if (x_1919 == 0) +{ +lean_object* x_1920; lean_object* x_1921; uint8_t x_1922; +x_1920 = l_Lean_Parser_Level_hole___elambda__1___closed__1; +lean_inc(x_1917); +x_1921 = lean_name_mk_string(x_1917, x_1920); +lean_inc(x_1914); +x_1922 = l_Lean_Syntax_isOfKind(x_1914, x_1921); +lean_dec(x_1921); +if (x_1922 == 0) +{ +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; +x_1923 = l_Lean_Syntax_getArg(x_1914, x_1906); lean_dec(x_1914); -x_1916 = l_Lean_Syntax_getArg(x_1913, x_1896); -lean_dec(x_1913); -x_1917 = l_Lean_Syntax_getArg(x_1916, x_1902); -lean_dec(x_1916); -x_1918 = l_Lean_Syntax_getArg(x_1917, x_1896); -lean_dec(x_1917); -lean_inc(x_2); -x_1919 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1918, x_2, x_3); -if (lean_obj_tag(x_1919) == 0) -{ -lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; uint8_t 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; uint8_t 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; -x_1920 = lean_ctor_get(x_1919, 0); -lean_inc(x_1920); -x_1921 = lean_ctor_get(x_1919, 1); -lean_inc(x_1921); -lean_dec(x_1919); -x_1922 = l_Lean_Elab_Term_getLCtx(x_2, x_1921); -x_1923 = lean_ctor_get(x_1922, 0); -lean_inc(x_1923); -x_1924 = lean_ctor_get(x_1922, 1); -lean_inc(x_1924); -lean_dec(x_1922); -x_1925 = 0; -lean_inc_n(x_1915, 2); -x_1926 = lean_local_ctx_mk_local_decl(x_1923, x_1915, x_1915, x_1920, x_1925); -x_1927 = l_Array_eraseIdx___rarg(x_1898, x_1902); -x_1928 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1924); -x_1929 = lean_ctor_get(x_1928, 1); -lean_inc(x_1929); -lean_dec(x_1928); -x_1930 = lean_name_mk_string(x_1907, x_1731); -x_1931 = l_Lean_nullKind___closed__1; -x_1932 = lean_name_mk_string(x_117, x_1931); -x_1933 = l_Array_empty___closed__1; -x_1934 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1927, x_1927, x_1902, x_1933); +x_1924 = l_Lean_Syntax_getArg(x_1923, x_1912); +x_1925 = l_Lean_Syntax_getIdAt(x_1924, x_1912); +lean_dec(x_1924); +x_1926 = l_Lean_Syntax_getArg(x_1923, x_1906); +lean_dec(x_1923); +x_1927 = l_Lean_Syntax_getArg(x_1926, x_1912); +lean_dec(x_1926); +x_1928 = l_Lean_Syntax_getArg(x_1927, x_1906); lean_dec(x_1927); -x_1935 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1935, 0, x_1932); -lean_ctor_set(x_1935, 1, x_1934); -x_1936 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1937 = lean_array_push(x_1936, x_1935); -x_1938 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1939 = lean_array_push(x_1937, x_1938); -x_1940 = lean_array_push(x_1939, x_1900); -x_1941 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1941, 0, x_1930); -lean_ctor_set(x_1941, 1, x_1940); -x_1942 = lean_ctor_get(x_2, 0); -lean_inc(x_1942); -x_1943 = lean_ctor_get(x_2, 1); -lean_inc(x_1943); -x_1944 = lean_ctor_get(x_2, 2); -lean_inc(x_1944); -x_1945 = lean_ctor_get(x_2, 3); -lean_inc(x_1945); -x_1946 = lean_ctor_get(x_2, 4); -lean_inc(x_1946); -x_1947 = lean_ctor_get(x_2, 5); -lean_inc(x_1947); -x_1948 = lean_ctor_get(x_2, 6); -lean_inc(x_1948); -x_1949 = lean_ctor_get(x_2, 7); -lean_inc(x_1949); -x_1950 = lean_ctor_get(x_2, 8); -lean_inc(x_1950); -x_1951 = lean_ctor_get(x_2, 9); -lean_inc(x_1951); -x_1952 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +lean_inc(x_2); +x_1929 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1928, x_2, x_3); +if (lean_obj_tag(x_1929) == 0) +{ +lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; uint8_t 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; uint8_t x_1962; uint8_t 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; +x_1930 = lean_ctor_get(x_1929, 0); +lean_inc(x_1930); +x_1931 = lean_ctor_get(x_1929, 1); +lean_inc(x_1931); +lean_dec(x_1929); +x_1932 = l_Lean_Elab_Term_getLCtx(x_2, x_1931); +x_1933 = lean_ctor_get(x_1932, 0); +lean_inc(x_1933); +x_1934 = lean_ctor_get(x_1932, 1); +lean_inc(x_1934); +lean_dec(x_1932); +x_1935 = 0; +lean_inc_n(x_1925, 2); +x_1936 = lean_local_ctx_mk_local_decl(x_1933, x_1925, x_1925, x_1930, x_1935); +x_1937 = l_Array_eraseIdx___rarg(x_1908, x_1912); +x_1938 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1934); +x_1939 = lean_ctor_get(x_1938, 1); +lean_inc(x_1939); +lean_dec(x_1938); +x_1940 = lean_name_mk_string(x_1917, x_1741); +x_1941 = l_Lean_nullKind___closed__1; +x_1942 = lean_name_mk_string(x_118, x_1941); +x_1943 = l_Array_empty___closed__1; +x_1944 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1937, x_1937, x_1912, x_1943); +lean_dec(x_1937); +x_1945 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1945, 0, x_1942); +lean_ctor_set(x_1945, 1, x_1944); +x_1946 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1947 = lean_array_push(x_1946, x_1945); +x_1948 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1949 = lean_array_push(x_1947, x_1948); +x_1950 = lean_array_push(x_1949, x_1910); +x_1951 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1951, 0, x_1940); +lean_ctor_set(x_1951, 1, x_1950); +x_1952 = lean_ctor_get(x_2, 0); +lean_inc(x_1952); +x_1953 = lean_ctor_get(x_2, 1); +lean_inc(x_1953); +x_1954 = lean_ctor_get(x_2, 2); +lean_inc(x_1954); +x_1955 = lean_ctor_get(x_2, 3); +lean_inc(x_1955); +x_1956 = lean_ctor_get(x_2, 4); +lean_inc(x_1956); +x_1957 = lean_ctor_get(x_2, 5); +lean_inc(x_1957); +x_1958 = lean_ctor_get(x_2, 6); +lean_inc(x_1958); +x_1959 = lean_ctor_get(x_2, 7); +lean_inc(x_1959); +x_1960 = lean_ctor_get(x_2, 8); +lean_inc(x_1960); +x_1961 = lean_ctor_get(x_2, 9); +lean_inc(x_1961); +x_1962 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1963 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -21244,383 +21295,206 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1953 = x_2; + x_1964 = x_2; } else { lean_dec_ref(x_2); - x_1953 = lean_box(0); -} -x_1954 = lean_ctor_get(x_1942, 0); -lean_inc(x_1954); -x_1955 = lean_ctor_get(x_1942, 2); -lean_inc(x_1955); -x_1956 = lean_ctor_get(x_1942, 3); -lean_inc(x_1956); -x_1957 = lean_ctor_get(x_1942, 4); -lean_inc(x_1957); -if (lean_is_exclusive(x_1942)) { - lean_ctor_release(x_1942, 0); - lean_ctor_release(x_1942, 1); - lean_ctor_release(x_1942, 2); - lean_ctor_release(x_1942, 3); - lean_ctor_release(x_1942, 4); - x_1958 = x_1942; -} else { - lean_dec_ref(x_1942); - x_1958 = lean_box(0); -} -lean_inc(x_1926); -if (lean_is_scalar(x_1958)) { - x_1959 = lean_alloc_ctor(0, 5, 0); -} else { - x_1959 = x_1958; -} -lean_ctor_set(x_1959, 0, x_1954); -lean_ctor_set(x_1959, 1, x_1926); -lean_ctor_set(x_1959, 2, x_1955); -lean_ctor_set(x_1959, 3, x_1956); -lean_ctor_set(x_1959, 4, x_1957); -if (lean_is_scalar(x_1953)) { - x_1960 = lean_alloc_ctor(0, 10, 1); -} else { - x_1960 = x_1953; -} -lean_ctor_set(x_1960, 0, x_1959); -lean_ctor_set(x_1960, 1, x_1943); -lean_ctor_set(x_1960, 2, x_1944); -lean_ctor_set(x_1960, 3, x_1945); -lean_ctor_set(x_1960, 4, x_1946); -lean_ctor_set(x_1960, 5, x_1947); -lean_ctor_set(x_1960, 6, x_1948); -lean_ctor_set(x_1960, 7, x_1949); -lean_ctor_set(x_1960, 8, x_1950); -lean_ctor_set(x_1960, 9, x_1951); -lean_ctor_set_uint8(x_1960, sizeof(void*)*10, x_1952); -x_1961 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1941, x_1960, x_1929); -if (lean_obj_tag(x_1961) == 0) -{ -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; -x_1962 = lean_ctor_get(x_1961, 0); -lean_inc(x_1962); -x_1963 = lean_ctor_get(x_1961, 1); -lean_inc(x_1963); -if (lean_is_exclusive(x_1961)) { - lean_ctor_release(x_1961, 0); - lean_ctor_release(x_1961, 1); - x_1964 = x_1961; -} else { - lean_dec_ref(x_1961); x_1964 = lean_box(0); } -x_1965 = l_Lean_mkFVar(x_1915); -x_1966 = l_Lean_FileMap_ofString___closed__1; -x_1967 = lean_array_push(x_1966, x_1965); -x_1968 = l_Lean_LocalContext_mkLambda(x_1926, x_1967, x_1962); -lean_dec(x_1962); -lean_dec(x_1967); +x_1965 = lean_ctor_get(x_1952, 0); +lean_inc(x_1965); +x_1966 = lean_ctor_get(x_1952, 2); +lean_inc(x_1966); +x_1967 = lean_ctor_get(x_1952, 3); +lean_inc(x_1967); +x_1968 = lean_ctor_get(x_1952, 4); +lean_inc(x_1968); +if (lean_is_exclusive(x_1952)) { + lean_ctor_release(x_1952, 0); + lean_ctor_release(x_1952, 1); + lean_ctor_release(x_1952, 2); + lean_ctor_release(x_1952, 3); + lean_ctor_release(x_1952, 4); + x_1969 = x_1952; +} else { + lean_dec_ref(x_1952); + x_1969 = lean_box(0); +} +lean_inc(x_1936); +if (lean_is_scalar(x_1969)) { + x_1970 = lean_alloc_ctor(0, 5, 0); +} else { + x_1970 = x_1969; +} +lean_ctor_set(x_1970, 0, x_1965); +lean_ctor_set(x_1970, 1, x_1936); +lean_ctor_set(x_1970, 2, x_1966); +lean_ctor_set(x_1970, 3, x_1967); +lean_ctor_set(x_1970, 4, x_1968); if (lean_is_scalar(x_1964)) { - x_1969 = lean_alloc_ctor(0, 2, 0); + x_1971 = lean_alloc_ctor(0, 10, 2); } else { - x_1969 = x_1964; + x_1971 = x_1964; } -lean_ctor_set(x_1969, 0, x_1968); -lean_ctor_set(x_1969, 1, x_1963); -return x_1969; -} -else +lean_ctor_set(x_1971, 0, x_1970); +lean_ctor_set(x_1971, 1, x_1953); +lean_ctor_set(x_1971, 2, x_1954); +lean_ctor_set(x_1971, 3, x_1955); +lean_ctor_set(x_1971, 4, x_1956); +lean_ctor_set(x_1971, 5, x_1957); +lean_ctor_set(x_1971, 6, x_1958); +lean_ctor_set(x_1971, 7, x_1959); +lean_ctor_set(x_1971, 8, x_1960); +lean_ctor_set(x_1971, 9, x_1961); +lean_ctor_set_uint8(x_1971, sizeof(void*)*10, x_1962); +lean_ctor_set_uint8(x_1971, sizeof(void*)*10 + 1, x_1963); +x_1972 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_1951, x_1971, x_1939); +if (lean_obj_tag(x_1972) == 0) { -lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; -lean_dec(x_1926); -lean_dec(x_1915); -x_1970 = lean_ctor_get(x_1961, 0); -lean_inc(x_1970); -x_1971 = lean_ctor_get(x_1961, 1); -lean_inc(x_1971); -if (lean_is_exclusive(x_1961)) { - lean_ctor_release(x_1961, 0); - lean_ctor_release(x_1961, 1); - x_1972 = x_1961; -} else { - lean_dec_ref(x_1961); - x_1972 = lean_box(0); -} -if (lean_is_scalar(x_1972)) { - x_1973 = lean_alloc_ctor(1, 2, 0); -} else { - x_1973 = x_1972; -} -lean_ctor_set(x_1973, 0, x_1970); -lean_ctor_set(x_1973, 1, x_1971); -return x_1973; -} -} -else -{ -lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; -lean_dec(x_1915); -lean_dec(x_1907); -lean_dec(x_1900); -lean_dec(x_1898); -lean_dec(x_2); -x_1974 = lean_ctor_get(x_1919, 0); +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; lean_object* x_1980; +x_1973 = lean_ctor_get(x_1972, 0); +lean_inc(x_1973); +x_1974 = lean_ctor_get(x_1972, 1); lean_inc(x_1974); -x_1975 = lean_ctor_get(x_1919, 1); -lean_inc(x_1975); -if (lean_is_exclusive(x_1919)) { - lean_ctor_release(x_1919, 0); - lean_ctor_release(x_1919, 1); - x_1976 = x_1919; +if (lean_is_exclusive(x_1972)) { + lean_ctor_release(x_1972, 0); + lean_ctor_release(x_1972, 1); + x_1975 = x_1972; } else { - lean_dec_ref(x_1919); - x_1976 = lean_box(0); + lean_dec_ref(x_1972); + x_1975 = lean_box(0); } -if (lean_is_scalar(x_1976)) { - x_1977 = lean_alloc_ctor(1, 2, 0); +x_1976 = l_Lean_mkFVar(x_1925); +x_1977 = l_Lean_FileMap_ofString___closed__1; +x_1978 = lean_array_push(x_1977, x_1976); +x_1979 = l_Lean_LocalContext_mkLambda(x_1936, x_1978, x_1973); +lean_dec(x_1973); +lean_dec(x_1978); +if (lean_is_scalar(x_1975)) { + x_1980 = lean_alloc_ctor(0, 2, 0); } else { - x_1977 = x_1976; -} -lean_ctor_set(x_1977, 0, x_1974); -lean_ctor_set(x_1977, 1, x_1975); -return x_1977; + x_1980 = x_1975; } +lean_ctor_set(x_1980, 0, x_1979); +lean_ctor_set(x_1980, 1, x_1974); +return x_1980; } else { -lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; uint8_t x_1984; 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; 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; uint8_t x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; -lean_dec(x_1904); -x_1978 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_1979 = lean_name_mk_string(x_117, x_1978); -x_1980 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1981 = lean_ctor_get(x_1980, 0); +lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; +lean_dec(x_1936); +lean_dec(x_1925); +x_1981 = lean_ctor_get(x_1972, 0); lean_inc(x_1981); -x_1982 = lean_ctor_get(x_1980, 1); +x_1982 = lean_ctor_get(x_1972, 1); lean_inc(x_1982); -lean_dec(x_1980); -x_1983 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_1984 = 0; -lean_inc_n(x_1979, 2); -x_1985 = lean_local_ctx_mk_local_decl(x_1981, x_1979, x_1979, x_1983, x_1984); -x_1986 = l_Array_eraseIdx___rarg(x_1898, x_1902); -x_1987 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1982); -x_1988 = lean_ctor_get(x_1987, 1); -lean_inc(x_1988); -lean_dec(x_1987); -x_1989 = lean_name_mk_string(x_1907, x_1731); -x_1990 = l_Lean_nullKind___closed__1; -x_1991 = lean_name_mk_string(x_117, x_1990); -x_1992 = l_Array_empty___closed__1; -x_1993 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1986, x_1986, x_1902, x_1992); -lean_dec(x_1986); -x_1994 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1994, 0, x_1991); -lean_ctor_set(x_1994, 1, x_1993); -x_1995 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1996 = lean_array_push(x_1995, x_1994); -x_1997 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1998 = lean_array_push(x_1996, x_1997); -x_1999 = lean_array_push(x_1998, x_1900); -x_2000 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2000, 0, x_1989); -lean_ctor_set(x_2000, 1, x_1999); -x_2001 = lean_ctor_get(x_2, 0); -lean_inc(x_2001); -x_2002 = lean_ctor_get(x_2, 1); -lean_inc(x_2002); -x_2003 = lean_ctor_get(x_2, 2); -lean_inc(x_2003); -x_2004 = lean_ctor_get(x_2, 3); -lean_inc(x_2004); -x_2005 = lean_ctor_get(x_2, 4); -lean_inc(x_2005); -x_2006 = lean_ctor_get(x_2, 5); -lean_inc(x_2006); -x_2007 = lean_ctor_get(x_2, 6); -lean_inc(x_2007); -x_2008 = lean_ctor_get(x_2, 7); -lean_inc(x_2008); -x_2009 = lean_ctor_get(x_2, 8); -lean_inc(x_2009); -x_2010 = lean_ctor_get(x_2, 9); -lean_inc(x_2010); -x_2011 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -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); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_2012 = x_2; +if (lean_is_exclusive(x_1972)) { + lean_ctor_release(x_1972, 0); + lean_ctor_release(x_1972, 1); + x_1983 = x_1972; } else { - lean_dec_ref(x_2); - x_2012 = lean_box(0); + lean_dec_ref(x_1972); + x_1983 = lean_box(0); } -x_2013 = lean_ctor_get(x_2001, 0); -lean_inc(x_2013); -x_2014 = lean_ctor_get(x_2001, 2); -lean_inc(x_2014); -x_2015 = lean_ctor_get(x_2001, 3); -lean_inc(x_2015); -x_2016 = lean_ctor_get(x_2001, 4); -lean_inc(x_2016); -if (lean_is_exclusive(x_2001)) { - lean_ctor_release(x_2001, 0); - lean_ctor_release(x_2001, 1); - lean_ctor_release(x_2001, 2); - lean_ctor_release(x_2001, 3); - lean_ctor_release(x_2001, 4); - x_2017 = x_2001; +if (lean_is_scalar(x_1983)) { + x_1984 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_2001); - x_2017 = lean_box(0); + x_1984 = x_1983; } +lean_ctor_set(x_1984, 0, x_1981); +lean_ctor_set(x_1984, 1, x_1982); +return x_1984; +} +} +else +{ +lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; +lean_dec(x_1925); +lean_dec(x_1917); +lean_dec(x_1910); +lean_dec(x_1908); +lean_dec(x_2); +x_1985 = lean_ctor_get(x_1929, 0); lean_inc(x_1985); -if (lean_is_scalar(x_2017)) { - x_2018 = lean_alloc_ctor(0, 5, 0); +x_1986 = lean_ctor_get(x_1929, 1); +lean_inc(x_1986); +if (lean_is_exclusive(x_1929)) { + lean_ctor_release(x_1929, 0); + lean_ctor_release(x_1929, 1); + x_1987 = x_1929; } else { - x_2018 = x_2017; + lean_dec_ref(x_1929); + x_1987 = lean_box(0); } -lean_ctor_set(x_2018, 0, x_2013); -lean_ctor_set(x_2018, 1, x_1985); -lean_ctor_set(x_2018, 2, x_2014); -lean_ctor_set(x_2018, 3, x_2015); -lean_ctor_set(x_2018, 4, x_2016); -if (lean_is_scalar(x_2012)) { - x_2019 = lean_alloc_ctor(0, 10, 1); +if (lean_is_scalar(x_1987)) { + x_1988 = lean_alloc_ctor(1, 2, 0); } else { - x_2019 = x_2012; + x_1988 = x_1987; } -lean_ctor_set(x_2019, 0, x_2018); -lean_ctor_set(x_2019, 1, x_2002); -lean_ctor_set(x_2019, 2, x_2003); -lean_ctor_set(x_2019, 3, x_2004); -lean_ctor_set(x_2019, 4, x_2005); -lean_ctor_set(x_2019, 5, x_2006); -lean_ctor_set(x_2019, 6, x_2007); -lean_ctor_set(x_2019, 7, x_2008); -lean_ctor_set(x_2019, 8, x_2009); -lean_ctor_set(x_2019, 9, x_2010); -lean_ctor_set_uint8(x_2019, sizeof(void*)*10, x_2011); -x_2020 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2000, x_2019, x_1988); -if (lean_obj_tag(x_2020) == 0) +lean_ctor_set(x_1988, 0, x_1985); +lean_ctor_set(x_1988, 1, x_1986); +return x_1988; +} +} +else { -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; lean_object* x_2028; -x_2021 = lean_ctor_get(x_2020, 0); +lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; uint8_t x_1995; lean_object* x_1996; lean_object* x_1997; 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_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; uint8_t x_2022; uint8_t 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; lean_object* x_2031; lean_object* x_2032; +lean_dec(x_1914); +x_1989 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_1990 = lean_name_mk_string(x_118, x_1989); +x_1991 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_1992 = lean_ctor_get(x_1991, 0); +lean_inc(x_1992); +x_1993 = lean_ctor_get(x_1991, 1); +lean_inc(x_1993); +lean_dec(x_1991); +x_1994 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_1995 = 0; +lean_inc_n(x_1990, 2); +x_1996 = lean_local_ctx_mk_local_decl(x_1992, x_1990, x_1990, x_1994, x_1995); +x_1997 = l_Array_eraseIdx___rarg(x_1908, x_1912); +x_1998 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1993); +x_1999 = lean_ctor_get(x_1998, 1); +lean_inc(x_1999); +lean_dec(x_1998); +x_2000 = lean_name_mk_string(x_1917, x_1741); +x_2001 = l_Lean_nullKind___closed__1; +x_2002 = lean_name_mk_string(x_118, x_2001); +x_2003 = l_Array_empty___closed__1; +x_2004 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1997, x_1997, x_1912, x_2003); +lean_dec(x_1997); +x_2005 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2005, 0, x_2002); +lean_ctor_set(x_2005, 1, x_2004); +x_2006 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2007 = lean_array_push(x_2006, x_2005); +x_2008 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2009 = lean_array_push(x_2007, x_2008); +x_2010 = lean_array_push(x_2009, x_1910); +x_2011 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2011, 0, x_2000); +lean_ctor_set(x_2011, 1, x_2010); +x_2012 = lean_ctor_get(x_2, 0); +lean_inc(x_2012); +x_2013 = lean_ctor_get(x_2, 1); +lean_inc(x_2013); +x_2014 = lean_ctor_get(x_2, 2); +lean_inc(x_2014); +x_2015 = lean_ctor_get(x_2, 3); +lean_inc(x_2015); +x_2016 = lean_ctor_get(x_2, 4); +lean_inc(x_2016); +x_2017 = lean_ctor_get(x_2, 5); +lean_inc(x_2017); +x_2018 = lean_ctor_get(x_2, 6); +lean_inc(x_2018); +x_2019 = lean_ctor_get(x_2, 7); +lean_inc(x_2019); +x_2020 = lean_ctor_get(x_2, 8); +lean_inc(x_2020); +x_2021 = lean_ctor_get(x_2, 9); lean_inc(x_2021); -x_2022 = lean_ctor_get(x_2020, 1); -lean_inc(x_2022); -if (lean_is_exclusive(x_2020)) { - lean_ctor_release(x_2020, 0); - lean_ctor_release(x_2020, 1); - x_2023 = x_2020; -} else { - lean_dec_ref(x_2020); - x_2023 = lean_box(0); -} -x_2024 = l_Lean_mkFVar(x_1979); -x_2025 = l_Lean_FileMap_ofString___closed__1; -x_2026 = lean_array_push(x_2025, x_2024); -x_2027 = l_Lean_LocalContext_mkLambda(x_1985, x_2026, x_2021); -lean_dec(x_2021); -lean_dec(x_2026); -if (lean_is_scalar(x_2023)) { - x_2028 = lean_alloc_ctor(0, 2, 0); -} else { - x_2028 = x_2023; -} -lean_ctor_set(x_2028, 0, x_2027); -lean_ctor_set(x_2028, 1, x_2022); -return x_2028; -} -else -{ -lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; -lean_dec(x_1985); -lean_dec(x_1979); -x_2029 = lean_ctor_get(x_2020, 0); -lean_inc(x_2029); -x_2030 = lean_ctor_get(x_2020, 1); -lean_inc(x_2030); -if (lean_is_exclusive(x_2020)) { - lean_ctor_release(x_2020, 0); - lean_ctor_release(x_2020, 1); - x_2031 = x_2020; -} else { - lean_dec_ref(x_2020); - x_2031 = lean_box(0); -} -if (lean_is_scalar(x_2031)) { - x_2032 = lean_alloc_ctor(1, 2, 0); -} else { - x_2032 = x_2031; -} -lean_ctor_set(x_2032, 0, x_2029); -lean_ctor_set(x_2032, 1, x_2030); -return x_2032; -} -} -} -else -{ -lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; uint8_t x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; 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; uint8_t 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; -x_2033 = l_Lean_Syntax_getIdAt(x_1904, x_1902); -lean_dec(x_1904); -x_2034 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_2035 = lean_ctor_get(x_2034, 0); -lean_inc(x_2035); -x_2036 = lean_ctor_get(x_2034, 1); -lean_inc(x_2036); -lean_dec(x_2034); -x_2037 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_2038 = 0; -lean_inc_n(x_2033, 2); -x_2039 = lean_local_ctx_mk_local_decl(x_2035, x_2033, x_2033, x_2037, x_2038); -x_2040 = l_Array_eraseIdx___rarg(x_1898, x_1902); -x_2041 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2036); -x_2042 = lean_ctor_get(x_2041, 1); -lean_inc(x_2042); -lean_dec(x_2041); -x_2043 = lean_name_mk_string(x_1907, x_1731); -x_2044 = l_Lean_nullKind___closed__1; -x_2045 = lean_name_mk_string(x_117, x_2044); -x_2046 = l_Array_empty___closed__1; -x_2047 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2040, x_2040, x_1902, x_2046); -lean_dec(x_2040); -x_2048 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2048, 0, x_2045); -lean_ctor_set(x_2048, 1, x_2047); -x_2049 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2050 = lean_array_push(x_2049, x_2048); -x_2051 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2052 = lean_array_push(x_2050, x_2051); -x_2053 = lean_array_push(x_2052, x_1900); -x_2054 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2054, 0, x_2043); -lean_ctor_set(x_2054, 1, x_2053); -x_2055 = lean_ctor_get(x_2, 0); -lean_inc(x_2055); -x_2056 = lean_ctor_get(x_2, 1); -lean_inc(x_2056); -x_2057 = lean_ctor_get(x_2, 2); -lean_inc(x_2057); -x_2058 = lean_ctor_get(x_2, 3); -lean_inc(x_2058); -x_2059 = lean_ctor_get(x_2, 4); -lean_inc(x_2059); -x_2060 = lean_ctor_get(x_2, 5); -lean_inc(x_2060); -x_2061 = lean_ctor_get(x_2, 6); -lean_inc(x_2061); -x_2062 = lean_ctor_get(x_2, 7); -lean_inc(x_2062); -x_2063 = lean_ctor_get(x_2, 8); -lean_inc(x_2063); -x_2064 = lean_ctor_get(x_2, 9); -lean_inc(x_2064); -x_2065 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2022 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2023 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -21632,703 +21506,833 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2066 = x_2; + x_2024 = x_2; } else { lean_dec_ref(x_2); - x_2066 = lean_box(0); + x_2024 = lean_box(0); } -x_2067 = lean_ctor_get(x_2055, 0); -lean_inc(x_2067); -x_2068 = lean_ctor_get(x_2055, 2); -lean_inc(x_2068); -x_2069 = lean_ctor_get(x_2055, 3); -lean_inc(x_2069); -x_2070 = lean_ctor_get(x_2055, 4); -lean_inc(x_2070); -if (lean_is_exclusive(x_2055)) { - lean_ctor_release(x_2055, 0); - lean_ctor_release(x_2055, 1); - lean_ctor_release(x_2055, 2); - lean_ctor_release(x_2055, 3); - lean_ctor_release(x_2055, 4); - x_2071 = x_2055; +x_2025 = lean_ctor_get(x_2012, 0); +lean_inc(x_2025); +x_2026 = lean_ctor_get(x_2012, 2); +lean_inc(x_2026); +x_2027 = lean_ctor_get(x_2012, 3); +lean_inc(x_2027); +x_2028 = lean_ctor_get(x_2012, 4); +lean_inc(x_2028); +if (lean_is_exclusive(x_2012)) { + lean_ctor_release(x_2012, 0); + lean_ctor_release(x_2012, 1); + lean_ctor_release(x_2012, 2); + lean_ctor_release(x_2012, 3); + lean_ctor_release(x_2012, 4); + x_2029 = x_2012; } else { - lean_dec_ref(x_2055); - x_2071 = lean_box(0); + lean_dec_ref(x_2012); + x_2029 = lean_box(0); } -lean_inc(x_2039); -if (lean_is_scalar(x_2071)) { - x_2072 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_1996); +if (lean_is_scalar(x_2029)) { + x_2030 = lean_alloc_ctor(0, 5, 0); } else { - x_2072 = x_2071; + x_2030 = x_2029; } -lean_ctor_set(x_2072, 0, x_2067); -lean_ctor_set(x_2072, 1, x_2039); -lean_ctor_set(x_2072, 2, x_2068); -lean_ctor_set(x_2072, 3, x_2069); -lean_ctor_set(x_2072, 4, x_2070); -if (lean_is_scalar(x_2066)) { - x_2073 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_2030, 0, x_2025); +lean_ctor_set(x_2030, 1, x_1996); +lean_ctor_set(x_2030, 2, x_2026); +lean_ctor_set(x_2030, 3, x_2027); +lean_ctor_set(x_2030, 4, x_2028); +if (lean_is_scalar(x_2024)) { + x_2031 = lean_alloc_ctor(0, 10, 2); } else { - x_2073 = x_2066; + x_2031 = x_2024; } -lean_ctor_set(x_2073, 0, x_2072); -lean_ctor_set(x_2073, 1, x_2056); -lean_ctor_set(x_2073, 2, x_2057); -lean_ctor_set(x_2073, 3, x_2058); -lean_ctor_set(x_2073, 4, x_2059); -lean_ctor_set(x_2073, 5, x_2060); -lean_ctor_set(x_2073, 6, x_2061); -lean_ctor_set(x_2073, 7, x_2062); -lean_ctor_set(x_2073, 8, x_2063); -lean_ctor_set(x_2073, 9, x_2064); -lean_ctor_set_uint8(x_2073, sizeof(void*)*10, x_2065); -x_2074 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2054, x_2073, x_2042); -if (lean_obj_tag(x_2074) == 0) +lean_ctor_set(x_2031, 0, x_2030); +lean_ctor_set(x_2031, 1, x_2013); +lean_ctor_set(x_2031, 2, x_2014); +lean_ctor_set(x_2031, 3, x_2015); +lean_ctor_set(x_2031, 4, x_2016); +lean_ctor_set(x_2031, 5, x_2017); +lean_ctor_set(x_2031, 6, x_2018); +lean_ctor_set(x_2031, 7, x_2019); +lean_ctor_set(x_2031, 8, x_2020); +lean_ctor_set(x_2031, 9, x_2021); +lean_ctor_set_uint8(x_2031, sizeof(void*)*10, x_2022); +lean_ctor_set_uint8(x_2031, sizeof(void*)*10 + 1, x_2023); +x_2032 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2011, x_2031, x_1999); +if (lean_obj_tag(x_2032) == 0) { -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; -x_2075 = lean_ctor_get(x_2074, 0); -lean_inc(x_2075); -x_2076 = lean_ctor_get(x_2074, 1); -lean_inc(x_2076); -if (lean_is_exclusive(x_2074)) { - lean_ctor_release(x_2074, 0); - lean_ctor_release(x_2074, 1); - x_2077 = x_2074; +lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; +x_2033 = lean_ctor_get(x_2032, 0); +lean_inc(x_2033); +x_2034 = lean_ctor_get(x_2032, 1); +lean_inc(x_2034); +if (lean_is_exclusive(x_2032)) { + lean_ctor_release(x_2032, 0); + lean_ctor_release(x_2032, 1); + x_2035 = x_2032; } else { - lean_dec_ref(x_2074); - x_2077 = lean_box(0); + lean_dec_ref(x_2032); + x_2035 = lean_box(0); } -x_2078 = l_Lean_mkFVar(x_2033); -x_2079 = l_Lean_FileMap_ofString___closed__1; -x_2080 = lean_array_push(x_2079, x_2078); -x_2081 = l_Lean_LocalContext_mkLambda(x_2039, x_2080, x_2075); -lean_dec(x_2075); -lean_dec(x_2080); -if (lean_is_scalar(x_2077)) { - x_2082 = lean_alloc_ctor(0, 2, 0); -} else { - x_2082 = x_2077; -} -lean_ctor_set(x_2082, 0, x_2081); -lean_ctor_set(x_2082, 1, x_2076); -return x_2082; -} -else -{ -lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; -lean_dec(x_2039); +x_2036 = l_Lean_mkFVar(x_1990); +x_2037 = l_Lean_FileMap_ofString___closed__1; +x_2038 = lean_array_push(x_2037, x_2036); +x_2039 = l_Lean_LocalContext_mkLambda(x_1996, x_2038, x_2033); lean_dec(x_2033); -x_2083 = lean_ctor_get(x_2074, 0); -lean_inc(x_2083); -x_2084 = lean_ctor_get(x_2074, 1); -lean_inc(x_2084); -if (lean_is_exclusive(x_2074)) { - lean_ctor_release(x_2074, 0); - lean_ctor_release(x_2074, 1); - x_2085 = x_2074; +lean_dec(x_2038); +if (lean_is_scalar(x_2035)) { + x_2040 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_2074); - x_2085 = lean_box(0); + x_2040 = x_2035; } -if (lean_is_scalar(x_2085)) { - x_2086 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2040, 0, x_2039); +lean_ctor_set(x_2040, 1, x_2034); +return x_2040; +} +else +{ +lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; +lean_dec(x_1996); +lean_dec(x_1990); +x_2041 = lean_ctor_get(x_2032, 0); +lean_inc(x_2041); +x_2042 = lean_ctor_get(x_2032, 1); +lean_inc(x_2042); +if (lean_is_exclusive(x_2032)) { + lean_ctor_release(x_2032, 0); + lean_ctor_release(x_2032, 1); + x_2043 = x_2032; } else { - x_2086 = x_2085; + lean_dec_ref(x_2032); + x_2043 = lean_box(0); } -lean_ctor_set(x_2086, 0, x_2083); -lean_ctor_set(x_2086, 1, x_2084); -return x_2086; +if (lean_is_scalar(x_2043)) { + x_2044 = lean_alloc_ctor(1, 2, 0); +} else { + x_2044 = x_2043; +} +lean_ctor_set(x_2044, 0, x_2041); +lean_ctor_set(x_2044, 1, x_2042); +return x_2044; } } } else { -lean_dec(x_1898); -x_1 = x_1900; +lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; uint8_t 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; uint8_t x_2077; uint8_t 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; +x_2045 = l_Lean_Syntax_getIdAt(x_1914, x_1912); +lean_dec(x_1914); +x_2046 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_2047 = lean_ctor_get(x_2046, 0); +lean_inc(x_2047); +x_2048 = lean_ctor_get(x_2046, 1); +lean_inc(x_2048); +lean_dec(x_2046); +x_2049 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_2050 = 0; +lean_inc_n(x_2045, 2); +x_2051 = lean_local_ctx_mk_local_decl(x_2047, x_2045, x_2045, x_2049, x_2050); +x_2052 = l_Array_eraseIdx___rarg(x_1908, x_1912); +x_2053 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2048); +x_2054 = lean_ctor_get(x_2053, 1); +lean_inc(x_2054); +lean_dec(x_2053); +x_2055 = lean_name_mk_string(x_1917, x_1741); +x_2056 = l_Lean_nullKind___closed__1; +x_2057 = lean_name_mk_string(x_118, x_2056); +x_2058 = l_Array_empty___closed__1; +x_2059 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2052, x_2052, x_1912, x_2058); +lean_dec(x_2052); +x_2060 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2060, 0, x_2057); +lean_ctor_set(x_2060, 1, x_2059); +x_2061 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2062 = lean_array_push(x_2061, x_2060); +x_2063 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2064 = lean_array_push(x_2062, x_2063); +x_2065 = lean_array_push(x_2064, x_1910); +x_2066 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2066, 0, x_2055); +lean_ctor_set(x_2066, 1, x_2065); +x_2067 = lean_ctor_get(x_2, 0); +lean_inc(x_2067); +x_2068 = lean_ctor_get(x_2, 1); +lean_inc(x_2068); +x_2069 = lean_ctor_get(x_2, 2); +lean_inc(x_2069); +x_2070 = lean_ctor_get(x_2, 3); +lean_inc(x_2070); +x_2071 = lean_ctor_get(x_2, 4); +lean_inc(x_2071); +x_2072 = lean_ctor_get(x_2, 5); +lean_inc(x_2072); +x_2073 = lean_ctor_get(x_2, 6); +lean_inc(x_2073); +x_2074 = lean_ctor_get(x_2, 7); +lean_inc(x_2074); +x_2075 = lean_ctor_get(x_2, 8); +lean_inc(x_2075); +x_2076 = lean_ctor_get(x_2, 9); +lean_inc(x_2076); +x_2077 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2078 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +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); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_2079 = x_2; +} else { + lean_dec_ref(x_2); + x_2079 = lean_box(0); +} +x_2080 = lean_ctor_get(x_2067, 0); +lean_inc(x_2080); +x_2081 = lean_ctor_get(x_2067, 2); +lean_inc(x_2081); +x_2082 = lean_ctor_get(x_2067, 3); +lean_inc(x_2082); +x_2083 = lean_ctor_get(x_2067, 4); +lean_inc(x_2083); +if (lean_is_exclusive(x_2067)) { + lean_ctor_release(x_2067, 0); + lean_ctor_release(x_2067, 1); + lean_ctor_release(x_2067, 2); + lean_ctor_release(x_2067, 3); + lean_ctor_release(x_2067, 4); + x_2084 = x_2067; +} else { + lean_dec_ref(x_2067); + x_2084 = lean_box(0); +} +lean_inc(x_2051); +if (lean_is_scalar(x_2084)) { + x_2085 = lean_alloc_ctor(0, 5, 0); +} else { + x_2085 = x_2084; +} +lean_ctor_set(x_2085, 0, x_2080); +lean_ctor_set(x_2085, 1, x_2051); +lean_ctor_set(x_2085, 2, x_2081); +lean_ctor_set(x_2085, 3, x_2082); +lean_ctor_set(x_2085, 4, x_2083); +if (lean_is_scalar(x_2079)) { + x_2086 = lean_alloc_ctor(0, 10, 2); +} else { + x_2086 = x_2079; +} +lean_ctor_set(x_2086, 0, x_2085); +lean_ctor_set(x_2086, 1, x_2068); +lean_ctor_set(x_2086, 2, x_2069); +lean_ctor_set(x_2086, 3, x_2070); +lean_ctor_set(x_2086, 4, x_2071); +lean_ctor_set(x_2086, 5, x_2072); +lean_ctor_set(x_2086, 6, x_2073); +lean_ctor_set(x_2086, 7, x_2074); +lean_ctor_set(x_2086, 8, x_2075); +lean_ctor_set(x_2086, 9, x_2076); +lean_ctor_set_uint8(x_2086, sizeof(void*)*10, x_2077); +lean_ctor_set_uint8(x_2086, sizeof(void*)*10 + 1, x_2078); +x_2087 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2066, x_2086, x_2054); +if (lean_obj_tag(x_2087) == 0) +{ +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; +x_2088 = lean_ctor_get(x_2087, 0); +lean_inc(x_2088); +x_2089 = lean_ctor_get(x_2087, 1); +lean_inc(x_2089); +if (lean_is_exclusive(x_2087)) { + lean_ctor_release(x_2087, 0); + lean_ctor_release(x_2087, 1); + x_2090 = x_2087; +} else { + lean_dec_ref(x_2087); + x_2090 = lean_box(0); +} +x_2091 = l_Lean_mkFVar(x_2045); +x_2092 = l_Lean_FileMap_ofString___closed__1; +x_2093 = lean_array_push(x_2092, x_2091); +x_2094 = l_Lean_LocalContext_mkLambda(x_2051, x_2093, x_2088); +lean_dec(x_2088); +lean_dec(x_2093); +if (lean_is_scalar(x_2090)) { + x_2095 = lean_alloc_ctor(0, 2, 0); +} else { + x_2095 = x_2090; +} +lean_ctor_set(x_2095, 0, x_2094); +lean_ctor_set(x_2095, 1, x_2089); +return x_2095; +} +else +{ +lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; +lean_dec(x_2051); +lean_dec(x_2045); +x_2096 = lean_ctor_get(x_2087, 0); +lean_inc(x_2096); +x_2097 = lean_ctor_get(x_2087, 1); +lean_inc(x_2097); +if (lean_is_exclusive(x_2087)) { + lean_ctor_release(x_2087, 0); + lean_ctor_release(x_2087, 1); + x_2098 = x_2087; +} else { + lean_dec_ref(x_2087); + x_2098 = lean_box(0); +} +if (lean_is_scalar(x_2098)) { + x_2099 = lean_alloc_ctor(1, 2, 0); +} else { + x_2099 = x_2098; +} +lean_ctor_set(x_2099, 0, x_2096); +lean_ctor_set(x_2099, 1, x_2097); +return x_2099; +} +} +} +else +{ +lean_dec(x_1908); +x_1 = x_1910; goto _start; } } } else { -lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; -lean_dec(x_1704); -lean_dec(x_1700); -lean_free_object(x_105); -lean_dec(x_118); -x_2088 = l_Lean_Syntax_inhabited; -x_2089 = lean_unsigned_to_nat(0u); -x_2090 = lean_array_get(x_2088, x_4, x_2089); +lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; +lean_dec(x_1714); +lean_dec(x_1710); +lean_free_object(x_106); +lean_dec(x_119); +x_2101 = l_Lean_Syntax_inhabited; +x_2102 = lean_unsigned_to_nat(0u); +x_2103 = lean_array_get(x_2101, x_4, x_2102); lean_dec(x_4); -if (lean_obj_tag(x_2090) == 3) +if (lean_obj_tag(x_2103) == 3) { -lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; -x_2091 = lean_ctor_get(x_2090, 2); -lean_inc(x_2091); -x_2092 = lean_ctor_get(x_2090, 3); -lean_inc(x_2092); -lean_dec(x_2090); -x_2093 = lean_box(0); +lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; +x_2104 = lean_ctor_get(x_2103, 2); +lean_inc(x_2104); +x_2105 = lean_ctor_get(x_2103, 3); +lean_inc(x_2105); +lean_dec(x_2103); +x_2106 = lean_box(0); lean_inc(x_2); -x_2094 = l_Lean_Elab_Term_resolveName(x_1, x_2091, x_2092, x_2093, x_2, x_3); +x_2107 = l_Lean_Elab_Term_resolveName(x_1, x_2104, x_2105, x_2106, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_2094) == 0) +if (lean_obj_tag(x_2107) == 0) { -lean_object* x_2095; -x_2095 = lean_ctor_get(x_2094, 0); -lean_inc(x_2095); -if (lean_obj_tag(x_2095) == 0) +lean_object* x_2108; +x_2108 = lean_ctor_get(x_2107, 0); +lean_inc(x_2108); +if (lean_obj_tag(x_2108) == 0) { -lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; -x_2096 = lean_ctor_get(x_2094, 1); -lean_inc(x_2096); -lean_dec(x_2094); -x_2097 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_2098 = l_unreachable_x21___rarg(x_2097); -x_2099 = lean_apply_2(x_2098, x_2, x_2096); -return x_2099; +lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; +x_2109 = lean_ctor_get(x_2107, 1); +lean_inc(x_2109); +lean_dec(x_2107); +x_2110 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_2111 = l_unreachable_x21___rarg(x_2110); +x_2112 = lean_apply_2(x_2111, x_2, x_2109); +return x_2112; } else { -lean_object* x_2100; lean_object* x_2101; +lean_object* x_2113; lean_object* x_2114; lean_dec(x_2); -x_2100 = lean_ctor_get(x_2095, 0); -lean_inc(x_2100); -lean_dec(x_2095); -x_2101 = lean_ctor_get(x_2100, 0); -lean_inc(x_2101); -switch (lean_obj_tag(x_2101)) { +x_2113 = lean_ctor_get(x_2108, 0); +lean_inc(x_2113); +lean_dec(x_2108); +x_2114 = lean_ctor_get(x_2113, 0); +lean_inc(x_2114); +switch (lean_obj_tag(x_2114)) { case 0: { -lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; -x_2102 = lean_ctor_get(x_2094, 1); -lean_inc(x_2102); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2103 = x_2094; +lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; +x_2115 = lean_ctor_get(x_2107, 1); +lean_inc(x_2115); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2116 = x_2107; } else { - lean_dec_ref(x_2094); - x_2103 = lean_box(0); + lean_dec_ref(x_2107); + x_2116 = lean_box(0); } -x_2104 = lean_ctor_get(x_2100, 1); -lean_inc(x_2104); -lean_dec(x_2100); -x_2105 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_2101, x_2104); -if (lean_is_scalar(x_2103)) { - x_2106 = lean_alloc_ctor(0, 2, 0); +x_2117 = lean_ctor_get(x_2113, 1); +lean_inc(x_2117); +lean_dec(x_2113); +x_2118 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_118, x_2114, x_2117); +if (lean_is_scalar(x_2116)) { + x_2119 = lean_alloc_ctor(0, 2, 0); } else { - x_2106 = x_2103; + x_2119 = x_2116; } -lean_ctor_set(x_2106, 0, x_2105); -lean_ctor_set(x_2106, 1, x_2102); -return x_2106; +lean_ctor_set(x_2119, 0, x_2118); +lean_ctor_set(x_2119, 1, x_2115); +return x_2119; } case 1: { -lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; -x_2107 = lean_ctor_get(x_2094, 1); -lean_inc(x_2107); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2108 = x_2094; +lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; +x_2120 = lean_ctor_get(x_2107, 1); +lean_inc(x_2120); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2121 = x_2107; } else { - lean_dec_ref(x_2094); - x_2108 = lean_box(0); + lean_dec_ref(x_2107); + x_2121 = lean_box(0); } -x_2109 = lean_ctor_get(x_2100, 1); -lean_inc(x_2109); -lean_dec(x_2100); -x_2110 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_2101, x_2109); -if (lean_is_scalar(x_2108)) { - x_2111 = lean_alloc_ctor(0, 2, 0); +x_2122 = lean_ctor_get(x_2113, 1); +lean_inc(x_2122); +lean_dec(x_2113); +x_2123 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_118, x_2114, x_2122); +if (lean_is_scalar(x_2121)) { + x_2124 = lean_alloc_ctor(0, 2, 0); } else { - x_2111 = x_2108; + x_2124 = x_2121; } -lean_ctor_set(x_2111, 0, x_2110); -lean_ctor_set(x_2111, 1, x_2107); -return x_2111; +lean_ctor_set(x_2124, 0, x_2123); +lean_ctor_set(x_2124, 1, x_2120); +return x_2124; } case 2: { -lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; -x_2112 = lean_ctor_get(x_2094, 1); -lean_inc(x_2112); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2113 = x_2094; +lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; +x_2125 = lean_ctor_get(x_2107, 1); +lean_inc(x_2125); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2126 = x_2107; } else { - lean_dec_ref(x_2094); - x_2113 = lean_box(0); + lean_dec_ref(x_2107); + x_2126 = lean_box(0); } -x_2114 = lean_ctor_get(x_2100, 1); -lean_inc(x_2114); -lean_dec(x_2100); -x_2115 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_2101, x_2114); -if (lean_is_scalar(x_2113)) { - x_2116 = lean_alloc_ctor(0, 2, 0); +x_2127 = lean_ctor_get(x_2113, 1); +lean_inc(x_2127); +lean_dec(x_2113); +x_2128 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_118, x_2114, x_2127); +if (lean_is_scalar(x_2126)) { + x_2129 = lean_alloc_ctor(0, 2, 0); } else { - x_2116 = x_2113; + x_2129 = x_2126; } -lean_ctor_set(x_2116, 0, x_2115); -lean_ctor_set(x_2116, 1, x_2112); -return x_2116; +lean_ctor_set(x_2129, 0, x_2128); +lean_ctor_set(x_2129, 1, x_2125); +return x_2129; } case 3: { -lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; -x_2117 = lean_ctor_get(x_2094, 1); -lean_inc(x_2117); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2118 = x_2094; +lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; +x_2130 = lean_ctor_get(x_2107, 1); +lean_inc(x_2130); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2131 = x_2107; } else { - lean_dec_ref(x_2094); - x_2118 = lean_box(0); + lean_dec_ref(x_2107); + x_2131 = lean_box(0); } -x_2119 = lean_ctor_get(x_2100, 1); -lean_inc(x_2119); -lean_dec(x_2100); -x_2120 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_2101, x_2119); -if (lean_is_scalar(x_2118)) { - x_2121 = lean_alloc_ctor(0, 2, 0); +x_2132 = lean_ctor_get(x_2113, 1); +lean_inc(x_2132); +lean_dec(x_2113); +x_2133 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_118, x_2114, x_2132); +if (lean_is_scalar(x_2131)) { + x_2134 = lean_alloc_ctor(0, 2, 0); } else { - x_2121 = x_2118; + x_2134 = x_2131; } -lean_ctor_set(x_2121, 0, x_2120); -lean_ctor_set(x_2121, 1, x_2117); -return x_2121; +lean_ctor_set(x_2134, 0, x_2133); +lean_ctor_set(x_2134, 1, x_2130); +return x_2134; } case 4: { -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; -x_2122 = lean_ctor_get(x_2094, 1); -lean_inc(x_2122); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2123 = x_2094; +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; +x_2135 = lean_ctor_get(x_2107, 1); +lean_inc(x_2135); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2136 = x_2107; } else { - lean_dec_ref(x_2094); - x_2123 = lean_box(0); + lean_dec_ref(x_2107); + x_2136 = lean_box(0); } -x_2124 = lean_ctor_get(x_2100, 1); -lean_inc(x_2124); -lean_dec(x_2100); -x_2125 = lean_ctor_get(x_2101, 0); -lean_inc(x_2125); -lean_dec(x_2101); -x_2126 = l_Lean_mkConst(x_2125, x_2093); -x_2127 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_2126, x_2124); -if (lean_is_scalar(x_2123)) { - x_2128 = lean_alloc_ctor(0, 2, 0); +x_2137 = lean_ctor_get(x_2113, 1); +lean_inc(x_2137); +lean_dec(x_2113); +x_2138 = lean_ctor_get(x_2114, 0); +lean_inc(x_2138); +lean_dec(x_2114); +x_2139 = l_Lean_mkConst(x_2138, x_2106); +x_2140 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_118, x_2139, x_2137); +if (lean_is_scalar(x_2136)) { + x_2141 = lean_alloc_ctor(0, 2, 0); } else { - x_2128 = x_2123; + x_2141 = x_2136; } -lean_ctor_set(x_2128, 0, x_2127); -lean_ctor_set(x_2128, 1, x_2122); -return x_2128; +lean_ctor_set(x_2141, 0, x_2140); +lean_ctor_set(x_2141, 1, x_2135); +return x_2141; } case 5: { -lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; -x_2129 = lean_ctor_get(x_2094, 1); -lean_inc(x_2129); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2130 = x_2094; +lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; +x_2142 = lean_ctor_get(x_2107, 1); +lean_inc(x_2142); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2143 = x_2107; } else { - lean_dec_ref(x_2094); - x_2130 = lean_box(0); + lean_dec_ref(x_2107); + x_2143 = lean_box(0); } -x_2131 = lean_ctor_get(x_2100, 1); -lean_inc(x_2131); -lean_dec(x_2100); -x_2132 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_2101, x_2131); -if (lean_is_scalar(x_2130)) { - x_2133 = lean_alloc_ctor(0, 2, 0); +x_2144 = lean_ctor_get(x_2113, 1); +lean_inc(x_2144); +lean_dec(x_2113); +x_2145 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_118, x_2114, x_2144); +if (lean_is_scalar(x_2143)) { + x_2146 = lean_alloc_ctor(0, 2, 0); } else { - x_2133 = x_2130; + x_2146 = x_2143; } -lean_ctor_set(x_2133, 0, x_2132); -lean_ctor_set(x_2133, 1, x_2129); -return x_2133; +lean_ctor_set(x_2146, 0, x_2145); +lean_ctor_set(x_2146, 1, x_2142); +return x_2146; } case 6: { -lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; -x_2134 = lean_ctor_get(x_2094, 1); -lean_inc(x_2134); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2135 = x_2094; +lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; +x_2147 = lean_ctor_get(x_2107, 1); +lean_inc(x_2147); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2148 = x_2107; } else { - lean_dec_ref(x_2094); - x_2135 = lean_box(0); + lean_dec_ref(x_2107); + x_2148 = lean_box(0); } -x_2136 = lean_ctor_get(x_2100, 1); -lean_inc(x_2136); -lean_dec(x_2100); -x_2137 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_2101, x_2136); -if (lean_is_scalar(x_2135)) { - x_2138 = lean_alloc_ctor(0, 2, 0); +x_2149 = lean_ctor_get(x_2113, 1); +lean_inc(x_2149); +lean_dec(x_2113); +x_2150 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_118, x_2114, x_2149); +if (lean_is_scalar(x_2148)) { + x_2151 = lean_alloc_ctor(0, 2, 0); } else { - x_2138 = x_2135; + x_2151 = x_2148; } -lean_ctor_set(x_2138, 0, x_2137); -lean_ctor_set(x_2138, 1, x_2134); -return x_2138; +lean_ctor_set(x_2151, 0, x_2150); +lean_ctor_set(x_2151, 1, x_2147); +return x_2151; } case 7: { -lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; -x_2139 = lean_ctor_get(x_2094, 1); -lean_inc(x_2139); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2140 = x_2094; +lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; +x_2152 = lean_ctor_get(x_2107, 1); +lean_inc(x_2152); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2153 = x_2107; } else { - lean_dec_ref(x_2094); - x_2140 = lean_box(0); + lean_dec_ref(x_2107); + x_2153 = lean_box(0); } -x_2141 = lean_ctor_get(x_2100, 1); -lean_inc(x_2141); -lean_dec(x_2100); -x_2142 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_2101, x_2141); -if (lean_is_scalar(x_2140)) { - x_2143 = lean_alloc_ctor(0, 2, 0); +x_2154 = lean_ctor_get(x_2113, 1); +lean_inc(x_2154); +lean_dec(x_2113); +x_2155 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_118, x_2114, x_2154); +if (lean_is_scalar(x_2153)) { + x_2156 = lean_alloc_ctor(0, 2, 0); } else { - x_2143 = x_2140; + x_2156 = x_2153; } -lean_ctor_set(x_2143, 0, x_2142); -lean_ctor_set(x_2143, 1, x_2139); -return x_2143; +lean_ctor_set(x_2156, 0, x_2155); +lean_ctor_set(x_2156, 1, x_2152); +return x_2156; } case 8: { -lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; -x_2144 = lean_ctor_get(x_2094, 1); -lean_inc(x_2144); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2145 = x_2094; +lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; +x_2157 = lean_ctor_get(x_2107, 1); +lean_inc(x_2157); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2158 = x_2107; } else { - lean_dec_ref(x_2094); - x_2145 = lean_box(0); + lean_dec_ref(x_2107); + x_2158 = lean_box(0); } -x_2146 = lean_ctor_get(x_2100, 1); -lean_inc(x_2146); -lean_dec(x_2100); -x_2147 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_2101, x_2146); -if (lean_is_scalar(x_2145)) { - x_2148 = lean_alloc_ctor(0, 2, 0); +x_2159 = lean_ctor_get(x_2113, 1); +lean_inc(x_2159); +lean_dec(x_2113); +x_2160 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_118, x_2114, x_2159); +if (lean_is_scalar(x_2158)) { + x_2161 = lean_alloc_ctor(0, 2, 0); } else { - x_2148 = x_2145; + x_2161 = x_2158; } -lean_ctor_set(x_2148, 0, x_2147); -lean_ctor_set(x_2148, 1, x_2144); -return x_2148; +lean_ctor_set(x_2161, 0, x_2160); +lean_ctor_set(x_2161, 1, x_2157); +return x_2161; } case 9: { -lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; -x_2149 = lean_ctor_get(x_2094, 1); -lean_inc(x_2149); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2150 = x_2094; +lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; +x_2162 = lean_ctor_get(x_2107, 1); +lean_inc(x_2162); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2163 = x_2107; } else { - lean_dec_ref(x_2094); - x_2150 = lean_box(0); + lean_dec_ref(x_2107); + x_2163 = lean_box(0); } -x_2151 = lean_ctor_get(x_2100, 1); -lean_inc(x_2151); -lean_dec(x_2100); -x_2152 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_2101, x_2151); -if (lean_is_scalar(x_2150)) { - x_2153 = lean_alloc_ctor(0, 2, 0); +x_2164 = lean_ctor_get(x_2113, 1); +lean_inc(x_2164); +lean_dec(x_2113); +x_2165 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_118, x_2114, x_2164); +if (lean_is_scalar(x_2163)) { + x_2166 = lean_alloc_ctor(0, 2, 0); } else { - x_2153 = x_2150; + x_2166 = x_2163; } -lean_ctor_set(x_2153, 0, x_2152); -lean_ctor_set(x_2153, 1, x_2149); -return x_2153; +lean_ctor_set(x_2166, 0, x_2165); +lean_ctor_set(x_2166, 1, x_2162); +return x_2166; } case 10: { -lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; -x_2154 = lean_ctor_get(x_2094, 1); -lean_inc(x_2154); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2155 = x_2094; +lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; +x_2167 = lean_ctor_get(x_2107, 1); +lean_inc(x_2167); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2168 = x_2107; } else { - lean_dec_ref(x_2094); - x_2155 = lean_box(0); + lean_dec_ref(x_2107); + x_2168 = lean_box(0); } -x_2156 = lean_ctor_get(x_2100, 1); -lean_inc(x_2156); -lean_dec(x_2100); -x_2157 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_2101, x_2156); -if (lean_is_scalar(x_2155)) { - x_2158 = lean_alloc_ctor(0, 2, 0); +x_2169 = lean_ctor_get(x_2113, 1); +lean_inc(x_2169); +lean_dec(x_2113); +x_2170 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_118, x_2114, x_2169); +if (lean_is_scalar(x_2168)) { + x_2171 = lean_alloc_ctor(0, 2, 0); } else { - x_2158 = x_2155; + x_2171 = x_2168; } -lean_ctor_set(x_2158, 0, x_2157); -lean_ctor_set(x_2158, 1, x_2154); -return x_2158; +lean_ctor_set(x_2171, 0, x_2170); +lean_ctor_set(x_2171, 1, x_2167); +return x_2171; } case 11: { -lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; -x_2159 = lean_ctor_get(x_2094, 1); -lean_inc(x_2159); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2160 = x_2094; +lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; +x_2172 = lean_ctor_get(x_2107, 1); +lean_inc(x_2172); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2173 = x_2107; } else { - lean_dec_ref(x_2094); - x_2160 = lean_box(0); + lean_dec_ref(x_2107); + x_2173 = lean_box(0); } -x_2161 = lean_ctor_get(x_2100, 1); -lean_inc(x_2161); -lean_dec(x_2100); -x_2162 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_2101, x_2161); -if (lean_is_scalar(x_2160)) { - x_2163 = lean_alloc_ctor(0, 2, 0); +x_2174 = lean_ctor_get(x_2113, 1); +lean_inc(x_2174); +lean_dec(x_2113); +x_2175 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_118, x_2114, x_2174); +if (lean_is_scalar(x_2173)) { + x_2176 = lean_alloc_ctor(0, 2, 0); } else { - x_2163 = x_2160; + x_2176 = x_2173; } -lean_ctor_set(x_2163, 0, x_2162); -lean_ctor_set(x_2163, 1, x_2159); -return x_2163; +lean_ctor_set(x_2176, 0, x_2175); +lean_ctor_set(x_2176, 1, x_2172); +return x_2176; } default: { -lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; -x_2164 = lean_ctor_get(x_2094, 1); -lean_inc(x_2164); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2165 = x_2094; -} else { - lean_dec_ref(x_2094); - x_2165 = lean_box(0); -} -x_2166 = lean_ctor_get(x_2100, 1); -lean_inc(x_2166); -lean_dec(x_2100); -x_2167 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_2101, x_2166); -if (lean_is_scalar(x_2165)) { - x_2168 = lean_alloc_ctor(0, 2, 0); -} else { - x_2168 = x_2165; -} -lean_ctor_set(x_2168, 0, x_2167); -lean_ctor_set(x_2168, 1, x_2164); -return x_2168; -} -} -} -} -else -{ -lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; -lean_dec(x_2); -x_2169 = lean_ctor_get(x_2094, 0); -lean_inc(x_2169); -x_2170 = lean_ctor_get(x_2094, 1); -lean_inc(x_2170); -if (lean_is_exclusive(x_2094)) { - lean_ctor_release(x_2094, 0); - lean_ctor_release(x_2094, 1); - x_2171 = x_2094; -} else { - lean_dec_ref(x_2094); - x_2171 = lean_box(0); -} -if (lean_is_scalar(x_2171)) { - x_2172 = lean_alloc_ctor(1, 2, 0); -} else { - x_2172 = x_2171; -} -lean_ctor_set(x_2172, 0, x_2169); -lean_ctor_set(x_2172, 1, x_2170); -return x_2172; -} -} -else -{ -lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; -lean_dec(x_2090); -lean_dec(x_1); -x_2173 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_2174 = l_unreachable_x21___rarg(x_2173); -x_2175 = lean_apply_2(x_2174, x_2, x_3); -return x_2175; -} -} -} -} -} -} -} -else -{ -size_t x_2176; lean_object* x_2177; size_t x_2178; lean_object* x_2179; size_t x_2180; lean_object* x_2181; lean_object* x_2182; size_t x_2183; lean_object* x_2184; lean_object* x_2185; uint8_t x_2186; -x_2176 = lean_ctor_get_usize(x_95, 2); -x_2177 = lean_ctor_get(x_105, 1); -x_2178 = lean_ctor_get_usize(x_105, 2); +lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; +x_2177 = lean_ctor_get(x_2107, 1); lean_inc(x_2177); -lean_dec(x_105); -x_2179 = lean_ctor_get(x_115, 1); -lean_inc(x_2179); -x_2180 = lean_ctor_get_usize(x_115, 2); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - x_2181 = x_115; +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2178 = x_2107; } else { - lean_dec_ref(x_115); - x_2181 = lean_box(0); + lean_dec_ref(x_2107); + x_2178 = lean_box(0); } -x_2182 = lean_ctor_get(x_116, 1); +x_2179 = lean_ctor_get(x_2113, 1); +lean_inc(x_2179); +lean_dec(x_2113); +x_2180 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_118, x_2114, x_2179); +if (lean_is_scalar(x_2178)) { + x_2181 = lean_alloc_ctor(0, 2, 0); +} else { + x_2181 = x_2178; +} +lean_ctor_set(x_2181, 0, x_2180); +lean_ctor_set(x_2181, 1, x_2177); +return x_2181; +} +} +} +} +else +{ +lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; +lean_dec(x_2); +x_2182 = lean_ctor_get(x_2107, 0); lean_inc(x_2182); -x_2183 = lean_ctor_get_usize(x_116, 2); +x_2183 = lean_ctor_get(x_2107, 1); +lean_inc(x_2183); +if (lean_is_exclusive(x_2107)) { + lean_ctor_release(x_2107, 0); + lean_ctor_release(x_2107, 1); + x_2184 = x_2107; +} else { + lean_dec_ref(x_2107); + x_2184 = lean_box(0); +} +if (lean_is_scalar(x_2184)) { + x_2185 = lean_alloc_ctor(1, 2, 0); +} else { + x_2185 = x_2184; +} +lean_ctor_set(x_2185, 0, x_2182); +lean_ctor_set(x_2185, 1, x_2183); +return x_2185; +} +} +else +{ +lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; +lean_dec(x_2103); +lean_dec(x_1); +x_2186 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_2187 = l_unreachable_x21___rarg(x_2186); +x_2188 = lean_apply_2(x_2187, x_2, x_3); +return x_2188; +} +} +} +} +} +} +} +else +{ +size_t x_2189; lean_object* x_2190; size_t x_2191; lean_object* x_2192; size_t x_2193; lean_object* x_2194; lean_object* x_2195; size_t x_2196; lean_object* x_2197; lean_object* x_2198; uint8_t x_2199; +x_2189 = lean_ctor_get_usize(x_96, 2); +x_2190 = lean_ctor_get(x_106, 1); +x_2191 = lean_ctor_get_usize(x_106, 2); +lean_inc(x_2190); +lean_dec(x_106); +x_2192 = lean_ctor_get(x_116, 1); +lean_inc(x_2192); +x_2193 = lean_ctor_get_usize(x_116, 2); if (lean_is_exclusive(x_116)) { lean_ctor_release(x_116, 0); lean_ctor_release(x_116, 1); - x_2184 = x_116; + x_2194 = x_116; } else { lean_dec_ref(x_116); - x_2184 = lean_box(0); + x_2194 = lean_box(0); } -x_2185 = l_Lean_nameToExprAux___main___closed__1; -x_2186 = lean_string_dec_eq(x_2182, x_2185); -lean_dec(x_2182); -if (x_2186 == 0) +x_2195 = lean_ctor_get(x_117, 1); +lean_inc(x_2195); +x_2196 = lean_ctor_get_usize(x_117, 2); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_2197 = x_117; +} else { + lean_dec_ref(x_117); + x_2197 = lean_box(0); +} +x_2198 = l_Lean_nameToExprAux___main___closed__1; +x_2199 = lean_string_dec_eq(x_2195, x_2198); +lean_dec(x_2195); +if (x_2199 == 0) { -lean_object* x_2187; -lean_dec(x_2184); -lean_dec(x_2181); -lean_dec(x_2179); -lean_dec(x_2177); -lean_dec(x_118); +lean_object* x_2200; +lean_dec(x_2197); +lean_dec(x_2194); +lean_dec(x_2192); +lean_dec(x_2190); +lean_dec(x_119); lean_dec(x_4); -x_2187 = lean_box(0); -x_96 = x_2187; -goto block_104; +x_2200 = lean_box(0); +x_97 = x_2200; +goto block_105; } else { -lean_object* x_2188; lean_object* x_2189; uint8_t x_2190; -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_2188 = x_95; +lean_object* x_2201; lean_object* x_2202; uint8_t x_2203; +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_2201 = x_96; } else { - lean_dec_ref(x_95); - x_2188 = lean_box(0); + lean_dec_ref(x_96); + x_2201 = lean_box(0); } -x_2189 = l_Lean_Syntax_formatStxAux___main___closed__5; -x_2190 = lean_string_dec_eq(x_2179, x_2189); -if (x_2190 == 0) -{ -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_dec(x_4); -if (lean_is_scalar(x_2184)) { - x_2191 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2191 = x_2184; -} -lean_ctor_set(x_2191, 0, x_117); -lean_ctor_set(x_2191, 1, x_2185); -lean_ctor_set_usize(x_2191, 2, x_2183); -if (lean_is_scalar(x_2181)) { - x_2192 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2192 = x_2181; -} -lean_ctor_set(x_2192, 0, x_2191); -lean_ctor_set(x_2192, 1, x_2179); -lean_ctor_set_usize(x_2192, 2, x_2180); -x_2193 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2193, 0, x_2192); -lean_ctor_set(x_2193, 1, x_2177); -lean_ctor_set_usize(x_2193, 2, x_2178); -if (lean_is_scalar(x_2188)) { - x_2194 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2194 = x_2188; -} -lean_ctor_set(x_2194, 0, x_2193); -lean_ctor_set(x_2194, 1, x_118); -lean_ctor_set_usize(x_2194, 2, x_2176); -x_2195 = l_System_FilePath_dirName___closed__1; -x_2196 = l_Lean_Name_toStringWithSep___main(x_2195, x_2194); -x_2197 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2197, 0, x_2196); -x_2198 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2198, 0, x_2197); -x_2199 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_2200 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_2200, 0, x_2199); -lean_ctor_set(x_2200, 1, x_2198); -x_2201 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2200, x_2, x_3); -lean_dec(x_1); -return x_2201; -} -else -{ -lean_object* x_2202; uint8_t x_2203; -lean_dec(x_2179); -x_2202 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; -x_2203 = lean_string_dec_eq(x_2177, x_2202); +x_2202 = l_Lean_Syntax_formatStxAux___main___closed__5; +x_2203 = lean_string_dec_eq(x_2192, x_2202); if (x_2203 == 0) { lean_object* x_2204; lean_object* x_2205; 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_dec(x_4); -if (lean_is_scalar(x_2184)) { +if (lean_is_scalar(x_2197)) { x_2204 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2204 = x_2184; + x_2204 = x_2197; } -lean_ctor_set(x_2204, 0, x_117); -lean_ctor_set(x_2204, 1, x_2185); -lean_ctor_set_usize(x_2204, 2, x_2183); -if (lean_is_scalar(x_2181)) { +lean_ctor_set(x_2204, 0, x_118); +lean_ctor_set(x_2204, 1, x_2198); +lean_ctor_set_usize(x_2204, 2, x_2196); +if (lean_is_scalar(x_2194)) { x_2205 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2205 = x_2181; + x_2205 = x_2194; } lean_ctor_set(x_2205, 0, x_2204); -lean_ctor_set(x_2205, 1, x_2189); -lean_ctor_set_usize(x_2205, 2, x_2180); +lean_ctor_set(x_2205, 1, x_2192); +lean_ctor_set_usize(x_2205, 2, x_2193); x_2206 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); lean_ctor_set(x_2206, 0, x_2205); -lean_ctor_set(x_2206, 1, x_2177); -lean_ctor_set_usize(x_2206, 2, x_2178); -if (lean_is_scalar(x_2188)) { +lean_ctor_set(x_2206, 1, x_2190); +lean_ctor_set_usize(x_2206, 2, x_2191); +if (lean_is_scalar(x_2201)) { x_2207 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2207 = x_2188; + x_2207 = x_2201; } lean_ctor_set(x_2207, 0, x_2206); -lean_ctor_set(x_2207, 1, x_118); -lean_ctor_set_usize(x_2207, 2, x_2176); +lean_ctor_set(x_2207, 1, x_119); +lean_ctor_set_usize(x_2207, 2, x_2189); x_2208 = l_System_FilePath_dirName___closed__1; x_2209 = l_Lean_Name_toStringWithSep___main(x_2208, x_2207); x_2210 = lean_alloc_ctor(2, 1, 0); @@ -22346,740 +22350,793 @@ return x_2214; else { lean_object* x_2215; uint8_t x_2216; -lean_dec(x_2177); -x_2215 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_2216 = lean_string_dec_eq(x_118, x_2215); +lean_dec(x_2192); +x_2215 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; +x_2216 = lean_string_dec_eq(x_2190, x_2215); if (x_2216 == 0) { -lean_object* x_2217; uint8_t x_2218; -x_2217 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_2218 = lean_string_dec_eq(x_118, x_2217); -if (x_2218 == 0) -{ -lean_object* x_2219; uint8_t x_2220; -x_2219 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_2220 = lean_string_dec_eq(x_118, x_2219); -if (x_2220 == 0) -{ -lean_object* x_2221; uint8_t x_2222; -x_2221 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_2222 = lean_string_dec_eq(x_118, x_2221); -if (x_2222 == 0) -{ -lean_object* x_2223; uint8_t x_2224; -x_2223 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_2224 = lean_string_dec_eq(x_118, x_2223); -if (x_2224 == 0) -{ -lean_object* x_2225; uint8_t x_2226; -x_2225 = l_Lean_Parser_Level_paren___elambda__1___closed__3; -x_2226 = lean_string_dec_eq(x_118, x_2225); -if (x_2226 == 0) -{ -lean_object* x_2227; uint8_t x_2228; -x_2227 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_2228 = lean_string_dec_eq(x_118, x_2227); -if (x_2228 == 0) -{ -lean_object* x_2229; uint8_t x_2230; -x_2229 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_2230 = lean_string_dec_eq(x_118, x_2229); -if (x_2230 == 0) -{ -lean_object* x_2231; uint8_t x_2232; +lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_dec(x_4); -x_2231 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_2232 = lean_string_dec_eq(x_118, x_2231); -if (x_2232 == 0) -{ -lean_object* x_2233; uint8_t x_2234; -x_2233 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_2234 = lean_string_dec_eq(x_118, x_2233); -if (x_2234 == 0) -{ -lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; -if (lean_is_scalar(x_2184)) { - x_2235 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +if (lean_is_scalar(x_2197)) { + x_2217 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2235 = x_2184; + x_2217 = x_2197; } -lean_ctor_set(x_2235, 0, x_117); -lean_ctor_set(x_2235, 1, x_2185); -lean_ctor_set_usize(x_2235, 2, x_2183); -if (lean_is_scalar(x_2181)) { - x_2236 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2217, 0, x_118); +lean_ctor_set(x_2217, 1, x_2198); +lean_ctor_set_usize(x_2217, 2, x_2196); +if (lean_is_scalar(x_2194)) { + x_2218 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2236 = x_2181; + x_2218 = x_2194; } -lean_ctor_set(x_2236, 0, x_2235); -lean_ctor_set(x_2236, 1, x_2189); -lean_ctor_set_usize(x_2236, 2, x_2180); -x_2237 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2237, 0, x_2236); -lean_ctor_set(x_2237, 1, x_2202); -lean_ctor_set_usize(x_2237, 2, x_2178); -if (lean_is_scalar(x_2188)) { - x_2238 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2218, 0, x_2217); +lean_ctor_set(x_2218, 1, x_2202); +lean_ctor_set_usize(x_2218, 2, x_2193); +x_2219 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2219, 0, x_2218); +lean_ctor_set(x_2219, 1, x_2190); +lean_ctor_set_usize(x_2219, 2, x_2191); +if (lean_is_scalar(x_2201)) { + x_2220 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2238 = x_2188; + x_2220 = x_2201; } -lean_ctor_set(x_2238, 0, x_2237); -lean_ctor_set(x_2238, 1, x_118); -lean_ctor_set_usize(x_2238, 2, x_2176); -x_2239 = l_System_FilePath_dirName___closed__1; -x_2240 = l_Lean_Name_toStringWithSep___main(x_2239, x_2238); -x_2241 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2241, 0, x_2240); -x_2242 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2242, 0, x_2241); -x_2243 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_2244 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_2244, 0, x_2243); -lean_ctor_set(x_2244, 1, x_2242); -x_2245 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2244, x_2, x_3); +lean_ctor_set(x_2220, 0, x_2219); +lean_ctor_set(x_2220, 1, x_119); +lean_ctor_set_usize(x_2220, 2, x_2189); +x_2221 = l_System_FilePath_dirName___closed__1; +x_2222 = l_Lean_Name_toStringWithSep___main(x_2221, x_2220); +x_2223 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2223, 0, x_2222); +x_2224 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2224, 0, x_2223); +x_2225 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_2226 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_2226, 0, x_2225); +lean_ctor_set(x_2226, 1, x_2224); +x_2227 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2226, x_2, x_3); lean_dec(x_1); -return x_2245; +return x_2227; } else { -lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; -lean_dec(x_2188); -lean_dec(x_2184); -lean_dec(x_2181); -lean_dec(x_118); -lean_dec(x_2); -x_2246 = lean_unsigned_to_nat(0u); -x_2247 = l_Lean_Syntax_getArg(x_1, x_2246); -lean_dec(x_1); -x_2248 = l_Lean_numLitKind; -x_2249 = l_Lean_Syntax_isNatLitAux(x_2248, x_2247); -lean_dec(x_2247); -if (lean_obj_tag(x_2249) == 0) +lean_object* x_2228; uint8_t x_2229; +lean_dec(x_2190); +x_2228 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_2229 = lean_string_dec_eq(x_119, x_2228); +if (x_2229 == 0) { -lean_object* x_2250; lean_object* x_2251; -x_2250 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; -x_2251 = lean_alloc_ctor(0, 2, 0); +lean_object* x_2230; uint8_t x_2231; +x_2230 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_2231 = lean_string_dec_eq(x_119, x_2230); +if (x_2231 == 0) +{ +lean_object* x_2232; uint8_t x_2233; +x_2232 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_2233 = lean_string_dec_eq(x_119, x_2232); +if (x_2233 == 0) +{ +lean_object* x_2234; uint8_t x_2235; +x_2234 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_2235 = lean_string_dec_eq(x_119, x_2234); +if (x_2235 == 0) +{ +lean_object* x_2236; uint8_t x_2237; +x_2236 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_2237 = lean_string_dec_eq(x_119, x_2236); +if (x_2237 == 0) +{ +lean_object* x_2238; uint8_t x_2239; +x_2238 = l_Lean_Parser_Level_paren___elambda__1___closed__3; +x_2239 = lean_string_dec_eq(x_119, x_2238); +if (x_2239 == 0) +{ +lean_object* x_2240; uint8_t x_2241; +x_2240 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_2241 = lean_string_dec_eq(x_119, x_2240); +if (x_2241 == 0) +{ +lean_object* x_2242; uint8_t x_2243; +x_2242 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_2243 = lean_string_dec_eq(x_119, x_2242); +if (x_2243 == 0) +{ +lean_object* x_2244; uint8_t x_2245; +lean_dec(x_4); +x_2244 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_2245 = lean_string_dec_eq(x_119, x_2244); +if (x_2245 == 0) +{ +lean_object* x_2246; uint8_t x_2247; +x_2246 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_2247 = lean_string_dec_eq(x_119, x_2246); +if (x_2247 == 0) +{ +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; +if (lean_is_scalar(x_2197)) { + x_2248 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2248 = x_2197; +} +lean_ctor_set(x_2248, 0, x_118); +lean_ctor_set(x_2248, 1, x_2198); +lean_ctor_set_usize(x_2248, 2, x_2196); +if (lean_is_scalar(x_2194)) { + x_2249 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2249 = x_2194; +} +lean_ctor_set(x_2249, 0, x_2248); +lean_ctor_set(x_2249, 1, x_2202); +lean_ctor_set_usize(x_2249, 2, x_2193); +x_2250 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2250, 0, x_2249); +lean_ctor_set(x_2250, 1, x_2215); +lean_ctor_set_usize(x_2250, 2, x_2191); +if (lean_is_scalar(x_2201)) { + x_2251 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2251 = x_2201; +} lean_ctor_set(x_2251, 0, x_2250); -lean_ctor_set(x_2251, 1, x_3); -return x_2251; -} -else -{ -lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; -x_2252 = lean_ctor_get(x_2249, 0); -lean_inc(x_2252); -lean_dec(x_2249); -x_2253 = l_Lean_mkNatLit(x_2252); -x_2254 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2251, 1, x_119); +lean_ctor_set_usize(x_2251, 2, x_2189); +x_2252 = l_System_FilePath_dirName___closed__1; +x_2253 = l_Lean_Name_toStringWithSep___main(x_2252, x_2251); +x_2254 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2254, 0, x_2253); -lean_ctor_set(x_2254, 1, x_3); -return x_2254; -} -} +x_2255 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2255, 0, x_2254); +x_2256 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_2257 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_2257, 0, x_2256); +lean_ctor_set(x_2257, 1, x_2255); +x_2258 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2257, x_2, x_3); +lean_dec(x_1); +return x_2258; } else { -lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; -lean_dec(x_2188); -lean_dec(x_2184); -lean_dec(x_2181); -lean_dec(x_118); +lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; +lean_dec(x_2201); +lean_dec(x_2197); +lean_dec(x_2194); +lean_dec(x_119); lean_dec(x_2); -x_2255 = lean_unsigned_to_nat(0u); -x_2256 = l_Lean_Syntax_getArg(x_1, x_2255); +x_2259 = lean_unsigned_to_nat(0u); +x_2260 = l_Lean_Syntax_getArg(x_1, x_2259); lean_dec(x_1); -x_2257 = l_Lean_Syntax_isStrLit_x3f(x_2256); -lean_dec(x_2256); -if (lean_obj_tag(x_2257) == 0) +x_2261 = l_Lean_numLitKind; +x_2262 = l_Lean_Syntax_isNatLitAux(x_2261, x_2260); +lean_dec(x_2260); +if (lean_obj_tag(x_2262) == 0) { -lean_object* x_2258; lean_object* x_2259; -x_2258 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; -x_2259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2259, 0, x_2258); -lean_ctor_set(x_2259, 1, x_3); -return x_2259; +lean_object* x_2263; lean_object* x_2264; +x_2263 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__5; +x_2264 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2264, 0, x_2263); +lean_ctor_set(x_2264, 1, x_3); +return x_2264; } else { -lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; -x_2260 = lean_ctor_get(x_2257, 0); -lean_inc(x_2260); -lean_dec(x_2257); -x_2261 = l_Lean_mkStrLit(x_2260); -x_2262 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2262, 0, x_2261); -lean_ctor_set(x_2262, 1, x_3); -return x_2262; +lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; +x_2265 = lean_ctor_get(x_2262, 0); +lean_inc(x_2265); +lean_dec(x_2262); +x_2266 = l_Lean_mkNatLit(x_2265); +x_2267 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2267, 0, x_2266); +lean_ctor_set(x_2267, 1, x_3); +return x_2267; } } } else { -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_dec(x_2188); -lean_dec(x_2184); -lean_dec(x_2181); -lean_dec(x_118); -lean_dec(x_1); -x_2263 = l_Lean_Syntax_inhabited; -x_2264 = lean_unsigned_to_nat(0u); -x_2265 = lean_array_get(x_2263, x_4, x_2264); -x_2266 = lean_unsigned_to_nat(2u); -x_2267 = lean_array_get(x_2263, x_4, x_2266); -lean_dec(x_4); -x_2268 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_2268, 0, x_117); -lean_closure_set(x_2268, 1, x_2265); -lean_closure_set(x_2268, 2, x_2267); -x_2269 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_2270 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2270, 0, x_2269); -lean_closure_set(x_2270, 1, x_2268); -x_2271 = l_Lean_Unhygienic_run___rarg(x_2270); -x_1 = x_2271; -goto _start; -} -} -else -{ -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_dec(x_2188); -lean_dec(x_2184); -lean_dec(x_2181); -lean_dec(x_118); -lean_dec(x_1); -x_2273 = l_Lean_Syntax_inhabited; -x_2274 = lean_unsigned_to_nat(0u); -x_2275 = lean_array_get(x_2273, x_4, x_2274); -x_2276 = lean_unsigned_to_nat(2u); -x_2277 = lean_array_get(x_2273, x_4, x_2276); -lean_dec(x_4); -x_2278 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_2278, 0, x_117); -lean_closure_set(x_2278, 1, x_2275); -lean_closure_set(x_2278, 2, x_2277); -x_2279 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_2280 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2280, 0, x_2279); -lean_closure_set(x_2280, 1, x_2278); -x_2281 = l_Lean_Unhygienic_run___rarg(x_2280); -x_1 = x_2281; -goto _start; -} -} -else -{ -lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; uint8_t x_2289; -lean_dec(x_2188); -lean_dec(x_2184); -lean_dec(x_2181); -lean_dec(x_118); -lean_dec(x_1); -x_2283 = l_Lean_Syntax_inhabited; -x_2284 = lean_unsigned_to_nat(1u); -x_2285 = lean_array_get(x_2283, x_4, x_2284); -lean_dec(x_4); -x_2286 = l_Lean_Syntax_getArgs(x_2285); -lean_dec(x_2285); -x_2287 = lean_array_get_size(x_2286); -x_2288 = lean_unsigned_to_nat(0u); -x_2289 = lean_nat_dec_eq(x_2287, x_2288); -lean_dec(x_2287); -if (x_2289 == 0) -{ -lean_object* x_2290; -x_2290 = lean_array_get(x_2283, x_2286, x_2288); -lean_dec(x_2286); -x_1 = x_2290; -goto _start; -} -else -{ -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_dec(x_2286); +lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; +lean_dec(x_2201); +lean_dec(x_2197); +lean_dec(x_2194); +lean_dec(x_119); lean_dec(x_2); -x_2292 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_2293 = lean_name_mk_string(x_117, x_2292); -x_2294 = l_Lean_Elab_Term_elabParen___closed__4; -x_2295 = lean_name_mk_string(x_2293, x_2294); -x_2296 = lean_box(0); -x_2297 = l_Lean_mkConst(x_2295, 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_3); -return x_2298; +x_2268 = lean_unsigned_to_nat(0u); +x_2269 = l_Lean_Syntax_getArg(x_1, x_2268); +lean_dec(x_1); +x_2270 = l_Lean_Syntax_isStrLit_x3f(x_2269); +lean_dec(x_2269); +if (lean_obj_tag(x_2270) == 0) +{ +lean_object* x_2271; lean_object* x_2272; +x_2271 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__6; +x_2272 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2272, 0, x_2271); +lean_ctor_set(x_2272, 1, x_3); +return x_2272; +} +else +{ +lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; +x_2273 = lean_ctor_get(x_2270, 0); +lean_inc(x_2273); +lean_dec(x_2270); +x_2274 = l_Lean_mkStrLit(x_2273); +x_2275 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2275, 0, x_2274); +lean_ctor_set(x_2275, 1, x_3); +return x_2275; } } } else { -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_dec(x_2188); -lean_dec(x_2184); -lean_dec(x_2181); -lean_dec(x_118); +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_dec(x_2201); +lean_dec(x_2197); +lean_dec(x_2194); +lean_dec(x_119); lean_dec(x_1); -x_2299 = l_Lean_Syntax_inhabited; -x_2300 = lean_unsigned_to_nat(2u); -x_2301 = lean_array_get(x_2299, x_4, x_2300); -x_2302 = lean_unsigned_to_nat(4u); -x_2303 = lean_array_get(x_2299, x_4, x_2302); -x_2304 = lean_unsigned_to_nat(6u); -x_2305 = lean_array_get(x_2299, x_4, x_2304); +x_2276 = l_Lean_Syntax_inhabited; +x_2277 = lean_unsigned_to_nat(0u); +x_2278 = lean_array_get(x_2276, x_4, x_2277); +x_2279 = lean_unsigned_to_nat(2u); +x_2280 = lean_array_get(x_2276, x_4, x_2279); lean_dec(x_4); -x_2306 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_2306, 0, x_117); -lean_closure_set(x_2306, 1, x_2301); -lean_closure_set(x_2306, 2, x_2303); -lean_closure_set(x_2306, 3, x_2305); -x_2307 = l_Lean_Unhygienic_MonadQuotation___closed__1; -x_2308 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2308, 0, x_2307); -lean_closure_set(x_2308, 1, x_2306); -x_2309 = l_Lean_Unhygienic_run___rarg(x_2308); -x_1 = x_2309; +x_2281 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_2281, 0, x_118); +lean_closure_set(x_2281, 1, x_2278); +lean_closure_set(x_2281, 2, x_2280); +x_2282 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_2283 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2283, 0, x_2282); +lean_closure_set(x_2283, 1, x_2281); +x_2284 = l_Lean_Unhygienic_run___rarg(x_2283); +x_1 = x_2284; goto _start; } } else { -lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; -lean_dec(x_2188); -lean_dec(x_2184); -lean_dec(x_2181); -lean_dec(x_118); +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_dec(x_2201); +lean_dec(x_2197); +lean_dec(x_2194); +lean_dec(x_119); lean_dec(x_1); -x_2311 = l_Lean_Syntax_inhabited; -x_2312 = lean_unsigned_to_nat(0u); -x_2313 = lean_array_get(x_2311, x_4, x_2312); +x_2286 = l_Lean_Syntax_inhabited; +x_2287 = lean_unsigned_to_nat(0u); +x_2288 = lean_array_get(x_2286, x_4, x_2287); +x_2289 = lean_unsigned_to_nat(2u); +x_2290 = lean_array_get(x_2286, x_4, x_2289); +lean_dec(x_4); +x_2291 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_2291, 0, x_118); +lean_closure_set(x_2291, 1, x_2288); +lean_closure_set(x_2291, 2, x_2290); +x_2292 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_2293 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2293, 0, x_2292); +lean_closure_set(x_2293, 1, x_2291); +x_2294 = l_Lean_Unhygienic_run___rarg(x_2293); +x_1 = x_2294; +goto _start; +} +} +else +{ +lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; uint8_t x_2302; +lean_dec(x_2201); +lean_dec(x_2197); +lean_dec(x_2194); +lean_dec(x_119); +lean_dec(x_1); +x_2296 = l_Lean_Syntax_inhabited; +x_2297 = lean_unsigned_to_nat(1u); +x_2298 = lean_array_get(x_2296, x_4, x_2297); +lean_dec(x_4); +x_2299 = l_Lean_Syntax_getArgs(x_2298); +lean_dec(x_2298); +x_2300 = lean_array_get_size(x_2299); +x_2301 = lean_unsigned_to_nat(0u); +x_2302 = lean_nat_dec_eq(x_2300, x_2301); +lean_dec(x_2300); +if (x_2302 == 0) +{ +lean_object* x_2303; +x_2303 = lean_array_get(x_2296, x_2299, x_2301); +lean_dec(x_2299); +x_1 = x_2303; +goto _start; +} +else +{ +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_dec(x_2299); +lean_dec(x_2); +x_2305 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_2306 = lean_name_mk_string(x_118, x_2305); +x_2307 = l_Lean_Elab_Term_elabParen___closed__4; +x_2308 = lean_name_mk_string(x_2306, x_2307); +x_2309 = lean_box(0); +x_2310 = l_Lean_mkConst(x_2308, x_2309); +x_2311 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2311, 0, x_2310); +lean_ctor_set(x_2311, 1, x_3); +return x_2311; +} +} +} +else +{ +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_dec(x_2201); +lean_dec(x_2197); +lean_dec(x_2194); +lean_dec(x_119); +lean_dec(x_1); +x_2312 = l_Lean_Syntax_inhabited; +x_2313 = lean_unsigned_to_nat(2u); +x_2314 = lean_array_get(x_2312, x_4, x_2313); +x_2315 = lean_unsigned_to_nat(4u); +x_2316 = lean_array_get(x_2312, x_4, x_2315); +x_2317 = lean_unsigned_to_nat(6u); +x_2318 = lean_array_get(x_2312, x_4, x_2317); +lean_dec(x_4); +x_2319 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_2319, 0, x_118); +lean_closure_set(x_2319, 1, x_2314); +lean_closure_set(x_2319, 2, x_2316); +lean_closure_set(x_2319, 3, x_2318); +x_2320 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_2321 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2321, 0, x_2320); +lean_closure_set(x_2321, 1, x_2319); +x_2322 = l_Lean_Unhygienic_run___rarg(x_2321); +x_1 = x_2322; +goto _start; +} +} +else +{ +lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; +lean_dec(x_2201); +lean_dec(x_2197); +lean_dec(x_2194); +lean_dec(x_119); +lean_dec(x_1); +x_2324 = l_Lean_Syntax_inhabited; +x_2325 = lean_unsigned_to_nat(0u); +x_2326 = lean_array_get(x_2324, x_4, x_2325); lean_inc(x_2); -x_2314 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2313, x_2, x_3); -if (lean_obj_tag(x_2314) == 0) +x_2327 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2326, x_2, x_3); +if (lean_obj_tag(x_2327) == 0) { -lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; -x_2315 = lean_ctor_get(x_2314, 0); -lean_inc(x_2315); -x_2316 = lean_ctor_get(x_2314, 1); -lean_inc(x_2316); -lean_dec(x_2314); -x_2317 = lean_unsigned_to_nat(1u); -x_2318 = lean_array_get(x_2311, x_4, x_2317); +lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; +x_2328 = lean_ctor_get(x_2327, 0); +lean_inc(x_2328); +x_2329 = lean_ctor_get(x_2327, 1); +lean_inc(x_2329); +lean_dec(x_2327); +x_2330 = lean_unsigned_to_nat(1u); +x_2331 = lean_array_get(x_2324, x_4, x_2330); lean_dec(x_4); -x_2319 = l_Lean_Syntax_getArgs(x_2318); -lean_dec(x_2318); -x_2320 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_2312, x_2319, x_2, x_2316); -if (lean_obj_tag(x_2320) == 0) +x_2332 = l_Lean_Syntax_getArgs(x_2331); +lean_dec(x_2331); +x_2333 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__1(x_2325, x_2332, x_2, x_2329); +if (lean_obj_tag(x_2333) == 0) { -lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; -x_2321 = lean_ctor_get(x_2320, 0); -lean_inc(x_2321); -x_2322 = lean_ctor_get(x_2320, 1); -lean_inc(x_2322); -if (lean_is_exclusive(x_2320)) { - lean_ctor_release(x_2320, 0); - lean_ctor_release(x_2320, 1); - x_2323 = x_2320; +lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; +x_2334 = lean_ctor_get(x_2333, 0); +lean_inc(x_2334); +x_2335 = lean_ctor_get(x_2333, 1); +lean_inc(x_2335); +if (lean_is_exclusive(x_2333)) { + lean_ctor_release(x_2333, 0); + lean_ctor_release(x_2333, 1); + x_2336 = x_2333; } else { - lean_dec_ref(x_2320); - x_2323 = lean_box(0); + lean_dec_ref(x_2333); + x_2336 = lean_box(0); } -x_2324 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2321, x_2321, x_2312, x_2315); -lean_dec(x_2321); -if (lean_is_scalar(x_2323)) { - x_2325 = lean_alloc_ctor(0, 2, 0); +x_2337 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2334, x_2334, x_2325, x_2328); +lean_dec(x_2334); +if (lean_is_scalar(x_2336)) { + x_2338 = lean_alloc_ctor(0, 2, 0); } else { - x_2325 = x_2323; + x_2338 = x_2336; } -lean_ctor_set(x_2325, 0, x_2324); -lean_ctor_set(x_2325, 1, x_2322); -return x_2325; +lean_ctor_set(x_2338, 0, x_2337); +lean_ctor_set(x_2338, 1, x_2335); +return x_2338; } else { -lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; -lean_dec(x_2315); -x_2326 = lean_ctor_get(x_2320, 0); -lean_inc(x_2326); -x_2327 = lean_ctor_get(x_2320, 1); -lean_inc(x_2327); -if (lean_is_exclusive(x_2320)) { - lean_ctor_release(x_2320, 0); - lean_ctor_release(x_2320, 1); - x_2328 = x_2320; +lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; +lean_dec(x_2328); +x_2339 = lean_ctor_get(x_2333, 0); +lean_inc(x_2339); +x_2340 = lean_ctor_get(x_2333, 1); +lean_inc(x_2340); +if (lean_is_exclusive(x_2333)) { + lean_ctor_release(x_2333, 0); + lean_ctor_release(x_2333, 1); + x_2341 = x_2333; } else { - lean_dec_ref(x_2320); - x_2328 = lean_box(0); + lean_dec_ref(x_2333); + x_2341 = lean_box(0); } -if (lean_is_scalar(x_2328)) { - x_2329 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2341)) { + x_2342 = lean_alloc_ctor(1, 2, 0); } else { - x_2329 = x_2328; + x_2342 = x_2341; } -lean_ctor_set(x_2329, 0, x_2326); -lean_ctor_set(x_2329, 1, x_2327); -return x_2329; +lean_ctor_set(x_2342, 0, x_2339); +lean_ctor_set(x_2342, 1, x_2340); +return x_2342; } } else { -lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; +lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_dec(x_4); lean_dec(x_2); -x_2330 = lean_ctor_get(x_2314, 0); -lean_inc(x_2330); -x_2331 = lean_ctor_get(x_2314, 1); -lean_inc(x_2331); -if (lean_is_exclusive(x_2314)) { - lean_ctor_release(x_2314, 0); - lean_ctor_release(x_2314, 1); - x_2332 = x_2314; -} else { - lean_dec_ref(x_2314); - x_2332 = lean_box(0); -} -if (lean_is_scalar(x_2332)) { - x_2333 = lean_alloc_ctor(1, 2, 0); -} else { - x_2333 = x_2332; -} -lean_ctor_set(x_2333, 0, x_2330); -lean_ctor_set(x_2333, 1, x_2331); -return x_2333; -} -} -} -else -{ -lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; -lean_dec(x_2188); -lean_dec(x_2184); -lean_dec(x_2181); -lean_dec(x_118); -lean_dec(x_1); -x_2334 = l_Lean_Syntax_inhabited; -x_2335 = lean_unsigned_to_nat(1u); -x_2336 = lean_array_get(x_2334, x_4, x_2335); -lean_inc(x_2336); -x_2337 = l_Lean_Syntax_getKind(x_2336); -if (lean_obj_tag(x_2337) == 1) -{ -lean_object* x_2338; -x_2338 = lean_ctor_get(x_2337, 0); -lean_inc(x_2338); -if (lean_obj_tag(x_2338) == 1) -{ -lean_object* x_2339; -x_2339 = lean_ctor_get(x_2338, 0); -lean_inc(x_2339); -if (lean_obj_tag(x_2339) == 1) -{ -lean_object* x_2340; -x_2340 = lean_ctor_get(x_2339, 0); -lean_inc(x_2340); -if (lean_obj_tag(x_2340) == 1) -{ -lean_object* x_2341; -x_2341 = lean_ctor_get(x_2340, 0); -lean_inc(x_2341); -if (lean_obj_tag(x_2341) == 0) -{ -lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; uint8_t x_2346; -x_2342 = lean_ctor_get(x_2337, 1); -lean_inc(x_2342); -lean_dec(x_2337); -x_2343 = lean_ctor_get(x_2338, 1); +x_2343 = lean_ctor_get(x_2327, 0); lean_inc(x_2343); -lean_dec(x_2338); -x_2344 = lean_ctor_get(x_2339, 1); +x_2344 = lean_ctor_get(x_2327, 1); lean_inc(x_2344); -lean_dec(x_2339); -x_2345 = lean_ctor_get(x_2340, 1); -lean_inc(x_2345); -lean_dec(x_2340); -x_2346 = lean_string_dec_eq(x_2345, x_2185); -lean_dec(x_2345); -if (x_2346 == 0) -{ -lean_object* x_2347; lean_object* x_2348; -lean_dec(x_2344); -lean_dec(x_2343); -lean_dec(x_2342); -lean_dec(x_2336); -x_2347 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2348 = l_unreachable_x21___rarg(x_2347); -x_5 = x_2348; -goto block_94; +if (lean_is_exclusive(x_2327)) { + lean_ctor_release(x_2327, 0); + lean_ctor_release(x_2327, 1); + x_2345 = x_2327; +} else { + lean_dec_ref(x_2327); + x_2345 = lean_box(0); } -else -{ -uint8_t x_2349; -x_2349 = lean_string_dec_eq(x_2344, x_2189); -lean_dec(x_2344); -if (x_2349 == 0) -{ -lean_object* x_2350; lean_object* x_2351; -lean_dec(x_2343); -lean_dec(x_2342); -lean_dec(x_2336); -x_2350 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2351 = l_unreachable_x21___rarg(x_2350); -x_5 = x_2351; -goto block_94; +if (lean_is_scalar(x_2345)) { + x_2346 = lean_alloc_ctor(1, 2, 0); +} else { + x_2346 = x_2345; } -else -{ -uint8_t x_2352; -x_2352 = lean_string_dec_eq(x_2343, x_2202); -lean_dec(x_2343); -if (x_2352 == 0) -{ -lean_object* x_2353; lean_object* x_2354; -lean_dec(x_2342); -lean_dec(x_2336); -x_2353 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2354 = l_unreachable_x21___rarg(x_2353); -x_5 = x_2354; -goto block_94; +lean_ctor_set(x_2346, 0, x_2343); +lean_ctor_set(x_2346, 1, x_2344); +return x_2346; } -else -{ -lean_object* x_2355; uint8_t x_2356; -x_2355 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_2356 = lean_string_dec_eq(x_2342, x_2355); -if (x_2356 == 0) -{ -lean_object* x_2357; uint8_t x_2358; -x_2357 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; -x_2358 = lean_string_dec_eq(x_2342, x_2357); -lean_dec(x_2342); -if (x_2358 == 0) -{ -lean_object* x_2359; lean_object* x_2360; -lean_dec(x_2336); -x_2359 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2360 = l_unreachable_x21___rarg(x_2359); -x_5 = x_2360; -goto block_94; -} -else -{ -lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; -x_2361 = lean_unsigned_to_nat(0u); -x_2362 = l_Lean_Syntax_getArg(x_2336, x_2361); -x_2363 = l_Lean_Syntax_getIdAt(x_2362, x_2361); -lean_dec(x_2362); -x_2364 = lean_unsigned_to_nat(3u); -x_2365 = l_Lean_Syntax_getArg(x_2336, x_2364); -lean_dec(x_2336); -x_2366 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2366, 0, x_2363); -lean_ctor_set(x_2366, 1, x_2365); -x_5 = x_2366; -goto block_94; } } else { -lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; -lean_dec(x_2342); -x_2367 = lean_unsigned_to_nat(0u); -x_2368 = l_Lean_Syntax_getIdAt(x_2336, x_2367); -x_2369 = lean_unsigned_to_nat(4u); -x_2370 = l_Lean_Syntax_getArg(x_2336, x_2369); -lean_dec(x_2336); -x_2371 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2371, 0, x_2368); -lean_ctor_set(x_2371, 1, x_2370); -x_5 = x_2371; -goto block_94; -} -} -} -} +lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; +lean_dec(x_2201); +lean_dec(x_2197); +lean_dec(x_2194); +lean_dec(x_119); +lean_dec(x_1); +x_2347 = l_Lean_Syntax_inhabited; +x_2348 = lean_unsigned_to_nat(1u); +x_2349 = lean_array_get(x_2347, x_4, x_2348); +lean_inc(x_2349); +x_2350 = l_Lean_Syntax_getKind(x_2349); +if (lean_obj_tag(x_2350) == 1) +{ +lean_object* x_2351; +x_2351 = lean_ctor_get(x_2350, 0); +lean_inc(x_2351); +if (lean_obj_tag(x_2351) == 1) +{ +lean_object* x_2352; +x_2352 = lean_ctor_get(x_2351, 0); +lean_inc(x_2352); +if (lean_obj_tag(x_2352) == 1) +{ +lean_object* x_2353; +x_2353 = lean_ctor_get(x_2352, 0); +lean_inc(x_2353); +if (lean_obj_tag(x_2353) == 1) +{ +lean_object* x_2354; +x_2354 = lean_ctor_get(x_2353, 0); +lean_inc(x_2354); +if (lean_obj_tag(x_2354) == 0) +{ +lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; uint8_t x_2359; +x_2355 = lean_ctor_get(x_2350, 1); +lean_inc(x_2355); +lean_dec(x_2350); +x_2356 = lean_ctor_get(x_2351, 1); +lean_inc(x_2356); +lean_dec(x_2351); +x_2357 = lean_ctor_get(x_2352, 1); +lean_inc(x_2357); +lean_dec(x_2352); +x_2358 = lean_ctor_get(x_2353, 1); +lean_inc(x_2358); +lean_dec(x_2353); +x_2359 = lean_string_dec_eq(x_2358, x_2198); +lean_dec(x_2358); +if (x_2359 == 0) +{ +lean_object* x_2360; lean_object* x_2361; +lean_dec(x_2357); +lean_dec(x_2356); +lean_dec(x_2355); +lean_dec(x_2349); +x_2360 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2361 = l_unreachable_x21___rarg(x_2360); +x_5 = x_2361; +goto block_95; } else { +uint8_t x_2362; +x_2362 = lean_string_dec_eq(x_2357, x_2202); +lean_dec(x_2357); +if (x_2362 == 0) +{ +lean_object* x_2363; lean_object* x_2364; +lean_dec(x_2356); +lean_dec(x_2355); +lean_dec(x_2349); +x_2363 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2364 = l_unreachable_x21___rarg(x_2363); +x_5 = x_2364; +goto block_95; +} +else +{ +uint8_t x_2365; +x_2365 = lean_string_dec_eq(x_2356, x_2215); +lean_dec(x_2356); +if (x_2365 == 0) +{ +lean_object* x_2366; lean_object* x_2367; +lean_dec(x_2355); +lean_dec(x_2349); +x_2366 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2367 = l_unreachable_x21___rarg(x_2366); +x_5 = x_2367; +goto block_95; +} +else +{ +lean_object* x_2368; uint8_t x_2369; +x_2368 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_2369 = lean_string_dec_eq(x_2355, x_2368); +if (x_2369 == 0) +{ +lean_object* x_2370; uint8_t x_2371; +x_2370 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; +x_2371 = lean_string_dec_eq(x_2355, x_2370); +lean_dec(x_2355); +if (x_2371 == 0) +{ lean_object* x_2372; lean_object* x_2373; -lean_dec(x_2341); -lean_dec(x_2340); -lean_dec(x_2339); -lean_dec(x_2338); -lean_dec(x_2337); -lean_dec(x_2336); +lean_dec(x_2349); x_2372 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; x_2373 = l_unreachable_x21___rarg(x_2372); x_5 = x_2373; -goto block_94; -} +goto block_95; } else { -lean_object* x_2374; lean_object* x_2375; -lean_dec(x_2340); -lean_dec(x_2339); -lean_dec(x_2338); -lean_dec(x_2337); -lean_dec(x_2336); -x_2374 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2375 = l_unreachable_x21___rarg(x_2374); -x_5 = x_2375; -goto block_94; -} -} -else -{ -lean_object* x_2376; lean_object* x_2377; -lean_dec(x_2339); -lean_dec(x_2338); -lean_dec(x_2337); -lean_dec(x_2336); -x_2376 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2377 = l_unreachable_x21___rarg(x_2376); -x_5 = x_2377; -goto block_94; -} -} -else -{ -lean_object* x_2378; lean_object* x_2379; -lean_dec(x_2338); -lean_dec(x_2337); -lean_dec(x_2336); -x_2378 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2379 = l_unreachable_x21___rarg(x_2378); +lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; +x_2374 = lean_unsigned_to_nat(0u); +x_2375 = l_Lean_Syntax_getArg(x_2349, x_2374); +x_2376 = l_Lean_Syntax_getIdAt(x_2375, x_2374); +lean_dec(x_2375); +x_2377 = lean_unsigned_to_nat(3u); +x_2378 = l_Lean_Syntax_getArg(x_2349, x_2377); +lean_dec(x_2349); +x_2379 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2379, 0, x_2376); +lean_ctor_set(x_2379, 1, x_2378); x_5 = x_2379; -goto block_94; +goto block_95; } } else { -lean_object* x_2380; lean_object* x_2381; -lean_dec(x_2337); -lean_dec(x_2336); -x_2380 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; -x_2381 = l_unreachable_x21___rarg(x_2380); -x_5 = x_2381; -goto block_94; +lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; +lean_dec(x_2355); +x_2380 = lean_unsigned_to_nat(0u); +x_2381 = l_Lean_Syntax_getIdAt(x_2349, x_2380); +x_2382 = lean_unsigned_to_nat(4u); +x_2383 = l_Lean_Syntax_getArg(x_2349, x_2382); +lean_dec(x_2349); +x_2384 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2384, 0, x_2381); +lean_ctor_set(x_2384, 1, x_2383); +x_5 = x_2384; +goto block_95; +} +} } } } else { -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; uint8_t x_2390; -lean_dec(x_2188); -lean_dec(x_2184); -lean_dec(x_2181); -lean_dec(x_118); +lean_object* x_2385; lean_object* x_2386; +lean_dec(x_2354); +lean_dec(x_2353); +lean_dec(x_2352); +lean_dec(x_2351); +lean_dec(x_2350); +lean_dec(x_2349); +x_2385 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2386 = l_unreachable_x21___rarg(x_2385); +x_5 = x_2386; +goto block_95; +} +} +else +{ +lean_object* x_2387; lean_object* x_2388; +lean_dec(x_2353); +lean_dec(x_2352); +lean_dec(x_2351); +lean_dec(x_2350); +lean_dec(x_2349); +x_2387 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2388 = l_unreachable_x21___rarg(x_2387); +x_5 = x_2388; +goto block_95; +} +} +else +{ +lean_object* x_2389; lean_object* x_2390; +lean_dec(x_2352); +lean_dec(x_2351); +lean_dec(x_2350); +lean_dec(x_2349); +x_2389 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2390 = l_unreachable_x21___rarg(x_2389); +x_5 = x_2390; +goto block_95; +} +} +else +{ +lean_object* x_2391; lean_object* x_2392; +lean_dec(x_2351); +lean_dec(x_2350); +lean_dec(x_2349); +x_2391 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2392 = l_unreachable_x21___rarg(x_2391); +x_5 = x_2392; +goto block_95; +} +} +else +{ +lean_object* x_2393; lean_object* x_2394; +lean_dec(x_2350); +lean_dec(x_2349); +x_2393 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__7; +x_2394 = l_unreachable_x21___rarg(x_2393); +x_5 = x_2394; +goto block_95; +} +} +} +else +{ +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; uint8_t x_2403; +lean_dec(x_2201); +lean_dec(x_2197); +lean_dec(x_2194); +lean_dec(x_119); lean_dec(x_1); -x_2382 = l_Lean_Syntax_inhabited; -x_2383 = lean_unsigned_to_nat(1u); -x_2384 = lean_array_get(x_2382, x_4, x_2383); -x_2385 = l_Lean_Syntax_getArgs(x_2384); -lean_dec(x_2384); -x_2386 = lean_unsigned_to_nat(3u); -x_2387 = lean_array_get(x_2382, x_4, x_2386); +x_2395 = l_Lean_Syntax_inhabited; +x_2396 = lean_unsigned_to_nat(1u); +x_2397 = lean_array_get(x_2395, x_4, x_2396); +x_2398 = l_Lean_Syntax_getArgs(x_2397); +lean_dec(x_2397); +x_2399 = lean_unsigned_to_nat(3u); +x_2400 = lean_array_get(x_2395, x_4, x_2399); lean_dec(x_4); -x_2388 = lean_array_get_size(x_2385); -x_2389 = lean_unsigned_to_nat(0u); -x_2390 = lean_nat_dec_eq(x_2388, x_2389); -lean_dec(x_2388); -if (x_2390 == 0) -{ -lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; uint8_t x_2396; -x_2391 = lean_array_get(x_2382, x_2385, x_2389); -x_2392 = lean_name_mk_string(x_117, x_2185); -x_2393 = lean_name_mk_string(x_2392, x_2189); -x_2394 = lean_name_mk_string(x_2393, x_2202); -lean_inc(x_2394); -x_2395 = lean_name_mk_string(x_2394, x_2215); -lean_inc(x_2391); -x_2396 = l_Lean_Syntax_isOfKind(x_2391, x_2395); -lean_dec(x_2395); -if (x_2396 == 0) -{ -lean_object* x_2397; lean_object* x_2398; uint8_t x_2399; -x_2397 = l_Lean_Parser_Level_hole___elambda__1___closed__1; -lean_inc(x_2394); -x_2398 = lean_name_mk_string(x_2394, x_2397); -lean_inc(x_2391); -x_2399 = l_Lean_Syntax_isOfKind(x_2391, x_2398); -lean_dec(x_2398); -if (x_2399 == 0) -{ -lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; -x_2400 = l_Lean_Syntax_getArg(x_2391, x_2383); -lean_dec(x_2391); -x_2401 = l_Lean_Syntax_getArg(x_2400, x_2389); -x_2402 = l_Lean_Syntax_getIdAt(x_2401, x_2389); +x_2401 = lean_array_get_size(x_2398); +x_2402 = lean_unsigned_to_nat(0u); +x_2403 = lean_nat_dec_eq(x_2401, x_2402); lean_dec(x_2401); -x_2403 = l_Lean_Syntax_getArg(x_2400, x_2383); -lean_dec(x_2400); -x_2404 = l_Lean_Syntax_getArg(x_2403, x_2389); -lean_dec(x_2403); -x_2405 = l_Lean_Syntax_getArg(x_2404, x_2383); -lean_dec(x_2404); -lean_inc(x_2); -x_2406 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2405, x_2, x_3); -if (lean_obj_tag(x_2406) == 0) +if (x_2403 == 0) { -lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; uint8_t 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; lean_object* x_2424; 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; lean_object* x_2437; lean_object* x_2438; uint8_t x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; -x_2407 = lean_ctor_get(x_2406, 0); +lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; lean_object* x_2408; uint8_t x_2409; +x_2404 = lean_array_get(x_2395, x_2398, x_2402); +x_2405 = lean_name_mk_string(x_118, x_2198); +x_2406 = lean_name_mk_string(x_2405, x_2202); +x_2407 = lean_name_mk_string(x_2406, x_2215); lean_inc(x_2407); -x_2408 = lean_ctor_get(x_2406, 1); -lean_inc(x_2408); -lean_dec(x_2406); -x_2409 = l_Lean_Elab_Term_getLCtx(x_2, x_2408); -x_2410 = lean_ctor_get(x_2409, 0); -lean_inc(x_2410); -x_2411 = lean_ctor_get(x_2409, 1); -lean_inc(x_2411); -lean_dec(x_2409); -x_2412 = 0; -lean_inc_n(x_2402, 2); -x_2413 = lean_local_ctx_mk_local_decl(x_2410, x_2402, x_2402, x_2407, x_2412); -x_2414 = l_Array_eraseIdx___rarg(x_2385, x_2389); -x_2415 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2411); -x_2416 = lean_ctor_get(x_2415, 1); -lean_inc(x_2416); -lean_dec(x_2415); -x_2417 = lean_name_mk_string(x_2394, x_2217); -x_2418 = l_Lean_nullKind___closed__1; -x_2419 = lean_name_mk_string(x_117, x_2418); -x_2420 = l_Array_empty___closed__1; -x_2421 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2414, x_2414, x_2389, x_2420); +x_2408 = lean_name_mk_string(x_2407, x_2228); +lean_inc(x_2404); +x_2409 = l_Lean_Syntax_isOfKind(x_2404, x_2408); +lean_dec(x_2408); +if (x_2409 == 0) +{ +lean_object* x_2410; lean_object* x_2411; uint8_t x_2412; +x_2410 = l_Lean_Parser_Level_hole___elambda__1___closed__1; +lean_inc(x_2407); +x_2411 = lean_name_mk_string(x_2407, x_2410); +lean_inc(x_2404); +x_2412 = l_Lean_Syntax_isOfKind(x_2404, x_2411); +lean_dec(x_2411); +if (x_2412 == 0) +{ +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; +x_2413 = l_Lean_Syntax_getArg(x_2404, x_2396); +lean_dec(x_2404); +x_2414 = l_Lean_Syntax_getArg(x_2413, x_2402); +x_2415 = l_Lean_Syntax_getIdAt(x_2414, x_2402); lean_dec(x_2414); -x_2422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2422, 0, x_2419); -lean_ctor_set(x_2422, 1, x_2421); -x_2423 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2424 = lean_array_push(x_2423, x_2422); -x_2425 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2426 = lean_array_push(x_2424, x_2425); -x_2427 = lean_array_push(x_2426, x_2387); -x_2428 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2428, 0, x_2417); -lean_ctor_set(x_2428, 1, x_2427); -x_2429 = lean_ctor_get(x_2, 0); +x_2416 = l_Lean_Syntax_getArg(x_2413, x_2396); +lean_dec(x_2413); +x_2417 = l_Lean_Syntax_getArg(x_2416, x_2402); +lean_dec(x_2416); +x_2418 = l_Lean_Syntax_getArg(x_2417, x_2396); +lean_dec(x_2417); +lean_inc(x_2); +x_2419 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2418, x_2, x_3); +if (lean_obj_tag(x_2419) == 0) +{ +lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; lean_object* x_2423; lean_object* x_2424; uint8_t 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; lean_object* x_2437; lean_object* x_2438; lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; uint8_t x_2452; uint8_t 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; +x_2420 = lean_ctor_get(x_2419, 0); +lean_inc(x_2420); +x_2421 = lean_ctor_get(x_2419, 1); +lean_inc(x_2421); +lean_dec(x_2419); +x_2422 = l_Lean_Elab_Term_getLCtx(x_2, x_2421); +x_2423 = lean_ctor_get(x_2422, 0); +lean_inc(x_2423); +x_2424 = lean_ctor_get(x_2422, 1); +lean_inc(x_2424); +lean_dec(x_2422); +x_2425 = 0; +lean_inc_n(x_2415, 2); +x_2426 = lean_local_ctx_mk_local_decl(x_2423, x_2415, x_2415, x_2420, x_2425); +x_2427 = l_Array_eraseIdx___rarg(x_2398, x_2402); +x_2428 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2424); +x_2429 = lean_ctor_get(x_2428, 1); lean_inc(x_2429); -x_2430 = lean_ctor_get(x_2, 1); -lean_inc(x_2430); -x_2431 = lean_ctor_get(x_2, 2); -lean_inc(x_2431); -x_2432 = lean_ctor_get(x_2, 3); -lean_inc(x_2432); -x_2433 = lean_ctor_get(x_2, 4); -lean_inc(x_2433); -x_2434 = lean_ctor_get(x_2, 5); -lean_inc(x_2434); -x_2435 = lean_ctor_get(x_2, 6); -lean_inc(x_2435); -x_2436 = lean_ctor_get(x_2, 7); -lean_inc(x_2436); -x_2437 = lean_ctor_get(x_2, 8); -lean_inc(x_2437); -x_2438 = lean_ctor_get(x_2, 9); -lean_inc(x_2438); -x_2439 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +lean_dec(x_2428); +x_2430 = lean_name_mk_string(x_2407, x_2230); +x_2431 = l_Lean_nullKind___closed__1; +x_2432 = lean_name_mk_string(x_118, x_2431); +x_2433 = l_Array_empty___closed__1; +x_2434 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2427, x_2427, x_2402, x_2433); +lean_dec(x_2427); +x_2435 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2435, 0, x_2432); +lean_ctor_set(x_2435, 1, x_2434); +x_2436 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2437 = lean_array_push(x_2436, x_2435); +x_2438 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2439 = lean_array_push(x_2437, x_2438); +x_2440 = lean_array_push(x_2439, x_2400); +x_2441 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2441, 0, x_2430); +lean_ctor_set(x_2441, 1, x_2440); +x_2442 = lean_ctor_get(x_2, 0); +lean_inc(x_2442); +x_2443 = lean_ctor_get(x_2, 1); +lean_inc(x_2443); +x_2444 = lean_ctor_get(x_2, 2); +lean_inc(x_2444); +x_2445 = lean_ctor_get(x_2, 3); +lean_inc(x_2445); +x_2446 = lean_ctor_get(x_2, 4); +lean_inc(x_2446); +x_2447 = lean_ctor_get(x_2, 5); +lean_inc(x_2447); +x_2448 = lean_ctor_get(x_2, 6); +lean_inc(x_2448); +x_2449 = lean_ctor_get(x_2, 7); +lean_inc(x_2449); +x_2450 = lean_ctor_get(x_2, 8); +lean_inc(x_2450); +x_2451 = lean_ctor_get(x_2, 9); +lean_inc(x_2451); +x_2452 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2453 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -23091,383 +23148,206 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2440 = x_2; + x_2454 = x_2; } else { lean_dec_ref(x_2); - x_2440 = lean_box(0); + x_2454 = lean_box(0); } -x_2441 = lean_ctor_get(x_2429, 0); -lean_inc(x_2441); -x_2442 = lean_ctor_get(x_2429, 2); -lean_inc(x_2442); -x_2443 = lean_ctor_get(x_2429, 3); -lean_inc(x_2443); -x_2444 = lean_ctor_get(x_2429, 4); -lean_inc(x_2444); -if (lean_is_exclusive(x_2429)) { - lean_ctor_release(x_2429, 0); - lean_ctor_release(x_2429, 1); - lean_ctor_release(x_2429, 2); - lean_ctor_release(x_2429, 3); - lean_ctor_release(x_2429, 4); - x_2445 = x_2429; -} else { - lean_dec_ref(x_2429); - x_2445 = lean_box(0); -} -lean_inc(x_2413); -if (lean_is_scalar(x_2445)) { - x_2446 = lean_alloc_ctor(0, 5, 0); -} else { - x_2446 = x_2445; -} -lean_ctor_set(x_2446, 0, x_2441); -lean_ctor_set(x_2446, 1, x_2413); -lean_ctor_set(x_2446, 2, x_2442); -lean_ctor_set(x_2446, 3, x_2443); -lean_ctor_set(x_2446, 4, x_2444); -if (lean_is_scalar(x_2440)) { - x_2447 = lean_alloc_ctor(0, 10, 1); -} else { - x_2447 = x_2440; -} -lean_ctor_set(x_2447, 0, x_2446); -lean_ctor_set(x_2447, 1, x_2430); -lean_ctor_set(x_2447, 2, x_2431); -lean_ctor_set(x_2447, 3, x_2432); -lean_ctor_set(x_2447, 4, x_2433); -lean_ctor_set(x_2447, 5, x_2434); -lean_ctor_set(x_2447, 6, x_2435); -lean_ctor_set(x_2447, 7, x_2436); -lean_ctor_set(x_2447, 8, x_2437); -lean_ctor_set(x_2447, 9, x_2438); -lean_ctor_set_uint8(x_2447, sizeof(void*)*10, x_2439); -x_2448 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2428, x_2447, x_2416); -if (lean_obj_tag(x_2448) == 0) -{ -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; -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 = l_Lean_mkFVar(x_2402); -x_2453 = l_Lean_FileMap_ofString___closed__1; -x_2454 = lean_array_push(x_2453, x_2452); -x_2455 = l_Lean_LocalContext_mkLambda(x_2413, x_2454, x_2449); -lean_dec(x_2449); -lean_dec(x_2454); -if (lean_is_scalar(x_2451)) { - x_2456 = lean_alloc_ctor(0, 2, 0); -} else { - x_2456 = x_2451; -} -lean_ctor_set(x_2456, 0, x_2455); -lean_ctor_set(x_2456, 1, x_2450); -return x_2456; -} -else -{ -lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; -lean_dec(x_2413); -lean_dec(x_2402); -x_2457 = lean_ctor_get(x_2448, 0); +x_2455 = lean_ctor_get(x_2442, 0); +lean_inc(x_2455); +x_2456 = lean_ctor_get(x_2442, 2); +lean_inc(x_2456); +x_2457 = lean_ctor_get(x_2442, 3); lean_inc(x_2457); -x_2458 = lean_ctor_get(x_2448, 1); +x_2458 = lean_ctor_get(x_2442, 4); lean_inc(x_2458); -if (lean_is_exclusive(x_2448)) { - lean_ctor_release(x_2448, 0); - lean_ctor_release(x_2448, 1); - x_2459 = x_2448; +if (lean_is_exclusive(x_2442)) { + lean_ctor_release(x_2442, 0); + lean_ctor_release(x_2442, 1); + lean_ctor_release(x_2442, 2); + lean_ctor_release(x_2442, 3); + lean_ctor_release(x_2442, 4); + x_2459 = x_2442; } else { - lean_dec_ref(x_2448); + lean_dec_ref(x_2442); x_2459 = lean_box(0); } +lean_inc(x_2426); if (lean_is_scalar(x_2459)) { - x_2460 = lean_alloc_ctor(1, 2, 0); + x_2460 = lean_alloc_ctor(0, 5, 0); } else { x_2460 = x_2459; } -lean_ctor_set(x_2460, 0, x_2457); -lean_ctor_set(x_2460, 1, x_2458); -return x_2460; +lean_ctor_set(x_2460, 0, x_2455); +lean_ctor_set(x_2460, 1, x_2426); +lean_ctor_set(x_2460, 2, x_2456); +lean_ctor_set(x_2460, 3, x_2457); +lean_ctor_set(x_2460, 4, x_2458); +if (lean_is_scalar(x_2454)) { + x_2461 = lean_alloc_ctor(0, 10, 2); +} else { + x_2461 = x_2454; } +lean_ctor_set(x_2461, 0, x_2460); +lean_ctor_set(x_2461, 1, x_2443); +lean_ctor_set(x_2461, 2, x_2444); +lean_ctor_set(x_2461, 3, x_2445); +lean_ctor_set(x_2461, 4, x_2446); +lean_ctor_set(x_2461, 5, x_2447); +lean_ctor_set(x_2461, 6, x_2448); +lean_ctor_set(x_2461, 7, x_2449); +lean_ctor_set(x_2461, 8, x_2450); +lean_ctor_set(x_2461, 9, x_2451); +lean_ctor_set_uint8(x_2461, sizeof(void*)*10, x_2452); +lean_ctor_set_uint8(x_2461, sizeof(void*)*10 + 1, x_2453); +x_2462 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2441, x_2461, x_2429); +if (lean_obj_tag(x_2462) == 0) +{ +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; +x_2463 = lean_ctor_get(x_2462, 0); +lean_inc(x_2463); +x_2464 = lean_ctor_get(x_2462, 1); +lean_inc(x_2464); +if (lean_is_exclusive(x_2462)) { + lean_ctor_release(x_2462, 0); + lean_ctor_release(x_2462, 1); + x_2465 = x_2462; +} else { + lean_dec_ref(x_2462); + x_2465 = lean_box(0); +} +x_2466 = l_Lean_mkFVar(x_2415); +x_2467 = l_Lean_FileMap_ofString___closed__1; +x_2468 = lean_array_push(x_2467, x_2466); +x_2469 = l_Lean_LocalContext_mkLambda(x_2426, x_2468, x_2463); +lean_dec(x_2463); +lean_dec(x_2468); +if (lean_is_scalar(x_2465)) { + x_2470 = lean_alloc_ctor(0, 2, 0); +} else { + x_2470 = x_2465; +} +lean_ctor_set(x_2470, 0, x_2469); +lean_ctor_set(x_2470, 1, x_2464); +return x_2470; } else { -lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; -lean_dec(x_2402); -lean_dec(x_2394); -lean_dec(x_2387); -lean_dec(x_2385); -lean_dec(x_2); -x_2461 = lean_ctor_get(x_2406, 0); -lean_inc(x_2461); -x_2462 = lean_ctor_get(x_2406, 1); -lean_inc(x_2462); -if (lean_is_exclusive(x_2406)) { - lean_ctor_release(x_2406, 0); - lean_ctor_release(x_2406, 1); - x_2463 = x_2406; -} else { - lean_dec_ref(x_2406); - x_2463 = lean_box(0); -} -if (lean_is_scalar(x_2463)) { - x_2464 = lean_alloc_ctor(1, 2, 0); -} else { - x_2464 = x_2463; -} -lean_ctor_set(x_2464, 0, x_2461); -lean_ctor_set(x_2464, 1, x_2462); -return x_2464; -} -} -else -{ -lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; uint8_t 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; uint8_t 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_dec(x_2391); -x_2465 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_2466 = lean_name_mk_string(x_117, x_2465); -x_2467 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_2468 = lean_ctor_get(x_2467, 0); -lean_inc(x_2468); -x_2469 = lean_ctor_get(x_2467, 1); -lean_inc(x_2469); -lean_dec(x_2467); -x_2470 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_2471 = 0; -lean_inc_n(x_2466, 2); -x_2472 = lean_local_ctx_mk_local_decl(x_2468, x_2466, x_2466, x_2470, x_2471); -x_2473 = l_Array_eraseIdx___rarg(x_2385, x_2389); -x_2474 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2469); -x_2475 = lean_ctor_get(x_2474, 1); -lean_inc(x_2475); -lean_dec(x_2474); -x_2476 = lean_name_mk_string(x_2394, x_2217); -x_2477 = l_Lean_nullKind___closed__1; -x_2478 = lean_name_mk_string(x_117, x_2477); -x_2479 = l_Array_empty___closed__1; -x_2480 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2473, x_2473, x_2389, x_2479); -lean_dec(x_2473); -x_2481 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2481, 0, x_2478); -lean_ctor_set(x_2481, 1, x_2480); -x_2482 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2483 = lean_array_push(x_2482, x_2481); -x_2484 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2485 = lean_array_push(x_2483, x_2484); -x_2486 = lean_array_push(x_2485, x_2387); -x_2487 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2487, 0, x_2476); -lean_ctor_set(x_2487, 1, x_2486); -x_2488 = lean_ctor_get(x_2, 0); -lean_inc(x_2488); -x_2489 = lean_ctor_get(x_2, 1); -lean_inc(x_2489); -x_2490 = lean_ctor_get(x_2, 2); -lean_inc(x_2490); -x_2491 = lean_ctor_get(x_2, 3); -lean_inc(x_2491); -x_2492 = lean_ctor_get(x_2, 4); -lean_inc(x_2492); -x_2493 = lean_ctor_get(x_2, 5); -lean_inc(x_2493); -x_2494 = lean_ctor_get(x_2, 6); -lean_inc(x_2494); -x_2495 = lean_ctor_get(x_2, 7); -lean_inc(x_2495); -x_2496 = lean_ctor_get(x_2, 8); -lean_inc(x_2496); -x_2497 = lean_ctor_get(x_2, 9); -lean_inc(x_2497); -x_2498 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -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); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_2499 = x_2; -} else { - lean_dec_ref(x_2); - x_2499 = lean_box(0); -} -x_2500 = lean_ctor_get(x_2488, 0); -lean_inc(x_2500); -x_2501 = lean_ctor_get(x_2488, 2); -lean_inc(x_2501); -x_2502 = lean_ctor_get(x_2488, 3); -lean_inc(x_2502); -x_2503 = lean_ctor_get(x_2488, 4); -lean_inc(x_2503); -if (lean_is_exclusive(x_2488)) { - lean_ctor_release(x_2488, 0); - lean_ctor_release(x_2488, 1); - lean_ctor_release(x_2488, 2); - lean_ctor_release(x_2488, 3); - lean_ctor_release(x_2488, 4); - x_2504 = x_2488; -} else { - lean_dec_ref(x_2488); - x_2504 = lean_box(0); -} +lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; +lean_dec(x_2426); +lean_dec(x_2415); +x_2471 = lean_ctor_get(x_2462, 0); +lean_inc(x_2471); +x_2472 = lean_ctor_get(x_2462, 1); lean_inc(x_2472); -if (lean_is_scalar(x_2504)) { - x_2505 = lean_alloc_ctor(0, 5, 0); +if (lean_is_exclusive(x_2462)) { + lean_ctor_release(x_2462, 0); + lean_ctor_release(x_2462, 1); + x_2473 = x_2462; } else { - x_2505 = x_2504; + lean_dec_ref(x_2462); + x_2473 = lean_box(0); } -lean_ctor_set(x_2505, 0, x_2500); -lean_ctor_set(x_2505, 1, x_2472); -lean_ctor_set(x_2505, 2, x_2501); -lean_ctor_set(x_2505, 3, x_2502); -lean_ctor_set(x_2505, 4, x_2503); -if (lean_is_scalar(x_2499)) { - x_2506 = lean_alloc_ctor(0, 10, 1); +if (lean_is_scalar(x_2473)) { + x_2474 = lean_alloc_ctor(1, 2, 0); } else { - x_2506 = x_2499; + x_2474 = x_2473; } -lean_ctor_set(x_2506, 0, x_2505); -lean_ctor_set(x_2506, 1, x_2489); -lean_ctor_set(x_2506, 2, x_2490); -lean_ctor_set(x_2506, 3, x_2491); -lean_ctor_set(x_2506, 4, x_2492); -lean_ctor_set(x_2506, 5, x_2493); -lean_ctor_set(x_2506, 6, x_2494); -lean_ctor_set(x_2506, 7, x_2495); -lean_ctor_set(x_2506, 8, x_2496); -lean_ctor_set(x_2506, 9, x_2497); -lean_ctor_set_uint8(x_2506, sizeof(void*)*10, x_2498); -x_2507 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2487, x_2506, x_2475); -if (lean_obj_tag(x_2507) == 0) +lean_ctor_set(x_2474, 0, x_2471); +lean_ctor_set(x_2474, 1, x_2472); +return x_2474; +} +} +else { -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; -x_2508 = lean_ctor_get(x_2507, 0); +lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; +lean_dec(x_2415); +lean_dec(x_2407); +lean_dec(x_2400); +lean_dec(x_2398); +lean_dec(x_2); +x_2475 = lean_ctor_get(x_2419, 0); +lean_inc(x_2475); +x_2476 = lean_ctor_get(x_2419, 1); +lean_inc(x_2476); +if (lean_is_exclusive(x_2419)) { + lean_ctor_release(x_2419, 0); + lean_ctor_release(x_2419, 1); + x_2477 = x_2419; +} else { + lean_dec_ref(x_2419); + x_2477 = lean_box(0); +} +if (lean_is_scalar(x_2477)) { + x_2478 = lean_alloc_ctor(1, 2, 0); +} else { + x_2478 = x_2477; +} +lean_ctor_set(x_2478, 0, x_2475); +lean_ctor_set(x_2478, 1, x_2476); +return x_2478; +} +} +else +{ +lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; uint8_t 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; uint8_t x_2512; uint8_t 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_dec(x_2404); +x_2479 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_2480 = lean_name_mk_string(x_118, x_2479); +x_2481 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_2482 = lean_ctor_get(x_2481, 0); +lean_inc(x_2482); +x_2483 = lean_ctor_get(x_2481, 1); +lean_inc(x_2483); +lean_dec(x_2481); +x_2484 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_2485 = 0; +lean_inc_n(x_2480, 2); +x_2486 = lean_local_ctx_mk_local_decl(x_2482, x_2480, x_2480, x_2484, x_2485); +x_2487 = l_Array_eraseIdx___rarg(x_2398, x_2402); +x_2488 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2483); +x_2489 = lean_ctor_get(x_2488, 1); +lean_inc(x_2489); +lean_dec(x_2488); +x_2490 = lean_name_mk_string(x_2407, x_2230); +x_2491 = l_Lean_nullKind___closed__1; +x_2492 = lean_name_mk_string(x_118, x_2491); +x_2493 = l_Array_empty___closed__1; +x_2494 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2487, x_2487, x_2402, x_2493); +lean_dec(x_2487); +x_2495 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2495, 0, x_2492); +lean_ctor_set(x_2495, 1, x_2494); +x_2496 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2497 = lean_array_push(x_2496, x_2495); +x_2498 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2499 = lean_array_push(x_2497, x_2498); +x_2500 = lean_array_push(x_2499, x_2400); +x_2501 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2501, 0, x_2490); +lean_ctor_set(x_2501, 1, x_2500); +x_2502 = lean_ctor_get(x_2, 0); +lean_inc(x_2502); +x_2503 = lean_ctor_get(x_2, 1); +lean_inc(x_2503); +x_2504 = lean_ctor_get(x_2, 2); +lean_inc(x_2504); +x_2505 = lean_ctor_get(x_2, 3); +lean_inc(x_2505); +x_2506 = lean_ctor_get(x_2, 4); +lean_inc(x_2506); +x_2507 = lean_ctor_get(x_2, 5); +lean_inc(x_2507); +x_2508 = lean_ctor_get(x_2, 6); lean_inc(x_2508); -x_2509 = lean_ctor_get(x_2507, 1); +x_2509 = lean_ctor_get(x_2, 7); lean_inc(x_2509); -if (lean_is_exclusive(x_2507)) { - lean_ctor_release(x_2507, 0); - lean_ctor_release(x_2507, 1); - x_2510 = x_2507; -} else { - lean_dec_ref(x_2507); - x_2510 = lean_box(0); -} -x_2511 = l_Lean_mkFVar(x_2466); -x_2512 = l_Lean_FileMap_ofString___closed__1; -x_2513 = lean_array_push(x_2512, x_2511); -x_2514 = l_Lean_LocalContext_mkLambda(x_2472, x_2513, x_2508); -lean_dec(x_2508); -lean_dec(x_2513); -if (lean_is_scalar(x_2510)) { - x_2515 = lean_alloc_ctor(0, 2, 0); -} else { - x_2515 = x_2510; -} -lean_ctor_set(x_2515, 0, x_2514); -lean_ctor_set(x_2515, 1, x_2509); -return x_2515; -} -else -{ -lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; -lean_dec(x_2472); -lean_dec(x_2466); -x_2516 = lean_ctor_get(x_2507, 0); -lean_inc(x_2516); -x_2517 = lean_ctor_get(x_2507, 1); -lean_inc(x_2517); -if (lean_is_exclusive(x_2507)) { - lean_ctor_release(x_2507, 0); - lean_ctor_release(x_2507, 1); - x_2518 = x_2507; -} else { - lean_dec_ref(x_2507); - x_2518 = lean_box(0); -} -if (lean_is_scalar(x_2518)) { - x_2519 = lean_alloc_ctor(1, 2, 0); -} else { - x_2519 = x_2518; -} -lean_ctor_set(x_2519, 0, x_2516); -lean_ctor_set(x_2519, 1, x_2517); -return x_2519; -} -} -} -else -{ -lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; uint8_t 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; uint8_t 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; -x_2520 = l_Lean_Syntax_getIdAt(x_2391, x_2389); -lean_dec(x_2391); -x_2521 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_2522 = lean_ctor_get(x_2521, 0); -lean_inc(x_2522); -x_2523 = lean_ctor_get(x_2521, 1); -lean_inc(x_2523); -lean_dec(x_2521); -x_2524 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; -x_2525 = 0; -lean_inc_n(x_2520, 2); -x_2526 = lean_local_ctx_mk_local_decl(x_2522, x_2520, x_2520, x_2524, x_2525); -x_2527 = l_Array_eraseIdx___rarg(x_2385, x_2389); -x_2528 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2523); -x_2529 = lean_ctor_get(x_2528, 1); -lean_inc(x_2529); -lean_dec(x_2528); -x_2530 = lean_name_mk_string(x_2394, x_2217); -x_2531 = l_Lean_nullKind___closed__1; -x_2532 = lean_name_mk_string(x_117, x_2531); -x_2533 = l_Array_empty___closed__1; -x_2534 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2527, x_2527, x_2389, x_2533); -lean_dec(x_2527); -x_2535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2535, 0, x_2532); -lean_ctor_set(x_2535, 1, x_2534); -x_2536 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2537 = lean_array_push(x_2536, x_2535); -x_2538 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2539 = lean_array_push(x_2537, x_2538); -x_2540 = lean_array_push(x_2539, x_2387); -x_2541 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2541, 0, x_2530); -lean_ctor_set(x_2541, 1, x_2540); -x_2542 = lean_ctor_get(x_2, 0); -lean_inc(x_2542); -x_2543 = lean_ctor_get(x_2, 1); -lean_inc(x_2543); -x_2544 = lean_ctor_get(x_2, 2); -lean_inc(x_2544); -x_2545 = lean_ctor_get(x_2, 3); -lean_inc(x_2545); -x_2546 = lean_ctor_get(x_2, 4); -lean_inc(x_2546); -x_2547 = lean_ctor_get(x_2, 5); -lean_inc(x_2547); -x_2548 = lean_ctor_get(x_2, 6); -lean_inc(x_2548); -x_2549 = lean_ctor_get(x_2, 7); -lean_inc(x_2549); -x_2550 = lean_ctor_get(x_2, 8); -lean_inc(x_2550); -x_2551 = lean_ctor_get(x_2, 9); -lean_inc(x_2551); -x_2552 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2510 = lean_ctor_get(x_2, 8); +lean_inc(x_2510); +x_2511 = lean_ctor_get(x_2, 9); +lean_inc(x_2511); +x_2512 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2513 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -23479,553 +23359,735 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2553 = x_2; + x_2514 = x_2; } else { lean_dec_ref(x_2); - x_2553 = lean_box(0); + x_2514 = lean_box(0); } -x_2554 = lean_ctor_get(x_2542, 0); -lean_inc(x_2554); -x_2555 = lean_ctor_get(x_2542, 2); -lean_inc(x_2555); -x_2556 = lean_ctor_get(x_2542, 3); -lean_inc(x_2556); -x_2557 = lean_ctor_get(x_2542, 4); +x_2515 = lean_ctor_get(x_2502, 0); +lean_inc(x_2515); +x_2516 = lean_ctor_get(x_2502, 2); +lean_inc(x_2516); +x_2517 = lean_ctor_get(x_2502, 3); +lean_inc(x_2517); +x_2518 = lean_ctor_get(x_2502, 4); +lean_inc(x_2518); +if (lean_is_exclusive(x_2502)) { + lean_ctor_release(x_2502, 0); + lean_ctor_release(x_2502, 1); + lean_ctor_release(x_2502, 2); + lean_ctor_release(x_2502, 3); + lean_ctor_release(x_2502, 4); + x_2519 = x_2502; +} else { + lean_dec_ref(x_2502); + x_2519 = lean_box(0); +} +lean_inc(x_2486); +if (lean_is_scalar(x_2519)) { + x_2520 = lean_alloc_ctor(0, 5, 0); +} else { + x_2520 = x_2519; +} +lean_ctor_set(x_2520, 0, x_2515); +lean_ctor_set(x_2520, 1, x_2486); +lean_ctor_set(x_2520, 2, x_2516); +lean_ctor_set(x_2520, 3, x_2517); +lean_ctor_set(x_2520, 4, x_2518); +if (lean_is_scalar(x_2514)) { + x_2521 = lean_alloc_ctor(0, 10, 2); +} else { + x_2521 = x_2514; +} +lean_ctor_set(x_2521, 0, x_2520); +lean_ctor_set(x_2521, 1, x_2503); +lean_ctor_set(x_2521, 2, x_2504); +lean_ctor_set(x_2521, 3, x_2505); +lean_ctor_set(x_2521, 4, x_2506); +lean_ctor_set(x_2521, 5, x_2507); +lean_ctor_set(x_2521, 6, x_2508); +lean_ctor_set(x_2521, 7, x_2509); +lean_ctor_set(x_2521, 8, x_2510); +lean_ctor_set(x_2521, 9, x_2511); +lean_ctor_set_uint8(x_2521, sizeof(void*)*10, x_2512); +lean_ctor_set_uint8(x_2521, sizeof(void*)*10 + 1, x_2513); +x_2522 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2501, x_2521, x_2489); +if (lean_obj_tag(x_2522) == 0) +{ +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; +x_2523 = lean_ctor_get(x_2522, 0); +lean_inc(x_2523); +x_2524 = lean_ctor_get(x_2522, 1); +lean_inc(x_2524); +if (lean_is_exclusive(x_2522)) { + lean_ctor_release(x_2522, 0); + lean_ctor_release(x_2522, 1); + x_2525 = x_2522; +} else { + lean_dec_ref(x_2522); + x_2525 = lean_box(0); +} +x_2526 = l_Lean_mkFVar(x_2480); +x_2527 = l_Lean_FileMap_ofString___closed__1; +x_2528 = lean_array_push(x_2527, x_2526); +x_2529 = l_Lean_LocalContext_mkLambda(x_2486, x_2528, x_2523); +lean_dec(x_2523); +lean_dec(x_2528); +if (lean_is_scalar(x_2525)) { + x_2530 = lean_alloc_ctor(0, 2, 0); +} else { + x_2530 = x_2525; +} +lean_ctor_set(x_2530, 0, x_2529); +lean_ctor_set(x_2530, 1, x_2524); +return x_2530; +} +else +{ +lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; +lean_dec(x_2486); +lean_dec(x_2480); +x_2531 = lean_ctor_get(x_2522, 0); +lean_inc(x_2531); +x_2532 = lean_ctor_get(x_2522, 1); +lean_inc(x_2532); +if (lean_is_exclusive(x_2522)) { + lean_ctor_release(x_2522, 0); + lean_ctor_release(x_2522, 1); + x_2533 = x_2522; +} else { + lean_dec_ref(x_2522); + x_2533 = lean_box(0); +} +if (lean_is_scalar(x_2533)) { + x_2534 = lean_alloc_ctor(1, 2, 0); +} else { + x_2534 = x_2533; +} +lean_ctor_set(x_2534, 0, x_2531); +lean_ctor_set(x_2534, 1, x_2532); +return x_2534; +} +} +} +else +{ +lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; uint8_t 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; uint8_t x_2567; uint8_t 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; +x_2535 = l_Lean_Syntax_getIdAt(x_2404, x_2402); +lean_dec(x_2404); +x_2536 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_2537 = lean_ctor_get(x_2536, 0); +lean_inc(x_2537); +x_2538 = lean_ctor_get(x_2536, 1); +lean_inc(x_2538); +lean_dec(x_2536); +x_2539 = l___private_Init_Lean_Elab_Quotation_13__exprPlaceholder; +x_2540 = 0; +lean_inc_n(x_2535, 2); +x_2541 = lean_local_ctx_mk_local_decl(x_2537, x_2535, x_2535, x_2539, x_2540); +x_2542 = l_Array_eraseIdx___rarg(x_2398, x_2402); +x_2543 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2538); +x_2544 = lean_ctor_get(x_2543, 1); +lean_inc(x_2544); +lean_dec(x_2543); +x_2545 = lean_name_mk_string(x_2407, x_2230); +x_2546 = l_Lean_nullKind___closed__1; +x_2547 = lean_name_mk_string(x_118, x_2546); +x_2548 = l_Array_empty___closed__1; +x_2549 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2542, x_2542, x_2402, x_2548); +lean_dec(x_2542); +x_2550 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2550, 0, x_2547); +lean_ctor_set(x_2550, 1, x_2549); +x_2551 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2552 = lean_array_push(x_2551, x_2550); +x_2553 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2554 = lean_array_push(x_2552, x_2553); +x_2555 = lean_array_push(x_2554, x_2400); +x_2556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2556, 0, x_2545); +lean_ctor_set(x_2556, 1, x_2555); +x_2557 = lean_ctor_get(x_2, 0); lean_inc(x_2557); -if (lean_is_exclusive(x_2542)) { - lean_ctor_release(x_2542, 0); - lean_ctor_release(x_2542, 1); - lean_ctor_release(x_2542, 2); - lean_ctor_release(x_2542, 3); - lean_ctor_release(x_2542, 4); - x_2558 = x_2542; -} else { - lean_dec_ref(x_2542); - x_2558 = lean_box(0); -} -lean_inc(x_2526); -if (lean_is_scalar(x_2558)) { - x_2559 = lean_alloc_ctor(0, 5, 0); -} else { - x_2559 = x_2558; -} -lean_ctor_set(x_2559, 0, x_2554); -lean_ctor_set(x_2559, 1, x_2526); -lean_ctor_set(x_2559, 2, x_2555); -lean_ctor_set(x_2559, 3, x_2556); -lean_ctor_set(x_2559, 4, x_2557); -if (lean_is_scalar(x_2553)) { - x_2560 = lean_alloc_ctor(0, 10, 1); -} else { - x_2560 = x_2553; -} -lean_ctor_set(x_2560, 0, x_2559); -lean_ctor_set(x_2560, 1, x_2543); -lean_ctor_set(x_2560, 2, x_2544); -lean_ctor_set(x_2560, 3, x_2545); -lean_ctor_set(x_2560, 4, x_2546); -lean_ctor_set(x_2560, 5, x_2547); -lean_ctor_set(x_2560, 6, x_2548); -lean_ctor_set(x_2560, 7, x_2549); -lean_ctor_set(x_2560, 8, x_2550); -lean_ctor_set(x_2560, 9, x_2551); -lean_ctor_set_uint8(x_2560, sizeof(void*)*10, x_2552); -x_2561 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2541, x_2560, x_2529); -if (lean_obj_tag(x_2561) == 0) -{ -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; -x_2562 = lean_ctor_get(x_2561, 0); +x_2558 = lean_ctor_get(x_2, 1); +lean_inc(x_2558); +x_2559 = lean_ctor_get(x_2, 2); +lean_inc(x_2559); +x_2560 = lean_ctor_get(x_2, 3); +lean_inc(x_2560); +x_2561 = lean_ctor_get(x_2, 4); +lean_inc(x_2561); +x_2562 = lean_ctor_get(x_2, 5); lean_inc(x_2562); -x_2563 = lean_ctor_get(x_2561, 1); +x_2563 = lean_ctor_get(x_2, 6); lean_inc(x_2563); -if (lean_is_exclusive(x_2561)) { - lean_ctor_release(x_2561, 0); - lean_ctor_release(x_2561, 1); - x_2564 = x_2561; +x_2564 = lean_ctor_get(x_2, 7); +lean_inc(x_2564); +x_2565 = lean_ctor_get(x_2, 8); +lean_inc(x_2565); +x_2566 = lean_ctor_get(x_2, 9); +lean_inc(x_2566); +x_2567 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2568 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +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); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_2569 = x_2; } else { - lean_dec_ref(x_2561); - x_2564 = lean_box(0); + lean_dec_ref(x_2); + x_2569 = lean_box(0); } -x_2565 = l_Lean_mkFVar(x_2520); -x_2566 = l_Lean_FileMap_ofString___closed__1; -x_2567 = lean_array_push(x_2566, x_2565); -x_2568 = l_Lean_LocalContext_mkLambda(x_2526, x_2567, x_2562); -lean_dec(x_2562); -lean_dec(x_2567); -if (lean_is_scalar(x_2564)) { - x_2569 = lean_alloc_ctor(0, 2, 0); -} else { - x_2569 = x_2564; -} -lean_ctor_set(x_2569, 0, x_2568); -lean_ctor_set(x_2569, 1, x_2563); -return x_2569; -} -else -{ -lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; -lean_dec(x_2526); -lean_dec(x_2520); -x_2570 = lean_ctor_get(x_2561, 0); +x_2570 = lean_ctor_get(x_2557, 0); lean_inc(x_2570); -x_2571 = lean_ctor_get(x_2561, 1); +x_2571 = lean_ctor_get(x_2557, 2); lean_inc(x_2571); -if (lean_is_exclusive(x_2561)) { - lean_ctor_release(x_2561, 0); - lean_ctor_release(x_2561, 1); - x_2572 = x_2561; +x_2572 = lean_ctor_get(x_2557, 3); +lean_inc(x_2572); +x_2573 = lean_ctor_get(x_2557, 4); +lean_inc(x_2573); +if (lean_is_exclusive(x_2557)) { + lean_ctor_release(x_2557, 0); + lean_ctor_release(x_2557, 1); + lean_ctor_release(x_2557, 2); + lean_ctor_release(x_2557, 3); + lean_ctor_release(x_2557, 4); + x_2574 = x_2557; } else { - lean_dec_ref(x_2561); - x_2572 = lean_box(0); + lean_dec_ref(x_2557); + x_2574 = lean_box(0); } -if (lean_is_scalar(x_2572)) { - x_2573 = lean_alloc_ctor(1, 2, 0); +lean_inc(x_2541); +if (lean_is_scalar(x_2574)) { + x_2575 = lean_alloc_ctor(0, 5, 0); } else { - x_2573 = x_2572; + x_2575 = x_2574; } -lean_ctor_set(x_2573, 0, x_2570); -lean_ctor_set(x_2573, 1, x_2571); -return x_2573; +lean_ctor_set(x_2575, 0, x_2570); +lean_ctor_set(x_2575, 1, x_2541); +lean_ctor_set(x_2575, 2, x_2571); +lean_ctor_set(x_2575, 3, x_2572); +lean_ctor_set(x_2575, 4, x_2573); +if (lean_is_scalar(x_2569)) { + x_2576 = lean_alloc_ctor(0, 10, 2); +} else { + x_2576 = x_2569; +} +lean_ctor_set(x_2576, 0, x_2575); +lean_ctor_set(x_2576, 1, x_2558); +lean_ctor_set(x_2576, 2, x_2559); +lean_ctor_set(x_2576, 3, x_2560); +lean_ctor_set(x_2576, 4, x_2561); +lean_ctor_set(x_2576, 5, x_2562); +lean_ctor_set(x_2576, 6, x_2563); +lean_ctor_set(x_2576, 7, x_2564); +lean_ctor_set(x_2576, 8, x_2565); +lean_ctor_set(x_2576, 9, x_2566); +lean_ctor_set_uint8(x_2576, sizeof(void*)*10, x_2567); +lean_ctor_set_uint8(x_2576, sizeof(void*)*10 + 1, x_2568); +x_2577 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_2556, x_2576, x_2544); +if (lean_obj_tag(x_2577) == 0) +{ +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; +x_2578 = lean_ctor_get(x_2577, 0); +lean_inc(x_2578); +x_2579 = lean_ctor_get(x_2577, 1); +lean_inc(x_2579); +if (lean_is_exclusive(x_2577)) { + lean_ctor_release(x_2577, 0); + lean_ctor_release(x_2577, 1); + x_2580 = x_2577; +} else { + lean_dec_ref(x_2577); + x_2580 = lean_box(0); +} +x_2581 = l_Lean_mkFVar(x_2535); +x_2582 = l_Lean_FileMap_ofString___closed__1; +x_2583 = lean_array_push(x_2582, x_2581); +x_2584 = l_Lean_LocalContext_mkLambda(x_2541, x_2583, x_2578); +lean_dec(x_2578); +lean_dec(x_2583); +if (lean_is_scalar(x_2580)) { + x_2585 = lean_alloc_ctor(0, 2, 0); +} else { + x_2585 = x_2580; +} +lean_ctor_set(x_2585, 0, x_2584); +lean_ctor_set(x_2585, 1, x_2579); +return x_2585; +} +else +{ +lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; +lean_dec(x_2541); +lean_dec(x_2535); +x_2586 = lean_ctor_get(x_2577, 0); +lean_inc(x_2586); +x_2587 = lean_ctor_get(x_2577, 1); +lean_inc(x_2587); +if (lean_is_exclusive(x_2577)) { + lean_ctor_release(x_2577, 0); + lean_ctor_release(x_2577, 1); + x_2588 = x_2577; +} else { + lean_dec_ref(x_2577); + x_2588 = lean_box(0); +} +if (lean_is_scalar(x_2588)) { + x_2589 = lean_alloc_ctor(1, 2, 0); +} else { + x_2589 = x_2588; +} +lean_ctor_set(x_2589, 0, x_2586); +lean_ctor_set(x_2589, 1, x_2587); +return x_2589; } } } else { -lean_dec(x_2385); -x_1 = x_2387; +lean_dec(x_2398); +x_1 = x_2400; goto _start; } } } else { -lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; -lean_dec(x_2188); -lean_dec(x_2184); -lean_dec(x_2181); -lean_dec(x_118); -x_2575 = l_Lean_Syntax_inhabited; -x_2576 = lean_unsigned_to_nat(0u); -x_2577 = lean_array_get(x_2575, x_4, x_2576); +lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; +lean_dec(x_2201); +lean_dec(x_2197); +lean_dec(x_2194); +lean_dec(x_119); +x_2591 = l_Lean_Syntax_inhabited; +x_2592 = lean_unsigned_to_nat(0u); +x_2593 = lean_array_get(x_2591, x_4, x_2592); lean_dec(x_4); -if (lean_obj_tag(x_2577) == 3) +if (lean_obj_tag(x_2593) == 3) { -lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; -x_2578 = lean_ctor_get(x_2577, 2); -lean_inc(x_2578); -x_2579 = lean_ctor_get(x_2577, 3); -lean_inc(x_2579); -lean_dec(x_2577); -x_2580 = lean_box(0); +lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; +x_2594 = lean_ctor_get(x_2593, 2); +lean_inc(x_2594); +x_2595 = lean_ctor_get(x_2593, 3); +lean_inc(x_2595); +lean_dec(x_2593); +x_2596 = lean_box(0); lean_inc(x_2); -x_2581 = l_Lean_Elab_Term_resolveName(x_1, x_2578, x_2579, x_2580, x_2, x_3); +x_2597 = l_Lean_Elab_Term_resolveName(x_1, x_2594, x_2595, x_2596, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_2581) == 0) +if (lean_obj_tag(x_2597) == 0) { -lean_object* x_2582; -x_2582 = lean_ctor_get(x_2581, 0); -lean_inc(x_2582); -if (lean_obj_tag(x_2582) == 0) +lean_object* x_2598; +x_2598 = lean_ctor_get(x_2597, 0); +lean_inc(x_2598); +if (lean_obj_tag(x_2598) == 0) { -lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; -x_2583 = lean_ctor_get(x_2581, 1); -lean_inc(x_2583); -lean_dec(x_2581); -x_2584 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_2585 = l_unreachable_x21___rarg(x_2584); -x_2586 = lean_apply_2(x_2585, x_2, x_2583); -return x_2586; +lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; +x_2599 = lean_ctor_get(x_2597, 1); +lean_inc(x_2599); +lean_dec(x_2597); +x_2600 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_2601 = l_unreachable_x21___rarg(x_2600); +x_2602 = lean_apply_2(x_2601, x_2, x_2599); +return x_2602; } else { -lean_object* x_2587; lean_object* x_2588; +lean_object* x_2603; lean_object* x_2604; lean_dec(x_2); -x_2587 = lean_ctor_get(x_2582, 0); -lean_inc(x_2587); -lean_dec(x_2582); -x_2588 = lean_ctor_get(x_2587, 0); -lean_inc(x_2588); -switch (lean_obj_tag(x_2588)) { +x_2603 = lean_ctor_get(x_2598, 0); +lean_inc(x_2603); +lean_dec(x_2598); +x_2604 = lean_ctor_get(x_2603, 0); +lean_inc(x_2604); +switch (lean_obj_tag(x_2604)) { case 0: { -lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; -x_2589 = lean_ctor_get(x_2581, 1); -lean_inc(x_2589); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2590 = x_2581; +lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; lean_object* x_2609; +x_2605 = lean_ctor_get(x_2597, 1); +lean_inc(x_2605); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2606 = x_2597; } else { - lean_dec_ref(x_2581); - x_2590 = lean_box(0); + lean_dec_ref(x_2597); + x_2606 = lean_box(0); } -x_2591 = lean_ctor_get(x_2587, 1); -lean_inc(x_2591); -lean_dec(x_2587); -x_2592 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_117, x_2588, x_2591); -if (lean_is_scalar(x_2590)) { - x_2593 = lean_alloc_ctor(0, 2, 0); +x_2607 = lean_ctor_get(x_2603, 1); +lean_inc(x_2607); +lean_dec(x_2603); +x_2608 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__2(x_118, x_2604, x_2607); +if (lean_is_scalar(x_2606)) { + x_2609 = lean_alloc_ctor(0, 2, 0); } else { - x_2593 = x_2590; + x_2609 = x_2606; } -lean_ctor_set(x_2593, 0, x_2592); -lean_ctor_set(x_2593, 1, x_2589); -return x_2593; +lean_ctor_set(x_2609, 0, x_2608); +lean_ctor_set(x_2609, 1, x_2605); +return x_2609; } case 1: { -lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; -x_2594 = lean_ctor_get(x_2581, 1); -lean_inc(x_2594); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2595 = x_2581; +lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; +x_2610 = lean_ctor_get(x_2597, 1); +lean_inc(x_2610); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2611 = x_2597; } else { - lean_dec_ref(x_2581); - x_2595 = lean_box(0); + lean_dec_ref(x_2597); + x_2611 = lean_box(0); } -x_2596 = lean_ctor_get(x_2587, 1); -lean_inc(x_2596); -lean_dec(x_2587); -x_2597 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_117, x_2588, x_2596); -if (lean_is_scalar(x_2595)) { - x_2598 = lean_alloc_ctor(0, 2, 0); +x_2612 = lean_ctor_get(x_2603, 1); +lean_inc(x_2612); +lean_dec(x_2603); +x_2613 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__3(x_118, x_2604, x_2612); +if (lean_is_scalar(x_2611)) { + x_2614 = lean_alloc_ctor(0, 2, 0); } else { - x_2598 = x_2595; + x_2614 = x_2611; } -lean_ctor_set(x_2598, 0, x_2597); -lean_ctor_set(x_2598, 1, x_2594); -return x_2598; +lean_ctor_set(x_2614, 0, x_2613); +lean_ctor_set(x_2614, 1, x_2610); +return x_2614; } case 2: { -lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; -x_2599 = lean_ctor_get(x_2581, 1); -lean_inc(x_2599); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2600 = x_2581; +lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; +x_2615 = lean_ctor_get(x_2597, 1); +lean_inc(x_2615); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2616 = x_2597; } else { - lean_dec_ref(x_2581); - x_2600 = lean_box(0); + lean_dec_ref(x_2597); + x_2616 = lean_box(0); } -x_2601 = lean_ctor_get(x_2587, 1); -lean_inc(x_2601); -lean_dec(x_2587); -x_2602 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_117, x_2588, x_2601); -if (lean_is_scalar(x_2600)) { - x_2603 = lean_alloc_ctor(0, 2, 0); +x_2617 = lean_ctor_get(x_2603, 1); +lean_inc(x_2617); +lean_dec(x_2603); +x_2618 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(x_118, x_2604, x_2617); +if (lean_is_scalar(x_2616)) { + x_2619 = lean_alloc_ctor(0, 2, 0); } else { - x_2603 = x_2600; + x_2619 = x_2616; } -lean_ctor_set(x_2603, 0, x_2602); -lean_ctor_set(x_2603, 1, x_2599); -return x_2603; +lean_ctor_set(x_2619, 0, x_2618); +lean_ctor_set(x_2619, 1, x_2615); +return x_2619; } case 3: { -lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; -x_2604 = lean_ctor_get(x_2581, 1); -lean_inc(x_2604); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2605 = x_2581; +lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; +x_2620 = lean_ctor_get(x_2597, 1); +lean_inc(x_2620); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2621 = x_2597; } else { - lean_dec_ref(x_2581); - x_2605 = lean_box(0); + lean_dec_ref(x_2597); + x_2621 = lean_box(0); } -x_2606 = lean_ctor_get(x_2587, 1); -lean_inc(x_2606); -lean_dec(x_2587); -x_2607 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_117, x_2588, x_2606); -if (lean_is_scalar(x_2605)) { - x_2608 = lean_alloc_ctor(0, 2, 0); +x_2622 = lean_ctor_get(x_2603, 1); +lean_inc(x_2622); +lean_dec(x_2603); +x_2623 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__5(x_118, x_2604, x_2622); +if (lean_is_scalar(x_2621)) { + x_2624 = lean_alloc_ctor(0, 2, 0); } else { - x_2608 = x_2605; + x_2624 = x_2621; } -lean_ctor_set(x_2608, 0, x_2607); -lean_ctor_set(x_2608, 1, x_2604); -return x_2608; +lean_ctor_set(x_2624, 0, x_2623); +lean_ctor_set(x_2624, 1, x_2620); +return x_2624; } case 4: { -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; -x_2609 = lean_ctor_get(x_2581, 1); -lean_inc(x_2609); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2610 = x_2581; +lean_object* x_2625; lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; +x_2625 = lean_ctor_get(x_2597, 1); +lean_inc(x_2625); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2626 = x_2597; } else { - lean_dec_ref(x_2581); - x_2610 = lean_box(0); + lean_dec_ref(x_2597); + x_2626 = lean_box(0); } -x_2611 = lean_ctor_get(x_2587, 1); -lean_inc(x_2611); -lean_dec(x_2587); -x_2612 = lean_ctor_get(x_2588, 0); -lean_inc(x_2612); -lean_dec(x_2588); -x_2613 = l_Lean_mkConst(x_2612, x_2580); -x_2614 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_117, x_2613, x_2611); -if (lean_is_scalar(x_2610)) { - x_2615 = lean_alloc_ctor(0, 2, 0); +x_2627 = lean_ctor_get(x_2603, 1); +lean_inc(x_2627); +lean_dec(x_2603); +x_2628 = lean_ctor_get(x_2604, 0); +lean_inc(x_2628); +lean_dec(x_2604); +x_2629 = l_Lean_mkConst(x_2628, x_2596); +x_2630 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__6(x_118, x_2629, x_2627); +if (lean_is_scalar(x_2626)) { + x_2631 = lean_alloc_ctor(0, 2, 0); } else { - x_2615 = x_2610; + x_2631 = x_2626; } -lean_ctor_set(x_2615, 0, x_2614); -lean_ctor_set(x_2615, 1, x_2609); -return x_2615; +lean_ctor_set(x_2631, 0, x_2630); +lean_ctor_set(x_2631, 1, x_2625); +return x_2631; } case 5: { -lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; -x_2616 = lean_ctor_get(x_2581, 1); -lean_inc(x_2616); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2617 = x_2581; +lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; +x_2632 = lean_ctor_get(x_2597, 1); +lean_inc(x_2632); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2633 = x_2597; } else { - lean_dec_ref(x_2581); - x_2617 = lean_box(0); + lean_dec_ref(x_2597); + x_2633 = lean_box(0); } -x_2618 = lean_ctor_get(x_2587, 1); -lean_inc(x_2618); -lean_dec(x_2587); -x_2619 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_117, x_2588, x_2618); -if (lean_is_scalar(x_2617)) { - x_2620 = lean_alloc_ctor(0, 2, 0); +x_2634 = lean_ctor_get(x_2603, 1); +lean_inc(x_2634); +lean_dec(x_2603); +x_2635 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__7(x_118, x_2604, x_2634); +if (lean_is_scalar(x_2633)) { + x_2636 = lean_alloc_ctor(0, 2, 0); } else { - x_2620 = x_2617; + x_2636 = x_2633; } -lean_ctor_set(x_2620, 0, x_2619); -lean_ctor_set(x_2620, 1, x_2616); -return x_2620; +lean_ctor_set(x_2636, 0, x_2635); +lean_ctor_set(x_2636, 1, x_2632); +return x_2636; } case 6: { -lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; -x_2621 = lean_ctor_get(x_2581, 1); -lean_inc(x_2621); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2622 = x_2581; +lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; lean_object* x_2641; +x_2637 = lean_ctor_get(x_2597, 1); +lean_inc(x_2637); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2638 = x_2597; } else { - lean_dec_ref(x_2581); - x_2622 = lean_box(0); + lean_dec_ref(x_2597); + x_2638 = lean_box(0); } -x_2623 = lean_ctor_get(x_2587, 1); -lean_inc(x_2623); -lean_dec(x_2587); -x_2624 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_117, x_2588, x_2623); -if (lean_is_scalar(x_2622)) { - x_2625 = lean_alloc_ctor(0, 2, 0); +x_2639 = lean_ctor_get(x_2603, 1); +lean_inc(x_2639); +lean_dec(x_2603); +x_2640 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__8(x_118, x_2604, x_2639); +if (lean_is_scalar(x_2638)) { + x_2641 = lean_alloc_ctor(0, 2, 0); } else { - x_2625 = x_2622; + x_2641 = x_2638; } -lean_ctor_set(x_2625, 0, x_2624); -lean_ctor_set(x_2625, 1, x_2621); -return x_2625; +lean_ctor_set(x_2641, 0, x_2640); +lean_ctor_set(x_2641, 1, x_2637); +return x_2641; } case 7: { -lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; -x_2626 = lean_ctor_get(x_2581, 1); -lean_inc(x_2626); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2627 = x_2581; +lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; +x_2642 = lean_ctor_get(x_2597, 1); +lean_inc(x_2642); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2643 = x_2597; } else { - lean_dec_ref(x_2581); - x_2627 = lean_box(0); + lean_dec_ref(x_2597); + x_2643 = lean_box(0); } -x_2628 = lean_ctor_get(x_2587, 1); -lean_inc(x_2628); -lean_dec(x_2587); -x_2629 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_117, x_2588, x_2628); -if (lean_is_scalar(x_2627)) { - x_2630 = lean_alloc_ctor(0, 2, 0); +x_2644 = lean_ctor_get(x_2603, 1); +lean_inc(x_2644); +lean_dec(x_2603); +x_2645 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__9(x_118, x_2604, x_2644); +if (lean_is_scalar(x_2643)) { + x_2646 = lean_alloc_ctor(0, 2, 0); } else { - x_2630 = x_2627; + x_2646 = x_2643; } -lean_ctor_set(x_2630, 0, x_2629); -lean_ctor_set(x_2630, 1, x_2626); -return x_2630; +lean_ctor_set(x_2646, 0, x_2645); +lean_ctor_set(x_2646, 1, x_2642); +return x_2646; } case 8: { -lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; -x_2631 = lean_ctor_get(x_2581, 1); -lean_inc(x_2631); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2632 = x_2581; +lean_object* x_2647; lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; lean_object* x_2651; +x_2647 = lean_ctor_get(x_2597, 1); +lean_inc(x_2647); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2648 = x_2597; } else { - lean_dec_ref(x_2581); - x_2632 = lean_box(0); + lean_dec_ref(x_2597); + x_2648 = lean_box(0); } -x_2633 = lean_ctor_get(x_2587, 1); -lean_inc(x_2633); -lean_dec(x_2587); -x_2634 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_117, x_2588, x_2633); -if (lean_is_scalar(x_2632)) { - x_2635 = lean_alloc_ctor(0, 2, 0); +x_2649 = lean_ctor_get(x_2603, 1); +lean_inc(x_2649); +lean_dec(x_2603); +x_2650 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__10(x_118, x_2604, x_2649); +if (lean_is_scalar(x_2648)) { + x_2651 = lean_alloc_ctor(0, 2, 0); } else { - x_2635 = x_2632; + x_2651 = x_2648; } -lean_ctor_set(x_2635, 0, x_2634); -lean_ctor_set(x_2635, 1, x_2631); -return x_2635; +lean_ctor_set(x_2651, 0, x_2650); +lean_ctor_set(x_2651, 1, x_2647); +return x_2651; } case 9: { -lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; -x_2636 = lean_ctor_get(x_2581, 1); -lean_inc(x_2636); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2637 = x_2581; +lean_object* x_2652; lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; lean_object* x_2656; +x_2652 = lean_ctor_get(x_2597, 1); +lean_inc(x_2652); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2653 = x_2597; } else { - lean_dec_ref(x_2581); - x_2637 = lean_box(0); + lean_dec_ref(x_2597); + x_2653 = lean_box(0); } -x_2638 = lean_ctor_get(x_2587, 1); -lean_inc(x_2638); -lean_dec(x_2587); -x_2639 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_117, x_2588, x_2638); -if (lean_is_scalar(x_2637)) { - x_2640 = lean_alloc_ctor(0, 2, 0); +x_2654 = lean_ctor_get(x_2603, 1); +lean_inc(x_2654); +lean_dec(x_2603); +x_2655 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__11(x_118, x_2604, x_2654); +if (lean_is_scalar(x_2653)) { + x_2656 = lean_alloc_ctor(0, 2, 0); } else { - x_2640 = x_2637; + x_2656 = x_2653; } -lean_ctor_set(x_2640, 0, x_2639); -lean_ctor_set(x_2640, 1, x_2636); -return x_2640; +lean_ctor_set(x_2656, 0, x_2655); +lean_ctor_set(x_2656, 1, x_2652); +return x_2656; } case 10: { -lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; -x_2641 = lean_ctor_get(x_2581, 1); -lean_inc(x_2641); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2642 = x_2581; +lean_object* x_2657; lean_object* x_2658; lean_object* x_2659; lean_object* x_2660; lean_object* x_2661; +x_2657 = lean_ctor_get(x_2597, 1); +lean_inc(x_2657); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2658 = x_2597; } else { - lean_dec_ref(x_2581); - x_2642 = lean_box(0); + lean_dec_ref(x_2597); + x_2658 = lean_box(0); } -x_2643 = lean_ctor_get(x_2587, 1); -lean_inc(x_2643); -lean_dec(x_2587); -x_2644 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_117, x_2588, x_2643); -if (lean_is_scalar(x_2642)) { - x_2645 = lean_alloc_ctor(0, 2, 0); +x_2659 = lean_ctor_get(x_2603, 1); +lean_inc(x_2659); +lean_dec(x_2603); +x_2660 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__12(x_118, x_2604, x_2659); +if (lean_is_scalar(x_2658)) { + x_2661 = lean_alloc_ctor(0, 2, 0); } else { - x_2645 = x_2642; + x_2661 = x_2658; } -lean_ctor_set(x_2645, 0, x_2644); -lean_ctor_set(x_2645, 1, x_2641); -return x_2645; +lean_ctor_set(x_2661, 0, x_2660); +lean_ctor_set(x_2661, 1, x_2657); +return x_2661; } case 11: { -lean_object* x_2646; lean_object* x_2647; lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; -x_2646 = lean_ctor_get(x_2581, 1); -lean_inc(x_2646); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2647 = x_2581; +lean_object* x_2662; lean_object* x_2663; lean_object* x_2664; lean_object* x_2665; lean_object* x_2666; +x_2662 = lean_ctor_get(x_2597, 1); +lean_inc(x_2662); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2663 = x_2597; } else { - lean_dec_ref(x_2581); - x_2647 = lean_box(0); + lean_dec_ref(x_2597); + x_2663 = lean_box(0); } -x_2648 = lean_ctor_get(x_2587, 1); -lean_inc(x_2648); -lean_dec(x_2587); -x_2649 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_117, x_2588, x_2648); -if (lean_is_scalar(x_2647)) { - x_2650 = lean_alloc_ctor(0, 2, 0); +x_2664 = lean_ctor_get(x_2603, 1); +lean_inc(x_2664); +lean_dec(x_2603); +x_2665 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(x_118, x_2604, x_2664); +if (lean_is_scalar(x_2663)) { + x_2666 = lean_alloc_ctor(0, 2, 0); } else { - x_2650 = x_2647; + x_2666 = x_2663; } -lean_ctor_set(x_2650, 0, x_2649); -lean_ctor_set(x_2650, 1, x_2646); -return x_2650; +lean_ctor_set(x_2666, 0, x_2665); +lean_ctor_set(x_2666, 1, x_2662); +return x_2666; } default: { -lean_object* x_2651; lean_object* x_2652; lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; -x_2651 = lean_ctor_get(x_2581, 1); -lean_inc(x_2651); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2652 = x_2581; +lean_object* x_2667; lean_object* x_2668; lean_object* x_2669; lean_object* x_2670; lean_object* x_2671; +x_2667 = lean_ctor_get(x_2597, 1); +lean_inc(x_2667); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2668 = x_2597; } else { - lean_dec_ref(x_2581); - x_2652 = lean_box(0); + lean_dec_ref(x_2597); + x_2668 = lean_box(0); } -x_2653 = lean_ctor_get(x_2587, 1); -lean_inc(x_2653); -lean_dec(x_2587); -x_2654 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_117, x_2588, x_2653); -if (lean_is_scalar(x_2652)) { - x_2655 = lean_alloc_ctor(0, 2, 0); +x_2669 = lean_ctor_get(x_2603, 1); +lean_inc(x_2669); +lean_dec(x_2603); +x_2670 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__14(x_118, x_2604, x_2669); +if (lean_is_scalar(x_2668)) { + x_2671 = lean_alloc_ctor(0, 2, 0); } else { - x_2655 = x_2652; + x_2671 = x_2668; } -lean_ctor_set(x_2655, 0, x_2654); -lean_ctor_set(x_2655, 1, x_2651); -return x_2655; +lean_ctor_set(x_2671, 0, x_2670); +lean_ctor_set(x_2671, 1, x_2667); +return x_2671; } } } } else { -lean_object* x_2656; lean_object* x_2657; lean_object* x_2658; lean_object* x_2659; +lean_object* x_2672; lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; lean_dec(x_2); -x_2656 = lean_ctor_get(x_2581, 0); -lean_inc(x_2656); -x_2657 = lean_ctor_get(x_2581, 1); -lean_inc(x_2657); -if (lean_is_exclusive(x_2581)) { - lean_ctor_release(x_2581, 0); - lean_ctor_release(x_2581, 1); - x_2658 = x_2581; +x_2672 = lean_ctor_get(x_2597, 0); +lean_inc(x_2672); +x_2673 = lean_ctor_get(x_2597, 1); +lean_inc(x_2673); +if (lean_is_exclusive(x_2597)) { + lean_ctor_release(x_2597, 0); + lean_ctor_release(x_2597, 1); + x_2674 = x_2597; } else { - lean_dec_ref(x_2581); - x_2658 = lean_box(0); + lean_dec_ref(x_2597); + x_2674 = lean_box(0); } -if (lean_is_scalar(x_2658)) { - x_2659 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2674)) { + x_2675 = lean_alloc_ctor(1, 2, 0); } else { - x_2659 = x_2658; + x_2675 = x_2674; } -lean_ctor_set(x_2659, 0, x_2656); -lean_ctor_set(x_2659, 1, x_2657); -return x_2659; +lean_ctor_set(x_2675, 0, x_2672); +lean_ctor_set(x_2675, 1, x_2673); +return x_2675; } } else { -lean_object* x_2660; lean_object* x_2661; lean_object* x_2662; -lean_dec(x_2577); +lean_object* x_2676; lean_object* x_2677; lean_object* x_2678; +lean_dec(x_2593); lean_dec(x_1); -x_2660 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_2661 = l_unreachable_x21___rarg(x_2660); -x_2662 = lean_apply_2(x_2661, x_2, x_3); -return x_2662; +x_2676 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_2677 = l_unreachable_x21___rarg(x_2676); +x_2678 = lean_apply_2(x_2677, x_2, x_3); +return x_2678; } } } @@ -24035,60 +24097,60 @@ return x_2662; } else { -lean_object* x_2663; +lean_object* x_2679; +lean_dec(x_118); lean_dec(x_117); lean_dec(x_116); -lean_dec(x_115); -lean_dec(x_105); +lean_dec(x_106); lean_dec(x_4); -x_2663 = lean_box(0); -x_96 = x_2663; -goto block_104; +x_2679 = lean_box(0); +x_97 = x_2679; +goto block_105; } } else { -lean_object* x_2664; +lean_object* x_2680; +lean_dec(x_117); lean_dec(x_116); -lean_dec(x_115); -lean_dec(x_105); +lean_dec(x_106); lean_dec(x_4); -x_2664 = lean_box(0); -x_96 = x_2664; -goto block_104; +x_2680 = lean_box(0); +x_97 = x_2680; +goto block_105; } } else { -lean_object* x_2665; -lean_dec(x_115); -lean_dec(x_105); +lean_object* x_2681; +lean_dec(x_116); +lean_dec(x_106); lean_dec(x_4); -x_2665 = lean_box(0); -x_96 = x_2665; -goto block_104; +x_2681 = lean_box(0); +x_97 = x_2681; +goto block_105; } } default: { -lean_object* x_2666; -lean_dec(x_105); +lean_object* x_2682; +lean_dec(x_106); lean_dec(x_4); -x_2666 = lean_box(0); -x_96 = x_2666; -goto block_104; +x_2682 = lean_box(0); +x_97 = x_2682; +goto block_105; } } } else { -lean_object* x_2667; +lean_object* x_2683; lean_dec(x_4); -x_2667 = lean_box(0); -x_96 = x_2667; -goto block_104; +x_2683 = lean_box(0); +x_97 = x_2683; +goto block_105; } -block_94: +block_95: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_5, 0); @@ -24276,7 +24338,7 @@ return x_58; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; 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_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; 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; x_59 = lean_ctor_get(x_2, 0); x_60 = lean_ctor_get(x_2, 1); x_61 = lean_ctor_get(x_2, 2); @@ -24288,6 +24350,7 @@ x_66 = lean_ctor_get(x_2, 7); x_67 = lean_ctor_get(x_2, 8); x_68 = lean_ctor_get(x_2, 9); x_69 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_70 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); lean_inc(x_68); lean_inc(x_67); lean_inc(x_66); @@ -24299,150 +24362,151 @@ lean_inc(x_61); lean_inc(x_60); lean_inc(x_59); lean_dec(x_2); -x_70 = lean_ctor_get(x_59, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_59, 2); +x_71 = lean_ctor_get(x_59, 0); lean_inc(x_71); -x_72 = lean_ctor_get(x_59, 3); +x_72 = lean_ctor_get(x_59, 2); lean_inc(x_72); -x_73 = lean_ctor_get(x_59, 4); +x_73 = lean_ctor_get(x_59, 3); lean_inc(x_73); +x_74 = lean_ctor_get(x_59, 4); +lean_inc(x_74); if (lean_is_exclusive(x_59)) { lean_ctor_release(x_59, 0); lean_ctor_release(x_59, 1); lean_ctor_release(x_59, 2); lean_ctor_release(x_59, 3); lean_ctor_release(x_59, 4); - x_74 = x_59; + x_75 = x_59; } else { lean_dec_ref(x_59); - x_74 = lean_box(0); + x_75 = lean_box(0); } lean_inc(x_15); -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(0, 5, 0); +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(0, 5, 0); } else { - x_75 = x_74; + x_76 = x_75; } -lean_ctor_set(x_75, 0, x_70); -lean_ctor_set(x_75, 1, x_15); -lean_ctor_set(x_75, 2, x_71); -lean_ctor_set(x_75, 3, x_72); -lean_ctor_set(x_75, 4, x_73); -x_76 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_60); -lean_ctor_set(x_76, 2, x_61); -lean_ctor_set(x_76, 3, x_62); -lean_ctor_set(x_76, 4, x_63); -lean_ctor_set(x_76, 5, x_64); -lean_ctor_set(x_76, 6, x_65); -lean_ctor_set(x_76, 7, x_66); -lean_ctor_set(x_76, 8, x_67); -lean_ctor_set(x_76, 9, x_68); -lean_ctor_set_uint8(x_76, sizeof(void*)*10, x_69); -x_77 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_18, x_76, x_13); -if (lean_obj_tag(x_77) == 0) +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_15); +lean_ctor_set(x_76, 2, x_72); +lean_ctor_set(x_76, 3, x_73); +lean_ctor_set(x_76, 4, x_74); +x_77 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_60); +lean_ctor_set(x_77, 2, x_61); +lean_ctor_set(x_77, 3, x_62); +lean_ctor_set(x_77, 4, x_63); +lean_ctor_set(x_77, 5, x_64); +lean_ctor_set(x_77, 6, x_65); +lean_ctor_set(x_77, 7, x_66); +lean_ctor_set(x_77, 8, x_67); +lean_ctor_set(x_77, 9, x_68); +lean_ctor_set_uint8(x_77, sizeof(void*)*10, x_69); +lean_ctor_set_uint8(x_77, sizeof(void*)*10 + 1, x_70); +x_78 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main(x_18, x_77, x_13); +if (lean_obj_tag(x_78) == 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; lean_object* x_85; -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); +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_78, 0); lean_inc(x_79); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_80 = x_77; +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_81 = x_78; } else { - lean_dec_ref(x_77); - x_80 = lean_box(0); + lean_dec_ref(x_78); + x_81 = lean_box(0); } -x_81 = l_Lean_mkFVar(x_6); -x_82 = l_Lean_FileMap_ofString___closed__1; -x_83 = lean_array_push(x_82, x_81); -x_84 = l_Lean_LocalContext_mkLambda(x_15, x_83, x_78); -lean_dec(x_78); -lean_dec(x_83); -if (lean_is_scalar(x_80)) { - x_85 = lean_alloc_ctor(0, 2, 0); +x_82 = l_Lean_mkFVar(x_6); +x_83 = l_Lean_FileMap_ofString___closed__1; +x_84 = lean_array_push(x_83, x_82); +x_85 = l_Lean_LocalContext_mkLambda(x_15, x_84, x_79); +lean_dec(x_79); +lean_dec(x_84); +if (lean_is_scalar(x_81)) { + x_86 = lean_alloc_ctor(0, 2, 0); } else { - x_85 = x_80; + x_86 = x_81; } -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_79); -return x_85; +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_80); +return x_86; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_dec(x_15); lean_dec(x_6); -x_86 = lean_ctor_get(x_77, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_77, 1); +x_87 = lean_ctor_get(x_78, 0); lean_inc(x_87); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_88 = x_77; +x_88 = lean_ctor_get(x_78, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_89 = x_78; } else { - lean_dec_ref(x_77); - x_88 = lean_box(0); + lean_dec_ref(x_78); + x_89 = lean_box(0); } -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(1, 2, 0); } else { - x_89 = x_88; + x_90 = x_89; } -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_87); -return x_89; +lean_ctor_set(x_90, 0, x_87); +lean_ctor_set(x_90, 1, x_88); +return x_90; } } } else { -uint8_t x_90; +uint8_t x_91; lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_90 = !lean_is_exclusive(x_8); -if (x_90 == 0) +x_91 = !lean_is_exclusive(x_8); +if (x_91 == 0) { return x_8; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_8, 0); -x_92 = lean_ctor_get(x_8, 1); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_8, 0); +x_93 = lean_ctor_get(x_8, 1); +lean_inc(x_93); lean_inc(x_92); -lean_inc(x_91); lean_dec(x_8); -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; +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; } } } -block_104: +block_105: { -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_dec(x_96); -x_97 = l_System_FilePath_dirName___closed__1; -x_98 = l_Lean_Name_toStringWithSep___main(x_97, x_95); -x_99 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_99, 0, x_98); -x_100 = lean_alloc_ctor(0, 1, 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_dec(x_97); +x_98 = l_System_FilePath_dirName___closed__1; +x_99 = l_Lean_Name_toStringWithSep___main(x_98, x_96); +x_100 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_100, 0, x_99); -x_101 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; -x_102 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = l_Lean_Elab_Term_throwError___rarg(x_1, x_102, x_2, x_3); +x_101 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_101, 0, x_100); +x_102 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___closed__3; +x_103 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_101); +x_104 = l_Lean_Elab_Term_throwError___rarg(x_1, x_103, x_2, x_3); lean_dec(x_1); -return x_103; +return x_104; } } } @@ -24687,7 +24751,7 @@ x_16 = l_List_map___main___at___private_Init_Lean_Elab_Quotation_15__oldRunTermE x_17 = l___private_Init_Lean_Elab_Quotation_15__oldRunTermElabM___rarg___closed__3; x_18 = l___private_Init_Lean_Elab_Quotation_15__oldRunTermElabM___rarg___closed__2; x_19 = 1; -x_20 = lean_alloc_ctor(0, 10, 1); +x_20 = lean_alloc_ctor(0, 10, 2); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_17); lean_ctor_set(x_20, 2, x_18); @@ -24699,6 +24763,7 @@ lean_ctor_set(x_20, 7, x_16); lean_ctor_set(x_20, 8, x_15); lean_ctor_set(x_20, 9, x_10); lean_ctor_set_uint8(x_20, sizeof(void*)*10, x_19); +lean_ctor_set_uint8(x_20, sizeof(void*)*10 + 1, x_19); x_21 = l_Lean_MetavarContext_Inhabited___closed__1; x_22 = l_Lean_Meta_MetaHasEval___rarg___closed__4; x_23 = l_Lean_NameGenerator_Inhabited___closed__3; diff --git a/stage0/stdlib/Init/Lean/Elab/Syntax.c b/stage0/stdlib/Init/Lean/Elab/Syntax.c index 5080e5b62a..d308c8e736 100644 --- a/stage0/stdlib/Init/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Init/Lean/Elab/Syntax.c @@ -32,6 +32,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__116; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__12; lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__7; +lean_object* l_Lean_Name_eraseMacroScopes(lean_object*); lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_getOptions(lean_object*, lean_object*); @@ -3739,419 +3740,420 @@ return x_1114; } else { -lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; uint8_t x_1250; +lean_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; uint8_t x_1251; lean_dec(x_6); x_1115 = lean_unsigned_to_nat(0u); x_1116 = l_Lean_Syntax_getIdAt(x_1, x_1115); -x_1117 = lean_unsigned_to_nat(1u); -x_1118 = l_Lean_Syntax_getArg(x_1, x_1117); -x_1119 = l___private_Init_Lean_Elab_Syntax_1__expandOptPrecedence(x_1118); -x_1120 = l_Lean_Elab_Term_getEnv___rarg(x_5); -x_1121 = lean_ctor_get(x_1120, 0); -lean_inc(x_1121); -x_1122 = lean_ctor_get(x_1120, 1); +x_1117 = l_Lean_Name_eraseMacroScopes(x_1116); +x_1118 = lean_unsigned_to_nat(1u); +x_1119 = l_Lean_Syntax_getArg(x_1, x_1118); +x_1120 = l___private_Init_Lean_Elab_Syntax_1__expandOptPrecedence(x_1119); +x_1121 = l_Lean_Elab_Term_getEnv___rarg(x_5); +x_1122 = lean_ctor_get(x_1121, 0); lean_inc(x_1122); -lean_dec(x_1120); -x_1250 = l_Lean_Parser_isParserCategory(x_1121, x_1116); +x_1123 = lean_ctor_get(x_1121, 1); +lean_inc(x_1123); lean_dec(x_1121); -if (x_1250 == 0) +x_1251 = l_Lean_Parser_isParserCategory(x_1122, x_1117); +lean_dec(x_1122); +if (x_1251 == 0) { -lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; uint8_t x_1259; +lean_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; uint8_t x_1260; +lean_dec(x_1120); lean_dec(x_1119); -lean_dec(x_1118); lean_dec(x_2); -x_1251 = lean_unsigned_to_nat(3u); -x_1252 = l_Lean_Syntax_getArg(x_1, x_1251); +x_1252 = lean_unsigned_to_nat(3u); +x_1253 = l_Lean_Syntax_getArg(x_1, x_1252); lean_dec(x_1); -x_1253 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1253, 0, x_1116); -x_1254 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; -x_1255 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1255, 0, x_1254); -lean_ctor_set(x_1255, 1, x_1253); -x_1256 = l_Lean_Elab_Term_mkConst___closed__4; -x_1257 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1257, 0, x_1255); -lean_ctor_set(x_1257, 1, x_1256); -x_1258 = l_Lean_Elab_Term_throwError___rarg(x_1252, x_1257, x_4, x_1122); -lean_dec(x_1252); -x_1259 = !lean_is_exclusive(x_1258); -if (x_1259 == 0) +x_1254 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1254, 0, x_1117); +x_1255 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; +x_1256 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1256, 0, x_1255); +lean_ctor_set(x_1256, 1, x_1254); +x_1257 = l_Lean_Elab_Term_mkConst___closed__4; +x_1258 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1258, 0, x_1256); +lean_ctor_set(x_1258, 1, x_1257); +x_1259 = l_Lean_Elab_Term_throwError___rarg(x_1253, x_1258, x_4, x_1123); +lean_dec(x_1253); +x_1260 = !lean_is_exclusive(x_1259); +if (x_1260 == 0) { -return x_1258; +return x_1259; } else { -lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; -x_1260 = lean_ctor_get(x_1258, 0); -x_1261 = lean_ctor_get(x_1258, 1); +lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; +x_1261 = lean_ctor_get(x_1259, 0); +x_1262 = lean_ctor_get(x_1259, 1); +lean_inc(x_1262); lean_inc(x_1261); -lean_inc(x_1260); -lean_dec(x_1258); -x_1262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1262, 0, x_1260); -lean_ctor_set(x_1262, 1, x_1261); -return x_1262; +lean_dec(x_1259); +x_1263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1263, 0, x_1261); +lean_ctor_set(x_1263, 1, x_1262); +return x_1263; } } else { -lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; -x_1263 = lean_box(0); -x_1264 = lean_box(x_3); -x_1265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1265, 0, x_1263); -lean_ctor_set(x_1265, 1, x_1264); -x_1123 = x_1265; -x_1124 = x_1122; -goto block_1249; +lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; +x_1264 = lean_box(0); +x_1265 = lean_box(x_3); +x_1266 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1266, 0, x_1264); +lean_ctor_set(x_1266, 1, x_1265); +x_1124 = x_1266; +x_1125 = x_1123; +goto block_1250; } -block_1249: +block_1250: { -lean_object* x_1125; uint8_t x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; -x_1125 = lean_ctor_get(x_1123, 1); -lean_inc(x_1125); -lean_dec(x_1123); -x_1126 = lean_unbox(x_1125); -lean_dec(x_1125); -x_1127 = l___private_Init_Lean_Elab_Syntax_3__getMode(x_2, x_1126, x_4, x_1124); -x_1128 = lean_ctor_get(x_1127, 0); -lean_inc(x_1128); -x_1129 = lean_ctor_get(x_1127, 1); +lean_object* x_1126; uint8_t 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; +x_1126 = lean_ctor_get(x_1124, 1); +lean_inc(x_1126); +lean_dec(x_1124); +x_1127 = lean_unbox(x_1126); +lean_dec(x_1126); +x_1128 = l___private_Init_Lean_Elab_Syntax_3__getMode(x_2, x_1127, x_4, x_1125); +x_1129 = lean_ctor_get(x_1128, 0); lean_inc(x_1129); -lean_dec(x_1127); -x_1130 = lean_ctor_get(x_1128, 0); +x_1130 = lean_ctor_get(x_1128, 1); lean_inc(x_1130); -x_1131 = lean_ctor_get(x_1128, 1); +lean_dec(x_1128); +x_1131 = lean_ctor_get(x_1129, 0); lean_inc(x_1131); -if (lean_is_exclusive(x_1128)) { - lean_ctor_release(x_1128, 0); - lean_ctor_release(x_1128, 1); - x_1132 = x_1128; +x_1132 = lean_ctor_get(x_1129, 1); +lean_inc(x_1132); +if (lean_is_exclusive(x_1129)) { + lean_ctor_release(x_1129, 0); + lean_ctor_release(x_1129, 1); + x_1133 = x_1129; } else { - lean_dec_ref(x_1128); - x_1132 = lean_box(0); + lean_dec_ref(x_1129); + x_1133 = lean_box(0); } -switch (lean_obj_tag(x_1130)) { +switch (lean_obj_tag(x_1131)) { case 0: { -lean_dec(x_1118); +lean_dec(x_1119); lean_dec(x_1); -if (lean_obj_tag(x_1119) == 0) +if (lean_obj_tag(x_1120) == 0) { -x_1133 = x_1115; -goto block_1198; +x_1134 = x_1115; +goto block_1199; } else { -lean_object* x_1199; -x_1199 = lean_ctor_get(x_1119, 0); -lean_inc(x_1199); -lean_dec(x_1119); -x_1133 = x_1199; -goto block_1198; +lean_object* x_1200; +x_1200 = lean_ctor_get(x_1120, 0); +lean_inc(x_1200); +lean_dec(x_1120); +x_1134 = x_1200; +goto block_1199; } } case 1: { -lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; uint8_t x_1208; +lean_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; uint8_t x_1209; +lean_dec(x_1133); lean_dec(x_1132); -lean_dec(x_1131); +lean_dec(x_1120); lean_dec(x_1119); -lean_dec(x_1118); -x_1200 = lean_unsigned_to_nat(3u); -x_1201 = l_Lean_Syntax_getArg(x_1, x_1200); +x_1201 = lean_unsigned_to_nat(3u); +x_1202 = l_Lean_Syntax_getArg(x_1, x_1201); lean_dec(x_1); -x_1202 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1202, 0, x_1116); -x_1203 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; -x_1204 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1204, 0, x_1203); -lean_ctor_set(x_1204, 1, x_1202); -x_1205 = l_Lean_Elab_Term_toParserDescrAux___main___closed__112; -x_1206 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1206, 0, x_1204); -lean_ctor_set(x_1206, 1, x_1205); -x_1207 = l_Lean_Elab_Term_throwError___rarg(x_1201, x_1206, x_4, x_1129); -lean_dec(x_1201); -x_1208 = !lean_is_exclusive(x_1207); -if (x_1208 == 0) +x_1203 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1203, 0, x_1117); +x_1204 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; +x_1205 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1205, 0, x_1204); +lean_ctor_set(x_1205, 1, x_1203); +x_1206 = l_Lean_Elab_Term_toParserDescrAux___main___closed__112; +x_1207 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1207, 0, x_1205); +lean_ctor_set(x_1207, 1, x_1206); +x_1208 = l_Lean_Elab_Term_throwError___rarg(x_1202, x_1207, x_4, x_1130); +lean_dec(x_1202); +x_1209 = !lean_is_exclusive(x_1208); +if (x_1209 == 0) { -return x_1207; +return x_1208; } else { -lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; -x_1209 = lean_ctor_get(x_1207, 0); -x_1210 = lean_ctor_get(x_1207, 1); +lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; +x_1210 = lean_ctor_get(x_1208, 0); +x_1211 = lean_ctor_get(x_1208, 1); +lean_inc(x_1211); lean_inc(x_1210); -lean_inc(x_1209); -lean_dec(x_1207); -x_1211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1211, 0, x_1209); -lean_ctor_set(x_1211, 1, x_1210); -return x_1211; +lean_dec(x_1208); +x_1212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1212, 0, x_1210); +lean_ctor_set(x_1212, 1, x_1211); +return x_1212; } } default: { -lean_object* x_1212; uint8_t x_1213; +lean_object* x_1213; uint8_t x_1214; +lean_dec(x_1133); lean_dec(x_1132); +x_1213 = lean_ctor_get(x_1131, 0); +lean_inc(x_1213); lean_dec(x_1131); -x_1212 = lean_ctor_get(x_1130, 0); -lean_inc(x_1212); -lean_dec(x_1130); -x_1213 = lean_name_eq(x_1116, x_1212); -if (x_1213 == 0) +x_1214 = lean_name_eq(x_1117, x_1213); +if (x_1214 == 0) { -lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; uint8_t x_1226; +lean_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; uint8_t x_1227; +lean_dec(x_1120); lean_dec(x_1119); -lean_dec(x_1118); -x_1214 = lean_unsigned_to_nat(3u); -x_1215 = l_Lean_Syntax_getArg(x_1, x_1214); +x_1215 = lean_unsigned_to_nat(3u); +x_1216 = l_Lean_Syntax_getArg(x_1, x_1215); lean_dec(x_1); -x_1216 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1216, 0, x_1116); -x_1217 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; -x_1218 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1218, 0, x_1217); -lean_ctor_set(x_1218, 1, x_1216); -x_1219 = l_Lean_Elab_Term_toParserDescrAux___main___closed__114; -x_1220 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1220, 0, x_1218); -lean_ctor_set(x_1220, 1, x_1219); -x_1221 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1221, 0, x_1212); -x_1222 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1222, 0, x_1220); -lean_ctor_set(x_1222, 1, x_1221); -x_1223 = l_Lean_Elab_Term_toParserDescrAux___main___closed__117; -x_1224 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1224, 0, x_1222); -lean_ctor_set(x_1224, 1, x_1223); -x_1225 = l_Lean_Elab_Term_throwError___rarg(x_1215, x_1224, x_4, x_1129); -lean_dec(x_1215); -x_1226 = !lean_is_exclusive(x_1225); -if (x_1226 == 0) +x_1217 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1217, 0, x_1117); +x_1218 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; +x_1219 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1219, 0, x_1218); +lean_ctor_set(x_1219, 1, x_1217); +x_1220 = l_Lean_Elab_Term_toParserDescrAux___main___closed__114; +x_1221 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1221, 0, x_1219); +lean_ctor_set(x_1221, 1, x_1220); +x_1222 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1222, 0, x_1213); +x_1223 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1223, 0, x_1221); +lean_ctor_set(x_1223, 1, x_1222); +x_1224 = l_Lean_Elab_Term_toParserDescrAux___main___closed__117; +x_1225 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1225, 0, x_1223); +lean_ctor_set(x_1225, 1, x_1224); +x_1226 = l_Lean_Elab_Term_throwError___rarg(x_1216, x_1225, x_4, x_1130); +lean_dec(x_1216); +x_1227 = !lean_is_exclusive(x_1226); +if (x_1227 == 0) { -return x_1225; +return x_1226; } else { -lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; -x_1227 = lean_ctor_get(x_1225, 0); -x_1228 = lean_ctor_get(x_1225, 1); +lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; +x_1228 = lean_ctor_get(x_1226, 0); +x_1229 = lean_ctor_get(x_1226, 1); +lean_inc(x_1229); lean_inc(x_1228); -lean_inc(x_1227); -lean_dec(x_1225); -x_1229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1229, 0, x_1227); -lean_ctor_set(x_1229, 1, x_1228); -return x_1229; +lean_dec(x_1226); +x_1230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1230, 0, x_1228); +lean_ctor_set(x_1230, 1, x_1229); +return x_1230; } } else { -lean_dec(x_1212); -lean_dec(x_1116); +lean_dec(x_1213); +lean_dec(x_1117); lean_dec(x_1); -if (lean_obj_tag(x_1119) == 0) +if (lean_obj_tag(x_1120) == 0) { -lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; uint8_t x_1233; -lean_dec(x_1118); -x_1230 = l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg(x_1129); -x_1231 = lean_ctor_get(x_1230, 0); -lean_inc(x_1231); -x_1232 = lean_ctor_get(x_1230, 1); -lean_inc(x_1232); -lean_dec(x_1230); -x_1233 = !lean_is_exclusive(x_1231); -if (x_1233 == 0) -{ -lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; -x_1234 = lean_ctor_get(x_1231, 0); -lean_dec(x_1234); -x_1235 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1232); -lean_dec(x_4); -x_1236 = lean_ctor_get(x_1235, 0); -lean_inc(x_1236); -x_1237 = lean_ctor_get(x_1235, 1); -lean_inc(x_1237); -lean_dec(x_1235); -lean_ctor_set(x_1231, 0, x_1236); -x_700 = x_1231; -x_701 = x_1237; -goto block_733; -} -else -{ -lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; -x_1238 = lean_ctor_get(x_1231, 1); -lean_inc(x_1238); -lean_dec(x_1231); -x_1239 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1232); -lean_dec(x_4); -x_1240 = lean_ctor_get(x_1239, 0); -lean_inc(x_1240); -x_1241 = lean_ctor_get(x_1239, 1); -lean_inc(x_1241); -lean_dec(x_1239); -x_1242 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1242, 0, x_1240); -lean_ctor_set(x_1242, 1, x_1238); -x_700 = x_1242; -x_701 = x_1241; -goto block_733; -} -} -else -{ -lean_object* x_1243; lean_object* x_1244; uint8_t x_1245; +lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; uint8_t x_1234; lean_dec(x_1119); -x_1243 = l_Lean_Elab_Term_toParserDescrAux___main___closed__120; -x_1244 = l_Lean_Elab_Term_throwError___rarg(x_1118, x_1243, x_4, x_1129); -lean_dec(x_1118); -x_1245 = !lean_is_exclusive(x_1244); -if (x_1245 == 0) +x_1231 = l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg(x_1130); +x_1232 = lean_ctor_get(x_1231, 0); +lean_inc(x_1232); +x_1233 = lean_ctor_get(x_1231, 1); +lean_inc(x_1233); +lean_dec(x_1231); +x_1234 = !lean_is_exclusive(x_1232); +if (x_1234 == 0) { -return x_1244; -} -else -{ -lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; -x_1246 = lean_ctor_get(x_1244, 0); -x_1247 = lean_ctor_get(x_1244, 1); -lean_inc(x_1247); -lean_inc(x_1246); -lean_dec(x_1244); -x_1248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1248, 0, x_1246); -lean_ctor_set(x_1248, 1, x_1247); -return x_1248; -} -} -} -} -} -block_1198: -{ -lean_object* x_1134; uint8_t x_1135; -x_1134 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1129); +lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; +x_1235 = lean_ctor_get(x_1232, 0); +lean_dec(x_1235); +x_1236 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1233); lean_dec(x_4); -x_1135 = !lean_is_exclusive(x_1134); -if (x_1135 == 0) -{ -lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; -x_1136 = lean_ctor_get(x_1134, 0); -x_1137 = lean_box(0); -x_1138 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; -x_1139 = lean_name_mk_numeral(x_1138, x_1136); -x_1140 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; -x_1141 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; -x_1142 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1142, 0, x_1137); -lean_ctor_set(x_1142, 1, x_1140); -lean_ctor_set(x_1142, 2, x_1139); -lean_ctor_set(x_1142, 3, x_1141); -x_1143 = l_Array_empty___closed__1; -x_1144 = lean_array_push(x_1143, x_1142); -x_1145 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1146 = lean_array_push(x_1144, x_1145); -x_1147 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_1148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1148, 0, x_1147); -lean_ctor_set(x_1148, 1, x_1146); -x_1149 = lean_array_push(x_1143, x_1148); -x_1150 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1116); -x_1151 = lean_array_push(x_1143, x_1150); -x_1152 = l_Nat_repr(x_1133); -x_1153 = l_Lean_numLitKind; -x_1154 = l_Lean_mkStxLit(x_1153, x_1152, x_1137); -x_1155 = l_Lean_FileMap_ofString___closed__1; -x_1156 = lean_array_push(x_1155, x_1154); -x_1157 = l_Lean_Parser_Term_num___elambda__1___closed__1; -x_1158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1158, 0, x_1157); -lean_ctor_set(x_1158, 1, x_1156); -x_1159 = lean_array_push(x_1151, x_1158); -x_1160 = l_Lean_nullKind___closed__2; -x_1161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1161, 0, x_1160); -lean_ctor_set(x_1161, 1, x_1159); -x_1162 = lean_array_push(x_1149, x_1161); -x_1163 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_1164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1164, 0, x_1163); -lean_ctor_set(x_1164, 1, x_1162); -if (lean_is_scalar(x_1132)) { - x_1165 = lean_alloc_ctor(0, 2, 0); -} else { - x_1165 = x_1132; +x_1237 = lean_ctor_get(x_1236, 0); +lean_inc(x_1237); +x_1238 = lean_ctor_get(x_1236, 1); +lean_inc(x_1238); +lean_dec(x_1236); +lean_ctor_set(x_1232, 0, x_1237); +x_700 = x_1232; +x_701 = x_1238; +goto block_733; } +else +{ +lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; +x_1239 = lean_ctor_get(x_1232, 1); +lean_inc(x_1239); +lean_dec(x_1232); +x_1240 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1233); +lean_dec(x_4); +x_1241 = lean_ctor_get(x_1240, 0); +lean_inc(x_1241); +x_1242 = lean_ctor_get(x_1240, 1); +lean_inc(x_1242); +lean_dec(x_1240); +x_1243 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1243, 0, x_1241); +lean_ctor_set(x_1243, 1, x_1239); +x_700 = x_1243; +x_701 = x_1242; +goto block_733; +} +} +else +{ +lean_object* x_1244; lean_object* x_1245; uint8_t x_1246; +lean_dec(x_1120); +x_1244 = l_Lean_Elab_Term_toParserDescrAux___main___closed__120; +x_1245 = l_Lean_Elab_Term_throwError___rarg(x_1119, x_1244, x_4, x_1130); +lean_dec(x_1119); +x_1246 = !lean_is_exclusive(x_1245); +if (x_1246 == 0) +{ +return x_1245; +} +else +{ +lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; +x_1247 = lean_ctor_get(x_1245, 0); +x_1248 = lean_ctor_get(x_1245, 1); +lean_inc(x_1248); +lean_inc(x_1247); +lean_dec(x_1245); +x_1249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1249, 0, x_1247); +lean_ctor_set(x_1249, 1, x_1248); +return x_1249; +} +} +} +} +} +block_1199: +{ +lean_object* x_1135; uint8_t x_1136; +x_1135 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1130); +lean_dec(x_4); +x_1136 = !lean_is_exclusive(x_1135); +if (x_1136 == 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; 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; +x_1137 = lean_ctor_get(x_1135, 0); +x_1138 = lean_box(0); +x_1139 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; +x_1140 = lean_name_mk_numeral(x_1139, x_1137); +x_1141 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; +x_1142 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; +x_1143 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1143, 0, x_1138); +lean_ctor_set(x_1143, 1, x_1141); +lean_ctor_set(x_1143, 2, x_1140); +lean_ctor_set(x_1143, 3, x_1142); +x_1144 = l_Array_empty___closed__1; +x_1145 = lean_array_push(x_1144, x_1143); +x_1146 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1147 = lean_array_push(x_1145, x_1146); +x_1148 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1149, 0, x_1148); +lean_ctor_set(x_1149, 1, x_1147); +x_1150 = lean_array_push(x_1144, x_1149); +x_1151 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1117); +x_1152 = lean_array_push(x_1144, x_1151); +x_1153 = l_Nat_repr(x_1134); +x_1154 = l_Lean_numLitKind; +x_1155 = l_Lean_mkStxLit(x_1154, x_1153, x_1138); +x_1156 = l_Lean_FileMap_ofString___closed__1; +x_1157 = lean_array_push(x_1156, x_1155); +x_1158 = l_Lean_Parser_Term_num___elambda__1___closed__1; +x_1159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1159, 0, x_1158); +lean_ctor_set(x_1159, 1, x_1157); +x_1160 = lean_array_push(x_1152, x_1159); +x_1161 = l_Lean_nullKind___closed__2; +x_1162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1162, 0, x_1161); +lean_ctor_set(x_1162, 1, x_1160); +x_1163 = lean_array_push(x_1150, x_1162); +x_1164 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1165 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1165, 0, x_1164); -lean_ctor_set(x_1165, 1, x_1131); -lean_ctor_set(x_1134, 0, x_1165); -return x_1134; -} -else -{ -lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; -x_1166 = lean_ctor_get(x_1134, 0); -x_1167 = lean_ctor_get(x_1134, 1); -lean_inc(x_1167); -lean_inc(x_1166); -lean_dec(x_1134); -x_1168 = lean_box(0); -x_1169 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; -x_1170 = lean_name_mk_numeral(x_1169, x_1166); -x_1171 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; -x_1172 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; -x_1173 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1173, 0, x_1168); -lean_ctor_set(x_1173, 1, x_1171); -lean_ctor_set(x_1173, 2, x_1170); -lean_ctor_set(x_1173, 3, x_1172); -x_1174 = l_Array_empty___closed__1; -x_1175 = lean_array_push(x_1174, x_1173); -x_1176 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1177 = lean_array_push(x_1175, x_1176); -x_1178 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_1179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1179, 0, x_1178); -lean_ctor_set(x_1179, 1, x_1177); -x_1180 = lean_array_push(x_1174, x_1179); -x_1181 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1116); -x_1182 = lean_array_push(x_1174, x_1181); -x_1183 = l_Nat_repr(x_1133); -x_1184 = l_Lean_numLitKind; -x_1185 = l_Lean_mkStxLit(x_1184, x_1183, x_1168); -x_1186 = l_Lean_FileMap_ofString___closed__1; -x_1187 = lean_array_push(x_1186, x_1185); -x_1188 = l_Lean_Parser_Term_num___elambda__1___closed__1; -x_1189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1189, 0, x_1188); -lean_ctor_set(x_1189, 1, x_1187); -x_1190 = lean_array_push(x_1182, x_1189); -x_1191 = l_Lean_nullKind___closed__2; -x_1192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1192, 0, x_1191); -lean_ctor_set(x_1192, 1, x_1190); -x_1193 = lean_array_push(x_1180, x_1192); -x_1194 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_1195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1195, 0, x_1194); -lean_ctor_set(x_1195, 1, x_1193); -if (lean_is_scalar(x_1132)) { - x_1196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1165, 1, x_1163); +if (lean_is_scalar(x_1133)) { + x_1166 = lean_alloc_ctor(0, 2, 0); } else { - x_1196 = x_1132; + x_1166 = x_1133; } +lean_ctor_set(x_1166, 0, x_1165); +lean_ctor_set(x_1166, 1, x_1132); +lean_ctor_set(x_1135, 0, x_1166); +return x_1135; +} +else +{ +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; +x_1167 = lean_ctor_get(x_1135, 0); +x_1168 = lean_ctor_get(x_1135, 1); +lean_inc(x_1168); +lean_inc(x_1167); +lean_dec(x_1135); +x_1169 = lean_box(0); +x_1170 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; +x_1171 = lean_name_mk_numeral(x_1170, x_1167); +x_1172 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; +x_1173 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; +x_1174 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1174, 0, x_1169); +lean_ctor_set(x_1174, 1, x_1172); +lean_ctor_set(x_1174, 2, x_1171); +lean_ctor_set(x_1174, 3, x_1173); +x_1175 = l_Array_empty___closed__1; +x_1176 = lean_array_push(x_1175, x_1174); +x_1177 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1178 = lean_array_push(x_1176, x_1177); +x_1179 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1180, 0, x_1179); +lean_ctor_set(x_1180, 1, x_1178); +x_1181 = lean_array_push(x_1175, x_1180); +x_1182 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1117); +x_1183 = lean_array_push(x_1175, x_1182); +x_1184 = l_Nat_repr(x_1134); +x_1185 = l_Lean_numLitKind; +x_1186 = l_Lean_mkStxLit(x_1185, x_1184, x_1169); +x_1187 = l_Lean_FileMap_ofString___closed__1; +x_1188 = lean_array_push(x_1187, x_1186); +x_1189 = l_Lean_Parser_Term_num___elambda__1___closed__1; +x_1190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1190, 0, x_1189); +lean_ctor_set(x_1190, 1, x_1188); +x_1191 = lean_array_push(x_1183, x_1190); +x_1192 = l_Lean_nullKind___closed__2; +x_1193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1193, 0, x_1192); +lean_ctor_set(x_1193, 1, x_1191); +x_1194 = lean_array_push(x_1181, x_1193); +x_1195 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1196 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1196, 0, x_1195); -lean_ctor_set(x_1196, 1, x_1131); -x_1197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1196, 1, x_1194); +if (lean_is_scalar(x_1133)) { + x_1197 = lean_alloc_ctor(0, 2, 0); +} else { + x_1197 = x_1133; +} lean_ctor_set(x_1197, 0, x_1196); -lean_ctor_set(x_1197, 1, x_1167); -return x_1197; +lean_ctor_set(x_1197, 1, x_1132); +x_1198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1198, 0, x_1197); +lean_ctor_set(x_1198, 1, x_1168); +return x_1198; } } } @@ -4159,12 +4161,12 @@ return x_1197; } else { -lean_object* x_1266; lean_object* x_1267; +lean_object* x_1267; lean_object* x_1268; lean_dec(x_6); -x_1266 = lean_unsigned_to_nat(1u); -x_1267 = l_Lean_Syntax_getArg(x_1, x_1266); +x_1267 = lean_unsigned_to_nat(1u); +x_1268 = l_Lean_Syntax_getArg(x_1, x_1267); lean_dec(x_1); -x_1 = x_1267; +x_1 = x_1268; goto _start; } block_113: @@ -5800,179 +5802,179 @@ return x_732; } else { -lean_object* x_1269; lean_object* x_1270; +lean_object* x_1270; lean_object* x_1271; lean_dec(x_6); -x_1269 = lean_unsigned_to_nat(0u); -x_1270 = l_Lean_Syntax_getArg(x_1, x_1269); +x_1270 = lean_unsigned_to_nat(0u); +x_1271 = l_Lean_Syntax_getArg(x_1, x_1270); lean_dec(x_1); -x_1 = x_1270; +x_1 = x_1271; goto _start; } } else { -lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; +lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_dec(x_6); -x_1272 = l_Lean_Syntax_getArgs(x_1); +x_1273 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_1273 = lean_unsigned_to_nat(0u); +x_1274 = lean_unsigned_to_nat(0u); lean_inc(x_4); -x_1274 = l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(x_1273, x_1272, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_1274) == 0) +x_1275 = l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(x_1274, x_1273, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_1275) == 0) { -lean_object* x_1275; lean_object* x_1276; uint8_t x_1277; -x_1275 = lean_ctor_get(x_1274, 0); -lean_inc(x_1275); -x_1276 = lean_ctor_get(x_1274, 1); +lean_object* x_1276; lean_object* x_1277; uint8_t x_1278; +x_1276 = lean_ctor_get(x_1275, 0); lean_inc(x_1276); -lean_dec(x_1274); -x_1277 = !lean_is_exclusive(x_1275); -if (x_1277 == 0) -{ -lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; -x_1278 = lean_ctor_get(x_1275, 0); -x_1279 = lean_ctor_get(x_1275, 1); -x_1280 = l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(x_1278, x_4, x_1276); -lean_dec(x_4); -lean_dec(x_1278); -if (lean_obj_tag(x_1280) == 0) -{ -uint8_t x_1281; -x_1281 = !lean_is_exclusive(x_1280); -if (x_1281 == 0) -{ -lean_object* x_1282; -x_1282 = lean_ctor_get(x_1280, 0); -lean_ctor_set(x_1275, 0, x_1282); -lean_ctor_set(x_1280, 0, x_1275); -return x_1280; -} -else -{ -lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; -x_1283 = lean_ctor_get(x_1280, 0); -x_1284 = lean_ctor_get(x_1280, 1); -lean_inc(x_1284); -lean_inc(x_1283); -lean_dec(x_1280); -lean_ctor_set(x_1275, 0, x_1283); -x_1285 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1285, 0, x_1275); -lean_ctor_set(x_1285, 1, x_1284); -return x_1285; -} -} -else -{ -uint8_t x_1286; -lean_free_object(x_1275); -lean_dec(x_1279); -x_1286 = !lean_is_exclusive(x_1280); -if (x_1286 == 0) -{ -return x_1280; -} -else -{ -lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; -x_1287 = lean_ctor_get(x_1280, 0); -x_1288 = lean_ctor_get(x_1280, 1); -lean_inc(x_1288); -lean_inc(x_1287); -lean_dec(x_1280); -x_1289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1289, 0, x_1287); -lean_ctor_set(x_1289, 1, x_1288); -return x_1289; -} -} -} -else -{ -lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; -x_1290 = lean_ctor_get(x_1275, 0); -x_1291 = lean_ctor_get(x_1275, 1); -lean_inc(x_1291); -lean_inc(x_1290); +x_1277 = lean_ctor_get(x_1275, 1); +lean_inc(x_1277); lean_dec(x_1275); -x_1292 = l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(x_1290, x_4, x_1276); -lean_dec(x_4); -lean_dec(x_1290); -if (lean_obj_tag(x_1292) == 0) +x_1278 = !lean_is_exclusive(x_1276); +if (x_1278 == 0) { -lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; -x_1293 = lean_ctor_get(x_1292, 0); -lean_inc(x_1293); -x_1294 = lean_ctor_get(x_1292, 1); -lean_inc(x_1294); -if (lean_is_exclusive(x_1292)) { - lean_ctor_release(x_1292, 0); - lean_ctor_release(x_1292, 1); - x_1295 = x_1292; -} else { - lean_dec_ref(x_1292); - x_1295 = lean_box(0); -} -x_1296 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1296, 0, x_1293); -lean_ctor_set(x_1296, 1, x_1291); -if (lean_is_scalar(x_1295)) { - x_1297 = lean_alloc_ctor(0, 2, 0); -} else { - x_1297 = x_1295; -} -lean_ctor_set(x_1297, 0, x_1296); -lean_ctor_set(x_1297, 1, x_1294); -return x_1297; +lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; +x_1279 = lean_ctor_get(x_1276, 0); +x_1280 = lean_ctor_get(x_1276, 1); +x_1281 = l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(x_1279, x_4, x_1277); +lean_dec(x_4); +lean_dec(x_1279); +if (lean_obj_tag(x_1281) == 0) +{ +uint8_t x_1282; +x_1282 = !lean_is_exclusive(x_1281); +if (x_1282 == 0) +{ +lean_object* x_1283; +x_1283 = lean_ctor_get(x_1281, 0); +lean_ctor_set(x_1276, 0, x_1283); +lean_ctor_set(x_1281, 0, x_1276); +return x_1281; } else { -lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; +lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; +x_1284 = lean_ctor_get(x_1281, 0); +x_1285 = lean_ctor_get(x_1281, 1); +lean_inc(x_1285); +lean_inc(x_1284); +lean_dec(x_1281); +lean_ctor_set(x_1276, 0, x_1284); +x_1286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1286, 0, x_1276); +lean_ctor_set(x_1286, 1, x_1285); +return x_1286; +} +} +else +{ +uint8_t x_1287; +lean_free_object(x_1276); +lean_dec(x_1280); +x_1287 = !lean_is_exclusive(x_1281); +if (x_1287 == 0) +{ +return x_1281; +} +else +{ +lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; +x_1288 = lean_ctor_get(x_1281, 0); +x_1289 = lean_ctor_get(x_1281, 1); +lean_inc(x_1289); +lean_inc(x_1288); +lean_dec(x_1281); +x_1290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1290, 0, x_1288); +lean_ctor_set(x_1290, 1, x_1289); +return x_1290; +} +} +} +else +{ +lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; +x_1291 = lean_ctor_get(x_1276, 0); +x_1292 = lean_ctor_get(x_1276, 1); +lean_inc(x_1292); +lean_inc(x_1291); +lean_dec(x_1276); +x_1293 = l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(x_1291, x_4, x_1277); +lean_dec(x_4); lean_dec(x_1291); -x_1298 = lean_ctor_get(x_1292, 0); -lean_inc(x_1298); -x_1299 = lean_ctor_get(x_1292, 1); +if (lean_obj_tag(x_1293) == 0) +{ +lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; +x_1294 = lean_ctor_get(x_1293, 0); +lean_inc(x_1294); +x_1295 = lean_ctor_get(x_1293, 1); +lean_inc(x_1295); +if (lean_is_exclusive(x_1293)) { + lean_ctor_release(x_1293, 0); + lean_ctor_release(x_1293, 1); + x_1296 = x_1293; +} else { + lean_dec_ref(x_1293); + x_1296 = lean_box(0); +} +x_1297 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1297, 0, x_1294); +lean_ctor_set(x_1297, 1, x_1292); +if (lean_is_scalar(x_1296)) { + x_1298 = lean_alloc_ctor(0, 2, 0); +} else { + x_1298 = x_1296; +} +lean_ctor_set(x_1298, 0, x_1297); +lean_ctor_set(x_1298, 1, x_1295); +return x_1298; +} +else +{ +lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; +lean_dec(x_1292); +x_1299 = lean_ctor_get(x_1293, 0); lean_inc(x_1299); -if (lean_is_exclusive(x_1292)) { - lean_ctor_release(x_1292, 0); - lean_ctor_release(x_1292, 1); - x_1300 = x_1292; +x_1300 = lean_ctor_get(x_1293, 1); +lean_inc(x_1300); +if (lean_is_exclusive(x_1293)) { + lean_ctor_release(x_1293, 0); + lean_ctor_release(x_1293, 1); + x_1301 = x_1293; } else { - lean_dec_ref(x_1292); - x_1300 = lean_box(0); + lean_dec_ref(x_1293); + x_1301 = lean_box(0); } -if (lean_is_scalar(x_1300)) { - x_1301 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1301)) { + x_1302 = lean_alloc_ctor(1, 2, 0); } else { - x_1301 = x_1300; + x_1302 = x_1301; } -lean_ctor_set(x_1301, 0, x_1298); -lean_ctor_set(x_1301, 1, x_1299); -return x_1301; +lean_ctor_set(x_1302, 0, x_1299); +lean_ctor_set(x_1302, 1, x_1300); +return x_1302; } } } else { -uint8_t x_1302; +uint8_t x_1303; lean_dec(x_4); -x_1302 = !lean_is_exclusive(x_1274); -if (x_1302 == 0) +x_1303 = !lean_is_exclusive(x_1275); +if (x_1303 == 0) { -return x_1274; +return x_1275; } else { -lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; -x_1303 = lean_ctor_get(x_1274, 0); -x_1304 = lean_ctor_get(x_1274, 1); +lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; +x_1304 = lean_ctor_get(x_1275, 0); +x_1305 = lean_ctor_get(x_1275, 1); +lean_inc(x_1305); lean_inc(x_1304); -lean_inc(x_1303); -lean_dec(x_1274); -x_1305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1305, 0, x_1303); -lean_ctor_set(x_1305, 1, x_1304); -return x_1305; +lean_dec(x_1275); +x_1306 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1306, 0, x_1304); +lean_ctor_set(x_1306, 1, x_1305); +return x_1306; } } } @@ -6659,7 +6661,7 @@ lean_inc(x_2); x_4 = l_Lean_Elab_Command_getEnv(x_2, x_3); if (lean_obj_tag(x_4) == 0) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_386; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_387; x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); x_6 = lean_ctor_get(x_4, 1); @@ -6667,1215 +6669,1216 @@ lean_inc(x_6); lean_dec(x_4); x_7 = lean_unsigned_to_nat(4u); x_8 = l_Lean_Syntax_getIdAt(x_1, x_7); -x_386 = l_Lean_Parser_isParserCategory(x_5, x_8); +x_9 = l_Lean_Name_eraseMacroScopes(x_8); +x_387 = l_Lean_Parser_isParserCategory(x_5, x_9); lean_dec(x_5); -if (x_386 == 0) +if (x_387 == 0) { -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; uint8_t x_394; -x_387 = l_Lean_Syntax_getArg(x_1, x_7); +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; uint8_t x_395; +x_388 = l_Lean_Syntax_getArg(x_1, x_7); lean_dec(x_1); -x_388 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_388, 0, x_8); -x_389 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; -x_390 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_390, 0, x_389); -lean_ctor_set(x_390, 1, x_388); -x_391 = l_Lean_Elab_Term_mkConst___closed__4; -x_392 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_392, 0, x_390); -lean_ctor_set(x_392, 1, x_391); -x_393 = l_Lean_Elab_Command_throwError___rarg(x_387, x_392, x_2, x_6); -lean_dec(x_387); -x_394 = !lean_is_exclusive(x_393); -if (x_394 == 0) +x_389 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_389, 0, x_9); +x_390 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; +x_391 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_391, 0, x_390); +lean_ctor_set(x_391, 1, x_389); +x_392 = l_Lean_Elab_Term_mkConst___closed__4; +x_393 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_393, 0, x_391); +lean_ctor_set(x_393, 1, x_392); +x_394 = l_Lean_Elab_Command_throwError___rarg(x_388, x_393, x_2, x_6); +lean_dec(x_388); +x_395 = !lean_is_exclusive(x_394); +if (x_395 == 0) { -return x_393; +return x_394; } else { -lean_object* x_395; lean_object* x_396; lean_object* x_397; -x_395 = lean_ctor_get(x_393, 0); -x_396 = lean_ctor_get(x_393, 1); +lean_object* x_396; lean_object* x_397; lean_object* x_398; +x_396 = lean_ctor_get(x_394, 0); +x_397 = lean_ctor_get(x_394, 1); +lean_inc(x_397); lean_inc(x_396); -lean_inc(x_395); -lean_dec(x_393); -x_397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_397, 0, x_395); -lean_ctor_set(x_397, 1, x_396); -return x_397; +lean_dec(x_394); +x_398 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_398, 0, x_396); +lean_ctor_set(x_398, 1, x_397); +return x_398; } } else { -x_9 = x_6; -goto block_385; +x_10 = x_6; +goto block_386; } -block_385: +block_386: { -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); +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); lean_inc(x_2); -lean_inc(x_8); -x_12 = l___private_Init_Lean_Elab_Syntax_7__elabKind(x_11, x_8, x_2, x_9); -lean_dec(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_291; lean_object* x_292; lean_object* x_293; -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_inc(x_9); +x_13 = l___private_Init_Lean_Elab_Syntax_7__elabKind(x_12, x_9, x_2, x_10); lean_dec(x_12); -x_15 = l_Lean_Syntax_formatStxAux___main___closed__5; -lean_inc(x_8); -x_16 = l_Lean_Name_appendAfter(x_8, x_15); -x_17 = l_Lean_mkIdentFrom(x_1, x_16); -x_291 = lean_box(0); +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_292; lean_object* x_293; lean_object* x_294; +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_Syntax_formatStxAux___main___closed__5; +lean_inc(x_9); +x_17 = l_Lean_Name_appendAfter(x_9, x_16); +x_18 = l_Lean_mkIdentFrom(x_1, x_17); +x_292 = lean_box(0); lean_inc(x_1); -x_292 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSyntax___lambda__1___boxed), 5, 2); -lean_closure_set(x_292, 0, x_1); -lean_closure_set(x_292, 1, x_8); +x_293 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSyntax___lambda__1___boxed), 5, 2); +lean_closure_set(x_293, 0, x_1); +lean_closure_set(x_293, 1, x_9); lean_inc(x_2); -x_293 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_14); -if (lean_obj_tag(x_293) == 0) +x_294 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_15); +if (lean_obj_tag(x_294) == 0) { -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_294 = lean_ctor_get(x_293, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_293, 1); +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_295 = lean_ctor_get(x_294, 0); lean_inc(x_295); -lean_dec(x_293); -x_296 = l___private_Init_Lean_Elab_Command_8__getVarDecls(x_294); -x_297 = l___private_Init_Lean_Elab_Command_6__mkTermContext(x_2, x_294, x_291); -x_298 = l___private_Init_Lean_Elab_Command_7__mkTermState(x_294); +x_296 = lean_ctor_get(x_294, 1); +lean_inc(x_296); lean_dec(x_294); -x_299 = l_Lean_Elab_Term_elabBinders___rarg(x_296, x_292, x_297, x_298); -lean_dec(x_296); -if (lean_obj_tag(x_299) == 0) +x_297 = l___private_Init_Lean_Elab_Command_8__getVarDecls(x_295); +x_298 = l___private_Init_Lean_Elab_Command_6__mkTermContext(x_2, x_295, x_292); +x_299 = l___private_Init_Lean_Elab_Command_7__mkTermState(x_295); +lean_dec(x_295); +x_300 = l_Lean_Elab_Term_elabBinders___rarg(x_297, x_293, x_298, x_299); +lean_dec(x_297); +if (lean_obj_tag(x_300) == 0) { -lean_object* x_300; lean_object* x_301; lean_object* x_302; -x_300 = lean_ctor_get(x_299, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_299, 1); +lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_301 = lean_ctor_get(x_300, 0); lean_inc(x_301); -lean_dec(x_299); +x_302 = lean_ctor_get(x_300, 1); +lean_inc(x_302); +lean_dec(x_300); lean_inc(x_2); -x_302 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_295); -if (lean_obj_tag(x_302) == 0) +x_303 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_296); +if (lean_obj_tag(x_303) == 0) { -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_301, 0); -lean_inc(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; x_304 = lean_ctor_get(x_302, 0); lean_inc(x_304); -x_305 = lean_ctor_get(x_302, 1); +x_305 = lean_ctor_get(x_303, 0); lean_inc(x_305); -lean_dec(x_302); -x_306 = lean_ctor_get(x_303, 0); +x_306 = lean_ctor_get(x_303, 1); lean_inc(x_306); lean_dec(x_303); -x_307 = lean_ctor_get(x_301, 2); +x_307 = lean_ctor_get(x_304, 0); lean_inc(x_307); -lean_dec(x_301); -x_308 = !lean_is_exclusive(x_304); -if (x_308 == 0) +lean_dec(x_304); +x_308 = lean_ctor_get(x_302, 2); +lean_inc(x_308); +lean_dec(x_302); +x_309 = !lean_is_exclusive(x_305); +if (x_309 == 0) { -lean_object* x_309; lean_object* x_310; lean_object* x_311; -x_309 = lean_ctor_get(x_304, 1); -lean_dec(x_309); -x_310 = lean_ctor_get(x_304, 0); +lean_object* x_310; lean_object* x_311; lean_object* x_312; +x_310 = lean_ctor_get(x_305, 1); lean_dec(x_310); -lean_ctor_set(x_304, 1, x_307); -lean_ctor_set(x_304, 0, x_306); -lean_inc(x_2); -x_311 = l___private_Init_Lean_Elab_Command_3__setState(x_304, x_2, x_305); -if (lean_obj_tag(x_311) == 0) -{ -lean_object* x_312; -x_312 = lean_ctor_get(x_311, 1); -lean_inc(x_312); +x_311 = lean_ctor_get(x_305, 0); lean_dec(x_311); -x_18 = x_300; -x_19 = x_312; -goto block_290; +lean_ctor_set(x_305, 1, x_308); +lean_ctor_set(x_305, 0, x_307); +lean_inc(x_2); +x_312 = l___private_Init_Lean_Elab_Command_3__setState(x_305, x_2, x_306); +if (lean_obj_tag(x_312) == 0) +{ +lean_object* x_313; +x_313 = lean_ctor_get(x_312, 1); +lean_inc(x_313); +lean_dec(x_312); +x_19 = x_301; +x_20 = x_313; +goto block_291; } else { -uint8_t x_313; -lean_dec(x_300); -lean_dec(x_17); -lean_dec(x_13); +uint8_t x_314; +lean_dec(x_301); +lean_dec(x_18); +lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_313 = !lean_is_exclusive(x_311); -if (x_313 == 0) +x_314 = !lean_is_exclusive(x_312); +if (x_314 == 0) { -return x_311; +return x_312; } else { -lean_object* x_314; lean_object* x_315; lean_object* x_316; -x_314 = lean_ctor_get(x_311, 0); -x_315 = lean_ctor_get(x_311, 1); +lean_object* x_315; lean_object* x_316; lean_object* x_317; +x_315 = lean_ctor_get(x_312, 0); +x_316 = lean_ctor_get(x_312, 1); +lean_inc(x_316); lean_inc(x_315); -lean_inc(x_314); -lean_dec(x_311); -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; +lean_dec(x_312); +x_317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_317, 0, x_315); +lean_ctor_set(x_317, 1, x_316); +return x_317; } } } else { -lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; -x_317 = lean_ctor_get(x_304, 2); -x_318 = lean_ctor_get(x_304, 3); -x_319 = lean_ctor_get(x_304, 4); +lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; +x_318 = lean_ctor_get(x_305, 2); +x_319 = lean_ctor_get(x_305, 3); +x_320 = lean_ctor_get(x_305, 4); +lean_inc(x_320); lean_inc(x_319); lean_inc(x_318); -lean_inc(x_317); -lean_dec(x_304); -x_320 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_320, 0, x_306); -lean_ctor_set(x_320, 1, x_307); -lean_ctor_set(x_320, 2, x_317); -lean_ctor_set(x_320, 3, x_318); -lean_ctor_set(x_320, 4, x_319); +lean_dec(x_305); +x_321 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_321, 0, x_307); +lean_ctor_set(x_321, 1, x_308); +lean_ctor_set(x_321, 2, x_318); +lean_ctor_set(x_321, 3, x_319); +lean_ctor_set(x_321, 4, x_320); lean_inc(x_2); -x_321 = l___private_Init_Lean_Elab_Command_3__setState(x_320, x_2, x_305); -if (lean_obj_tag(x_321) == 0) +x_322 = l___private_Init_Lean_Elab_Command_3__setState(x_321, x_2, x_306); +if (lean_obj_tag(x_322) == 0) { -lean_object* x_322; -x_322 = lean_ctor_get(x_321, 1); -lean_inc(x_322); -lean_dec(x_321); -x_18 = x_300; -x_19 = x_322; -goto block_290; -} -else -{ -lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; -lean_dec(x_300); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -x_323 = lean_ctor_get(x_321, 0); +lean_object* x_323; +x_323 = lean_ctor_get(x_322, 1); lean_inc(x_323); -x_324 = lean_ctor_get(x_321, 1); -lean_inc(x_324); -if (lean_is_exclusive(x_321)) { - lean_ctor_release(x_321, 0); - lean_ctor_release(x_321, 1); - x_325 = x_321; -} else { - lean_dec_ref(x_321); - x_325 = lean_box(0); -} -if (lean_is_scalar(x_325)) { - x_326 = lean_alloc_ctor(1, 2, 0); -} else { - x_326 = x_325; -} -lean_ctor_set(x_326, 0, x_323); -lean_ctor_set(x_326, 1, x_324); -return x_326; -} -} +lean_dec(x_322); +x_19 = x_301; +x_20 = x_323; +goto block_291; } else { -uint8_t x_327; +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_dec(x_301); -lean_dec(x_300); -lean_dec(x_17); -lean_dec(x_13); +lean_dec(x_18); +lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_327 = !lean_is_exclusive(x_302); -if (x_327 == 0) -{ -return x_302; +x_324 = lean_ctor_get(x_322, 0); +lean_inc(x_324); +x_325 = lean_ctor_get(x_322, 1); +lean_inc(x_325); +if (lean_is_exclusive(x_322)) { + lean_ctor_release(x_322, 0); + lean_ctor_release(x_322, 1); + x_326 = x_322; +} else { + lean_dec_ref(x_322); + 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_329; lean_object* x_330; -x_328 = lean_ctor_get(x_302, 0); -x_329 = lean_ctor_get(x_302, 1); -lean_inc(x_329); -lean_inc(x_328); +uint8_t x_328; lean_dec(x_302); -x_330 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_330, 0, x_328); -lean_ctor_set(x_330, 1, x_329); -return x_330; +lean_dec(x_301); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_2); +lean_dec(x_1); +x_328 = !lean_is_exclusive(x_303); +if (x_328 == 0) +{ +return x_303; +} +else +{ +lean_object* x_329; lean_object* x_330; lean_object* x_331; +x_329 = lean_ctor_get(x_303, 0); +x_330 = lean_ctor_get(x_303, 1); +lean_inc(x_330); +lean_inc(x_329); +lean_dec(x_303); +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_329); +lean_ctor_set(x_331, 1, x_330); +return x_331; } } } else { -lean_object* x_331; -x_331 = lean_ctor_get(x_299, 0); -lean_inc(x_331); -if (lean_obj_tag(x_331) == 0) -{ -lean_object* x_332; lean_object* x_333; lean_object* x_334; -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_1); -x_332 = lean_ctor_get(x_299, 1); +lean_object* x_332; +x_332 = lean_ctor_get(x_300, 0); lean_inc(x_332); -lean_dec(x_299); -x_333 = lean_ctor_get(x_331, 0); -lean_inc(x_333); -lean_dec(x_331); -lean_inc(x_2); -x_334 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_295); -if (lean_obj_tag(x_334) == 0) +if (lean_obj_tag(x_332) == 0) { -lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_340; -x_335 = lean_ctor_get(x_332, 0); -lean_inc(x_335); -x_336 = lean_ctor_get(x_334, 0); +lean_object* x_333; lean_object* x_334; lean_object* x_335; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_1); +x_333 = lean_ctor_get(x_300, 1); +lean_inc(x_333); +lean_dec(x_300); +x_334 = lean_ctor_get(x_332, 0); +lean_inc(x_334); +lean_dec(x_332); +lean_inc(x_2); +x_335 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_296); +if (lean_obj_tag(x_335) == 0) +{ +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_336 = lean_ctor_get(x_333, 0); lean_inc(x_336); -x_337 = lean_ctor_get(x_334, 1); +x_337 = lean_ctor_get(x_335, 0); lean_inc(x_337); -lean_dec(x_334); -x_338 = lean_ctor_get(x_335, 0); +x_338 = lean_ctor_get(x_335, 1); lean_inc(x_338); lean_dec(x_335); -x_339 = lean_ctor_get(x_332, 2); +x_339 = lean_ctor_get(x_336, 0); lean_inc(x_339); -lean_dec(x_332); -x_340 = !lean_is_exclusive(x_336); -if (x_340 == 0) -{ -lean_object* x_341; lean_object* x_342; lean_object* x_343; -x_341 = lean_ctor_get(x_336, 1); -lean_dec(x_341); -x_342 = lean_ctor_get(x_336, 0); -lean_dec(x_342); -lean_ctor_set(x_336, 1, x_339); -lean_ctor_set(x_336, 0, x_338); -x_343 = l___private_Init_Lean_Elab_Command_3__setState(x_336, x_2, x_337); -if (lean_obj_tag(x_343) == 0) -{ -uint8_t x_344; -x_344 = !lean_is_exclusive(x_343); -if (x_344 == 0) -{ -lean_object* x_345; -x_345 = lean_ctor_get(x_343, 0); -lean_dec(x_345); -lean_ctor_set_tag(x_343, 1); -lean_ctor_set(x_343, 0, x_333); -return x_343; -} -else -{ -lean_object* x_346; lean_object* x_347; -x_346 = lean_ctor_get(x_343, 1); -lean_inc(x_346); -lean_dec(x_343); -x_347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_347, 0, x_333); -lean_ctor_set(x_347, 1, x_346); -return x_347; -} -} -else -{ -uint8_t x_348; +lean_dec(x_336); +x_340 = lean_ctor_get(x_333, 2); +lean_inc(x_340); lean_dec(x_333); -x_348 = !lean_is_exclusive(x_343); -if (x_348 == 0) +x_341 = !lean_is_exclusive(x_337); +if (x_341 == 0) { -return x_343; -} -else -{ -lean_object* x_349; lean_object* x_350; lean_object* x_351; -x_349 = lean_ctor_get(x_343, 0); -x_350 = lean_ctor_get(x_343, 1); -lean_inc(x_350); -lean_inc(x_349); +lean_object* x_342; lean_object* x_343; lean_object* x_344; +x_342 = lean_ctor_get(x_337, 1); +lean_dec(x_342); +x_343 = lean_ctor_get(x_337, 0); lean_dec(x_343); -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_349); -lean_ctor_set(x_351, 1, x_350); -return x_351; +lean_ctor_set(x_337, 1, x_340); +lean_ctor_set(x_337, 0, x_339); +x_344 = l___private_Init_Lean_Elab_Command_3__setState(x_337, x_2, x_338); +if (lean_obj_tag(x_344) == 0) +{ +uint8_t x_345; +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_334); +return x_344; +} +else +{ +lean_object* x_347; lean_object* x_348; +x_347 = lean_ctor_get(x_344, 1); +lean_inc(x_347); +lean_dec(x_344); +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_334); +lean_ctor_set(x_348, 1, x_347); +return x_348; +} +} +else +{ +uint8_t x_349; +lean_dec(x_334); +x_349 = !lean_is_exclusive(x_344); +if (x_349 == 0) +{ +return x_344; +} +else +{ +lean_object* x_350; lean_object* x_351; lean_object* x_352; +x_350 = lean_ctor_get(x_344, 0); +x_351 = lean_ctor_get(x_344, 1); +lean_inc(x_351); +lean_inc(x_350); +lean_dec(x_344); +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; } } } else { -lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; -x_352 = lean_ctor_get(x_336, 2); -x_353 = lean_ctor_get(x_336, 3); -x_354 = lean_ctor_get(x_336, 4); +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_337, 2); +x_354 = lean_ctor_get(x_337, 3); +x_355 = lean_ctor_get(x_337, 4); +lean_inc(x_355); lean_inc(x_354); lean_inc(x_353); -lean_inc(x_352); -lean_dec(x_336); -x_355 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_355, 0, x_338); -lean_ctor_set(x_355, 1, x_339); -lean_ctor_set(x_355, 2, x_352); -lean_ctor_set(x_355, 3, x_353); -lean_ctor_set(x_355, 4, x_354); -x_356 = l___private_Init_Lean_Elab_Command_3__setState(x_355, x_2, x_337); -if (lean_obj_tag(x_356) == 0) +lean_dec(x_337); +x_356 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_356, 0, x_339); +lean_ctor_set(x_356, 1, x_340); +lean_ctor_set(x_356, 2, x_353); +lean_ctor_set(x_356, 3, x_354); +lean_ctor_set(x_356, 4, x_355); +x_357 = l___private_Init_Lean_Elab_Command_3__setState(x_356, x_2, x_338); +if (lean_obj_tag(x_357) == 0) { -lean_object* x_357; lean_object* x_358; lean_object* x_359; -x_357 = lean_ctor_get(x_356, 1); -lean_inc(x_357); -if (lean_is_exclusive(x_356)) { - lean_ctor_release(x_356, 0); - lean_ctor_release(x_356, 1); - x_358 = x_356; +lean_object* x_358; lean_object* x_359; lean_object* x_360; +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_356); - x_358 = lean_box(0); + lean_dec_ref(x_357); + x_359 = lean_box(0); } -if (lean_is_scalar(x_358)) { - x_359 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_359)) { + x_360 = lean_alloc_ctor(1, 2, 0); } else { - x_359 = x_358; - lean_ctor_set_tag(x_359, 1); + x_360 = x_359; + lean_ctor_set_tag(x_360, 1); } -lean_ctor_set(x_359, 0, x_333); -lean_ctor_set(x_359, 1, x_357); -return x_359; +lean_ctor_set(x_360, 0, x_334); +lean_ctor_set(x_360, 1, x_358); +return x_360; } else { -lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; -lean_dec(x_333); -x_360 = lean_ctor_get(x_356, 0); -lean_inc(x_360); -x_361 = lean_ctor_get(x_356, 1); -lean_inc(x_361); -if (lean_is_exclusive(x_356)) { - lean_ctor_release(x_356, 0); - lean_ctor_release(x_356, 1); - x_362 = x_356; -} else { - lean_dec_ref(x_356); - x_362 = lean_box(0); -} -if (lean_is_scalar(x_362)) { - x_363 = lean_alloc_ctor(1, 2, 0); -} else { - x_363 = x_362; -} -lean_ctor_set(x_363, 0, x_360); -lean_ctor_set(x_363, 1, x_361); -return x_363; -} -} -} -else -{ -uint8_t x_364; -lean_dec(x_333); -lean_dec(x_332); -lean_dec(x_2); -x_364 = !lean_is_exclusive(x_334); -if (x_364 == 0) -{ -return x_334; -} -else -{ -lean_object* x_365; lean_object* x_366; lean_object* x_367; -x_365 = lean_ctor_get(x_334, 0); -x_366 = lean_ctor_get(x_334, 1); -lean_inc(x_366); -lean_inc(x_365); +lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_dec(x_334); -x_367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_367, 0, x_365); -lean_ctor_set(x_367, 1, x_366); -return x_367; +x_361 = lean_ctor_get(x_357, 0); +lean_inc(x_361); +x_362 = lean_ctor_get(x_357, 1); +lean_inc(x_362); +if (lean_is_exclusive(x_357)) { + lean_ctor_release(x_357, 0); + lean_ctor_release(x_357, 1); + x_363 = x_357; +} else { + lean_dec_ref(x_357); + x_363 = lean_box(0); +} +if (lean_is_scalar(x_363)) { + x_364 = lean_alloc_ctor(1, 2, 0); +} else { + x_364 = x_363; +} +lean_ctor_set(x_364, 0, x_361); +lean_ctor_set(x_364, 1, x_362); +return x_364; } } } else { -lean_object* x_368; lean_object* x_369; lean_object* x_370; -lean_dec(x_299); -x_368 = l_Lean_Elab_Command_runTermElabM___rarg___closed__1; -x_369 = l_unreachable_x21___rarg(x_368); -lean_inc(x_2); -x_370 = lean_apply_2(x_369, x_2, x_295); -if (lean_obj_tag(x_370) == 0) +uint8_t x_365; +lean_dec(x_334); +lean_dec(x_333); +lean_dec(x_2); +x_365 = !lean_is_exclusive(x_335); +if (x_365 == 0) { -lean_object* x_371; lean_object* x_372; -x_371 = lean_ctor_get(x_370, 0); -lean_inc(x_371); -x_372 = lean_ctor_get(x_370, 1); +return x_335; +} +else +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; +x_366 = lean_ctor_get(x_335, 0); +x_367 = lean_ctor_get(x_335, 1); +lean_inc(x_367); +lean_inc(x_366); +lean_dec(x_335); +x_368 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_368, 0, x_366); +lean_ctor_set(x_368, 1, x_367); +return x_368; +} +} +} +else +{ +lean_object* x_369; lean_object* x_370; lean_object* x_371; +lean_dec(x_300); +x_369 = l_Lean_Elab_Command_runTermElabM___rarg___closed__1; +x_370 = l_unreachable_x21___rarg(x_369); +lean_inc(x_2); +x_371 = lean_apply_2(x_370, x_2, x_296); +if (lean_obj_tag(x_371) == 0) +{ +lean_object* x_372; lean_object* x_373; +x_372 = lean_ctor_get(x_371, 0); lean_inc(x_372); -lean_dec(x_370); -x_18 = x_371; +x_373 = lean_ctor_get(x_371, 1); +lean_inc(x_373); +lean_dec(x_371); x_19 = x_372; -goto block_290; +x_20 = x_373; +goto block_291; } else { -uint8_t x_373; -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -x_373 = !lean_is_exclusive(x_370); -if (x_373 == 0) -{ -return x_370; -} -else -{ -lean_object* x_374; lean_object* x_375; lean_object* x_376; -x_374 = lean_ctor_get(x_370, 0); -x_375 = lean_ctor_get(x_370, 1); -lean_inc(x_375); -lean_inc(x_374); -lean_dec(x_370); -x_376 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_376, 0, x_374); -lean_ctor_set(x_376, 1, x_375); -return x_376; -} -} -} -} -} -else -{ -uint8_t x_377; -lean_dec(x_292); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -x_377 = !lean_is_exclusive(x_293); -if (x_377 == 0) -{ -return x_293; -} -else -{ -lean_object* x_378; lean_object* x_379; lean_object* x_380; -x_378 = lean_ctor_get(x_293, 0); -x_379 = lean_ctor_get(x_293, 1); -lean_inc(x_379); -lean_inc(x_378); -lean_dec(x_293); -x_380 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_380, 0, x_378); -lean_ctor_set(x_380, 1, x_379); -return x_380; -} -} -block_290: -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_18, 1); -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; 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; -x_22 = lean_ctor_get(x_18, 0); -lean_inc(x_22); +uint8_t x_374; lean_dec(x_18); -x_23 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_19); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); +lean_dec(x_14); +lean_dec(x_2); +lean_dec(x_1); +x_374 = !lean_is_exclusive(x_371); +if (x_374 == 0) +{ +return x_371; +} +else +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; +x_375 = lean_ctor_get(x_371, 0); +x_376 = lean_ctor_get(x_371, 1); +lean_inc(x_376); +lean_inc(x_375); +lean_dec(x_371); +x_377 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_377, 0, x_375); +lean_ctor_set(x_377, 1, x_376); +return x_377; +} +} +} +} +} +else +{ +uint8_t x_378; +lean_dec(x_293); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_2); +lean_dec(x_1); +x_378 = !lean_is_exclusive(x_294); +if (x_378 == 0) +{ +return x_294; +} +else +{ +lean_object* x_379; lean_object* x_380; lean_object* x_381; +x_379 = lean_ctor_get(x_294, 0); +x_380 = lean_ctor_get(x_294, 1); +lean_inc(x_380); +lean_inc(x_379); +lean_dec(x_294); +x_381 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_381, 0, x_379); +lean_ctor_set(x_381, 1, x_380); +return x_381; +} +} +block_291: +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_19, 1); +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_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; +x_23 = lean_ctor_get(x_19, 0); +lean_inc(x_23); +lean_dec(x_19); +x_24 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_20); +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_box(0); -x_27 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__6; -x_28 = lean_name_mk_numeral(x_27, x_24); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_elabSyntax___closed__3; -x_31 = l_Lean_Elab_Command_elabSyntax___closed__5; -x_32 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_32, 0, x_26); -lean_ctor_set(x_32, 1, x_30); -lean_ctor_set(x_32, 2, x_28); -lean_ctor_set(x_32, 3, x_31); -x_33 = l_Array_empty___closed__1; -x_34 = lean_array_push(x_33, x_32); -x_35 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_36 = lean_array_push(x_34, x_35); -x_37 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -x_39 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_25); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_box(0); +x_28 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__6; +x_29 = lean_name_mk_numeral(x_28, x_25); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_elabSyntax___closed__3; +x_32 = l_Lean_Elab_Command_elabSyntax___closed__5; +x_33 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_33, 0, x_27); +lean_ctor_set(x_33, 1, x_31); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_32); +x_34 = l_Array_empty___closed__1; +x_35 = lean_array_push(x_34, x_33); +x_36 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_37 = lean_array_push(x_35, x_36); +x_38 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_26); +x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_array_push(x_33, x_17); -x_43 = lean_array_push(x_42, x_35); -x_44 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = lean_array_push(x_33, x_45); -x_47 = l_Lean_nullKind___closed__2; -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = l_Lean_Elab_Command_elabSyntax___closed__8; -x_50 = lean_array_push(x_49, x_48); -x_51 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_52 = lean_array_push(x_50, x_51); -x_53 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_33, x_54); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_47); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Elab_Command_elabSyntax___closed__6; -x_58 = lean_array_push(x_57, x_56); -x_59 = lean_array_push(x_58, x_35); -x_60 = lean_array_push(x_59, x_35); -x_61 = lean_array_push(x_60, x_35); -x_62 = lean_array_push(x_61, x_35); -x_63 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -x_65 = lean_array_push(x_33, x_64); -x_66 = l_Lean_Elab_Command_elabSyntax___closed__14; -lean_inc(x_40); -x_67 = lean_name_mk_numeral(x_66, x_40); -x_68 = l_Lean_Elab_Command_elabSyntax___closed__13; -x_69 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_69, 0, x_26); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_67); -lean_ctor_set(x_69, 3, x_29); -x_70 = lean_array_push(x_33, x_69); -x_71 = lean_array_push(x_70, x_35); -x_72 = l_Lean_Parser_Command_declId___elambda__1___closed__2; -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -x_74 = l_Lean_Elab_Command_elabSyntax___closed__10; -x_75 = lean_array_push(x_74, x_73); -x_76 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; -x_77 = lean_array_push(x_76, x_38); -x_78 = l_Lean_Parser_Term_typeSpec___elambda__1___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); -x_80 = lean_array_push(x_33, x_79); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_47); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_array_push(x_57, x_81); -x_83 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_82); -x_85 = lean_array_push(x_75, x_84); -x_86 = l_Lean_Elab_Command_elabSyntax___closed__19; -x_87 = lean_name_mk_numeral(x_86, x_40); -x_88 = l_Lean_Elab_Command_elabSyntax___closed__18; -x_89 = l_Lean_Elab_Command_elabSyntax___closed__22; -x_90 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_90, 0, x_26); -lean_ctor_set(x_90, 1, x_88); -lean_ctor_set(x_90, 2, x_87); -lean_ctor_set(x_90, 3, x_89); -x_91 = lean_array_push(x_33, x_90); -x_92 = lean_array_push(x_91, x_35); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_37); -lean_ctor_set(x_93, 1, x_92); -x_94 = lean_array_push(x_33, x_93); -x_95 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_13); -x_96 = lean_array_push(x_33, x_95); -x_97 = lean_array_push(x_96, x_22); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_47); -lean_ctor_set(x_98, 1, x_97); -x_99 = lean_array_push(x_94, x_98); -x_100 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = l_Lean_Elab_Command_elabSyntax___closed__15; -x_103 = lean_array_push(x_102, x_101); -x_104 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; -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_85, x_105); -x_107 = l_Lean_Parser_Command_def___elambda__1___closed__2; -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -x_109 = lean_array_push(x_65, x_108); -x_110 = l_Lean_Parser_Command_declaration___elambda__1___closed__2; -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_109); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_array_push(x_34, x_18); +x_44 = lean_array_push(x_43, x_36); +x_45 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = lean_array_push(x_34, x_46); +x_48 = l_Lean_nullKind___closed__2; +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +x_50 = l_Lean_Elab_Command_elabSyntax___closed__8; +x_51 = lean_array_push(x_50, x_49); +x_52 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_53 = lean_array_push(x_51, x_52); +x_54 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_array_push(x_34, x_55); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_48); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Elab_Command_elabSyntax___closed__6; +x_59 = lean_array_push(x_58, x_57); +x_60 = lean_array_push(x_59, x_36); +x_61 = lean_array_push(x_60, x_36); +x_62 = lean_array_push(x_61, x_36); +x_63 = lean_array_push(x_62, x_36); +x_64 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +x_66 = lean_array_push(x_34, x_65); +x_67 = l_Lean_Elab_Command_elabSyntax___closed__14; +lean_inc(x_41); +x_68 = lean_name_mk_numeral(x_67, x_41); +x_69 = l_Lean_Elab_Command_elabSyntax___closed__13; +x_70 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_70, 0, x_27); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set(x_70, 2, x_68); +lean_ctor_set(x_70, 3, x_30); +x_71 = lean_array_push(x_34, x_70); +x_72 = lean_array_push(x_71, x_36); +x_73 = l_Lean_Parser_Command_declId___elambda__1___closed__2; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +x_75 = l_Lean_Elab_Command_elabSyntax___closed__10; +x_76 = lean_array_push(x_75, x_74); +x_77 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; +x_78 = lean_array_push(x_77, x_39); +x_79 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +x_81 = lean_array_push(x_34, x_80); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_48); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_array_push(x_58, x_82); +x_84 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +x_86 = lean_array_push(x_76, x_85); +x_87 = l_Lean_Elab_Command_elabSyntax___closed__19; +x_88 = lean_name_mk_numeral(x_87, x_41); +x_89 = l_Lean_Elab_Command_elabSyntax___closed__18; +x_90 = l_Lean_Elab_Command_elabSyntax___closed__22; +x_91 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_91, 0, x_27); +lean_ctor_set(x_91, 1, x_89); +lean_ctor_set(x_91, 2, x_88); +lean_ctor_set(x_91, 3, x_90); +x_92 = lean_array_push(x_34, x_91); +x_93 = lean_array_push(x_92, x_36); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_38); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_array_push(x_34, x_94); +x_96 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_14); +x_97 = lean_array_push(x_34, x_96); +x_98 = lean_array_push(x_97, x_23); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_48); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_array_push(x_95, x_99); +x_101 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = l_Lean_Elab_Command_elabSyntax___closed__15; +x_104 = lean_array_push(x_103, x_102); +x_105 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = lean_array_push(x_86, x_106); +x_108 = l_Lean_Parser_Command_def___elambda__1___closed__2; +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_107); +x_110 = lean_array_push(x_66, x_109); +x_111 = l_Lean_Parser_Command_declaration___elambda__1___closed__2; +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_110); lean_inc(x_2); -x_112 = l_Lean_Elab_Command_getOptions(x_2, x_41); -if (lean_obj_tag(x_112) == 0) +x_113 = l_Lean_Elab_Command_getOptions(x_2, x_42); +if (lean_obj_tag(x_113) == 0) { -lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); +lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_114 = lean_ctor_get(x_113, 0); lean_inc(x_114); -lean_dec(x_112); -x_115 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; -x_116 = l_Lean_checkTraceOption(x_113, x_115); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); lean_dec(x_113); -if (x_116 == 0) -{ -uint8_t x_117; -x_117 = !lean_is_exclusive(x_2); +x_116 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; +x_117 = l_Lean_checkTraceOption(x_114, x_116); +lean_dec(x_114); if (x_117 == 0) { -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_2, 5); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_1); -lean_ctor_set(x_119, 1, x_118); -lean_ctor_set(x_2, 5, x_119); -x_120 = l_Lean_Elab_Command_elabCommand___main(x_111, x_2, x_114); -return x_120; +uint8_t x_118; +x_118 = !lean_is_exclusive(x_2); +if (x_118 == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_2, 5); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_1); +lean_ctor_set(x_120, 1, x_119); +lean_ctor_set(x_2, 5, x_120); +x_121 = l_Lean_Elab_Command_elabCommand___main(x_112, x_2, x_115); +return x_121; } 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; -x_121 = lean_ctor_get(x_2, 0); -x_122 = lean_ctor_get(x_2, 1); -x_123 = lean_ctor_get(x_2, 2); -x_124 = lean_ctor_get(x_2, 3); -x_125 = lean_ctor_get(x_2, 4); -x_126 = lean_ctor_get(x_2, 5); -x_127 = lean_ctor_get(x_2, 6); +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_122 = lean_ctor_get(x_2, 0); +x_123 = lean_ctor_get(x_2, 1); +x_124 = lean_ctor_get(x_2, 2); +x_125 = lean_ctor_get(x_2, 3); +x_126 = lean_ctor_get(x_2, 4); +x_127 = lean_ctor_get(x_2, 5); +x_128 = lean_ctor_get(x_2, 6); +lean_inc(x_128); 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_dec(x_2); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_1); -lean_ctor_set(x_128, 1, x_126); -x_129 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_129, 0, x_121); -lean_ctor_set(x_129, 1, x_122); -lean_ctor_set(x_129, 2, x_123); -lean_ctor_set(x_129, 3, x_124); -lean_ctor_set(x_129, 4, x_125); -lean_ctor_set(x_129, 5, x_128); -lean_ctor_set(x_129, 6, x_127); -x_130 = l_Lean_Elab_Command_elabCommand___main(x_111, x_129, x_114); -return x_130; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_1); +lean_ctor_set(x_129, 1, x_127); +x_130 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_130, 0, x_122); +lean_ctor_set(x_130, 1, x_123); +lean_ctor_set(x_130, 2, x_124); +lean_ctor_set(x_130, 3, x_125); +lean_ctor_set(x_130, 4, x_126); +lean_ctor_set(x_130, 5, x_129); +lean_ctor_set(x_130, 6, x_128); +x_131 = l_Lean_Elab_Command_elabCommand___main(x_112, x_130, x_115); +return x_131; } } else { -lean_object* x_131; lean_object* x_132; -lean_inc(x_111); -x_131 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_131, 0, x_111); +lean_object* x_132; lean_object* x_133; +lean_inc(x_112); +x_132 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_132, 0, x_112); lean_inc(x_2); -x_132 = l_Lean_Elab_Command_logTrace(x_115, x_1, x_131, x_2, x_114); -if (lean_obj_tag(x_132) == 0) +x_133 = l_Lean_Elab_Command_logTrace(x_116, x_1, x_132, x_2, x_115); +if (lean_obj_tag(x_133) == 0) { -lean_object* x_133; uint8_t x_134; -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -lean_dec(x_132); -x_134 = !lean_is_exclusive(x_2); -if (x_134 == 0) +lean_object* x_134; uint8_t x_135; +x_134 = lean_ctor_get(x_133, 1); +lean_inc(x_134); +lean_dec(x_133); +x_135 = !lean_is_exclusive(x_2); +if (x_135 == 0) { -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = lean_ctor_get(x_2, 5); -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_1); -lean_ctor_set(x_136, 1, x_135); -lean_ctor_set(x_2, 5, x_136); -x_137 = l_Lean_Elab_Command_elabCommand___main(x_111, x_2, x_133); -return x_137; +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_2, 5); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_1); +lean_ctor_set(x_137, 1, x_136); +lean_ctor_set(x_2, 5, x_137); +x_138 = l_Lean_Elab_Command_elabCommand___main(x_112, x_2, x_134); +return x_138; } else { -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_138 = lean_ctor_get(x_2, 0); -x_139 = lean_ctor_get(x_2, 1); -x_140 = lean_ctor_get(x_2, 2); -x_141 = lean_ctor_get(x_2, 3); -x_142 = lean_ctor_get(x_2, 4); -x_143 = lean_ctor_get(x_2, 5); -x_144 = lean_ctor_get(x_2, 6); +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; +x_139 = lean_ctor_get(x_2, 0); +x_140 = lean_ctor_get(x_2, 1); +x_141 = lean_ctor_get(x_2, 2); +x_142 = lean_ctor_get(x_2, 3); +x_143 = lean_ctor_get(x_2, 4); +x_144 = lean_ctor_get(x_2, 5); +x_145 = lean_ctor_get(x_2, 6); +lean_inc(x_145); lean_inc(x_144); lean_inc(x_143); lean_inc(x_142); lean_inc(x_141); lean_inc(x_140); lean_inc(x_139); -lean_inc(x_138); lean_dec(x_2); -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_1); -lean_ctor_set(x_145, 1, x_143); -x_146 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_146, 0, x_138); -lean_ctor_set(x_146, 1, x_139); -lean_ctor_set(x_146, 2, x_140); -lean_ctor_set(x_146, 3, x_141); -lean_ctor_set(x_146, 4, x_142); -lean_ctor_set(x_146, 5, x_145); -lean_ctor_set(x_146, 6, x_144); -x_147 = l_Lean_Elab_Command_elabCommand___main(x_111, x_146, x_133); -return x_147; +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_1); +lean_ctor_set(x_146, 1, x_144); +x_147 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_147, 0, x_139); +lean_ctor_set(x_147, 1, x_140); +lean_ctor_set(x_147, 2, x_141); +lean_ctor_set(x_147, 3, x_142); +lean_ctor_set(x_147, 4, x_143); +lean_ctor_set(x_147, 5, x_146); +lean_ctor_set(x_147, 6, x_145); +x_148 = l_Lean_Elab_Command_elabCommand___main(x_112, x_147, x_134); +return x_148; } } else { -uint8_t x_148; -lean_dec(x_111); -lean_dec(x_2); -lean_dec(x_1); -x_148 = !lean_is_exclusive(x_132); -if (x_148 == 0) -{ -return x_132; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_132, 0); -x_150 = lean_ctor_get(x_132, 1); -lean_inc(x_150); -lean_inc(x_149); -lean_dec(x_132); -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; -} -} -} -} -else -{ -uint8_t x_152; -lean_dec(x_111); -lean_dec(x_2); -lean_dec(x_1); -x_152 = !lean_is_exclusive(x_112); -if (x_152 == 0) -{ -return x_112; -} -else -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_112, 0); -x_154 = lean_ctor_get(x_112, 1); -lean_inc(x_154); -lean_inc(x_153); +uint8_t x_149; lean_dec(x_112); -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_dec(x_2); +lean_dec(x_1); +x_149 = !lean_is_exclusive(x_133); +if (x_149 == 0) +{ +return x_133; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_150 = lean_ctor_get(x_133, 0); +x_151 = lean_ctor_get(x_133, 1); +lean_inc(x_151); +lean_inc(x_150); +lean_dec(x_133); +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_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; -x_156 = lean_ctor_get(x_18, 0); -lean_inc(x_156); -lean_dec(x_18); -x_157 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_19); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); +uint8_t x_153; +lean_dec(x_112); +lean_dec(x_2); +lean_dec(x_1); +x_153 = !lean_is_exclusive(x_113); +if (x_153 == 0) +{ +return x_113; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_113, 0); +x_155 = lean_ctor_get(x_113, 1); +lean_inc(x_155); +lean_inc(x_154); +lean_dec(x_113); +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 +{ +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; +x_157 = lean_ctor_get(x_19, 0); +lean_inc(x_157); +lean_dec(x_19); +x_158 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_20); +x_159 = lean_ctor_get(x_158, 0); lean_inc(x_159); -lean_dec(x_157); -x_160 = lean_box(0); -x_161 = l_Lean_Elab_Command_elabSyntax___closed__26; -x_162 = lean_name_mk_numeral(x_161, x_158); -x_163 = lean_box(0); -x_164 = l_Lean_Elab_Command_elabSyntax___closed__25; -x_165 = l_Lean_Elab_Command_elabSyntax___closed__28; -x_166 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_166, 0, x_160); -lean_ctor_set(x_166, 1, x_164); -lean_ctor_set(x_166, 2, x_162); -lean_ctor_set(x_166, 3, x_165); -x_167 = l_Array_empty___closed__1; -x_168 = lean_array_push(x_167, x_166); -x_169 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_170 = lean_array_push(x_168, x_169); -x_171 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_170); -x_173 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_159); -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_173, 1); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +lean_dec(x_158); +x_161 = lean_box(0); +x_162 = l_Lean_Elab_Command_elabSyntax___closed__26; +x_163 = lean_name_mk_numeral(x_162, x_159); +x_164 = lean_box(0); +x_165 = l_Lean_Elab_Command_elabSyntax___closed__25; +x_166 = l_Lean_Elab_Command_elabSyntax___closed__28; +x_167 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_167, 0, x_161); +lean_ctor_set(x_167, 1, x_165); +lean_ctor_set(x_167, 2, x_163); +lean_ctor_set(x_167, 3, x_166); +x_168 = l_Array_empty___closed__1; +x_169 = lean_array_push(x_168, x_167); +x_170 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_171 = lean_array_push(x_169, x_170); +x_172 = l_Lean_Parser_Term_id___elambda__1___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_Command_getCurrMacroScope(x_2, x_160); +x_175 = lean_ctor_get(x_174, 0); lean_inc(x_175); -lean_dec(x_173); -x_176 = lean_array_push(x_167, x_17); -x_177 = lean_array_push(x_176, x_169); -x_178 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_177); -x_180 = lean_array_push(x_167, x_179); -x_181 = l_Lean_nullKind___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 = l_Lean_Elab_Command_elabSyntax___closed__8; -x_184 = lean_array_push(x_183, x_182); -x_185 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_186 = lean_array_push(x_184, x_185); -x_187 = l_Lean_Parser_Command_attributes___elambda__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); -x_189 = lean_array_push(x_167, x_188); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_181); -lean_ctor_set(x_190, 1, x_189); -x_191 = l_Lean_Elab_Command_elabSyntax___closed__6; -x_192 = lean_array_push(x_191, x_190); -x_193 = lean_array_push(x_192, x_169); -x_194 = lean_array_push(x_193, x_169); -x_195 = lean_array_push(x_194, x_169); -x_196 = lean_array_push(x_195, x_169); -x_197 = l_Lean_Parser_Command_declModifiers___elambda__1___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_array_push(x_167, x_198); -x_200 = l_Lean_Elab_Command_elabSyntax___closed__14; -lean_inc(x_174); -x_201 = lean_name_mk_numeral(x_200, x_174); -x_202 = l_Lean_Elab_Command_elabSyntax___closed__13; -x_203 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_203, 0, x_160); -lean_ctor_set(x_203, 1, x_202); -lean_ctor_set(x_203, 2, x_201); -lean_ctor_set(x_203, 3, x_163); -x_204 = lean_array_push(x_167, x_203); -x_205 = lean_array_push(x_204, x_169); -x_206 = l_Lean_Parser_Command_declId___elambda__1___closed__2; -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_Command_elabSyntax___closed__10; -x_209 = lean_array_push(x_208, x_207); -x_210 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; -x_211 = lean_array_push(x_210, x_172); -x_212 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_211); -x_214 = lean_array_push(x_167, x_213); -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_181); -lean_ctor_set(x_215, 1, x_214); -x_216 = lean_array_push(x_191, x_215); -x_217 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_216); -x_219 = lean_array_push(x_209, x_218); -x_220 = l_Lean_Elab_Command_elabSyntax___closed__19; -x_221 = lean_name_mk_numeral(x_220, x_174); -x_222 = l_Lean_Elab_Command_elabSyntax___closed__18; -x_223 = l_Lean_Elab_Command_elabSyntax___closed__22; -x_224 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_224, 0, x_160); -lean_ctor_set(x_224, 1, x_222); -lean_ctor_set(x_224, 2, x_221); -lean_ctor_set(x_224, 3, x_223); -x_225 = lean_array_push(x_167, x_224); -x_226 = lean_array_push(x_225, x_169); -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_171); -lean_ctor_set(x_227, 1, x_226); -x_228 = lean_array_push(x_167, x_227); -x_229 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_13); -x_230 = lean_array_push(x_167, x_229); -x_231 = lean_array_push(x_230, x_156); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_181); -lean_ctor_set(x_232, 1, x_231); -x_233 = lean_array_push(x_228, x_232); -x_234 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_233); -x_236 = l_Lean_Elab_Command_elabSyntax___closed__15; -x_237 = lean_array_push(x_236, x_235); -x_238 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; -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_219, x_239); -x_241 = l_Lean_Parser_Command_def___elambda__1___closed__2; -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_240); -x_243 = lean_array_push(x_199, x_242); -x_244 = l_Lean_Parser_Command_declaration___elambda__1___closed__2; -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_243); +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec(x_174); +x_177 = lean_array_push(x_168, x_18); +x_178 = lean_array_push(x_177, x_170); +x_179 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_178); +x_181 = lean_array_push(x_168, x_180); +x_182 = l_Lean_nullKind___closed__2; +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_181); +x_184 = l_Lean_Elab_Command_elabSyntax___closed__8; +x_185 = lean_array_push(x_184, x_183); +x_186 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_187 = lean_array_push(x_185, x_186); +x_188 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_187); +x_190 = lean_array_push(x_168, x_189); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_182); +lean_ctor_set(x_191, 1, x_190); +x_192 = l_Lean_Elab_Command_elabSyntax___closed__6; +x_193 = lean_array_push(x_192, x_191); +x_194 = lean_array_push(x_193, x_170); +x_195 = lean_array_push(x_194, x_170); +x_196 = lean_array_push(x_195, x_170); +x_197 = lean_array_push(x_196, x_170); +x_198 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_197); +x_200 = lean_array_push(x_168, x_199); +x_201 = l_Lean_Elab_Command_elabSyntax___closed__14; +lean_inc(x_175); +x_202 = lean_name_mk_numeral(x_201, x_175); +x_203 = l_Lean_Elab_Command_elabSyntax___closed__13; +x_204 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_204, 0, x_161); +lean_ctor_set(x_204, 1, x_203); +lean_ctor_set(x_204, 2, x_202); +lean_ctor_set(x_204, 3, x_164); +x_205 = lean_array_push(x_168, x_204); +x_206 = lean_array_push(x_205, x_170); +x_207 = l_Lean_Parser_Command_declId___elambda__1___closed__2; +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_206); +x_209 = l_Lean_Elab_Command_elabSyntax___closed__10; +x_210 = lean_array_push(x_209, x_208); +x_211 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; +x_212 = lean_array_push(x_211, x_173); +x_213 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_212); +x_215 = lean_array_push(x_168, x_214); +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_182); +lean_ctor_set(x_216, 1, x_215); +x_217 = lean_array_push(x_192, x_216); +x_218 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; +x_219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_219, 0, x_218); +lean_ctor_set(x_219, 1, x_217); +x_220 = lean_array_push(x_210, x_219); +x_221 = l_Lean_Elab_Command_elabSyntax___closed__19; +x_222 = lean_name_mk_numeral(x_221, x_175); +x_223 = l_Lean_Elab_Command_elabSyntax___closed__18; +x_224 = l_Lean_Elab_Command_elabSyntax___closed__22; +x_225 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_225, 0, x_161); +lean_ctor_set(x_225, 1, x_223); +lean_ctor_set(x_225, 2, x_222); +lean_ctor_set(x_225, 3, x_224); +x_226 = lean_array_push(x_168, x_225); +x_227 = lean_array_push(x_226, x_170); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_172); +lean_ctor_set(x_228, 1, x_227); +x_229 = lean_array_push(x_168, x_228); +x_230 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_14); +x_231 = lean_array_push(x_168, x_230); +x_232 = lean_array_push(x_231, x_157); +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_182); +lean_ctor_set(x_233, 1, x_232); +x_234 = lean_array_push(x_229, x_233); +x_235 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_234); +x_237 = l_Lean_Elab_Command_elabSyntax___closed__15; +x_238 = lean_array_push(x_237, x_236); +x_239 = l_Lean_Parser_Command_declValSimple___elambda__1___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_220, x_240); +x_242 = l_Lean_Parser_Command_def___elambda__1___closed__2; +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_241); +x_244 = lean_array_push(x_200, x_243); +x_245 = l_Lean_Parser_Command_declaration___elambda__1___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); lean_inc(x_2); -x_246 = l_Lean_Elab_Command_getOptions(x_2, x_175); -if (lean_obj_tag(x_246) == 0) +x_247 = l_Lean_Elab_Command_getOptions(x_2, x_176); +if (lean_obj_tag(x_247) == 0) { -lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; -x_247 = lean_ctor_get(x_246, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); +lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; +x_248 = lean_ctor_get(x_247, 0); lean_inc(x_248); -lean_dec(x_246); -x_249 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; -x_250 = l_Lean_checkTraceOption(x_247, x_249); +x_249 = lean_ctor_get(x_247, 1); +lean_inc(x_249); lean_dec(x_247); -if (x_250 == 0) -{ -uint8_t x_251; -x_251 = !lean_is_exclusive(x_2); +x_250 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; +x_251 = l_Lean_checkTraceOption(x_248, x_250); +lean_dec(x_248); if (x_251 == 0) { -lean_object* x_252; lean_object* x_253; lean_object* x_254; -x_252 = lean_ctor_get(x_2, 5); -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_1); -lean_ctor_set(x_253, 1, x_252); -lean_ctor_set(x_2, 5, x_253); -x_254 = l_Lean_Elab_Command_elabCommand___main(x_245, x_2, x_248); -return x_254; +uint8_t x_252; +x_252 = !lean_is_exclusive(x_2); +if (x_252 == 0) +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; +x_253 = lean_ctor_get(x_2, 5); +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_1); +lean_ctor_set(x_254, 1, x_253); +lean_ctor_set(x_2, 5, x_254); +x_255 = l_Lean_Elab_Command_elabCommand___main(x_246, x_2, x_249); +return x_255; } else { -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_255 = lean_ctor_get(x_2, 0); -x_256 = lean_ctor_get(x_2, 1); -x_257 = lean_ctor_get(x_2, 2); -x_258 = lean_ctor_get(x_2, 3); -x_259 = lean_ctor_get(x_2, 4); -x_260 = lean_ctor_get(x_2, 5); -x_261 = lean_ctor_get(x_2, 6); +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; +x_256 = lean_ctor_get(x_2, 0); +x_257 = lean_ctor_get(x_2, 1); +x_258 = lean_ctor_get(x_2, 2); +x_259 = lean_ctor_get(x_2, 3); +x_260 = lean_ctor_get(x_2, 4); +x_261 = lean_ctor_get(x_2, 5); +x_262 = lean_ctor_get(x_2, 6); +lean_inc(x_262); lean_inc(x_261); lean_inc(x_260); lean_inc(x_259); lean_inc(x_258); lean_inc(x_257); lean_inc(x_256); -lean_inc(x_255); lean_dec(x_2); -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_1); -lean_ctor_set(x_262, 1, x_260); -x_263 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_263, 0, x_255); -lean_ctor_set(x_263, 1, x_256); -lean_ctor_set(x_263, 2, x_257); -lean_ctor_set(x_263, 3, x_258); -lean_ctor_set(x_263, 4, x_259); -lean_ctor_set(x_263, 5, x_262); -lean_ctor_set(x_263, 6, x_261); -x_264 = l_Lean_Elab_Command_elabCommand___main(x_245, x_263, x_248); -return x_264; +x_263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_263, 0, x_1); +lean_ctor_set(x_263, 1, x_261); +x_264 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_264, 0, x_256); +lean_ctor_set(x_264, 1, x_257); +lean_ctor_set(x_264, 2, x_258); +lean_ctor_set(x_264, 3, x_259); +lean_ctor_set(x_264, 4, x_260); +lean_ctor_set(x_264, 5, x_263); +lean_ctor_set(x_264, 6, x_262); +x_265 = l_Lean_Elab_Command_elabCommand___main(x_246, x_264, x_249); +return x_265; } } else { -lean_object* x_265; lean_object* x_266; -lean_inc(x_245); -x_265 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_265, 0, x_245); +lean_object* x_266; lean_object* x_267; +lean_inc(x_246); +x_266 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_266, 0, x_246); lean_inc(x_2); -x_266 = l_Lean_Elab_Command_logTrace(x_249, x_1, x_265, x_2, x_248); -if (lean_obj_tag(x_266) == 0) +x_267 = l_Lean_Elab_Command_logTrace(x_250, x_1, x_266, x_2, x_249); +if (lean_obj_tag(x_267) == 0) { -lean_object* x_267; uint8_t x_268; -x_267 = lean_ctor_get(x_266, 1); -lean_inc(x_267); -lean_dec(x_266); -x_268 = !lean_is_exclusive(x_2); -if (x_268 == 0) +lean_object* x_268; uint8_t x_269; +x_268 = lean_ctor_get(x_267, 1); +lean_inc(x_268); +lean_dec(x_267); +x_269 = !lean_is_exclusive(x_2); +if (x_269 == 0) { -lean_object* x_269; lean_object* x_270; lean_object* x_271; -x_269 = lean_ctor_get(x_2, 5); -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_1); -lean_ctor_set(x_270, 1, x_269); -lean_ctor_set(x_2, 5, x_270); -x_271 = l_Lean_Elab_Command_elabCommand___main(x_245, x_2, x_267); -return x_271; +lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_270 = lean_ctor_get(x_2, 5); +x_271 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_271, 0, x_1); +lean_ctor_set(x_271, 1, x_270); +lean_ctor_set(x_2, 5, x_271); +x_272 = l_Lean_Elab_Command_elabCommand___main(x_246, x_2, x_268); +return x_272; } 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; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; -x_272 = lean_ctor_get(x_2, 0); -x_273 = lean_ctor_get(x_2, 1); -x_274 = lean_ctor_get(x_2, 2); -x_275 = lean_ctor_get(x_2, 3); -x_276 = lean_ctor_get(x_2, 4); -x_277 = lean_ctor_get(x_2, 5); -x_278 = lean_ctor_get(x_2, 6); +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; +x_273 = lean_ctor_get(x_2, 0); +x_274 = lean_ctor_get(x_2, 1); +x_275 = lean_ctor_get(x_2, 2); +x_276 = lean_ctor_get(x_2, 3); +x_277 = lean_ctor_get(x_2, 4); +x_278 = lean_ctor_get(x_2, 5); +x_279 = lean_ctor_get(x_2, 6); +lean_inc(x_279); lean_inc(x_278); lean_inc(x_277); lean_inc(x_276); lean_inc(x_275); lean_inc(x_274); lean_inc(x_273); -lean_inc(x_272); lean_dec(x_2); -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_1); -lean_ctor_set(x_279, 1, x_277); -x_280 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_280, 0, x_272); -lean_ctor_set(x_280, 1, x_273); -lean_ctor_set(x_280, 2, x_274); -lean_ctor_set(x_280, 3, x_275); -lean_ctor_set(x_280, 4, x_276); -lean_ctor_set(x_280, 5, x_279); -lean_ctor_set(x_280, 6, x_278); -x_281 = l_Lean_Elab_Command_elabCommand___main(x_245, x_280, x_267); -return x_281; +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_1); +lean_ctor_set(x_280, 1, x_278); +x_281 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_281, 0, x_273); +lean_ctor_set(x_281, 1, x_274); +lean_ctor_set(x_281, 2, x_275); +lean_ctor_set(x_281, 3, x_276); +lean_ctor_set(x_281, 4, x_277); +lean_ctor_set(x_281, 5, x_280); +lean_ctor_set(x_281, 6, x_279); +x_282 = l_Lean_Elab_Command_elabCommand___main(x_246, x_281, x_268); +return x_282; } } else { -uint8_t x_282; -lean_dec(x_245); -lean_dec(x_2); -lean_dec(x_1); -x_282 = !lean_is_exclusive(x_266); -if (x_282 == 0) -{ -return x_266; -} -else -{ -lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_283 = lean_ctor_get(x_266, 0); -x_284 = lean_ctor_get(x_266, 1); -lean_inc(x_284); -lean_inc(x_283); -lean_dec(x_266); -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; -} -} -} -} -else -{ -uint8_t x_286; -lean_dec(x_245); -lean_dec(x_2); -lean_dec(x_1); -x_286 = !lean_is_exclusive(x_246); -if (x_286 == 0) -{ -return x_246; -} -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_287 = lean_ctor_get(x_246, 0); -x_288 = lean_ctor_get(x_246, 1); -lean_inc(x_288); -lean_inc(x_287); +uint8_t x_283; lean_dec(x_246); -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; -} -} -} -} -} -else -{ -uint8_t x_381; -lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_381 = !lean_is_exclusive(x_12); -if (x_381 == 0) +x_283 = !lean_is_exclusive(x_267); +if (x_283 == 0) { -return x_12; +return x_267; } else { -lean_object* x_382; lean_object* x_383; lean_object* x_384; -x_382 = lean_ctor_get(x_12, 0); -x_383 = lean_ctor_get(x_12, 1); +lean_object* x_284; lean_object* x_285; lean_object* x_286; +x_284 = lean_ctor_get(x_267, 0); +x_285 = lean_ctor_get(x_267, 1); +lean_inc(x_285); +lean_inc(x_284); +lean_dec(x_267); +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_284); +lean_ctor_set(x_286, 1, x_285); +return x_286; +} +} +} +} +else +{ +uint8_t x_287; +lean_dec(x_246); +lean_dec(x_2); +lean_dec(x_1); +x_287 = !lean_is_exclusive(x_247); +if (x_287 == 0) +{ +return x_247; +} +else +{ +lean_object* x_288; lean_object* x_289; lean_object* x_290; +x_288 = lean_ctor_get(x_247, 0); +x_289 = lean_ctor_get(x_247, 1); +lean_inc(x_289); +lean_inc(x_288); +lean_dec(x_247); +x_290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_290, 0, x_288); +lean_ctor_set(x_290, 1, x_289); +return x_290; +} +} +} +} +} +else +{ +uint8_t x_382; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_382 = !lean_is_exclusive(x_13); +if (x_382 == 0) +{ +return x_13; +} +else +{ +lean_object* x_383; lean_object* x_384; lean_object* x_385; +x_383 = lean_ctor_get(x_13, 0); +x_384 = lean_ctor_get(x_13, 1); +lean_inc(x_384); lean_inc(x_383); -lean_inc(x_382); -lean_dec(x_12); -x_384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_384, 0, x_382); -lean_ctor_set(x_384, 1, x_383); -return x_384; +lean_dec(x_13); +x_385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_385, 0, x_383); +lean_ctor_set(x_385, 1, x_384); +return x_385; } } } } else { -uint8_t x_398; +uint8_t x_399; lean_dec(x_2); lean_dec(x_1); -x_398 = !lean_is_exclusive(x_4); -if (x_398 == 0) +x_399 = !lean_is_exclusive(x_4); +if (x_399 == 0) { return x_4; } else { -lean_object* x_399; lean_object* x_400; lean_object* x_401; -x_399 = lean_ctor_get(x_4, 0); -x_400 = lean_ctor_get(x_4, 1); +lean_object* x_400; lean_object* x_401; lean_object* x_402; +x_400 = lean_ctor_get(x_4, 0); +x_401 = lean_ctor_get(x_4, 1); +lean_inc(x_401); lean_inc(x_400); -lean_inc(x_399); lean_dec(x_4); -x_401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_401, 0, x_399); -lean_ctor_set(x_401, 1, x_400); -return x_401; +x_402 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_402, 0, x_400); +lean_ctor_set(x_402, 1, x_401); +return x_402; } } } @@ -11394,7 +11397,7 @@ return x_3; lean_object* l_Lean_Elab_Command_elabMacro___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; lean_object* x_8; 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_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 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_unsigned_to_nat(1u); x_5 = l_Lean_Syntax_getArg(x_1, x_4); x_6 = lean_unsigned_to_nat(2u); @@ -11406,460 +11409,461 @@ 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_getId(x_10); +x_14 = l_Lean_Name_eraseMacroScopes(x_13); lean_inc(x_2); -x_14 = l_Lean_Elab_Command_mkFreshKind(x_13, x_2, x_3); -if (lean_obj_tag(x_14) == 0) +x_15 = l_Lean_Elab_Command_mkFreshKind(x_14, x_2, x_3); +if (lean_obj_tag(x_15) == 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_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); lean_inc(x_5); -x_17 = l_Lean_Elab_Command_expandMacroHeadIntoSyntaxItem(x_5, x_2, x_16); -if (lean_obj_tag(x_17) == 0) +x_18 = l_Lean_Elab_Command_expandMacroHeadIntoSyntaxItem(x_5, x_2, x_17); +if (lean_obj_tag(x_18) == 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_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); -lean_dec(x_17); -x_20 = lean_unsigned_to_nat(0u); -lean_inc(x_8); -x_21 = l_Array_umapMAux___main___at_Lean_Elab_Command_elabMacro___spec__1(x_20, x_8, x_2, 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; lean_object* 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 = l_Lean_FileMap_ofString___closed__1; -x_25 = lean_array_push(x_24, x_18); -x_26 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_22, x_22, x_20, x_25); -lean_dec(x_22); -x_27 = l_Lean_Elab_Command_expandMacroHeadIntoPattern(x_5, x_2, x_23); -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); -x_30 = l_Array_umapMAux___main___at_Lean_Elab_Command_elabMacro___spec__2(x_20, x_8, x_2, 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_133; -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_array_push(x_24, x_28); -x_34 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_31, x_31, x_20, x_33); -lean_dec(x_31); -lean_inc(x_15); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_15); -lean_ctor_set(x_35, 1, x_34); -lean_inc(x_2); -x_133 = l_Lean_Elab_Command_getOptions(x_2, x_32); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -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_Command_elabMacro___lambda__1___closed__1; -x_137 = l_Lean_checkTraceOption(x_134, x_136); -lean_dec(x_134); -if (x_137 == 0) -{ -x_36 = x_135; -goto block_132; -} -else -{ -lean_object* x_138; lean_object* x_139; -lean_inc(x_35); -x_138 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_138, 0, x_35); -lean_inc(x_2); -x_139 = l_Lean_Elab_Command_logTrace(x_136, x_1, x_138, x_2, x_135); -if (lean_obj_tag(x_139) == 0) -{ -lean_object* x_140; -x_140 = lean_ctor_get(x_139, 1); -lean_inc(x_140); -lean_dec(x_139); -x_36 = x_140; -goto block_132; -} -else -{ -uint8_t x_141; -lean_dec(x_35); -lean_dec(x_26); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_2); -x_141 = !lean_is_exclusive(x_139); -if (x_141 == 0) -{ -return x_139; -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_ctor_get(x_139, 0); -x_143 = lean_ctor_get(x_139, 1); -lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_139); -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 -{ -uint8_t x_145; -lean_dec(x_35); -lean_dec(x_26); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_2); -x_145 = !lean_is_exclusive(x_133); -if (x_145 == 0) -{ -return x_133; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_133, 0); -x_147 = lean_ctor_get(x_133, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_133); -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_132: -{ -lean_object* x_37; uint8_t x_38; -x_37 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_36); -lean_dec(x_2); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; 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_39 = lean_ctor_get(x_37, 0); -lean_dec(x_39); -x_40 = l_Lean_mkIdentFrom(x_1, x_15); -x_41 = l_Lean_Elab_Term_elabArrayLit___closed__12; -x_42 = lean_array_push(x_41, x_40); -x_43 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_44 = lean_array_push(x_42, x_43); -x_45 = l_Lean_nullKind___closed__2; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = l_Lean_Elab_Command_elabNotation___lambda__1___closed__2; -x_48 = lean_array_push(x_47, x_46); -x_49 = l_Array_empty___closed__1; -x_50 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_26, x_26, x_20, x_49); -lean_dec(x_26); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_45); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_array_push(x_48, x_51); -x_53 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; -x_54 = lean_array_push(x_52, x_53); -x_55 = lean_array_push(x_54, x_10); -x_56 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = lean_array_push(x_49, x_57); -x_59 = l_Lean_Elab_Command_elabNotation___lambda__1___closed__6; -x_60 = lean_array_push(x_59, x_35); -x_61 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__57; -x_62 = lean_array_push(x_60, x_61); -x_63 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -x_65 = lean_array_push(x_49, x_64); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_45); -lean_ctor_set(x_66, 1, x_65); -x_67 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__7; -x_68 = lean_array_push(x_67, x_66); -x_69 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_70 = lean_array_push(x_68, x_69); -x_71 = lean_array_push(x_59, x_12); -x_72 = lean_array_push(x_71, x_61); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_63); -lean_ctor_set(x_73, 1, x_72); -x_74 = lean_array_push(x_70, x_73); -x_75 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -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_49, x_76); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_45); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_Elab_Command_elabNotation___lambda__1___closed__4; -x_80 = lean_array_push(x_79, x_78); -x_81 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -x_83 = lean_array_push(x_58, x_82); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_45); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_37, 0, x_84); -return x_37; -} -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; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_85 = lean_ctor_get(x_37, 1); -lean_inc(x_85); -lean_dec(x_37); -x_86 = l_Lean_mkIdentFrom(x_1, x_15); -x_87 = l_Lean_Elab_Term_elabArrayLit___closed__12; -x_88 = lean_array_push(x_87, x_86); -x_89 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_90 = lean_array_push(x_88, x_89); -x_91 = l_Lean_nullKind___closed__2; -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = l_Lean_Elab_Command_elabNotation___lambda__1___closed__2; -x_94 = lean_array_push(x_93, x_92); -x_95 = l_Array_empty___closed__1; -x_96 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_26, x_26, x_20, x_95); -lean_dec(x_26); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_91); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_array_push(x_94, x_97); -x_99 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; -x_100 = lean_array_push(x_98, x_99); -x_101 = lean_array_push(x_100, x_10); -x_102 = l_Lean_Parser_Command_syntax___elambda__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 = lean_array_push(x_95, x_103); -x_105 = l_Lean_Elab_Command_elabNotation___lambda__1___closed__6; -x_106 = lean_array_push(x_105, x_35); -x_107 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__57; -x_108 = lean_array_push(x_106, x_107); -x_109 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_108); -x_111 = lean_array_push(x_95, x_110); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_91); -lean_ctor_set(x_112, 1, x_111); -x_113 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__7; -x_114 = lean_array_push(x_113, x_112); -x_115 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_116 = lean_array_push(x_114, x_115); -x_117 = lean_array_push(x_105, x_12); -x_118 = lean_array_push(x_117, x_107); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_109); -lean_ctor_set(x_119, 1, x_118); -x_120 = lean_array_push(x_116, x_119); -x_121 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -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 = lean_array_push(x_95, x_122); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_91); -lean_ctor_set(x_124, 1, x_123); -x_125 = l_Lean_Elab_Command_elabNotation___lambda__1___closed__4; -x_126 = lean_array_push(x_125, x_124); -x_127 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_129 = lean_array_push(x_104, x_128); -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_91); -lean_ctor_set(x_130, 1, 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_85); -return x_131; -} -} -} -else -{ -uint8_t x_149; -lean_dec(x_28); -lean_dec(x_26); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_2); -x_149 = !lean_is_exclusive(x_30); -if (x_149 == 0) -{ -return x_30; -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_150 = lean_ctor_get(x_30, 0); -x_151 = lean_ctor_get(x_30, 1); -lean_inc(x_151); -lean_inc(x_150); -lean_dec(x_30); -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_26); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_153 = !lean_is_exclusive(x_27); -if (x_153 == 0) -{ -return x_27; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_27, 0); -x_155 = lean_ctor_get(x_27, 1); -lean_inc(x_155); -lean_inc(x_154); -lean_dec(x_27); -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_157; +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); lean_dec(x_18); -lean_dec(x_15); +x_21 = lean_unsigned_to_nat(0u); +lean_inc(x_8); +x_22 = l_Array_umapMAux___main___at_Lean_Elab_Command_elabMacro___spec__1(x_21, x_8, x_2, 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; +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_FileMap_ofString___closed__1; +x_26 = lean_array_push(x_25, x_19); +x_27 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_23, x_23, x_21, x_26); +lean_dec(x_23); +x_28 = l_Lean_Elab_Command_expandMacroHeadIntoPattern(x_5, x_2, x_24); +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); +x_31 = l_Array_umapMAux___main___at_Lean_Elab_Command_elabMacro___spec__2(x_21, x_8, x_2, 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_134; +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_array_push(x_25, x_29); +x_35 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_32, x_32, x_21, x_34); +lean_dec(x_32); +lean_inc(x_16); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_16); +lean_ctor_set(x_36, 1, x_35); +lean_inc(x_2); +x_134 = l_Lean_Elab_Command_getOptions(x_2, x_33); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +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 = l_Lean_Elab_Command_elabMacro___lambda__1___closed__1; +x_138 = l_Lean_checkTraceOption(x_135, x_137); +lean_dec(x_135); +if (x_138 == 0) +{ +x_37 = x_136; +goto block_133; +} +else +{ +lean_object* x_139; lean_object* x_140; +lean_inc(x_36); +x_139 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_139, 0, x_36); +lean_inc(x_2); +x_140 = l_Lean_Elab_Command_logTrace(x_137, x_1, x_139, x_2, x_136); +if (lean_obj_tag(x_140) == 0) +{ +lean_object* x_141; +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); +lean_dec(x_140); +x_37 = x_141; +goto block_133; +} +else +{ +uint8_t x_142; +lean_dec(x_36); +lean_dec(x_27); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_140); +if (x_142 == 0) +{ +return x_140; +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_140, 0); +x_144 = lean_ctor_get(x_140, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_140); +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_36); +lean_dec(x_27); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_2); +x_146 = !lean_is_exclusive(x_134); +if (x_146 == 0) +{ +return x_134; +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_147 = lean_ctor_get(x_134, 0); +x_148 = lean_ctor_get(x_134, 1); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_134); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +return x_149; +} +} +block_133: +{ +lean_object* x_38; uint8_t x_39; +x_38 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_37); +lean_dec(x_2); +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; 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; +x_40 = lean_ctor_get(x_38, 0); +lean_dec(x_40); +x_41 = l_Lean_mkIdentFrom(x_1, x_16); +x_42 = l_Lean_Elab_Term_elabArrayLit___closed__12; +x_43 = lean_array_push(x_42, x_41); +x_44 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_45 = lean_array_push(x_43, x_44); +x_46 = l_Lean_nullKind___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_Lean_Elab_Command_elabNotation___lambda__1___closed__2; +x_49 = lean_array_push(x_48, x_47); +x_50 = l_Array_empty___closed__1; +x_51 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_27, x_27, x_21, x_50); +lean_dec(x_27); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_46); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_array_push(x_49, x_52); +x_54 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; +x_55 = lean_array_push(x_53, x_54); +x_56 = lean_array_push(x_55, x_10); +x_57 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = lean_array_push(x_50, x_58); +x_60 = l_Lean_Elab_Command_elabNotation___lambda__1___closed__6; +x_61 = lean_array_push(x_60, x_36); +x_62 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__57; +x_63 = lean_array_push(x_61, x_62); +x_64 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +x_66 = lean_array_push(x_50, x_65); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_46); +lean_ctor_set(x_67, 1, x_66); +x_68 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__7; +x_69 = lean_array_push(x_68, x_67); +x_70 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_71 = lean_array_push(x_69, x_70); +x_72 = lean_array_push(x_60, x_12); +x_73 = lean_array_push(x_72, x_62); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_64); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_array_push(x_71, x_74); +x_76 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_array_push(x_50, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_46); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_Elab_Command_elabNotation___lambda__1___closed__4; +x_81 = lean_array_push(x_80, x_79); +x_82 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +x_84 = lean_array_push(x_59, x_83); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_46); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_38, 0, x_85); +return x_38; +} +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; 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_86 = lean_ctor_get(x_38, 1); +lean_inc(x_86); +lean_dec(x_38); +x_87 = l_Lean_mkIdentFrom(x_1, x_16); +x_88 = l_Lean_Elab_Term_elabArrayLit___closed__12; +x_89 = lean_array_push(x_88, x_87); +x_90 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_91 = lean_array_push(x_89, x_90); +x_92 = l_Lean_nullKind___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 = l_Lean_Elab_Command_elabNotation___lambda__1___closed__2; +x_95 = lean_array_push(x_94, x_93); +x_96 = l_Array_empty___closed__1; +x_97 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_27, x_27, x_21, x_96); +lean_dec(x_27); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_92); +lean_ctor_set(x_98, 1, x_97); +x_99 = lean_array_push(x_95, x_98); +x_100 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; +x_101 = lean_array_push(x_99, x_100); +x_102 = lean_array_push(x_101, x_10); +x_103 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +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_96, x_104); +x_106 = l_Lean_Elab_Command_elabNotation___lambda__1___closed__6; +x_107 = lean_array_push(x_106, x_36); +x_108 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__57; +x_109 = lean_array_push(x_107, x_108); +x_110 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); +x_112 = lean_array_push(x_96, x_111); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_92); +lean_ctor_set(x_113, 1, x_112); +x_114 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__7; +x_115 = lean_array_push(x_114, x_113); +x_116 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_117 = lean_array_push(x_115, x_116); +x_118 = lean_array_push(x_106, x_12); +x_119 = lean_array_push(x_118, x_108); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_110); +lean_ctor_set(x_120, 1, x_119); +x_121 = lean_array_push(x_117, x_120); +x_122 = l_Lean_Parser_Term_matchAlt___elambda__1___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_96, x_123); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_92); +lean_ctor_set(x_125, 1, x_124); +x_126 = l_Lean_Elab_Command_elabNotation___lambda__1___closed__4; +x_127 = lean_array_push(x_126, x_125); +x_128 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = lean_array_push(x_105, x_129); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_92); +lean_ctor_set(x_131, 1, x_130); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_86); +return x_132; +} +} +} +else +{ +uint8_t x_150; +lean_dec(x_29); +lean_dec(x_27); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_2); +x_150 = !lean_is_exclusive(x_31); +if (x_150 == 0) +{ +return x_31; +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_31, 0); +x_152 = lean_ctor_get(x_31, 1); +lean_inc(x_152); +lean_inc(x_151); +lean_dec(x_31); +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 +{ +uint8_t x_154; +lean_dec(x_27); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_154 = !lean_is_exclusive(x_28); +if (x_154 == 0) +{ +return x_28; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_28, 0); +x_156 = lean_ctor_get(x_28, 1); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_28); +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_158; +lean_dec(x_19); +lean_dec(x_16); lean_dec(x_12); lean_dec(x_10); lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -x_157 = !lean_is_exclusive(x_21); -if (x_157 == 0) +x_158 = !lean_is_exclusive(x_22); +if (x_158 == 0) { -return x_21; +return x_22; } 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_object* x_159; lean_object* x_160; lean_object* x_161; +x_159 = lean_ctor_get(x_22, 0); +x_160 = lean_ctor_get(x_22, 1); +lean_inc(x_160); 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; +lean_dec(x_22); +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; -lean_dec(x_15); +uint8_t x_162; +lean_dec(x_16); lean_dec(x_12); lean_dec(x_10); lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -x_161 = !lean_is_exclusive(x_17); -if (x_161 == 0) +x_162 = !lean_is_exclusive(x_18); +if (x_162 == 0) { -return x_17; +return x_18; } 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_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_18, 0); +x_164 = lean_ctor_get(x_18, 1); +lean_inc(x_164); 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; +lean_dec(x_18); +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_dec(x_12); lean_dec(x_10); lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -x_165 = !lean_is_exclusive(x_14); -if (x_165 == 0) +x_166 = !lean_is_exclusive(x_15); +if (x_166 == 0) { -return x_14; +return x_15; } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_14, 0); -x_167 = lean_ctor_get(x_14, 1); +lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_167 = lean_ctor_get(x_15, 0); +x_168 = lean_ctor_get(x_15, 1); +lean_inc(x_168); lean_inc(x_167); -lean_inc(x_166); -lean_dec(x_14); -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; +lean_dec(x_15); +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; } } } diff --git a/stage0/stdlib/Init/Lean/Elab/SynthesizeSyntheticMVars.c b/stage0/stdlib/Init/Lean/Elab/SynthesizeSyntheticMVars.c index 12380e561f..2972db8163 100644 --- a/stage0/stdlib/Init/Lean/Elab/SynthesizeSyntheticMVars.c +++ b/stage0/stdlib/Init/Lean/Elab/SynthesizeSyntheticMVars.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Lean.Elab.SynthesizeSyntheticMVars -// Imports: Init.Lean.Elab.Term Init.Lean.Elab.Tactic +// Imports: Init.Lean.Elab.Term Init.Lean.Elab.Tactic.Basic #include "runtime/lean.h" #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,25 +14,32 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); +lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1; +lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__2; lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___closed__5; lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_5__synthesizeSyntheticMVar(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___closed__3; lean_object* l_Lean_Elab_Term_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unreachable_x21___rarg(lean_object*); lean_object* l_List_forM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_8__reportStuckSyntheticMVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_runTactic___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___spec__3(uint8_t); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___closed__1; +lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_8__reportStuckSyntheticMVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___closed__2; lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_5__synthesizeSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMVar(lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___closed__6; +lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_9__getSomeSynthethicMVarsRef___rarg___closed__1; lean_object* l_List_append___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault___spec__1___lambda__1(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* l_List_find_x3f___main___rarg(lean_object*, lean_object*); @@ -51,8 +58,11 @@ lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSy lean_object* l_Lean_Elab_Term_getOptions(lean_object*, lean_object*); lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault___spec__1___lambda__1___closed__1; extern lean_object* l_Lean_Format_repr___main___closed__13; +lean_object* l_Lean_Syntax_getTailWithInfo___main(lean_object*); extern lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; +lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault___spec__1___lambda__1___closed__3; lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___closed__7; lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_4__checkWithDefault(lean_object*, lean_object*, lean_object*, lean_object*); @@ -60,7 +70,8 @@ lean_object* l_Lean_Elab_Term_getMVarDecl___boxed(lean_object*, lean_object*, le lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault(lean_object*, lean_object*); lean_object* l_List_forM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_8__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___lambda__1___closed__1; lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault___spec__1___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -75,6 +86,7 @@ lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSy lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_9__getSomeSynthethicMVarsRef___rarg___lambda__1___boxed(lean_object*); lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___spec__1(lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_10__synthesizeSyntheticMVarsAux(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_liftTacticElabM(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_inhabited___boxed(lean_object*, lean_object*); @@ -82,6 +94,7 @@ lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSy lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___closed__10; lean_object* l_Lean_Elab_Term_runTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_runTactic___closed__1; lean_object* l_Lean_Elab_Term_isDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___spec__2___closed__2; lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -91,6 +104,7 @@ lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostpo uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_9__getSomeSynthethicMVarsRef___rarg(lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_8__reportStuckSyntheticMVars(lean_object*, lean_object*); +uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_3__synthesizePendingInstMVar___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); @@ -98,11 +112,14 @@ lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_1__resumeElabTe lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_logTrace___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___spec__2___closed__6; lean_object* l_Lean_Syntax_getPos(lean_object*); +lean_object* l_Lean_Elab_Term_runTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_10__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instantiateMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___closed__8; +lean_object* l_Lean_Elab_Term_reportUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_9__getSomeSynthethicMVarsRef(lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_instantiateMVarDeclMVars(lean_object*, lean_object*); lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___spec__3___boxed(lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___closed__9; uint8_t l_List_isEmpty___rarg(lean_object*); @@ -120,14 +137,1103 @@ extern lean_object* l_EStateM_MonadState___closed__2; lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___spec__2(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___spec__2___closed__7; lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_4__checkWithDefault___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(uint8_t, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1(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; +x_6 = !lean_is_exclusive(x_4); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +lean_inc(x_1); +x_7 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_1); +lean_ctor_set(x_7, 2, x_2); +x_8 = !lean_is_exclusive(x_5); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_apply_2(x_3, x_7, 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, 1); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +lean_ctor_set(x_12, 1, 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_17, 0); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_12); +if (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_12, 0); +x_22 = lean_ctor_get(x_12, 1); +x_23 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_23, 0, x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +lean_ctor_set(x_12, 1, x_24); +lean_ctor_set(x_12, 0, x_23); +return x_12; +} +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_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(0, 1, 0); +lean_ctor_set(x_27, 0, x_25); +x_28 = lean_ctor_get(x_26, 0); +lean_inc(x_28); +lean_dec(x_26); +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; 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_30 = lean_ctor_get(x_5, 0); +x_31 = lean_ctor_get(x_5, 1); +x_32 = lean_ctor_get(x_5, 2); +x_33 = lean_ctor_get(x_5, 3); +x_34 = lean_ctor_get(x_5, 4); +x_35 = lean_ctor_get(x_5, 5); +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_dec(x_5); +x_36 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_31); +lean_ctor_set(x_36, 2, x_32); +lean_ctor_set(x_36, 3, x_33); +lean_ctor_set(x_36, 4, x_34); +lean_ctor_set(x_36, 5, x_35); +x_37 = lean_box(0); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_1); +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); +x_40 = lean_apply_2(x_3, x_7, x_39); +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); +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_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +lean_dec(x_42); +if (lean_is_scalar(x_43)) { + x_45 = lean_alloc_ctor(0, 2, 0); +} else { + x_45 = x_43; +} +lean_ctor_set(x_45, 0, x_41); +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; +x_46 = lean_ctor_get(x_40, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_40, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_48 = x_40; +} else { + lean_dec_ref(x_40); + x_48 = lean_box(0); +} +x_49 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_46); +x_50 = lean_ctor_get(x_47, 0); +lean_inc(x_50); +lean_dec(x_47); +if (lean_is_scalar(x_48)) { + x_51 = lean_alloc_ctor(1, 2, 0); +} else { + x_51 = x_48; +} +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; lean_object* x_61; uint8_t 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; +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, 5); +x_58 = lean_ctor_get(x_4, 6); +x_59 = lean_ctor_get(x_4, 7); +x_60 = lean_ctor_get(x_4, 8); +x_61 = lean_ctor_get(x_4, 9); +x_62 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_63 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +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_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_4); +x_64 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_64, 0, x_52); +lean_ctor_set(x_64, 1, x_53); +lean_ctor_set(x_64, 2, x_54); +lean_ctor_set(x_64, 3, x_55); +lean_ctor_set(x_64, 4, x_56); +lean_ctor_set(x_64, 5, x_57); +lean_ctor_set(x_64, 6, x_58); +lean_ctor_set(x_64, 7, x_59); +lean_ctor_set(x_64, 8, x_60); +lean_ctor_set(x_64, 9, x_61); +lean_ctor_set_uint8(x_64, sizeof(void*)*10, x_62); +lean_ctor_set_uint8(x_64, sizeof(void*)*10 + 1, x_63); +lean_inc(x_1); +x_65 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_1); +lean_ctor_set(x_65, 2, x_2); +x_66 = lean_ctor_get(x_5, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_5, 1); +lean_inc(x_67); +x_68 = lean_ctor_get(x_5, 2); +lean_inc(x_68); +x_69 = lean_ctor_get(x_5, 3); +lean_inc(x_69); +x_70 = lean_ctor_get(x_5, 4); +lean_inc(x_70); +x_71 = lean_ctor_get(x_5, 5); +lean_inc(x_71); +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); + x_72 = x_5; +} else { + lean_dec_ref(x_5); + x_72 = lean_box(0); +} +if (lean_is_scalar(x_72)) { + x_73 = lean_alloc_ctor(0, 6, 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_69); +lean_ctor_set(x_73, 4, x_70); +lean_ctor_set(x_73, 5, x_71); +x_74 = lean_box(0); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_1); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_apply_2(x_3, x_65, x_76); +if (lean_obj_tag(x_77) == 0) +{ +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_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_80 = x_77; +} else { + lean_dec_ref(x_77); + x_80 = lean_box(0); +} +x_81 = lean_ctor_get(x_79, 0); +lean_inc(x_81); +lean_dec(x_79); +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_78); +lean_ctor_set(x_82, 1, x_81); +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; +x_83 = lean_ctor_get(x_77, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_77, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_85 = x_77; +} else { + lean_dec_ref(x_77); + x_85 = lean_box(0); +} +x_86 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_86, 0, x_83); +x_87 = lean_ctor_get(x_84, 0); +lean_inc(x_87); +lean_dec(x_84); +if (lean_is_scalar(x_85)) { + x_88 = lean_alloc_ctor(1, 2, 0); +} else { + x_88 = x_85; +} +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +} +lean_object* l_Lean_Elab_Term_liftTacticElabM___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_inc(x_2); +x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1), 5, 3); +lean_closure_set(x_6, 0, x_2); +lean_closure_set(x_6, 1, x_1); +lean_closure_set(x_6, 2, x_3); +x_7 = l_Lean_Elab_Term_withMVarContext___rarg(x_2, x_6, x_4, x_5); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Elab_Term_liftTacticElabM(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_liftTacticElabM___rarg), 5, 0); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tactic failed, result still contain metavariables"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars___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_ensureAssignmentHasNoMVars(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; +x_5 = l_Lean_mkMVar(x_2); +lean_inc(x_3); +x_6 = l_Lean_Elab_Term_instantiateMVars(x_1, x_5, x_3, x_4); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +x_10 = l_Lean_Expr_hasMVar(x_8); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_3); +x_11 = lean_box(0); +lean_ctor_set(x_6, 0, x_11); +return x_6; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_free_object(x_6); +x_12 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_12, 0, x_8); +x_13 = l_Lean_indentExpr(x_12); +x_14 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3; +x_15 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Elab_Term_throwError___rarg(x_1, x_15, x_3, x_9); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_6, 0); +x_18 = lean_ctor_get(x_6, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_6); +x_19 = l_Lean_Expr_hasMVar(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_17); +lean_dec(x_3); +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_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; +x_22 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_22, 0, x_17); +x_23 = l_Lean_indentExpr(x_22); +x_24 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3; +x_25 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Elab_Term_throwError___rarg(x_1, x_25, x_3, x_18); +return x_26; +} +} +} +} +lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___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_Term_ensureAssignmentHasNoMVars(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_Term_runTactic___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Elab_Term_runTactic___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_runTactic___lambda__1___boxed), 3, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Term_runTactic(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; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_ctor_get(x_5, 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; +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_2); +x_10 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_9, x_2); +lean_ctor_set(x_7, 1, x_10); +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 3, 1); +lean_closure_set(x_11, 0, x_3); +x_12 = l_Lean_Elab_Term_runTactic___closed__1; +x_13 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg), 4, 2); +lean_closure_set(x_13, 0, x_11); +lean_closure_set(x_13, 1, x_12); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l_Lean_Elab_Term_liftTacticElabM___rarg(x_1, x_2, x_13, x_4, x_5); +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); +lean_inc(x_1); +x_17 = l_Lean_Syntax_getTailWithInfo___main(x_1); +x_18 = l_List_isEmpty___rarg(x_15); +if (lean_obj_tag(x_17) == 0) +{ +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +lean_dec(x_2); +x_19 = l_Lean_Elab_Term_reportUnsolvedGoals(x_1, x_15, x_4, x_16); +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_dec(x_15); +x_24 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_2, x_4, x_16); +lean_dec(x_1); +return x_24; +} +} +else +{ +lean_dec(x_1); +if (x_18 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +lean_dec(x_2); +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +lean_dec(x_17); +x_26 = l_Lean_Elab_Term_reportUnsolvedGoals(x_25, x_15, x_4, 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; +} +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_15); +x_31 = lean_ctor_get(x_17, 0); +lean_inc(x_31); +lean_dec(x_17); +x_32 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_31, x_2, x_4, x_16); +lean_dec(x_31); +return x_32; +} +} +} +else +{ +uint8_t x_33; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_33 = !lean_is_exclusive(x_14); +if (x_33 == 0) +{ +return x_14; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_14, 0); +x_35 = lean_ctor_get(x_14, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_14); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 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_7, 0); +x_38 = lean_ctor_get(x_7, 1); +x_39 = lean_ctor_get(x_7, 2); +x_40 = lean_ctor_get(x_7, 3); +x_41 = lean_ctor_get(x_7, 4); +x_42 = lean_ctor_get(x_7, 5); +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_dec(x_7); +lean_inc(x_2); +x_43 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_38, x_2); +x_44 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_44, 0, x_37); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_39); +lean_ctor_set(x_44, 3, x_40); +lean_ctor_set(x_44, 4, x_41); +lean_ctor_set(x_44, 5, x_42); +lean_ctor_set(x_5, 0, x_44); +x_45 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 3, 1); +lean_closure_set(x_45, 0, x_3); +x_46 = l_Lean_Elab_Term_runTactic___closed__1; +x_47 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg), 4, 2); +lean_closure_set(x_47, 0, x_45); +lean_closure_set(x_47, 1, x_46); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_48 = l_Lean_Elab_Term_liftTacticElabM___rarg(x_1, x_2, x_47, x_4, x_5); +if (lean_obj_tag(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_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_1); +x_51 = l_Lean_Syntax_getTailWithInfo___main(x_1); +x_52 = l_List_isEmpty___rarg(x_49); +if (lean_obj_tag(x_51) == 0) +{ +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_2); +x_53 = l_Lean_Elab_Term_reportUnsolvedGoals(x_1, x_49, x_4, x_50); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_56 = x_53; +} else { + lean_dec_ref(x_53); + 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_dec(x_49); +x_58 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_2, x_4, x_50); +lean_dec(x_1); +return x_58; +} +} +else +{ +lean_dec(x_1); +if (x_52 == 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_dec(x_2); +x_59 = lean_ctor_get(x_51, 0); +lean_inc(x_59); +lean_dec(x_51); +x_60 = l_Lean_Elab_Term_reportUnsolvedGoals(x_59, x_49, x_4, x_50); +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); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +else +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_49); +x_65 = lean_ctor_get(x_51, 0); +lean_inc(x_65); +lean_dec(x_51); +x_66 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_65, x_2, x_4, x_50); +lean_dec(x_65); +return x_66; +} +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_67 = lean_ctor_get(x_48, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_48, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_69 = x_48; +} else { + lean_dec_ref(x_48); + 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; 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_71 = lean_ctor_get(x_5, 0); +x_72 = lean_ctor_get(x_5, 1); +x_73 = lean_ctor_get(x_5, 2); +x_74 = lean_ctor_get(x_5, 3); +x_75 = lean_ctor_get(x_5, 4); +x_76 = lean_ctor_get(x_5, 5); +lean_inc(x_76); +lean_inc(x_75); +lean_inc(x_74); +lean_inc(x_73); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_5); +x_77 = lean_ctor_get(x_71, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_71, 1); +lean_inc(x_78); +x_79 = lean_ctor_get(x_71, 2); +lean_inc(x_79); +x_80 = lean_ctor_get(x_71, 3); +lean_inc(x_80); +x_81 = lean_ctor_get(x_71, 4); +lean_inc(x_81); +x_82 = lean_ctor_get(x_71, 5); +lean_inc(x_82); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + lean_ctor_release(x_71, 2); + lean_ctor_release(x_71, 3); + lean_ctor_release(x_71, 4); + lean_ctor_release(x_71, 5); + x_83 = x_71; +} else { + lean_dec_ref(x_71); + x_83 = lean_box(0); +} +lean_inc(x_2); +x_84 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_78, x_2); +if (lean_is_scalar(x_83)) { + x_85 = lean_alloc_ctor(0, 6, 0); +} else { + x_85 = x_83; +} +lean_ctor_set(x_85, 0, x_77); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_85, 2, x_79); +lean_ctor_set(x_85, 3, x_80); +lean_ctor_set(x_85, 4, x_81); +lean_ctor_set(x_85, 5, x_82); +x_86 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_72); +lean_ctor_set(x_86, 2, x_73); +lean_ctor_set(x_86, 3, x_74); +lean_ctor_set(x_86, 4, x_75); +lean_ctor_set(x_86, 5, x_76); +x_87 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 3, 1); +lean_closure_set(x_87, 0, x_3); +x_88 = l_Lean_Elab_Term_runTactic___closed__1; +x_89 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg), 4, 2); +lean_closure_set(x_89, 0, x_87); +lean_closure_set(x_89, 1, x_88); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_90 = l_Lean_Elab_Term_liftTacticElabM___rarg(x_1, x_2, x_89, x_4, x_86); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +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); +lean_inc(x_1); +x_93 = l_Lean_Syntax_getTailWithInfo___main(x_1); +x_94 = l_List_isEmpty___rarg(x_91); +if (lean_obj_tag(x_93) == 0) +{ +if (x_94 == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_2); +x_95 = l_Lean_Elab_Term_reportUnsolvedGoals(x_1, x_91, x_4, x_92); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_98 = x_95; +} else { + lean_dec_ref(x_95); + x_98 = lean_box(0); +} +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 2, 0); +} else { + x_99 = x_98; +} +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_97); +return x_99; +} +else +{ +lean_object* x_100; +lean_dec(x_91); +x_100 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_2, x_4, x_92); +lean_dec(x_1); +return x_100; +} +} +else +{ +lean_dec(x_1); +if (x_94 == 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; +lean_dec(x_2); +x_101 = lean_ctor_get(x_93, 0); +lean_inc(x_101); +lean_dec(x_93); +x_102 = l_Lean_Elab_Term_reportUnsolvedGoals(x_101, x_91, x_4, x_92); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_105 = x_102; +} else { + lean_dec_ref(x_102); + x_105 = lean_box(0); +} +if (lean_is_scalar(x_105)) { + x_106 = lean_alloc_ctor(1, 2, 0); +} else { + x_106 = x_105; +} +lean_ctor_set(x_106, 0, x_103); +lean_ctor_set(x_106, 1, x_104); +return x_106; +} +else +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_91); +x_107 = lean_ctor_get(x_93, 0); +lean_inc(x_107); +lean_dec(x_93); +x_108 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_107, x_2, x_4, x_92); +lean_dec(x_107); +return x_108; +} +} +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_109 = lean_ctor_get(x_90, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_90, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_111 = x_90; +} else { + lean_dec_ref(x_90); + 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; +} +} +} +} +lean_object* l_Lean_Elab_Term_runTactic___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_Term_runTactic___lambda__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_1__resumeElabTerm(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_6; lean_object* x_7; -x_6 = 0; -x_7 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_6, x_3, x_1, x_4, x_5); -return x_7; +uint8_t x_6; +x_6 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +if (x_6 == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_4); +if (x_7 == 0) +{ +uint8_t x_8; lean_object* x_9; +x_8 = 0; +lean_ctor_set_uint8(x_4, sizeof(void*)*10 + 1, x_8); +x_9 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_8, x_1, x_4, x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; +x_10 = lean_ctor_get(x_4, 0); +x_11 = lean_ctor_get(x_4, 1); +x_12 = lean_ctor_get(x_4, 2); +x_13 = lean_ctor_get(x_4, 3); +x_14 = lean_ctor_get(x_4, 4); +x_15 = lean_ctor_get(x_4, 5); +x_16 = lean_ctor_get(x_4, 6); +x_17 = lean_ctor_get(x_4, 7); +x_18 = lean_ctor_get(x_4, 8); +x_19 = lean_ctor_get(x_4, 9); +x_20 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +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_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_4); +x_21 = 0; +x_22 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_22, 0, x_10); +lean_ctor_set(x_22, 1, x_11); +lean_ctor_set(x_22, 2, x_12); +lean_ctor_set(x_22, 3, x_13); +lean_ctor_set(x_22, 4, x_14); +lean_ctor_set(x_22, 5, x_15); +lean_ctor_set(x_22, 6, x_16); +lean_ctor_set(x_22, 7, x_17); +lean_ctor_set(x_22, 8, x_18); +lean_ctor_set(x_22, 9, x_19); +lean_ctor_set_uint8(x_22, sizeof(void*)*10, x_20); +lean_ctor_set_uint8(x_22, sizeof(void*)*10 + 1, x_21); +x_23 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_21, x_1, x_22, x_5); +return x_23; +} +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_4); +if (x_24 == 0) +{ +uint8_t x_25; lean_object* x_26; +lean_ctor_set_uint8(x_4, sizeof(void*)*10 + 1, x_3); +x_25 = 0; +x_26 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_25, x_1, x_4, x_5); +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; uint8_t x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; +x_27 = lean_ctor_get(x_4, 0); +x_28 = lean_ctor_get(x_4, 1); +x_29 = lean_ctor_get(x_4, 2); +x_30 = lean_ctor_get(x_4, 3); +x_31 = lean_ctor_get(x_4, 4); +x_32 = lean_ctor_get(x_4, 5); +x_33 = lean_ctor_get(x_4, 6); +x_34 = lean_ctor_get(x_4, 7); +x_35 = lean_ctor_get(x_4, 8); +x_36 = lean_ctor_get(x_4, 9); +x_37 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +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_inc(x_28); +lean_inc(x_27); +lean_dec(x_4); +x_38 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_38, 0, x_27); +lean_ctor_set(x_38, 1, x_28); +lean_ctor_set(x_38, 2, x_29); +lean_ctor_set(x_38, 3, x_30); +lean_ctor_set(x_38, 4, x_31); +lean_ctor_set(x_38, 5, x_32); +lean_ctor_set(x_38, 6, x_33); +lean_ctor_set(x_38, 7, x_34); +lean_ctor_set(x_38, 8, x_35); +lean_ctor_set(x_38, 9, x_36); +lean_ctor_set_uint8(x_38, sizeof(void*)*10, x_37); +lean_ctor_set_uint8(x_38, sizeof(void*)*10 + 1, x_3); +x_39 = 0; +x_40 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_39, x_1, x_38, x_5); +return x_40; +} +} } } lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_1__resumeElabTerm___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -168,7 +1274,7 @@ return x_1; lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___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; 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; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_object* x_8; lean_object* x_9; 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; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; x_39 = lean_ctor_get(x_6, 0); lean_inc(x_39); x_40 = lean_ctor_get(x_6, 1); @@ -188,43 +1294,44 @@ lean_inc(x_46); x_47 = lean_ctor_get(x_6, 9); lean_inc(x_47); x_48 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); -x_49 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_49, 0, x_39); -lean_ctor_set(x_49, 1, x_40); -lean_ctor_set(x_49, 2, x_41); -lean_ctor_set(x_49, 3, x_42); -lean_ctor_set(x_49, 4, x_43); -lean_ctor_set(x_49, 5, x_44); -lean_ctor_set(x_49, 6, x_45); -lean_ctor_set(x_49, 7, x_46); -lean_ctor_set(x_49, 8, x_2); -lean_ctor_set(x_49, 9, x_47); -lean_ctor_set_uint8(x_49, sizeof(void*)*10, x_48); -x_50 = l_Lean_Elab_Term_getMVarDecl(x_3, x_49, x_7); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); +x_49 = lean_ctor_get_uint8(x_6, sizeof(void*)*10 + 1); +x_50 = lean_alloc_ctor(0, 10, 2); +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_43); +lean_ctor_set(x_50, 5, x_44); +lean_ctor_set(x_50, 6, x_45); +lean_ctor_set(x_50, 7, x_46); +lean_ctor_set(x_50, 8, x_2); +lean_ctor_set(x_50, 9, x_47); +lean_ctor_set_uint8(x_50, sizeof(void*)*10, x_48); +lean_ctor_set_uint8(x_50, sizeof(void*)*10 + 1, x_49); +x_51 = l_Lean_Elab_Term_getMVarDecl(x_3, x_50, x_7); +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 2); +x_53 = lean_ctor_get(x_51, 1); lean_inc(x_53); lean_dec(x_51); -lean_inc(x_49); -x_54 = l_Lean_Elab_Term_instantiateMVars(x_4, x_53, x_49, x_52); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); +x_54 = lean_ctor_get(x_52, 2); +lean_inc(x_54); +lean_dec(x_52); +lean_inc(x_50); +x_55 = l_Lean_Elab_Term_instantiateMVars(x_4, x_54, x_50, x_53); +x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_57, 0, x_55); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_56); if (x_1 == 0) { -uint8_t x_58; uint8_t x_59; lean_object* x_60; -x_58 = 0; +uint8_t x_59; lean_object* x_60; x_59 = 1; -lean_inc(x_49); -x_60 = l_Lean_Elab_Term_elabTermAux___main(x_57, x_58, x_59, x_4, x_49, x_56); +lean_inc(x_50); +x_60 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_1__resumeElabTerm(x_4, x_58, x_59, x_50, x_57); if (lean_obj_tag(x_60) == 0) { lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; @@ -235,8 +1342,8 @@ 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_assignExprMVar(x_3, x_61, x_49, x_62); -lean_dec(x_49); +x_63 = l_Lean_Elab_Term_assignExprMVar(x_3, x_61, x_50, x_62); +lean_dec(x_50); x_64 = !lean_is_exclusive(x_63); if (x_64 == 0) { @@ -263,7 +1370,7 @@ return x_69; else { lean_object* x_70; lean_object* x_71; -lean_dec(x_49); +lean_dec(x_50); lean_dec(x_3); x_70 = lean_ctor_get(x_60, 0); lean_inc(x_70); @@ -279,8 +1386,8 @@ else { uint8_t x_72; lean_object* x_73; x_72 = 0; -lean_inc(x_49); -x_73 = l_Lean_Elab_Term_elabTermAux___main(x_57, x_72, x_72, x_4, x_49, x_56); +lean_inc(x_50); +x_73 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_1__resumeElabTerm(x_4, x_58, x_72, x_50, x_57); if (lean_obj_tag(x_73) == 0) { lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; @@ -291,8 +1398,8 @@ 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_assignExprMVar(x_3, x_74, x_49, x_75); -lean_dec(x_49); +x_76 = l_Lean_Elab_Term_assignExprMVar(x_3, x_74, x_50, x_75); +lean_dec(x_50); x_77 = !lean_is_exclusive(x_76); if (x_77 == 0) { @@ -321,7 +1428,7 @@ return x_84; else { lean_object* x_85; lean_object* x_86; -lean_dec(x_49); +lean_dec(x_50); lean_dec(x_3); x_85 = lean_ctor_get(x_73, 0); lean_inc(x_85); @@ -2603,134 +3710,212 @@ return x_2; lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_10__synthesizeSyntheticMVarsAux___main(uint8_t 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; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_282; lean_object* x_283; lean_object* x_284; uint8_t x_285; lean_dec(x_2); x_5 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_9__getSomeSynthethicMVarsRef___rarg(x_4); -x_6 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_5, 0); lean_inc(x_6); -x_7 = !lean_is_exclusive(x_5); -if (x_7 == 0) +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_8 = x_5; +} else { + lean_dec_ref(x_5); + x_8 = lean_box(0); +} +x_282 = lean_ctor_get(x_3, 0); +lean_inc(x_282); +x_283 = lean_ctor_get(x_282, 3); +lean_inc(x_283); +x_284 = lean_ctor_get(x_282, 4); +lean_inc(x_284); +lean_dec(x_282); +x_285 = lean_nat_dec_eq(x_283, x_284); +lean_dec(x_284); +lean_dec(x_283); +if (x_285 == 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; uint8_t x_19; -x_8 = lean_ctor_get(x_5, 0); -x_9 = lean_ctor_get(x_5, 1); -x_10 = lean_ctor_get(x_3, 1); -lean_inc(x_10); -x_11 = lean_ctor_get(x_3, 2); -lean_inc(x_11); -x_12 = lean_ctor_get(x_3, 3); -lean_inc(x_12); -x_13 = lean_ctor_get(x_3, 4); -lean_inc(x_13); -x_14 = lean_ctor_get(x_3, 5); -lean_inc(x_14); -x_15 = lean_ctor_get(x_3, 6); -lean_inc(x_15); -x_16 = lean_ctor_get(x_3, 7); -lean_inc(x_16); -x_17 = lean_ctor_get(x_3, 8); -lean_inc(x_17); -x_18 = lean_ctor_get(x_3, 9); -lean_inc(x_18); -x_19 = !lean_is_exclusive(x_6); -if (x_19 == 0) +lean_dec(x_6); +x_9 = x_7; +goto block_281; +} +else { -uint8_t 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_20 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); -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_nat_dec_eq(x_24, x_25); -if (x_26 == 0) -{ -uint8_t x_27; +lean_object* x_286; lean_object* x_287; uint8_t x_288; lean_dec(x_8); -x_27 = !lean_is_exclusive(x_3); -if (x_27 == 0) +x_286 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; +x_287 = l_Lean_Elab_Term_throwError___rarg(x_6, x_286, x_3, x_7); +lean_dec(x_6); +x_288 = !lean_is_exclusive(x_287); +if (x_288 == 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; uint8_t x_40; lean_object* x_107; uint8_t x_108; -x_28 = lean_ctor_get(x_3, 9); -lean_dec(x_28); -x_29 = lean_ctor_get(x_3, 8); -lean_dec(x_29); -x_30 = lean_ctor_get(x_3, 7); -lean_dec(x_30); -x_31 = lean_ctor_get(x_3, 6); -lean_dec(x_31); -x_32 = lean_ctor_get(x_3, 5); -lean_dec(x_32); -x_33 = lean_ctor_get(x_3, 4); -lean_dec(x_33); -x_34 = lean_ctor_get(x_3, 3); -lean_dec(x_34); -x_35 = lean_ctor_get(x_3, 2); -lean_dec(x_35); -x_36 = lean_ctor_get(x_3, 1); -lean_dec(x_36); -x_37 = lean_ctor_get(x_3, 0); -lean_dec(x_37); -x_38 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_add(x_24, x_38); -lean_dec(x_24); -lean_ctor_set(x_6, 3, x_39); +return x_287; +} +else +{ +lean_object* x_289; lean_object* x_290; lean_object* x_291; +x_289 = lean_ctor_get(x_287, 0); +x_290 = lean_ctor_get(x_287, 1); +lean_inc(x_290); +lean_inc(x_289); +lean_dec(x_287); +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; +} +} +block_281: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_3, 0); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_93; uint8_t x_94; +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_19 = lean_ctor_get(x_3, 7); +x_20 = lean_ctor_get(x_3, 8); +x_21 = lean_ctor_get(x_3, 9); +x_22 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); +x_23 = lean_ctor_get(x_11, 3); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_23, x_24); +lean_dec(x_23); +lean_ctor_set(x_11, 3, x_25); +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_inc(x_13); -lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_6); -x_107 = lean_ctor_get(x_9, 1); -lean_inc(x_107); -x_108 = l_List_isEmpty___rarg(x_107); -lean_dec(x_107); -if (x_108 == 0) +x_93 = lean_ctor_get(x_9, 1); +lean_inc(x_93); +x_94 = l_List_isEmpty___rarg(x_93); +lean_dec(x_93); +if (x_94 == 0) { -lean_free_object(x_5); +lean_dec(x_8); if (x_1 == 0) { -uint8_t x_109; -x_109 = 0; -x_40 = x_109; -goto block_106; +uint8_t x_95; +x_95 = 0; +x_26 = x_95; +goto block_92; } else { -uint8_t x_110; -x_110 = 1; -x_40 = x_110; -goto block_106; +uint8_t x_96; +x_96 = 1; +x_26 = x_96; +goto block_92; } } else { -lean_object* x_111; +lean_object* x_97; lean_object* x_98; lean_dec(x_3); -lean_dec(x_6); +lean_dec(x_11); +lean_dec(x_21); +lean_dec(x_20); +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); -x_111 = lean_box(0); -lean_ctor_set(x_5, 0, x_111); -return x_5; +x_97 = lean_box(0); +if (lean_is_scalar(x_8)) { + x_98 = lean_alloc_ctor(0, 2, 0); +} else { + x_98 = x_8; } -block_106: +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_9); +return x_98; +} +block_92: { -uint8_t x_41; lean_object* x_42; -x_41 = 0; +uint8_t x_27; lean_object* x_28; +x_27 = 0; lean_inc(x_3); -x_42 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_41, x_41, x_3, x_9); +x_28 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_27, x_27, x_3, x_9); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; uint8_t x_30; +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) +{ +if (x_26 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +lean_inc(x_3); +x_32 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault(x_3, 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; uint8_t x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_36, 0, x_11); +lean_ctor_set(x_36, 1, x_13); +lean_ctor_set(x_36, 2, x_14); +lean_ctor_set(x_36, 3, x_15); +lean_ctor_set(x_36, 4, x_16); +lean_ctor_set(x_36, 5, x_17); +lean_ctor_set(x_36, 6, x_18); +lean_ctor_set(x_36, 7, x_19); +lean_ctor_set(x_36, 8, x_20); +lean_ctor_set(x_36, 9, x_21); +lean_ctor_set_uint8(x_36, sizeof(void*)*10, x_27); +lean_ctor_set_uint8(x_36, sizeof(void*)*10 + 1, x_22); +x_37 = 1; +lean_inc(x_36); +x_38 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_37, x_27, x_36, x_35); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; uint8_t x_40; +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; lean_object* x_42; +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_dec(x_38); +x_42 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_27, x_27, x_36, x_41); if (lean_obj_tag(x_42) == 0) { lean_object* x_43; uint8_t x_44; @@ -2740,14 +3925,12 @@ x_44 = lean_unbox(x_43); lean_dec(x_43); if (x_44 == 0) { -if (x_40 == 0) -{ lean_object* x_45; lean_object* x_46; x_45 = lean_ctor_get(x_42, 1); lean_inc(x_45); lean_dec(x_42); lean_inc(x_3); -x_46 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault(x_3, x_45); +x_46 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_27, x_37, x_3, x_45); if (lean_obj_tag(x_46) == 0) { lean_object* x_47; uint8_t x_48; @@ -2757,76 +3940,92 @@ x_48 = lean_unbox(x_47); lean_dec(x_47); if (x_48 == 0) { -lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; +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, 10, 1); -lean_ctor_set(x_50, 0, x_6); -lean_ctor_set(x_50, 1, x_10); -lean_ctor_set(x_50, 2, x_11); -lean_ctor_set(x_50, 3, x_12); -lean_ctor_set(x_50, 4, x_13); -lean_ctor_set(x_50, 5, x_14); -lean_ctor_set(x_50, 6, x_15); -lean_ctor_set(x_50, 7, x_16); -lean_ctor_set(x_50, 8, x_17); -lean_ctor_set(x_50, 9, x_18); -lean_ctor_set_uint8(x_50, sizeof(void*)*10, x_41); -x_51 = 1; -lean_inc(x_50); -x_52 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_51, x_41, x_50, x_49); -if (lean_obj_tag(x_52) == 0) +x_50 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_8__reportStuckSyntheticMVars(x_3, x_49); +return x_50; +} +else { -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); +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_box(0); +x_2 = x_52; +x_4 = x_51; +goto _start; +} +} +else +{ +uint8_t x_54; +lean_dec(x_3); +x_54 = !lean_is_exclusive(x_46); if (x_54 == 0) { -lean_object* x_55; lean_object* x_56; -x_55 = lean_ctor_get(x_52, 1); +return x_46; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_46, 0); +x_56 = lean_ctor_get(x_46, 1); +lean_inc(x_56); lean_inc(x_55); -lean_dec(x_52); -x_56 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_41, x_41, x_50, x_55); -if (lean_obj_tag(x_56) == 0) +lean_dec(x_46); +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_57; uint8_t x_58; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_unbox(x_57); -lean_dec(x_57); -if (x_58 == 0) +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_42, 1); +lean_inc(x_58); +lean_dec(x_42); +x_59 = lean_box(0); +x_2 = x_59; +x_4 = x_58; +goto _start; +} +} +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); -lean_inc(x_3); -x_60 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_41, x_51, x_3, x_59); -if (lean_obj_tag(x_60) == 0) +uint8_t x_61; +lean_dec(x_3); +x_61 = !lean_is_exclusive(x_42); +if (x_61 == 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); -lean_dec(x_61); -if (x_62 == 0) +return x_42; +} +else { -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_60, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_42, 0); +x_63 = lean_ctor_get(x_42, 1); lean_inc(x_63); -lean_dec(x_60); -x_64 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_8__reportStuckSyntheticMVars(x_3, x_63); +lean_inc(x_62); +lean_dec(x_42); +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; -x_65 = lean_ctor_get(x_60, 1); +lean_dec(x_36); +x_65 = lean_ctor_get(x_38, 1); lean_inc(x_65); -lean_dec(x_60); +lean_dec(x_38); x_66 = lean_box(0); x_2 = x_66; x_4 = x_65; @@ -2836,20 +4035,21 @@ goto _start; else { uint8_t x_68; +lean_dec(x_36); lean_dec(x_3); -x_68 = !lean_is_exclusive(x_60); +x_68 = !lean_is_exclusive(x_38); if (x_68 == 0) { -return x_60; +return x_38; } else { lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_60, 0); -x_70 = lean_ctor_get(x_60, 1); +x_69 = lean_ctor_get(x_38, 0); +x_70 = lean_ctor_get(x_38, 1); lean_inc(x_70); lean_inc(x_69); -lean_dec(x_60); +lean_dec(x_38); x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); @@ -2860,9 +4060,19 @@ return x_71; else { lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_56, 1); +lean_dec(x_11); +lean_dec(x_21); +lean_dec(x_20); +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); +x_72 = lean_ctor_get(x_32, 1); lean_inc(x_72); -lean_dec(x_56); +lean_dec(x_32); x_73 = lean_box(0); x_2 = x_73; x_4 = x_72; @@ -2873,19 +4083,29 @@ else { uint8_t x_75; lean_dec(x_3); -x_75 = !lean_is_exclusive(x_56); +lean_dec(x_11); +lean_dec(x_21); +lean_dec(x_20); +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); +x_75 = !lean_is_exclusive(x_32); if (x_75 == 0) { -return x_56; +return x_32; } else { lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_56, 0); -x_77 = lean_ctor_get(x_56, 1); +x_76 = lean_ctor_get(x_32, 0); +x_77 = lean_ctor_get(x_32, 1); lean_inc(x_77); lean_inc(x_76); -lean_dec(x_56); +lean_dec(x_32); x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_76); lean_ctor_set(x_78, 1, x_77); @@ -2895,930 +4115,790 @@ return x_78; } else { -lean_object* x_79; lean_object* x_80; -lean_dec(x_50); -x_79 = lean_ctor_get(x_52, 1); -lean_inc(x_79); -lean_dec(x_52); -x_80 = lean_box(0); -x_2 = x_80; -x_4 = x_79; -goto _start; -} -} -else -{ -uint8_t x_82; -lean_dec(x_50); +uint8_t x_79; lean_dec(x_3); -x_82 = !lean_is_exclusive(x_52); -if (x_82 == 0) -{ -return x_52; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_52, 0); -x_84 = lean_ctor_get(x_52, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_52); -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; -lean_dec(x_6); +lean_dec(x_11); +lean_dec(x_21); +lean_dec(x_20); +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); -x_86 = lean_ctor_get(x_46, 1); -lean_inc(x_86); -lean_dec(x_46); -x_87 = lean_box(0); -x_2 = x_87; -x_4 = x_86; -goto _start; +x_79 = !lean_is_exclusive(x_28); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_28, 0); +lean_dec(x_80); +x_81 = lean_box(0); +lean_ctor_set(x_28, 0, x_81); +return x_28; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_28, 1); +lean_inc(x_82); +lean_dec(x_28); +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_82); +return x_84; +} } } else { -uint8_t x_89; -lean_dec(x_3); -lean_dec(x_6); +lean_object* x_85; lean_object* x_86; +lean_dec(x_11); +lean_dec(x_21); +lean_dec(x_20); +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); -x_89 = !lean_is_exclusive(x_46); -if (x_89 == 0) -{ -return x_46; +x_85 = lean_ctor_get(x_28, 1); +lean_inc(x_85); +lean_dec(x_28); +x_86 = lean_box(0); +x_2 = x_86; +x_4 = x_85; +goto _start; +} } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_46, 0); -x_91 = lean_ctor_get(x_46, 1); -lean_inc(x_91); +uint8_t x_88; +lean_dec(x_3); +lean_dec(x_11); +lean_dec(x_21); +lean_dec(x_20); +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); +x_88 = !lean_is_exclusive(x_28); +if (x_88 == 0) +{ +return x_28; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_28, 0); +x_90 = lean_ctor_get(x_28, 1); lean_inc(x_90); -lean_dec(x_46); -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; +lean_inc(x_89); +lean_dec(x_28); +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; -lean_dec(x_3); -lean_dec(x_6); -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_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_182; uint8_t x_183; +x_99 = lean_ctor_get(x_3, 1); +x_100 = lean_ctor_get(x_3, 2); +x_101 = lean_ctor_get(x_3, 3); +x_102 = lean_ctor_get(x_3, 4); +x_103 = lean_ctor_get(x_3, 5); +x_104 = lean_ctor_get(x_3, 6); +x_105 = lean_ctor_get(x_3, 7); +x_106 = lean_ctor_get(x_3, 8); +x_107 = lean_ctor_get(x_3, 9); +x_108 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); +x_109 = lean_ctor_get(x_11, 0); +x_110 = lean_ctor_get(x_11, 1); +x_111 = lean_ctor_get(x_11, 2); +x_112 = lean_ctor_get(x_11, 3); +x_113 = lean_ctor_get(x_11, 4); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); lean_dec(x_11); -lean_dec(x_10); -x_93 = !lean_is_exclusive(x_42); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_42, 0); -lean_dec(x_94); -x_95 = lean_box(0); -lean_ctor_set(x_42, 0, x_95); -return x_42; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_42, 1); -lean_inc(x_96); -lean_dec(x_42); -x_97 = lean_box(0); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -return x_98; -} -} -} -else -{ -lean_object* x_99; lean_object* x_100; -lean_dec(x_6); -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); -x_99 = lean_ctor_get(x_42, 1); -lean_inc(x_99); -lean_dec(x_42); -x_100 = lean_box(0); -x_2 = x_100; -x_4 = x_99; -goto _start; -} -} -else -{ -uint8_t x_102; -lean_dec(x_3); -lean_dec(x_6); -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); -x_102 = !lean_is_exclusive(x_42); -if (x_102 == 0) -{ -return x_42; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_42, 0); -x_104 = lean_ctor_get(x_42, 1); +x_114 = lean_unsigned_to_nat(1u); +x_115 = lean_nat_add(x_112, x_114); +lean_dec(x_112); +x_116 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_116, 0, x_109); +lean_ctor_set(x_116, 1, x_110); +lean_ctor_set(x_116, 2, x_111); +lean_ctor_set(x_116, 3, x_115); +lean_ctor_set(x_116, 4, x_113); +lean_inc(x_107); +lean_inc(x_106); +lean_inc(x_105); lean_inc(x_104); lean_inc(x_103); -lean_dec(x_42); -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_inc(x_102); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_116); +lean_ctor_set(x_3, 0, x_116); +x_182 = lean_ctor_get(x_9, 1); +lean_inc(x_182); +x_183 = l_List_isEmpty___rarg(x_182); +lean_dec(x_182); +if (x_183 == 0) { -lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_180; uint8_t x_181; -lean_dec(x_3); -x_112 = lean_unsigned_to_nat(1u); -x_113 = lean_nat_add(x_24, x_112); -lean_dec(x_24); -lean_ctor_set(x_6, 3, x_113); -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_inc(x_11); -lean_inc(x_10); -lean_inc(x_6); -x_114 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_114, 0, x_6); -lean_ctor_set(x_114, 1, x_10); -lean_ctor_set(x_114, 2, x_11); -lean_ctor_set(x_114, 3, x_12); -lean_ctor_set(x_114, 4, x_13); -lean_ctor_set(x_114, 5, x_14); -lean_ctor_set(x_114, 6, x_15); -lean_ctor_set(x_114, 7, x_16); -lean_ctor_set(x_114, 8, x_17); -lean_ctor_set(x_114, 9, x_18); -lean_ctor_set_uint8(x_114, sizeof(void*)*10, x_20); -x_180 = lean_ctor_get(x_9, 1); -lean_inc(x_180); -x_181 = l_List_isEmpty___rarg(x_180); -lean_dec(x_180); -if (x_181 == 0) -{ -lean_free_object(x_5); +lean_dec(x_8); if (x_1 == 0) { -uint8_t x_182; -x_182 = 0; -x_115 = x_182; -goto block_179; +uint8_t x_184; +x_184 = 0; +x_117 = x_184; +goto block_181; } else { -uint8_t x_183; -x_183 = 1; -x_115 = x_183; -goto block_179; +uint8_t x_185; +x_185 = 1; +x_117 = x_185; +goto block_181; } } else { -lean_object* x_184; -lean_dec(x_114); -lean_dec(x_6); -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); -x_184 = lean_box(0); -lean_ctor_set(x_5, 0, x_184); -return x_5; +lean_object* x_186; lean_object* x_187; +lean_dec(x_3); +lean_dec(x_116); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_105); +lean_dec(x_104); +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_99); +x_186 = lean_box(0); +if (lean_is_scalar(x_8)) { + x_187 = lean_alloc_ctor(0, 2, 0); +} else { + x_187 = x_8; } -block_179: +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_9); +return x_187; +} +block_181: { -uint8_t x_116; lean_object* x_117; -x_116 = 0; -lean_inc(x_114); -x_117 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_116, x_116, x_114, x_9); -if (lean_obj_tag(x_117) == 0) +uint8_t x_118; lean_object* x_119; +x_118 = 0; +lean_inc(x_3); +x_119 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_118, x_118, x_3, x_9); +if (lean_obj_tag(x_119) == 0) { -lean_object* x_118; uint8_t x_119; -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) -{ -if (x_115 == 0) -{ -lean_object* x_120; lean_object* x_121; -x_120 = lean_ctor_get(x_117, 1); +lean_object* x_120; uint8_t x_121; +x_120 = lean_ctor_get(x_119, 0); lean_inc(x_120); -lean_dec(x_117); -lean_inc(x_114); -x_121 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault(x_114, x_120); -if (lean_obj_tag(x_121) == 0) +x_121 = lean_unbox(x_120); +lean_dec(x_120); +if (x_121 == 0) { -lean_object* x_122; uint8_t x_123; -x_122 = lean_ctor_get(x_121, 0); +if (x_117 == 0) +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_119, 1); lean_inc(x_122); -x_123 = lean_unbox(x_122); -lean_dec(x_122); -if (x_123 == 0) +lean_dec(x_119); +lean_inc(x_3); +x_123 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault(x_3, x_122); +if (lean_obj_tag(x_123) == 0) { -lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; -x_124 = lean_ctor_get(x_121, 1); +lean_object* x_124; uint8_t x_125; +x_124 = lean_ctor_get(x_123, 0); lean_inc(x_124); -lean_dec(x_121); -x_125 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_125, 0, x_6); -lean_ctor_set(x_125, 1, x_10); -lean_ctor_set(x_125, 2, x_11); -lean_ctor_set(x_125, 3, x_12); -lean_ctor_set(x_125, 4, x_13); -lean_ctor_set(x_125, 5, x_14); -lean_ctor_set(x_125, 6, x_15); -lean_ctor_set(x_125, 7, x_16); -lean_ctor_set(x_125, 8, x_17); -lean_ctor_set(x_125, 9, x_18); -lean_ctor_set_uint8(x_125, sizeof(void*)*10, x_116); -x_126 = 1; -lean_inc(x_125); -x_127 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_126, x_116, x_125, x_124); -if (lean_obj_tag(x_127) == 0) +x_125 = lean_unbox(x_124); +lean_dec(x_124); +if (x_125 == 0) { -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_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; +x_126 = lean_ctor_get(x_123, 1); +lean_inc(x_126); +lean_dec(x_123); +x_127 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_127, 0, x_116); +lean_ctor_set(x_127, 1, x_99); +lean_ctor_set(x_127, 2, x_100); +lean_ctor_set(x_127, 3, x_101); +lean_ctor_set(x_127, 4, x_102); +lean_ctor_set(x_127, 5, x_103); +lean_ctor_set(x_127, 6, x_104); +lean_ctor_set(x_127, 7, x_105); +lean_ctor_set(x_127, 8, x_106); +lean_ctor_set(x_127, 9, x_107); +lean_ctor_set_uint8(x_127, sizeof(void*)*10, x_118); +lean_ctor_set_uint8(x_127, sizeof(void*)*10 + 1, x_108); +x_128 = 1; +lean_inc(x_127); +x_129 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_128, x_118, x_127, x_126); +if (lean_obj_tag(x_129) == 0) { -lean_object* x_130; lean_object* x_131; -x_130 = lean_ctor_get(x_127, 1); +lean_object* x_130; uint8_t x_131; +x_130 = lean_ctor_get(x_129, 0); lean_inc(x_130); -lean_dec(x_127); -x_131 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_116, x_116, x_125, x_130); -if (lean_obj_tag(x_131) == 0) +x_131 = lean_unbox(x_130); +lean_dec(x_130); +if (x_131 == 0) { -lean_object* x_132; uint8_t x_133; -x_132 = lean_ctor_get(x_131, 0); +lean_object* x_132; lean_object* x_133; +x_132 = lean_ctor_get(x_129, 1); lean_inc(x_132); -x_133 = lean_unbox(x_132); -lean_dec(x_132); -if (x_133 == 0) +lean_dec(x_129); +x_133 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_118, x_118, x_127, x_132); +if (lean_obj_tag(x_133) == 0) { -lean_object* x_134; lean_object* x_135; -x_134 = lean_ctor_get(x_131, 1); +lean_object* x_134; uint8_t x_135; +x_134 = lean_ctor_get(x_133, 0); lean_inc(x_134); -lean_dec(x_131); -lean_inc(x_114); -x_135 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_116, x_126, x_114, x_134); -if (lean_obj_tag(x_135) == 0) +x_135 = lean_unbox(x_134); +lean_dec(x_134); +if (x_135 == 0) { -lean_object* x_136; uint8_t x_137; -x_136 = lean_ctor_get(x_135, 0); +lean_object* x_136; lean_object* x_137; +x_136 = lean_ctor_get(x_133, 1); lean_inc(x_136); -x_137 = lean_unbox(x_136); -lean_dec(x_136); -if (x_137 == 0) +lean_dec(x_133); +lean_inc(x_3); +x_137 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_118, x_128, x_3, x_136); +if (lean_obj_tag(x_137) == 0) { -lean_object* x_138; lean_object* x_139; -x_138 = lean_ctor_get(x_135, 1); +lean_object* x_138; uint8_t x_139; +x_138 = lean_ctor_get(x_137, 0); lean_inc(x_138); -lean_dec(x_135); -x_139 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_8__reportStuckSyntheticMVars(x_114, x_138); -return x_139; -} -else +x_139 = lean_unbox(x_138); +lean_dec(x_138); +if (x_139 == 0) { lean_object* x_140; lean_object* x_141; -x_140 = lean_ctor_get(x_135, 1); +x_140 = lean_ctor_get(x_137, 1); lean_inc(x_140); -lean_dec(x_135); -x_141 = lean_box(0); -x_2 = x_141; -x_3 = x_114; -x_4 = x_140; +lean_dec(x_137); +x_141 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_8__reportStuckSyntheticMVars(x_3, x_140); +return x_141; +} +else +{ +lean_object* x_142; lean_object* x_143; +x_142 = lean_ctor_get(x_137, 1); +lean_inc(x_142); +lean_dec(x_137); +x_143 = lean_box(0); +x_2 = x_143; +x_4 = x_142; goto _start; } } else { -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -lean_dec(x_114); -x_143 = lean_ctor_get(x_135, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_135, 1); -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; +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_3); +x_145 = lean_ctor_get(x_137, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_137, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_147 = x_137; } else { - lean_dec_ref(x_135); - x_145 = lean_box(0); + lean_dec_ref(x_137); + x_147 = lean_box(0); } -if (lean_is_scalar(x_145)) { - x_146 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_147)) { + x_148 = lean_alloc_ctor(1, 2, 0); } else { - x_146 = x_145; + x_148 = x_147; } -lean_ctor_set(x_146, 0, x_143); -lean_ctor_set(x_146, 1, x_144); -return x_146; +lean_ctor_set(x_148, 0, x_145); +lean_ctor_set(x_148, 1, x_146); +return x_148; } } else { -lean_object* x_147; lean_object* x_148; -x_147 = lean_ctor_get(x_131, 1); -lean_inc(x_147); -lean_dec(x_131); -x_148 = lean_box(0); -x_2 = x_148; -x_3 = x_114; -x_4 = x_147; +lean_object* x_149; lean_object* x_150; +x_149 = lean_ctor_get(x_133, 1); +lean_inc(x_149); +lean_dec(x_133); +x_150 = lean_box(0); +x_2 = x_150; +x_4 = x_149; goto _start; } } else { -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -lean_dec(x_114); -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; +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +lean_dec(x_3); +x_152 = lean_ctor_get(x_133, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_133, 1); +lean_inc(x_153); +if (lean_is_exclusive(x_133)) { + lean_ctor_release(x_133, 0); + lean_ctor_release(x_133, 1); + x_154 = x_133; } else { - lean_dec_ref(x_131); - x_152 = lean_box(0); + lean_dec_ref(x_133); + x_154 = lean_box(0); } -if (lean_is_scalar(x_152)) { - x_153 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(1, 2, 0); } else { - x_153 = x_152; + x_155 = x_154; } -lean_ctor_set(x_153, 0, x_150); -lean_ctor_set(x_153, 1, x_151); -return x_153; +lean_ctor_set(x_155, 0, x_152); +lean_ctor_set(x_155, 1, x_153); +return x_155; } } else { -lean_object* x_154; lean_object* x_155; -lean_dec(x_125); -x_154 = lean_ctor_get(x_127, 1); -lean_inc(x_154); +lean_object* x_156; lean_object* x_157; lean_dec(x_127); -x_155 = lean_box(0); -x_2 = x_155; -x_3 = x_114; -x_4 = x_154; +x_156 = lean_ctor_get(x_129, 1); +lean_inc(x_156); +lean_dec(x_129); +x_157 = lean_box(0); +x_2 = x_157; +x_4 = x_156; goto _start; } } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -lean_dec(x_125); -lean_dec(x_114); -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; +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +lean_dec(x_127); +lean_dec(x_3); +x_159 = lean_ctor_get(x_129, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_129, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + x_161 = x_129; } else { - lean_dec_ref(x_127); - x_159 = lean_box(0); + lean_dec_ref(x_129); + x_161 = lean_box(0); } -if (lean_is_scalar(x_159)) { - x_160 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_161)) { + x_162 = lean_alloc_ctor(1, 2, 0); } else { - x_160 = x_159; + x_162 = x_161; } -lean_ctor_set(x_160, 0, x_157); -lean_ctor_set(x_160, 1, x_158); -return x_160; +lean_ctor_set(x_162, 0, x_159); +lean_ctor_set(x_162, 1, x_160); +return x_162; } } else { -lean_object* x_161; lean_object* x_162; -lean_dec(x_6); -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); -x_161 = lean_ctor_get(x_121, 1); -lean_inc(x_161); -lean_dec(x_121); -x_162 = lean_box(0); -x_2 = x_162; -x_3 = x_114; -x_4 = x_161; +lean_object* x_163; lean_object* x_164; +lean_dec(x_116); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_105); +lean_dec(x_104); +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_99); +x_163 = lean_ctor_get(x_123, 1); +lean_inc(x_163); +lean_dec(x_123); +x_164 = lean_box(0); +x_2 = x_164; +x_4 = x_163; goto _start; } } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -lean_dec(x_114); -lean_dec(x_6); -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); -x_164 = lean_ctor_get(x_121, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_121, 1); -lean_inc(x_165); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - x_166 = x_121; +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +lean_dec(x_3); +lean_dec(x_116); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_105); +lean_dec(x_104); +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_99); +x_166 = lean_ctor_get(x_123, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_123, 1); +lean_inc(x_167); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_168 = x_123; } else { - lean_dec_ref(x_121); - x_166 = lean_box(0); + lean_dec_ref(x_123); + x_168 = lean_box(0); } -if (lean_is_scalar(x_166)) { - x_167 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_168)) { + x_169 = lean_alloc_ctor(1, 2, 0); } else { - x_167 = x_166; + x_169 = x_168; } -lean_ctor_set(x_167, 0, x_164); -lean_ctor_set(x_167, 1, x_165); -return x_167; +lean_ctor_set(x_169, 0, x_166); +lean_ctor_set(x_169, 1, x_167); +return x_169; } } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -lean_dec(x_114); -lean_dec(x_6); -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); -x_168 = lean_ctor_get(x_117, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_169 = x_117; +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +lean_dec(x_3); +lean_dec(x_116); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_105); +lean_dec(x_104); +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_99); +x_170 = lean_ctor_get(x_119, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_171 = x_119; } else { - lean_dec_ref(x_117); - x_169 = lean_box(0); + lean_dec_ref(x_119); + x_171 = lean_box(0); } -x_170 = lean_box(0); -if (lean_is_scalar(x_169)) { - x_171 = lean_alloc_ctor(0, 2, 0); +x_172 = lean_box(0); +if (lean_is_scalar(x_171)) { + x_173 = lean_alloc_ctor(0, 2, 0); } else { - x_171 = x_169; + x_173 = x_171; } -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_168); -return x_171; +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_170); +return x_173; } } else { -lean_object* x_172; lean_object* x_173; -lean_dec(x_6); -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); -x_172 = lean_ctor_get(x_117, 1); -lean_inc(x_172); -lean_dec(x_117); -x_173 = lean_box(0); -x_2 = x_173; -x_3 = x_114; -x_4 = x_172; +lean_object* x_174; lean_object* x_175; +lean_dec(x_116); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_105); +lean_dec(x_104); +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_99); +x_174 = lean_ctor_get(x_119, 1); +lean_inc(x_174); +lean_dec(x_119); +x_175 = lean_box(0); +x_2 = x_175; +x_4 = x_174; goto _start; } } else { -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -lean_dec(x_114); -lean_dec(x_6); -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); -x_175 = lean_ctor_get(x_117, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_117, 1); -lean_inc(x_176); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_177 = x_117; +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +lean_dec(x_3); +lean_dec(x_116); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_105); +lean_dec(x_104); +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_99); +x_177 = lean_ctor_get(x_119, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_119, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_179 = x_119; } else { - lean_dec_ref(x_117); - x_177 = lean_box(0); + lean_dec_ref(x_119); + x_179 = lean_box(0); } -if (lean_is_scalar(x_177)) { - x_178 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(1, 2, 0); } else { - x_178 = x_177; + x_180 = x_179; } -lean_ctor_set(x_178, 0, x_175); -lean_ctor_set(x_178, 1, x_176); -return x_178; +lean_ctor_set(x_180, 0, x_177); +lean_ctor_set(x_180, 1, x_178); +return x_180; } } } } else { -lean_object* x_185; lean_object* x_186; uint8_t x_187; -lean_free_object(x_6); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -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_free_object(x_5); -x_185 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; -x_186 = l_Lean_Elab_Term_throwError___rarg(x_8, x_185, x_3, x_9); -lean_dec(x_8); -x_187 = !lean_is_exclusive(x_186); -if (x_187 == 0) -{ -return x_186; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_186, 0); -x_189 = lean_ctor_get(x_186, 1); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_186); -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 -{ -uint8_t x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; -x_191 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); -x_192 = lean_ctor_get(x_6, 0); -x_193 = lean_ctor_get(x_6, 1); -x_194 = lean_ctor_get(x_6, 2); -x_195 = lean_ctor_get(x_6, 3); -x_196 = lean_ctor_get(x_6, 4); +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; uint8_t 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; uint8_t x_210; lean_object* x_275; uint8_t x_276; +x_188 = lean_ctor_get(x_3, 0); +x_189 = lean_ctor_get(x_3, 1); +x_190 = lean_ctor_get(x_3, 2); +x_191 = lean_ctor_get(x_3, 3); +x_192 = lean_ctor_get(x_3, 4); +x_193 = lean_ctor_get(x_3, 5); +x_194 = lean_ctor_get(x_3, 6); +x_195 = lean_ctor_get(x_3, 7); +x_196 = lean_ctor_get(x_3, 8); +x_197 = lean_ctor_get(x_3, 9); +x_198 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_199 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); +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_6); -x_197 = lean_nat_dec_eq(x_195, x_196); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; lean_object* x_268; uint8_t x_269; -lean_dec(x_8); -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); - lean_ctor_release(x_3, 8); - lean_ctor_release(x_3, 9); - x_198 = x_3; -} else { - lean_dec_ref(x_3); - x_198 = lean_box(0); -} -x_199 = lean_unsigned_to_nat(1u); -x_200 = lean_nat_add(x_195, x_199); -lean_dec(x_195); -x_201 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_201, 0, x_192); -lean_ctor_set(x_201, 1, x_193); -lean_ctor_set(x_201, 2, x_194); -lean_ctor_set(x_201, 3, x_200); -lean_ctor_set(x_201, 4, x_196); -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_inc(x_11); -lean_inc(x_10); +lean_inc(x_191); +lean_inc(x_190); +lean_inc(x_189); +lean_inc(x_188); +lean_dec(x_3); +x_200 = lean_ctor_get(x_188, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_188, 1); lean_inc(x_201); -if (lean_is_scalar(x_198)) { - x_202 = lean_alloc_ctor(0, 10, 1); +x_202 = lean_ctor_get(x_188, 2); +lean_inc(x_202); +x_203 = lean_ctor_get(x_188, 3); +lean_inc(x_203); +x_204 = lean_ctor_get(x_188, 4); +lean_inc(x_204); +if (lean_is_exclusive(x_188)) { + lean_ctor_release(x_188, 0); + lean_ctor_release(x_188, 1); + lean_ctor_release(x_188, 2); + lean_ctor_release(x_188, 3); + lean_ctor_release(x_188, 4); + x_205 = x_188; } else { - x_202 = x_198; + lean_dec_ref(x_188); + x_205 = lean_box(0); } -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_10); -lean_ctor_set(x_202, 2, x_11); -lean_ctor_set(x_202, 3, x_12); -lean_ctor_set(x_202, 4, x_13); -lean_ctor_set(x_202, 5, x_14); -lean_ctor_set(x_202, 6, x_15); -lean_ctor_set(x_202, 7, x_16); -lean_ctor_set(x_202, 8, x_17); -lean_ctor_set(x_202, 9, x_18); -lean_ctor_set_uint8(x_202, sizeof(void*)*10, x_191); -x_268 = lean_ctor_get(x_9, 1); -lean_inc(x_268); -x_269 = l_List_isEmpty___rarg(x_268); -lean_dec(x_268); -if (x_269 == 0) +x_206 = lean_unsigned_to_nat(1u); +x_207 = lean_nat_add(x_203, x_206); +lean_dec(x_203); +if (lean_is_scalar(x_205)) { + x_208 = lean_alloc_ctor(0, 5, 0); +} else { + x_208 = x_205; +} +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_inc(x_197); +lean_inc(x_196); +lean_inc(x_195); +lean_inc(x_194); +lean_inc(x_193); +lean_inc(x_192); +lean_inc(x_191); +lean_inc(x_190); +lean_inc(x_189); +lean_inc(x_208); +x_209 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_209, 0, x_208); +lean_ctor_set(x_209, 1, x_189); +lean_ctor_set(x_209, 2, x_190); +lean_ctor_set(x_209, 3, x_191); +lean_ctor_set(x_209, 4, x_192); +lean_ctor_set(x_209, 5, x_193); +lean_ctor_set(x_209, 6, x_194); +lean_ctor_set(x_209, 7, x_195); +lean_ctor_set(x_209, 8, x_196); +lean_ctor_set(x_209, 9, x_197); +lean_ctor_set_uint8(x_209, sizeof(void*)*10, x_198); +lean_ctor_set_uint8(x_209, sizeof(void*)*10 + 1, x_199); +x_275 = lean_ctor_get(x_9, 1); +lean_inc(x_275); +x_276 = l_List_isEmpty___rarg(x_275); +lean_dec(x_275); +if (x_276 == 0) { -lean_free_object(x_5); +lean_dec(x_8); if (x_1 == 0) { -uint8_t x_270; -x_270 = 0; -x_203 = x_270; -goto block_267; +uint8_t x_277; +x_277 = 0; +x_210 = x_277; +goto block_274; } else { -uint8_t x_271; -x_271 = 1; -x_203 = x_271; -goto block_267; +uint8_t x_278; +x_278 = 1; +x_210 = x_278; +goto block_274; } } else { -lean_object* x_272; -lean_dec(x_202); -lean_dec(x_201); -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); -x_272 = lean_box(0); -lean_ctor_set(x_5, 0, x_272); -return x_5; -} -block_267: -{ -uint8_t x_204; lean_object* x_205; -x_204 = 0; -lean_inc(x_202); -x_205 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_204, x_204, x_202, x_9); -if (lean_obj_tag(x_205) == 0) -{ -lean_object* x_206; uint8_t x_207; -x_206 = lean_ctor_get(x_205, 0); -lean_inc(x_206); -x_207 = lean_unbox(x_206); -lean_dec(x_206); -if (x_207 == 0) -{ -if (x_203 == 0) -{ -lean_object* x_208; lean_object* x_209; -x_208 = lean_ctor_get(x_205, 1); -lean_inc(x_208); -lean_dec(x_205); -lean_inc(x_202); -x_209 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault(x_202, x_208); -if (lean_obj_tag(x_209) == 0) -{ -lean_object* x_210; uint8_t x_211; -x_210 = lean_ctor_get(x_209, 0); -lean_inc(x_210); -x_211 = lean_unbox(x_210); -lean_dec(x_210); -if (x_211 == 0) -{ -lean_object* x_212; lean_object* x_213; uint8_t x_214; lean_object* x_215; -x_212 = lean_ctor_get(x_209, 1); -lean_inc(x_212); +lean_object* x_279; lean_object* x_280; lean_dec(x_209); -x_213 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_213, 0, x_201); -lean_ctor_set(x_213, 1, x_10); -lean_ctor_set(x_213, 2, x_11); -lean_ctor_set(x_213, 3, x_12); -lean_ctor_set(x_213, 4, x_13); -lean_ctor_set(x_213, 5, x_14); -lean_ctor_set(x_213, 6, x_15); -lean_ctor_set(x_213, 7, x_16); -lean_ctor_set(x_213, 8, x_17); -lean_ctor_set(x_213, 9, x_18); -lean_ctor_set_uint8(x_213, sizeof(void*)*10, x_204); -x_214 = 1; +lean_dec(x_208); +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_193); +lean_dec(x_192); +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_189); +x_279 = lean_box(0); +if (lean_is_scalar(x_8)) { + x_280 = lean_alloc_ctor(0, 2, 0); +} else { + x_280 = x_8; +} +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_9); +return x_280; +} +block_274: +{ +uint8_t x_211; lean_object* x_212; +x_211 = 0; +lean_inc(x_209); +x_212 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_211, x_211, x_209, x_9); +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_215 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_214, x_204, x_213, x_212); -if (lean_obj_tag(x_215) == 0) +x_214 = lean_unbox(x_213); +lean_dec(x_213); +if (x_214 == 0) { -lean_object* x_216; uint8_t x_217; -x_216 = lean_ctor_get(x_215, 0); -lean_inc(x_216); -x_217 = lean_unbox(x_216); +if (x_210 == 0) +{ +lean_object* x_215; lean_object* x_216; +x_215 = lean_ctor_get(x_212, 1); +lean_inc(x_215); +lean_dec(x_212); +lean_inc(x_209); +x_216 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault(x_209, x_215); +if (lean_obj_tag(x_216) == 0) +{ +lean_object* x_217; uint8_t x_218; +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; lean_object* x_220; uint8_t x_221; lean_object* x_222; +x_219 = lean_ctor_get(x_216, 1); +lean_inc(x_219); lean_dec(x_216); -if (x_217 == 0) -{ -lean_object* x_218; lean_object* x_219; -x_218 = lean_ctor_get(x_215, 1); -lean_inc(x_218); -lean_dec(x_215); -x_219 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_204, x_204, x_213, 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); +x_220 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_220, 0, x_208); +lean_ctor_set(x_220, 1, x_189); +lean_ctor_set(x_220, 2, x_190); +lean_ctor_set(x_220, 3, x_191); +lean_ctor_set(x_220, 4, x_192); +lean_ctor_set(x_220, 5, x_193); +lean_ctor_set(x_220, 6, x_194); +lean_ctor_set(x_220, 7, x_195); +lean_ctor_set(x_220, 8, x_196); +lean_ctor_set(x_220, 9, x_197); +lean_ctor_set_uint8(x_220, sizeof(void*)*10, x_211); +lean_ctor_set_uint8(x_220, sizeof(void*)*10 + 1, x_199); +x_221 = 1; lean_inc(x_220); -x_221 = lean_unbox(x_220); -lean_dec(x_220); -if (x_221 == 0) +x_222 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_221, x_211, x_220, x_219); +if (lean_obj_tag(x_222) == 0) { -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_202); -x_223 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_204, x_214, x_202, x_222); -if (lean_obj_tag(x_223) == 0) -{ -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_inc(x_226); +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); -x_227 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_8__reportStuckSyntheticMVars(x_202, x_226); -return x_227; -} -else +if (x_224 == 0) { -lean_object* x_228; lean_object* x_229; -x_228 = lean_ctor_get(x_223, 1); -lean_inc(x_228); -lean_dec(x_223); -x_229 = lean_box(0); -x_2 = x_229; -x_3 = x_202; -x_4 = x_228; -goto _start; -} -} -else +lean_object* x_225; lean_object* x_226; +x_225 = lean_ctor_get(x_222, 1); +lean_inc(x_225); +lean_dec(x_222); +x_226 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_211, x_211, x_220, x_225); +if (lean_obj_tag(x_226) == 0) { -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -lean_dec(x_202); -x_231 = lean_ctor_get(x_223, 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); +lean_dec(x_227); +if (x_228 == 0) +{ +lean_object* x_229; lean_object* x_230; +x_229 = lean_ctor_get(x_226, 1); +lean_inc(x_229); +lean_dec(x_226); +lean_inc(x_209); +x_230 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_211, x_221, x_209, x_229); +if (lean_obj_tag(x_230) == 0) +{ +lean_object* x_231; uint8_t x_232; +x_231 = lean_ctor_get(x_230, 0); lean_inc(x_231); -x_232 = lean_ctor_get(x_223, 1); -lean_inc(x_232); -if (lean_is_exclusive(x_223)) { - lean_ctor_release(x_223, 0); - lean_ctor_release(x_223, 1); - x_233 = x_223; -} else { - lean_dec_ref(x_223); - x_233 = lean_box(0); -} -if (lean_is_scalar(x_233)) { - x_234 = lean_alloc_ctor(1, 2, 0); -} else { - x_234 = x_233; -} -lean_ctor_set(x_234, 0, x_231); -lean_ctor_set(x_234, 1, x_232); +x_232 = lean_unbox(x_231); +lean_dec(x_231); +if (x_232 == 0) +{ +lean_object* x_233; lean_object* x_234; +x_233 = lean_ctor_get(x_230, 1); +lean_inc(x_233); +lean_dec(x_230); +x_234 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_8__reportStuckSyntheticMVars(x_209, x_233); return x_234; } -} else { lean_object* x_235; lean_object* x_236; -x_235 = lean_ctor_get(x_219, 1); +x_235 = lean_ctor_get(x_230, 1); lean_inc(x_235); -lean_dec(x_219); +lean_dec(x_230); x_236 = lean_box(0); x_2 = x_236; -x_3 = x_202; +x_3 = x_209; x_4 = x_235; goto _start; } @@ -3826,17 +4906,17 @@ goto _start; else { lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; -lean_dec(x_202); -x_238 = lean_ctor_get(x_219, 0); +lean_dec(x_209); +x_238 = lean_ctor_get(x_230, 0); lean_inc(x_238); -x_239 = lean_ctor_get(x_219, 1); +x_239 = lean_ctor_get(x_230, 1); lean_inc(x_239); -if (lean_is_exclusive(x_219)) { - lean_ctor_release(x_219, 0); - lean_ctor_release(x_219, 1); - x_240 = x_219; +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_240 = x_230; } else { - lean_dec_ref(x_219); + lean_dec_ref(x_230); x_240 = lean_box(0); } if (lean_is_scalar(x_240)) { @@ -3852,13 +4932,12 @@ return x_241; else { lean_object* x_242; lean_object* x_243; -lean_dec(x_213); -x_242 = lean_ctor_get(x_215, 1); +x_242 = lean_ctor_get(x_226, 1); lean_inc(x_242); -lean_dec(x_215); +lean_dec(x_226); x_243 = lean_box(0); x_2 = x_243; -x_3 = x_202; +x_3 = x_209; x_4 = x_242; goto _start; } @@ -3866,18 +4945,17 @@ goto _start; else { lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; -lean_dec(x_213); -lean_dec(x_202); -x_245 = lean_ctor_get(x_215, 0); +lean_dec(x_209); +x_245 = lean_ctor_get(x_226, 0); lean_inc(x_245); -x_246 = lean_ctor_get(x_215, 1); +x_246 = lean_ctor_get(x_226, 1); lean_inc(x_246); -if (lean_is_exclusive(x_215)) { - lean_ctor_release(x_215, 0); - lean_ctor_release(x_215, 1); - x_247 = x_215; +if (lean_is_exclusive(x_226)) { + lean_ctor_release(x_226, 0); + lean_ctor_release(x_226, 1); + x_247 = x_226; } else { - lean_dec_ref(x_215); + lean_dec_ref(x_226); x_247 = lean_box(0); } if (lean_is_scalar(x_247)) { @@ -3893,22 +4971,13 @@ return x_248; else { lean_object* x_249; lean_object* x_250; -lean_dec(x_201); -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); -x_249 = lean_ctor_get(x_209, 1); +lean_dec(x_220); +x_249 = lean_ctor_get(x_222, 1); lean_inc(x_249); -lean_dec(x_209); +lean_dec(x_222); x_250 = lean_box(0); x_2 = x_250; -x_3 = x_202; +x_3 = x_209; x_4 = x_249; goto _start; } @@ -3916,27 +4985,18 @@ goto _start; else { lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; -lean_dec(x_202); -lean_dec(x_201); -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); -x_252 = lean_ctor_get(x_209, 0); +lean_dec(x_220); +lean_dec(x_209); +x_252 = lean_ctor_get(x_222, 0); lean_inc(x_252); -x_253 = lean_ctor_get(x_209, 1); +x_253 = lean_ctor_get(x_222, 1); lean_inc(x_253); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_254 = x_209; +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + x_254 = x_222; } else { - lean_dec_ref(x_209); + lean_dec_ref(x_222); x_254 = lean_box(0); } if (lean_is_scalar(x_254)) { @@ -3951,702 +5011,157 @@ return x_255; } else { -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -lean_dec(x_202); -lean_dec(x_201); -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); -x_256 = lean_ctor_get(x_205, 1); -lean_inc(x_256); -if (lean_is_exclusive(x_205)) { - lean_ctor_release(x_205, 0); - lean_ctor_release(x_205, 1); - x_257 = x_205; -} else { - lean_dec_ref(x_205); - 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_dec(x_201); -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); -x_260 = lean_ctor_get(x_205, 1); -lean_inc(x_260); -lean_dec(x_205); -x_261 = lean_box(0); -x_2 = x_261; -x_3 = x_202; -x_4 = x_260; -goto _start; -} -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -lean_dec(x_202); -lean_dec(x_201); -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); -x_263 = lean_ctor_get(x_205, 0); -lean_inc(x_263); -x_264 = lean_ctor_get(x_205, 1); -lean_inc(x_264); -if (lean_is_exclusive(x_205)) { - lean_ctor_release(x_205, 0); - lean_ctor_release(x_205, 1); - x_265 = x_205; -} else { - lean_dec_ref(x_205); - 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_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; +lean_object* x_256; lean_object* x_257; +lean_dec(x_208); +lean_dec(x_197); lean_dec(x_196); lean_dec(x_195); lean_dec(x_194); lean_dec(x_193); lean_dec(x_192); -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_free_object(x_5); -x_273 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; -x_274 = l_Lean_Elab_Term_throwError___rarg(x_8, x_273, x_3, x_9); -lean_dec(x_8); -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); -} -if (lean_is_scalar(x_277)) { - x_278 = lean_alloc_ctor(1, 2, 0); -} else { - x_278 = x_277; -} -lean_ctor_set(x_278, 0, x_275); -lean_ctor_set(x_278, 1, x_276); -return x_278; -} -} -} -else -{ -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; uint8_t 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; uint8_t x_297; -x_279 = lean_ctor_get(x_5, 0); -x_280 = lean_ctor_get(x_5, 1); -lean_inc(x_280); -lean_inc(x_279); -lean_dec(x_5); -x_281 = lean_ctor_get(x_3, 1); -lean_inc(x_281); -x_282 = lean_ctor_get(x_3, 2); -lean_inc(x_282); -x_283 = lean_ctor_get(x_3, 3); -lean_inc(x_283); -x_284 = lean_ctor_get(x_3, 4); -lean_inc(x_284); -x_285 = lean_ctor_get(x_3, 5); -lean_inc(x_285); -x_286 = lean_ctor_get(x_3, 6); -lean_inc(x_286); -x_287 = lean_ctor_get(x_3, 7); -lean_inc(x_287); -x_288 = lean_ctor_get(x_3, 8); -lean_inc(x_288); -x_289 = lean_ctor_get(x_3, 9); -lean_inc(x_289); -x_290 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); -x_291 = lean_ctor_get(x_6, 0); -lean_inc(x_291); -x_292 = lean_ctor_get(x_6, 1); -lean_inc(x_292); -x_293 = lean_ctor_get(x_6, 2); -lean_inc(x_293); -x_294 = lean_ctor_get(x_6, 3); -lean_inc(x_294); -x_295 = lean_ctor_get(x_6, 4); -lean_inc(x_295); -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); - x_296 = x_6; -} else { - lean_dec_ref(x_6); - x_296 = lean_box(0); -} -x_297 = lean_nat_dec_eq(x_294, x_295); -if (x_297 == 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; lean_object* x_368; uint8_t x_369; -lean_dec(x_279); -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); - lean_ctor_release(x_3, 8); - lean_ctor_release(x_3, 9); - x_298 = x_3; -} else { - lean_dec_ref(x_3); - x_298 = lean_box(0); -} -x_299 = lean_unsigned_to_nat(1u); -x_300 = lean_nat_add(x_294, x_299); -lean_dec(x_294); -if (lean_is_scalar(x_296)) { - x_301 = lean_alloc_ctor(0, 5, 0); -} else { - x_301 = x_296; -} -lean_ctor_set(x_301, 0, x_291); -lean_ctor_set(x_301, 1, x_292); -lean_ctor_set(x_301, 2, x_293); -lean_ctor_set(x_301, 3, x_300); -lean_ctor_set(x_301, 4, x_295); -lean_inc(x_289); -lean_inc(x_288); -lean_inc(x_287); -lean_inc(x_286); -lean_inc(x_285); -lean_inc(x_284); -lean_inc(x_283); -lean_inc(x_282); -lean_inc(x_281); -lean_inc(x_301); -if (lean_is_scalar(x_298)) { - x_302 = lean_alloc_ctor(0, 10, 1); -} else { - x_302 = x_298; -} -lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_281); -lean_ctor_set(x_302, 2, x_282); -lean_ctor_set(x_302, 3, x_283); -lean_ctor_set(x_302, 4, x_284); -lean_ctor_set(x_302, 5, x_285); -lean_ctor_set(x_302, 6, x_286); -lean_ctor_set(x_302, 7, x_287); -lean_ctor_set(x_302, 8, x_288); -lean_ctor_set(x_302, 9, x_289); -lean_ctor_set_uint8(x_302, sizeof(void*)*10, x_290); -x_368 = lean_ctor_get(x_280, 1); -lean_inc(x_368); -x_369 = l_List_isEmpty___rarg(x_368); -lean_dec(x_368); -if (x_369 == 0) -{ -if (x_1 == 0) -{ -uint8_t x_370; -x_370 = 0; -x_303 = x_370; -goto block_367; -} -else -{ -uint8_t x_371; -x_371 = 1; -x_303 = x_371; -goto block_367; -} -} -else -{ -lean_object* x_372; lean_object* x_373; -lean_dec(x_302); -lean_dec(x_301); -lean_dec(x_289); -lean_dec(x_288); -lean_dec(x_287); -lean_dec(x_286); -lean_dec(x_285); -lean_dec(x_284); -lean_dec(x_283); -lean_dec(x_282); -lean_dec(x_281); -x_372 = lean_box(0); -x_373 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_373, 0, x_372); -lean_ctor_set(x_373, 1, x_280); -return x_373; -} -block_367: -{ -uint8_t x_304; lean_object* x_305; -x_304 = 0; -lean_inc(x_302); -x_305 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_304, x_304, x_302, x_280); -if (lean_obj_tag(x_305) == 0) -{ -lean_object* x_306; uint8_t x_307; -x_306 = lean_ctor_get(x_305, 0); -lean_inc(x_306); -x_307 = lean_unbox(x_306); -lean_dec(x_306); -if (x_307 == 0) -{ -if (x_303 == 0) -{ -lean_object* x_308; lean_object* x_309; -x_308 = lean_ctor_get(x_305, 1); -lean_inc(x_308); -lean_dec(x_305); -lean_inc(x_302); -x_309 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault(x_302, x_308); -if (lean_obj_tag(x_309) == 0) -{ -lean_object* x_310; uint8_t x_311; -x_310 = lean_ctor_get(x_309, 0); -lean_inc(x_310); -x_311 = lean_unbox(x_310); -lean_dec(x_310); -if (x_311 == 0) -{ -lean_object* x_312; lean_object* x_313; uint8_t x_314; lean_object* x_315; -x_312 = lean_ctor_get(x_309, 1); -lean_inc(x_312); -lean_dec(x_309); -x_313 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_313, 0, x_301); -lean_ctor_set(x_313, 1, x_281); -lean_ctor_set(x_313, 2, x_282); -lean_ctor_set(x_313, 3, x_283); -lean_ctor_set(x_313, 4, x_284); -lean_ctor_set(x_313, 5, x_285); -lean_ctor_set(x_313, 6, x_286); -lean_ctor_set(x_313, 7, x_287); -lean_ctor_set(x_313, 8, x_288); -lean_ctor_set(x_313, 9, x_289); -lean_ctor_set_uint8(x_313, sizeof(void*)*10, x_304); -x_314 = 1; -lean_inc(x_313); -x_315 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_314, x_304, x_313, x_312); -if (lean_obj_tag(x_315) == 0) -{ -lean_object* x_316; uint8_t x_317; -x_316 = lean_ctor_get(x_315, 0); -lean_inc(x_316); -x_317 = lean_unbox(x_316); -lean_dec(x_316); -if (x_317 == 0) -{ -lean_object* x_318; lean_object* x_319; -x_318 = lean_ctor_get(x_315, 1); -lean_inc(x_318); -lean_dec(x_315); -x_319 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_304, x_304, x_313, x_318); -if (lean_obj_tag(x_319) == 0) -{ -lean_object* x_320; uint8_t x_321; -x_320 = lean_ctor_get(x_319, 0); -lean_inc(x_320); -x_321 = lean_unbox(x_320); -lean_dec(x_320); -if (x_321 == 0) -{ -lean_object* x_322; lean_object* x_323; -x_322 = lean_ctor_get(x_319, 1); -lean_inc(x_322); -lean_dec(x_319); -lean_inc(x_302); -x_323 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep(x_304, x_314, x_302, x_322); -if (lean_obj_tag(x_323) == 0) -{ -lean_object* x_324; uint8_t x_325; -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -x_325 = lean_unbox(x_324); -lean_dec(x_324); -if (x_325 == 0) -{ -lean_object* x_326; lean_object* x_327; -x_326 = lean_ctor_get(x_323, 1); -lean_inc(x_326); -lean_dec(x_323); -x_327 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_8__reportStuckSyntheticMVars(x_302, x_326); -return x_327; -} -else -{ -lean_object* x_328; lean_object* x_329; -x_328 = lean_ctor_get(x_323, 1); -lean_inc(x_328); -lean_dec(x_323); -x_329 = lean_box(0); -x_2 = x_329; -x_3 = x_302; -x_4 = x_328; +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_189); +x_256 = lean_ctor_get(x_216, 1); +lean_inc(x_256); +lean_dec(x_216); +x_257 = lean_box(0); +x_2 = x_257; +x_3 = x_209; +x_4 = x_256; goto _start; } } else { -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; -lean_dec(x_302); -x_331 = lean_ctor_get(x_323, 0); -lean_inc(x_331); -x_332 = lean_ctor_get(x_323, 1); -lean_inc(x_332); -if (lean_is_exclusive(x_323)) { - lean_ctor_release(x_323, 0); - lean_ctor_release(x_323, 1); - x_333 = x_323; +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +lean_dec(x_209); +lean_dec(x_208); +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_193); +lean_dec(x_192); +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_189); +x_259 = lean_ctor_get(x_216, 0); +lean_inc(x_259); +x_260 = lean_ctor_get(x_216, 1); +lean_inc(x_260); +if (lean_is_exclusive(x_216)) { + lean_ctor_release(x_216, 0); + lean_ctor_release(x_216, 1); + x_261 = x_216; } else { - lean_dec_ref(x_323); - x_333 = lean_box(0); + lean_dec_ref(x_216); + x_261 = lean_box(0); } -if (lean_is_scalar(x_333)) { - x_334 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_261)) { + x_262 = lean_alloc_ctor(1, 2, 0); } else { - x_334 = x_333; + x_262 = x_261; } -lean_ctor_set(x_334, 0, x_331); -lean_ctor_set(x_334, 1, x_332); -return x_334; +lean_ctor_set(x_262, 0, x_259); +lean_ctor_set(x_262, 1, x_260); +return x_262; } } else { -lean_object* x_335; lean_object* x_336; -x_335 = lean_ctor_get(x_319, 1); -lean_inc(x_335); -lean_dec(x_319); -x_336 = lean_box(0); -x_2 = x_336; -x_3 = x_302; -x_4 = x_335; +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; +lean_dec(x_209); +lean_dec(x_208); +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_193); +lean_dec(x_192); +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_189); +x_263 = lean_ctor_get(x_212, 1); +lean_inc(x_263); +if (lean_is_exclusive(x_212)) { + lean_ctor_release(x_212, 0); + lean_ctor_release(x_212, 1); + x_264 = x_212; +} else { + lean_dec_ref(x_212); + x_264 = lean_box(0); +} +x_265 = lean_box(0); +if (lean_is_scalar(x_264)) { + x_266 = lean_alloc_ctor(0, 2, 0); +} else { + x_266 = x_264; +} +lean_ctor_set(x_266, 0, x_265); +lean_ctor_set(x_266, 1, x_263); +return x_266; +} +} +else +{ +lean_object* x_267; lean_object* x_268; +lean_dec(x_208); +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_193); +lean_dec(x_192); +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_189); +x_267 = lean_ctor_get(x_212, 1); +lean_inc(x_267); +lean_dec(x_212); +x_268 = lean_box(0); +x_2 = x_268; +x_3 = x_209; +x_4 = x_267; goto _start; } } else { -lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; -lean_dec(x_302); -x_338 = lean_ctor_get(x_319, 0); -lean_inc(x_338); -x_339 = lean_ctor_get(x_319, 1); -lean_inc(x_339); -if (lean_is_exclusive(x_319)) { - lean_ctor_release(x_319, 0); - lean_ctor_release(x_319, 1); - x_340 = x_319; +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; +lean_dec(x_209); +lean_dec(x_208); +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_193); +lean_dec(x_192); +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_189); +x_270 = lean_ctor_get(x_212, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_212, 1); +lean_inc(x_271); +if (lean_is_exclusive(x_212)) { + lean_ctor_release(x_212, 0); + lean_ctor_release(x_212, 1); + x_272 = x_212; } else { - lean_dec_ref(x_319); - x_340 = lean_box(0); + lean_dec_ref(x_212); + x_272 = lean_box(0); } -if (lean_is_scalar(x_340)) { - x_341 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_272)) { + x_273 = lean_alloc_ctor(1, 2, 0); } else { - x_341 = x_340; + x_273 = x_272; } -lean_ctor_set(x_341, 0, x_338); -lean_ctor_set(x_341, 1, x_339); -return x_341; +lean_ctor_set(x_273, 0, x_270); +lean_ctor_set(x_273, 1, x_271); +return x_273; } } -else -{ -lean_object* x_342; lean_object* x_343; -lean_dec(x_313); -x_342 = lean_ctor_get(x_315, 1); -lean_inc(x_342); -lean_dec(x_315); -x_343 = lean_box(0); -x_2 = x_343; -x_3 = x_302; -x_4 = x_342; -goto _start; -} -} -else -{ -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; -lean_dec(x_313); -lean_dec(x_302); -x_345 = lean_ctor_get(x_315, 0); -lean_inc(x_345); -x_346 = lean_ctor_get(x_315, 1); -lean_inc(x_346); -if (lean_is_exclusive(x_315)) { - lean_ctor_release(x_315, 0); - lean_ctor_release(x_315, 1); - x_347 = x_315; -} else { - lean_dec_ref(x_315); - x_347 = lean_box(0); -} -if (lean_is_scalar(x_347)) { - x_348 = lean_alloc_ctor(1, 2, 0); -} else { - x_348 = x_347; -} -lean_ctor_set(x_348, 0, x_345); -lean_ctor_set(x_348, 1, x_346); -return x_348; -} -} -else -{ -lean_object* x_349; lean_object* x_350; -lean_dec(x_301); -lean_dec(x_289); -lean_dec(x_288); -lean_dec(x_287); -lean_dec(x_286); -lean_dec(x_285); -lean_dec(x_284); -lean_dec(x_283); -lean_dec(x_282); -lean_dec(x_281); -x_349 = lean_ctor_get(x_309, 1); -lean_inc(x_349); -lean_dec(x_309); -x_350 = lean_box(0); -x_2 = x_350; -x_3 = x_302; -x_4 = x_349; -goto _start; -} -} -else -{ -lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; -lean_dec(x_302); -lean_dec(x_301); -lean_dec(x_289); -lean_dec(x_288); -lean_dec(x_287); -lean_dec(x_286); -lean_dec(x_285); -lean_dec(x_284); -lean_dec(x_283); -lean_dec(x_282); -lean_dec(x_281); -x_352 = lean_ctor_get(x_309, 0); -lean_inc(x_352); -x_353 = lean_ctor_get(x_309, 1); -lean_inc(x_353); -if (lean_is_exclusive(x_309)) { - lean_ctor_release(x_309, 0); - lean_ctor_release(x_309, 1); - x_354 = x_309; -} else { - lean_dec_ref(x_309); - x_354 = lean_box(0); -} -if (lean_is_scalar(x_354)) { - x_355 = lean_alloc_ctor(1, 2, 0); -} else { - x_355 = x_354; -} -lean_ctor_set(x_355, 0, x_352); -lean_ctor_set(x_355, 1, x_353); -return x_355; -} -} -else -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; -lean_dec(x_302); -lean_dec(x_301); -lean_dec(x_289); -lean_dec(x_288); -lean_dec(x_287); -lean_dec(x_286); -lean_dec(x_285); -lean_dec(x_284); -lean_dec(x_283); -lean_dec(x_282); -lean_dec(x_281); -x_356 = lean_ctor_get(x_305, 1); -lean_inc(x_356); -if (lean_is_exclusive(x_305)) { - lean_ctor_release(x_305, 0); - lean_ctor_release(x_305, 1); - x_357 = x_305; -} else { - lean_dec_ref(x_305); - x_357 = lean_box(0); -} -x_358 = lean_box(0); -if (lean_is_scalar(x_357)) { - x_359 = lean_alloc_ctor(0, 2, 0); -} else { - x_359 = x_357; -} -lean_ctor_set(x_359, 0, x_358); -lean_ctor_set(x_359, 1, x_356); -return x_359; -} -} -else -{ -lean_object* x_360; lean_object* x_361; -lean_dec(x_301); -lean_dec(x_289); -lean_dec(x_288); -lean_dec(x_287); -lean_dec(x_286); -lean_dec(x_285); -lean_dec(x_284); -lean_dec(x_283); -lean_dec(x_282); -lean_dec(x_281); -x_360 = lean_ctor_get(x_305, 1); -lean_inc(x_360); -lean_dec(x_305); -x_361 = lean_box(0); -x_2 = x_361; -x_3 = x_302; -x_4 = x_360; -goto _start; -} -} -else -{ -lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; -lean_dec(x_302); -lean_dec(x_301); -lean_dec(x_289); -lean_dec(x_288); -lean_dec(x_287); -lean_dec(x_286); -lean_dec(x_285); -lean_dec(x_284); -lean_dec(x_283); -lean_dec(x_282); -lean_dec(x_281); -x_363 = lean_ctor_get(x_305, 0); -lean_inc(x_363); -x_364 = lean_ctor_get(x_305, 1); -lean_inc(x_364); -if (lean_is_exclusive(x_305)) { - lean_ctor_release(x_305, 0); - lean_ctor_release(x_305, 1); - x_365 = x_305; -} else { - lean_dec_ref(x_305); - x_365 = lean_box(0); -} -if (lean_is_scalar(x_365)) { - x_366 = lean_alloc_ctor(1, 2, 0); -} else { - x_366 = x_365; -} -lean_ctor_set(x_366, 0, x_363); -lean_ctor_set(x_366, 1, x_364); -return x_366; -} -} -} -else -{ -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_dec(x_296); -lean_dec(x_295); -lean_dec(x_294); -lean_dec(x_293); -lean_dec(x_292); -lean_dec(x_291); -lean_dec(x_289); -lean_dec(x_288); -lean_dec(x_287); -lean_dec(x_286); -lean_dec(x_285); -lean_dec(x_284); -lean_dec(x_283); -lean_dec(x_282); -lean_dec(x_281); -x_374 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; -x_375 = l_Lean_Elab_Term_throwError___rarg(x_279, x_374, x_3, x_280); -lean_dec(x_279); -x_376 = lean_ctor_get(x_375, 0); -lean_inc(x_376); -x_377 = lean_ctor_get(x_375, 1); -lean_inc(x_377); -if (lean_is_exclusive(x_375)) { - lean_ctor_release(x_375, 0); - lean_ctor_release(x_375, 1); - x_378 = x_375; -} else { - lean_dec_ref(x_375); - 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; } } } @@ -4699,7 +5214,7 @@ return x_5; } } lean_object* initialize_Init_Lean_Elab_Term(lean_object*); -lean_object* initialize_Init_Lean_Elab_Tactic(lean_object*); +lean_object* initialize_Init_Lean_Elab_Tactic_Basic(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Lean_Elab_SynthesizeSyntheticMVars(lean_object* w) { lean_object * res; @@ -4708,9 +5223,17 @@ _G_initialized = true; res = initialize_Init_Lean_Elab_Term(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Init_Lean_Elab_Tactic(lean_io_mk_world()); +res = initialize_Init_Lean_Elab_Tactic_Basic(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1 = _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1); +l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__2 = _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__2); +l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3 = _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3); +l_Lean_Elab_Term_runTactic___closed__1 = _init_l_Lean_Elab_Term_runTactic___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_runTactic___closed__1); l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___lambda__1___closed__1 = _init_l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___lambda__1___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___lambda__1___closed__1); l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___closed__1 = _init_l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___closed__1(); diff --git a/stage0/stdlib/Init/Lean/Elab/Tactic.c b/stage0/stdlib/Init/Lean/Elab/Tactic.c index b117b95e69..ecf26603de 100644 --- a/stage0/stdlib/Init/Lean/Elab/Tactic.c +++ b/stage0/stdlib/Init/Lean/Elab/Tactic.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Lean.Elab.Tactic -// Imports: Init.Lean.Elab.Term Init.Lean.Elab.Tactic.Basic +// Imports: Init.Lean.Elab.Term Init.Lean.Elab.Tactic.Basic Init.Lean.Elab.Tactic.ElabTerm #include "runtime/lean.h" #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,1179 +13,9 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1; -lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__2; -lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock(lean_object*); -lean_object* l_Lean_Elab_Term_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_runTactic___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkMVar(lean_object*); -lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Term_tacticBlock___elambda__1___closed__2; -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3; -lean_object* l_Lean_Syntax_getTailWithInfo___main(lean_object*); -lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3; -lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTacticBlock___closed__1; -lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*); -lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTacticBlock___closed__2; -lean_object* l_Lean_Elab_Term_liftTacticElabM(lean_object*); -lean_object* l_Lean_Elab_Term_withMVarContext___rarg(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* l_Lean_Elab_Term_runTactic___closed__1; -lean_object* l_Lean_Elab_Term_elabTacticBlock___closed__3; -uint8_t l_Lean_Expr_hasMVar(lean_object*); -lean_object* l_Lean_Elab_Term_registerSyntheticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__4; -lean_object* l_Lean_Elab_Term_runTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkTacticMVar___closed__2; -lean_object* l_Lean_Elab_Term_addBuiltinTermElab(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* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2; -lean_object* l_Lean_MetavarContext_instantiateMVarDeclMVars(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTacticBlock(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_List_isEmpty___rarg(lean_object*); -lean_object* l_Lean_Elab_Term_mkTacticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_indentExpr(lean_object*); -lean_object* l_Lean_Elab_Term_mkTacticMVar___closed__1; -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1; -lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* _init_l_Lean_Elab_Term_mkTacticMVar___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("main"); -return x_1; -} -} -lean_object* _init_l_Lean_Elab_Term_mkTacticMVar___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_mkTacticMVar___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Term_mkTacticMVar(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_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_6 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_6, 0, x_2); -x_7 = 2; -x_8 = l_Lean_Elab_Term_mkTacticMVar___closed__2; -lean_inc(x_4); -x_9 = l_Lean_Elab_Term_mkFreshExprMVar(x_1, x_6, x_7, x_8, x_4, x_5); -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_Expr_mvarId_x21(x_10); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_3); -x_14 = l_Lean_Elab_Term_registerSyntheticMVar(x_1, x_12, x_13, x_4, x_11); -lean_dec(x_4); -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_10); -return x_14; -} -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_10); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -} -lean_object* _init_l_Lean_Elab_Term_elabTacticBlock___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid tactic block, expected type has not been provided"); -return x_1; -} -} -lean_object* _init_l_Lean_Elab_Term_elabTacticBlock___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabTacticBlock___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Elab_Term_elabTacticBlock___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabTacticBlock___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_elabTacticBlock(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Elab_Term_elabTacticBlock___closed__3; -x_6 = l_Lean_Elab_Term_throwError___rarg(x_1, x_5, x_3, 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; -x_7 = lean_ctor_get(x_2, 0); -lean_inc(x_7); -lean_dec(x_2); -x_8 = lean_unsigned_to_nat(1u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Elab_Term_mkTacticMVar(x_1, x_7, x_9, x_3, x_4); -return x_10; -} -} -} -lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabTacticBlock"); -return x_1; -} -} -lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_declareBuiltinTermElab___closed__4; -x_2 = l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTacticBlock), 4, 0); -return x_1; -} -} -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock(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_Term_tacticBlock___elambda__1___closed__2; -x_3 = l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2; -x_4 = l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3; -x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1(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; -x_6 = !lean_is_exclusive(x_4); -if (x_6 == 0) -{ -lean_object* x_7; uint8_t x_8; -lean_inc(x_1); -x_7 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_7, 0, x_4); -lean_ctor_set(x_7, 1, x_1); -lean_ctor_set(x_7, 2, x_2); -x_8 = !lean_is_exclusive(x_5); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_box(0); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_9); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_5); -lean_ctor_set(x_11, 1, x_10); -x_12 = lean_apply_2(x_3, x_7, 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, 1); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -lean_ctor_set(x_12, 1, 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_17, 0); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_16); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -else -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_12); -if (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_12, 0); -x_22 = lean_ctor_get(x_12, 1); -x_23 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_23, 0, x_21); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -lean_ctor_set(x_12, 1, x_24); -lean_ctor_set(x_12, 0, x_23); -return x_12; -} -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_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(0, 1, 0); -lean_ctor_set(x_27, 0, x_25); -x_28 = lean_ctor_get(x_26, 0); -lean_inc(x_28); -lean_dec(x_26); -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; 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_30 = lean_ctor_get(x_5, 0); -x_31 = lean_ctor_get(x_5, 1); -x_32 = lean_ctor_get(x_5, 2); -x_33 = lean_ctor_get(x_5, 3); -x_34 = lean_ctor_get(x_5, 4); -x_35 = lean_ctor_get(x_5, 5); -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_dec(x_5); -x_36 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_36, 0, x_30); -lean_ctor_set(x_36, 1, x_31); -lean_ctor_set(x_36, 2, x_32); -lean_ctor_set(x_36, 3, x_33); -lean_ctor_set(x_36, 4, x_34); -lean_ctor_set(x_36, 5, x_35); -x_37 = lean_box(0); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_1); -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); -x_40 = lean_apply_2(x_3, x_7, x_39); -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); -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_44 = lean_ctor_get(x_42, 0); -lean_inc(x_44); -lean_dec(x_42); -if (lean_is_scalar(x_43)) { - x_45 = lean_alloc_ctor(0, 2, 0); -} else { - x_45 = x_43; -} -lean_ctor_set(x_45, 0, x_41); -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; -x_46 = lean_ctor_get(x_40, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_40, 1); -lean_inc(x_47); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_48 = x_40; -} else { - lean_dec_ref(x_40); - x_48 = lean_box(0); -} -x_49 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_49, 0, x_46); -x_50 = lean_ctor_get(x_47, 0); -lean_inc(x_50); -lean_dec(x_47); -if (lean_is_scalar(x_48)) { - x_51 = lean_alloc_ctor(1, 2, 0); -} else { - x_51 = x_48; -} -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; lean_object* x_61; uint8_t 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_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, 5); -x_58 = lean_ctor_get(x_4, 6); -x_59 = lean_ctor_get(x_4, 7); -x_60 = lean_ctor_get(x_4, 8); -x_61 = lean_ctor_get(x_4, 9); -x_62 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); -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_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_4); -x_63 = lean_alloc_ctor(0, 10, 1); -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_57); -lean_ctor_set(x_63, 6, x_58); -lean_ctor_set(x_63, 7, x_59); -lean_ctor_set(x_63, 8, x_60); -lean_ctor_set(x_63, 9, x_61); -lean_ctor_set_uint8(x_63, sizeof(void*)*10, x_62); -lean_inc(x_1); -x_64 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_1); -lean_ctor_set(x_64, 2, x_2); -x_65 = lean_ctor_get(x_5, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_5, 1); -lean_inc(x_66); -x_67 = lean_ctor_get(x_5, 2); -lean_inc(x_67); -x_68 = lean_ctor_get(x_5, 3); -lean_inc(x_68); -x_69 = lean_ctor_get(x_5, 4); -lean_inc(x_69); -x_70 = lean_ctor_get(x_5, 5); -lean_inc(x_70); -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); - x_71 = x_5; -} else { - lean_dec_ref(x_5); - x_71 = lean_box(0); -} -if (lean_is_scalar(x_71)) { - x_72 = lean_alloc_ctor(0, 6, 0); -} else { - x_72 = x_71; -} -lean_ctor_set(x_72, 0, x_65); -lean_ctor_set(x_72, 1, x_66); -lean_ctor_set(x_72, 2, x_67); -lean_ctor_set(x_72, 3, x_68); -lean_ctor_set(x_72, 4, x_69); -lean_ctor_set(x_72, 5, x_70); -x_73 = lean_box(0); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_1); -lean_ctor_set(x_74, 1, x_73); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_72); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_apply_2(x_3, x_64, 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; -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_79 = x_76; -} else { - lean_dec_ref(x_76); - x_79 = lean_box(0); -} -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -lean_dec(x_78); -if (lean_is_scalar(x_79)) { - x_81 = lean_alloc_ctor(0, 2, 0); -} else { - x_81 = x_79; -} -lean_ctor_set(x_81, 0, x_77); -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_76, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_76, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_84 = x_76; -} else { - lean_dec_ref(x_76); - x_84 = lean_box(0); -} -x_85 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_85, 0, x_82); -x_86 = lean_ctor_get(x_83, 0); -lean_inc(x_86); -lean_dec(x_83); -if (lean_is_scalar(x_84)) { - x_87 = lean_alloc_ctor(1, 2, 0); -} else { - x_87 = x_84; -} -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -return x_87; -} -} -} -} -lean_object* l_Lean_Elab_Term_liftTacticElabM___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_inc(x_2); -x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1), 5, 3); -lean_closure_set(x_6, 0, x_2); -lean_closure_set(x_6, 1, x_1); -lean_closure_set(x_6, 2, x_3); -x_7 = l_Lean_Elab_Term_withMVarContext___rarg(x_2, x_6, x_4, x_5); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_liftTacticElabM(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_liftTacticElabM___rarg), 5, 0); -return x_2; -} -} -lean_object* _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tactic failed, result still contain metavariables"); -return x_1; -} -} -lean_object* _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars___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_ensureAssignmentHasNoMVars(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; -x_5 = l_Lean_mkMVar(x_2); -lean_inc(x_3); -x_6 = l_Lean_Elab_Term_instantiateMVars(x_1, x_5, x_3, x_4); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_ctor_get(x_6, 1); -x_10 = l_Lean_Expr_hasMVar(x_8); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_8); -lean_dec(x_3); -x_11 = lean_box(0); -lean_ctor_set(x_6, 0, x_11); -return x_6; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_free_object(x_6); -x_12 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_12, 0, x_8); -x_13 = l_Lean_indentExpr(x_12); -x_14 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3; -x_15 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -x_16 = l_Lean_Elab_Term_throwError___rarg(x_1, x_15, x_3, x_9); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_ctor_get(x_6, 0); -x_18 = lean_ctor_get(x_6, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_6); -x_19 = l_Lean_Expr_hasMVar(x_17); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_17); -lean_dec(x_3); -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_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; -x_22 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_22, 0, x_17); -x_23 = l_Lean_indentExpr(x_22); -x_24 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3; -x_25 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_Elab_Term_throwError___rarg(x_1, x_25, x_3, x_18); -return x_26; -} -} -} -} -lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___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_Term_ensureAssignmentHasNoMVars(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_runTactic___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_2, x_3); -return x_4; -} -} -lean_object* _init_l_Lean_Elab_Term_runTactic___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_runTactic___lambda__1___boxed), 3, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Term_runTactic(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; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_ctor_get(x_5, 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; -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_2); -x_10 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_9, x_2); -lean_ctor_set(x_7, 1, x_10); -x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 3, 1); -lean_closure_set(x_11, 0, x_3); -x_12 = l_Lean_Elab_Term_runTactic___closed__1; -x_13 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg), 4, 2); -lean_closure_set(x_13, 0, x_11); -lean_closure_set(x_13, 1, x_12); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_14 = l_Lean_Elab_Term_liftTacticElabM___rarg(x_1, x_2, x_13, x_4, x_5); -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); -lean_inc(x_1); -x_17 = l_Lean_Syntax_getTailWithInfo___main(x_1); -x_18 = l_List_isEmpty___rarg(x_15); -if (lean_obj_tag(x_17) == 0) -{ -if (x_18 == 0) -{ -lean_object* x_19; uint8_t x_20; -lean_dec(x_2); -x_19 = l_Lean_Elab_Term_reportUnsolvedGoals(x_1, x_15, x_4, x_16); -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_dec(x_15); -x_24 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_2, x_4, x_16); -lean_dec(x_1); -return x_24; -} -} -else -{ -lean_dec(x_1); -if (x_18 == 0) -{ -lean_object* x_25; lean_object* x_26; uint8_t x_27; -lean_dec(x_2); -x_25 = lean_ctor_get(x_17, 0); -lean_inc(x_25); -lean_dec(x_17); -x_26 = l_Lean_Elab_Term_reportUnsolvedGoals(x_25, x_15, x_4, 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; -} -} -else -{ -lean_object* x_31; lean_object* x_32; -lean_dec(x_15); -x_31 = lean_ctor_get(x_17, 0); -lean_inc(x_31); -lean_dec(x_17); -x_32 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_31, x_2, x_4, x_16); -lean_dec(x_31); -return x_32; -} -} -} -else -{ -uint8_t x_33; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_14); -if (x_33 == 0) -{ -return x_14; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_14, 0); -x_35 = lean_ctor_get(x_14, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_14); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 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_7, 0); -x_38 = lean_ctor_get(x_7, 1); -x_39 = lean_ctor_get(x_7, 2); -x_40 = lean_ctor_get(x_7, 3); -x_41 = lean_ctor_get(x_7, 4); -x_42 = lean_ctor_get(x_7, 5); -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_dec(x_7); -lean_inc(x_2); -x_43 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_38, x_2); -x_44 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_44, 0, x_37); -lean_ctor_set(x_44, 1, x_43); -lean_ctor_set(x_44, 2, x_39); -lean_ctor_set(x_44, 3, x_40); -lean_ctor_set(x_44, 4, x_41); -lean_ctor_set(x_44, 5, x_42); -lean_ctor_set(x_5, 0, x_44); -x_45 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 3, 1); -lean_closure_set(x_45, 0, x_3); -x_46 = l_Lean_Elab_Term_runTactic___closed__1; -x_47 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg), 4, 2); -lean_closure_set(x_47, 0, x_45); -lean_closure_set(x_47, 1, x_46); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_48 = l_Lean_Elab_Term_liftTacticElabM___rarg(x_1, x_2, x_47, x_4, x_5); -if (lean_obj_tag(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_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_1); -x_51 = l_Lean_Syntax_getTailWithInfo___main(x_1); -x_52 = l_List_isEmpty___rarg(x_49); -if (lean_obj_tag(x_51) == 0) -{ -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -lean_dec(x_2); -x_53 = l_Lean_Elab_Term_reportUnsolvedGoals(x_1, x_49, x_4, x_50); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_56 = x_53; -} else { - lean_dec_ref(x_53); - 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_dec(x_49); -x_58 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_2, x_4, x_50); -lean_dec(x_1); -return x_58; -} -} -else -{ -lean_dec(x_1); -if (x_52 == 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_dec(x_2); -x_59 = lean_ctor_get(x_51, 0); -lean_inc(x_59); -lean_dec(x_51); -x_60 = l_Lean_Elab_Term_reportUnsolvedGoals(x_59, x_49, x_4, x_50); -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); -} -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(1, 2, 0); -} else { - x_64 = x_63; -} -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_62); -return x_64; -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_49); -x_65 = lean_ctor_get(x_51, 0); -lean_inc(x_65); -lean_dec(x_51); -x_66 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_65, x_2, x_4, x_50); -lean_dec(x_65); -return x_66; -} -} -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_67 = lean_ctor_get(x_48, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_48, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_48)) { - lean_ctor_release(x_48, 0); - lean_ctor_release(x_48, 1); - x_69 = x_48; -} else { - lean_dec_ref(x_48); - 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; 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_71 = lean_ctor_get(x_5, 0); -x_72 = lean_ctor_get(x_5, 1); -x_73 = lean_ctor_get(x_5, 2); -x_74 = lean_ctor_get(x_5, 3); -x_75 = lean_ctor_get(x_5, 4); -x_76 = lean_ctor_get(x_5, 5); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_5); -x_77 = lean_ctor_get(x_71, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_71, 1); -lean_inc(x_78); -x_79 = lean_ctor_get(x_71, 2); -lean_inc(x_79); -x_80 = lean_ctor_get(x_71, 3); -lean_inc(x_80); -x_81 = lean_ctor_get(x_71, 4); -lean_inc(x_81); -x_82 = lean_ctor_get(x_71, 5); -lean_inc(x_82); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - lean_ctor_release(x_71, 2); - lean_ctor_release(x_71, 3); - lean_ctor_release(x_71, 4); - lean_ctor_release(x_71, 5); - x_83 = x_71; -} else { - lean_dec_ref(x_71); - x_83 = lean_box(0); -} -lean_inc(x_2); -x_84 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_78, x_2); -if (lean_is_scalar(x_83)) { - x_85 = lean_alloc_ctor(0, 6, 0); -} else { - x_85 = x_83; -} -lean_ctor_set(x_85, 0, x_77); -lean_ctor_set(x_85, 1, x_84); -lean_ctor_set(x_85, 2, x_79); -lean_ctor_set(x_85, 3, x_80); -lean_ctor_set(x_85, 4, x_81); -lean_ctor_set(x_85, 5, x_82); -x_86 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_72); -lean_ctor_set(x_86, 2, x_73); -lean_ctor_set(x_86, 3, x_74); -lean_ctor_set(x_86, 4, x_75); -lean_ctor_set(x_86, 5, x_76); -x_87 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 3, 1); -lean_closure_set(x_87, 0, x_3); -x_88 = l_Lean_Elab_Term_runTactic___closed__1; -x_89 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg), 4, 2); -lean_closure_set(x_89, 0, x_87); -lean_closure_set(x_89, 1, x_88); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_90 = l_Lean_Elab_Term_liftTacticElabM___rarg(x_1, x_2, x_89, x_4, x_86); -if (lean_obj_tag(x_90) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -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); -lean_inc(x_1); -x_93 = l_Lean_Syntax_getTailWithInfo___main(x_1); -x_94 = l_List_isEmpty___rarg(x_91); -if (lean_obj_tag(x_93) == 0) -{ -if (x_94 == 0) -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_2); -x_95 = l_Lean_Elab_Term_reportUnsolvedGoals(x_1, x_91, x_4, x_92); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_98 = x_95; -} else { - lean_dec_ref(x_95); - x_98 = lean_box(0); -} -if (lean_is_scalar(x_98)) { - x_99 = lean_alloc_ctor(1, 2, 0); -} else { - x_99 = x_98; -} -lean_ctor_set(x_99, 0, x_96); -lean_ctor_set(x_99, 1, x_97); -return x_99; -} -else -{ -lean_object* x_100; -lean_dec(x_91); -x_100 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_2, x_4, x_92); -lean_dec(x_1); -return x_100; -} -} -else -{ -lean_dec(x_1); -if (x_94 == 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; -lean_dec(x_2); -x_101 = lean_ctor_get(x_93, 0); -lean_inc(x_101); -lean_dec(x_93); -x_102 = l_Lean_Elab_Term_reportUnsolvedGoals(x_101, x_91, x_4, x_92); -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_105 = x_102; -} else { - lean_dec_ref(x_102); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(1, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_103); -lean_ctor_set(x_106, 1, x_104); -return x_106; -} -else -{ -lean_object* x_107; lean_object* x_108; -lean_dec(x_91); -x_107 = lean_ctor_get(x_93, 0); -lean_inc(x_107); -lean_dec(x_93); -x_108 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_107, x_2, x_4, x_92); -lean_dec(x_107); -return x_108; -} -} -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_109 = lean_ctor_get(x_90, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_90, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_111 = x_90; -} else { - lean_dec_ref(x_90); - 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; -} -} -} -} -lean_object* l_Lean_Elab_Term_runTactic___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_Term_runTactic___lambda__1(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} lean_object* initialize_Init_Lean_Elab_Term(lean_object*); lean_object* initialize_Init_Lean_Elab_Tactic_Basic(lean_object*); +lean_object* initialize_Init_Lean_Elab_Tactic_ElabTerm(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Lean_Elab_Tactic(lean_object* w) { lean_object * res; @@ -1197,33 +27,9 @@ lean_dec_ref(res); res = initialize_Init_Lean_Elab_Tactic_Basic(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Term_mkTacticMVar___closed__1 = _init_l_Lean_Elab_Term_mkTacticMVar___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_mkTacticMVar___closed__1); -l_Lean_Elab_Term_mkTacticMVar___closed__2 = _init_l_Lean_Elab_Term_mkTacticMVar___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_mkTacticMVar___closed__2); -l_Lean_Elab_Term_elabTacticBlock___closed__1 = _init_l_Lean_Elab_Term_elabTacticBlock___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabTacticBlock___closed__1); -l_Lean_Elab_Term_elabTacticBlock___closed__2 = _init_l_Lean_Elab_Term_elabTacticBlock___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabTacticBlock___closed__2); -l_Lean_Elab_Term_elabTacticBlock___closed__3 = _init_l_Lean_Elab_Term_elabTacticBlock___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_elabTacticBlock___closed__3); -l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1(); -lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1); -l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2(); -lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2); -l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3(); -lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3); -res = l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock(lean_io_mk_world()); +res = initialize_Init_Lean_Elab_Tactic_ElabTerm(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1 = _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1); -l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__2 = _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__2); -l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3 = _init_l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3); -l_Lean_Elab_Term_runTactic___closed__1 = _init_l_Lean_Elab_Term_runTactic___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_runTactic___closed__1); return lean_mk_io_result(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c index ac1c45c595..c936b73c7c 100644 --- a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Lean.Elab.Tactic.Basic -// Imports: Init.Lean.Util.CollectMVars Init.Lean.Elab.Util Init.Lean.Elab.Term Init.Lean.Meta.Tactic.Assumption Init.Lean.Meta.Tactic.Intro +// Imports: Init.Lean.Util.CollectMVars Init.Lean.Meta.Tactic.Assumption Init.Lean.Meta.Tactic.Intro Init.Lean.Elab.Util Init.Lean.Elab.Term #include "runtime/lean.h" #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -19,12 +19,9 @@ lean_object* l___private_Init_Lean_Elab_Tactic_Basic_2__regTraceClasses___closed lean_object* l_Lean_Elab_Tactic_withIncRecDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro(lean_object*); lean_object* l_Lean_Elab_Tactic_monadLog; -extern lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getLocalInsts___boxed(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__4; lean_object* l_Lean_Elab_Tactic_withMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_Elab_Tactic_addBuiltinTactic___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__3; @@ -36,10 +33,10 @@ lean_object* l_Lean_Elab_Tactic_monadQuotation; lean_object* l_unreachable_x21___rarg(lean_object*); lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr(lean_object*); extern lean_object* l_Lean_nullKind; -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__4; extern lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__6; lean_object* l_Lean_Elab_Tactic_mkTacticAttribute(lean_object*); lean_object* l_Lean_Elab_Tactic_getMCtx___rarg(lean_object*); +extern lean_object* l_Lean_Parser_Tactic_seq___elambda__1___closed__2; extern lean_object* l_Lean_MessageData_ofList___closed__3; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Term_assignExprMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -58,10 +55,10 @@ lean_object* l_Lean_Elab_Tactic_getLCtx___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadQuotation___closed__2; extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; lean_object* l_Lean_Elab_Tactic_evalIntro___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1; lean_object* l_Lean_Elab_Tactic_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalCase___closed__1; lean_object* l_Lean_Elab_Tactic_done(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__3; lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAuxM___main___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; @@ -99,9 +96,9 @@ lean_object* l_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__2; extern lean_object* l_String_splitAux___main___closed__1; lean_object* l_Lean_Elab_Term_logTrace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__2; lean_object* l_Lean_Elab_Tactic_withFreshMacroScope(lean_object*); lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__3; -extern lean_object* l_Lean_Meta_isLevelDefEqAux___main___closed__5; lean_object* l_AssocList_find___main___at_Lean_Elab_Tactic_evalTactic___main___spec__6___boxed(lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__2; size_t l_USize_shiftRight(size_t, size_t); @@ -109,7 +106,6 @@ lean_object* l_Lean_Elab_Tactic_resettingSynthInstanceCacheWhen___rarg(uint8_t, uint8_t l_PersistentHashMap_containsAux___main___at_Lean_Elab_Tactic_addBuiltinTactic___spec__5(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_Tactic_getLocalInsts(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadLog___closed__10; -lean_object* l_Lean_Elab_Tactic_evalRefine(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__1; lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__4; lean_object* l_Lean_Elab_Tactic_restore___boxed(lean_object*, lean_object*); @@ -119,7 +115,6 @@ extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed_ lean_object* l_Lean_Elab_Term_trace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__2; -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalExact(lean_object*); extern lean_object* l_Lean_AttributeImpl_inhabited___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_collectMVars___closed__1; @@ -127,7 +122,6 @@ lean_object* l_IO_ofExcept___at_Lean_registerClassAttr___spec__1(lean_object*, l lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__1; lean_object* l_Lean_Elab_Tactic_getMainGoal___closed__2; lean_object* l_Lean_Elab_Tactic_monadLog___closed__3; -extern lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__1; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__1; lean_object* l_Lean_Meta_intro(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Exception_toMessageData___closed__45; @@ -138,7 +132,6 @@ lean_object* l_Array_isEqvAux___main___at_Lean_Elab_Tactic_withMVarContext___spe lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic___closed__7; extern lean_object* l_Lean_Meta_dbgTrace___rarg___closed__1; lean_object* l_List_findM_x3f___main___at_Lean_Elab_Tactic_evalCase___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalCase___closed__4; lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__2; extern lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_object* l_Lean_Elab_Tactic_evalCase(lean_object*, lean_object*, lean_object*); @@ -147,18 +140,20 @@ lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic___closed__5; extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3; extern lean_object* l_Lean_Elab_Term_termElabAttribute___closed__4; lean_object* l_Lean_Elab_Term_addContext___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalParen(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; +extern lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1___closed__2; lean_object* l_Lean_Elab_Tactic_focus___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadLog___closed__5; lean_object* l_Lean_Elab_Term_isExprMVarAssigned___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_dbgTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_seq___elambda__1___closed__3; lean_object* l_Lean_Elab_Tactic_addContext(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSeq___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_EStateM_Backtrackable; @@ -167,22 +162,21 @@ lean_object* l_PersistentHashMap_contains___at_Lean_Elab_Tactic_addBuiltinTactic lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__3; lean_object* l_Lean_Elab_Tactic_liftTermElabM(lean_object*); -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__4; lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalExact___closed__1; lean_object* l_Lean_Elab_Tactic_getGoals___rarg(lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__2___boxed(lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__2; lean_object* l_Lean_Elab_Tactic_monadLog___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_resetSynthInstanceCache___closed__1; lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__2; +extern lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__2; +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse(lean_object*); uint8_t l_Array_isEqvAux___main___at_Lean_Elab_Tactic_withMVarContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal___closed__1; extern lean_object* l_Lean_Elab_Term_State_inhabited___closed__2; extern lean_object* l_Char_HasRepr___closed__1; lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__1; -extern lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__1; -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine(lean_object*); lean_object* l_Lean_Elab_Tactic_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_resetSynthInstanceCache(lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAux___main___at_Lean_Elab_Tactic_addBuiltinTactic___spec__5___boxed(lean_object*, lean_object*, lean_object*); @@ -197,6 +191,7 @@ lean_object* l_Lean_Elab_Tactic_monadLog___lambda__4___boxed(lean_object*, lean_ lean_object* l_Lean_Elab_Tactic_State_inhabited___closed__1; lean_object* l_Lean_collectMVars(lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__2; +lean_object* l_Lean_Elab_Tactic_evalParen___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadLog___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*); @@ -213,6 +208,7 @@ lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly(le lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__1; lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_paren___elambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_monadLog___closed__1; lean_object* l_Lean_Elab_Term_ensureHasType___boxed(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*); @@ -223,41 +219,34 @@ lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro___closed__3; lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__1; lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic___closed__6; lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__4; -extern lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__1; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__3; lean_object* l_Lean_Elab_Tactic_liftMetaM(lean_object*); lean_object* l_Lean_Elab_Tactic_evalNestedTacticBlock(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; -extern lean_object* l_Lean_Parser_Term_seq___elambda__1___closed__1; lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_MessageData_joinSep___main(lean_object*, lean_object*); -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__4; lean_object* l_Lean_Elab_Tactic_State_inhabited; lean_object* l_HashMapImp_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__5(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalExact___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); +lean_object* l_Lean_Elab_Tactic_evalOrelse(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__2; extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Elab_Tactic_monadLog___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalAssumption___lambda__1___boxed(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* l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__1; lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption(lean_object*); lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__3; -lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__5; lean_object* l_List_erase___main___at_Lean_Elab_Tactic_evalCase___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalExact___lambda__1(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* l_Lean_Elab_Tactic_evalRefine___closed__1; lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_throwUnsupportedSyntax(lean_object*); lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_withLCtx(lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__1; lean_object* l_Lean_Elab_Term_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalRefine___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__4; lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__4; -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1; lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalAssumption___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic___closed__4; @@ -265,12 +254,11 @@ extern lean_object* l_Lean_Elab_Exception_inhabited; lean_object* l_Lean_Elab_Tactic_liftTermElabM___rarg___closed__1; lean_object* l_Lean_Elab_Tactic_evalAssumption___closed__1; lean_object* l_Lean_Elab_Tactic_isExprMVarAssigned(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_assumptionAux___closed__1; +lean_object* l_Lean_Elab_Tactic_evalParen(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaTactic(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__1; lean_object* l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Elab_Tactic_mkBuiltinTacticTable___spec__3; -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2; lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__2; lean_object* l_Lean_Elab_Tactic_evalNestedTacticBlockCurly(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2(lean_object*, lean_object*); @@ -288,19 +276,18 @@ lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__3; lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__1; lean_object* l_Lean_Elab_Tactic_resettingSynthInstanceCache(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalIntro___closed__1; -lean_object* l_Lean_Elab_Tactic_evalRefine___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalAssumption(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_save(lean_object*); lean_object* l_Lean_Elab_Tactic_evalCase___closed__2; lean_object* l_Lean_Elab_Tactic_monadLog___closed__2; lean_object* l_Lean_Elab_Tactic_setGoals(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_addBuiltinTactic(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*); +extern lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_getOptions___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic___closed__2; lean_object* l_Lean_Elab_Tactic_withMVarContext___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isSuffixOf___main(lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__3; lean_object* l_Lean_Elab_Tactic_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_reset(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*); @@ -313,11 +300,11 @@ lean_object* l_Lean_Elab_Tactic_addBuiltinTactic___boxed(lean_object*, lean_obje lean_object* l_Lean_SMap_empty___at_Lean_Elab_Tactic_mkBuiltinTacticTable___spec__1___closed__1; lean_object* l_Lean_Elab_Tactic_addBuiltinTactic___closed__1; lean_object* l_Lean_Elab_Tactic_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__1; lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_erase___main___at_Lean_Elab_Tactic_evalCase___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instantiateMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_EStateM_Backtrackable___closed__1; -lean_object* l_Lean_Elab_Tactic_elabTerm(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_empty___at_Lean_Elab_Tactic_mkBuiltinTacticTable___spec__1___closed__2; lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*); @@ -343,10 +330,10 @@ lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock(lean_ob lean_object* l_HashMapImp_contains___at_Lean_Elab_Tactic_addBuiltinTactic___spec__2___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_regBuiltinTacticParserAttr___closed__3; extern lean_object* l___private_Init_Lean_Parser_Parser_8__throwParserCategoryAlreadyDefined___rarg___closed__2; -extern lean_object* l___private_Init_Lean_Meta_Tactic_Util_1__regTraceClasses___closed__1; lean_object* l_Lean_Elab_Tactic_throwUnsupportedSyntax___rarg(lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at_Lean_Elab_Tactic_addBuiltinTactic___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMVarDecl(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; lean_object* l_Lean_Elab_Tactic_evalTactic___main___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__3; lean_object* l_Lean_Elab_Tactic_getMainGoal___closed__3; @@ -373,23 +360,19 @@ lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; lean_object* l_Lean_Elab_Tactic_monadLog___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_EStateM_Backtrackable___closed__3; -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2; lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_Elab_Tactic_getCurrMacroScope(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_resettingSynthInstanceCache___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_seq___elambda__1___closed__1; lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__2; extern lean_object* l_HashMap_Inhabited___closed__1; lean_object* l_Lean_Elab_Tactic_throwUnsupportedSyntax___rarg___closed__1; -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3; lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Elab_Tactic_monadQuotation___closed__3; lean_object* l_IO_ofExcept___at___private_Init_Lean_Elab_Util_6__ElabAttribute_add___spec__1(lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getGoals(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__1; -lean_object* l_Lean_Elab_Tactic_evalExact(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3; lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__2; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; @@ -398,6 +381,8 @@ extern lean_object* l_Lean_initAttr; lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getLCtx(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getEnv___boxed(lean_object*); +extern lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__2; +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__2; lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro___closed__1; lean_object* l_AssocList_contains___main___at_Lean_Elab_Tactic_addBuiltinTactic___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadLog___closed__4; @@ -1209,22 +1194,6 @@ x_7 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_6, x_4, x_5); return x_7; } } -lean_object* l_Lean_Elab_Tactic_elabTerm(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; lean_object* x_8; lean_object* x_9; -x_5 = 1; -x_6 = lean_box(x_5); -x_7 = lean_box(x_5); -x_8 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 6, 4); -lean_closure_set(x_8, 0, x_1); -lean_closure_set(x_8, 1, x_2); -lean_closure_set(x_8, 2, x_6); -lean_closure_set(x_8, 3, x_7); -x_9 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_8, x_3, x_4); -return x_9; -} -} lean_object* l_Lean_Elab_Tactic_reportUnsolvedGoals(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -1750,67 +1719,67 @@ return x_2; lean_object* l_Lean_Elab_Tactic_withIncRecDepth___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_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_73 = lean_ctor_get(x_3, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_ctor_get(x_74, 3); +lean_object* x_5; 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_3, 0); lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 4); +x_76 = lean_ctor_get(x_75, 0); lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_nat_dec_eq(x_75, x_76); -lean_dec(x_76); lean_dec(x_75); -if (x_77 == 0) +x_77 = lean_ctor_get(x_76, 3); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 4); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_nat_dec_eq(x_77, x_78); +lean_dec(x_78); +lean_dec(x_77); +if (x_79 == 0) { lean_dec(x_1); x_5 = x_4; -goto block_72; +goto block_74; } else { -lean_object* x_78; lean_object* x_79; -x_78 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; +lean_object* x_80; lean_object* x_81; +x_80 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_inc(x_3); -x_79 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_78, x_3, x_4); -if (lean_obj_tag(x_79) == 0) +x_81 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_80, x_3, x_4); +if (lean_obj_tag(x_81) == 0) { -lean_object* x_80; -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_5 = x_80; -goto block_72; +lean_object* x_82; +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +lean_dec(x_81); +x_5 = x_82; +goto block_74; } else { -uint8_t x_81; +uint8_t x_83; lean_dec(x_3); lean_dec(x_2); -x_81 = !lean_is_exclusive(x_79); -if (x_81 == 0) +x_83 = !lean_is_exclusive(x_81); +if (x_83 == 0) { -return x_79; +return x_81; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_79, 0); -x_83 = lean_ctor_get(x_79, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_79); -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; +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_81, 0); +x_85 = lean_ctor_get(x_81, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_81); +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; } } } -block_72: +block_74: { lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_3, 0); @@ -1871,7 +1840,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; 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; lean_object* x_44; lean_object* x_45; lean_object* x_46; +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; 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; lean_object* x_45; lean_object* x_46; lean_object* x_47; x_26 = lean_ctor_get(x_6, 1); x_27 = lean_ctor_get(x_6, 2); x_28 = lean_ctor_get(x_6, 3); @@ -1882,6 +1851,7 @@ x_32 = lean_ctor_get(x_6, 7); x_33 = lean_ctor_get(x_6, 8); x_34 = lean_ctor_get(x_6, 9); x_35 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); +x_36 = lean_ctor_get_uint8(x_6, sizeof(void*)*10 + 1); lean_inc(x_34); lean_inc(x_33); lean_inc(x_32); @@ -1892,84 +1862,86 @@ lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_dec(x_6); -x_36 = lean_ctor_get(x_7, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_7, 1); +x_37 = lean_ctor_get(x_7, 0); lean_inc(x_37); -x_38 = lean_ctor_get(x_7, 2); +x_38 = lean_ctor_get(x_7, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_7, 3); +x_39 = lean_ctor_get(x_7, 2); lean_inc(x_39); -x_40 = lean_ctor_get(x_7, 4); +x_40 = lean_ctor_get(x_7, 3); lean_inc(x_40); +x_41 = lean_ctor_get(x_7, 4); +lean_inc(x_41); if (lean_is_exclusive(x_7)) { lean_ctor_release(x_7, 0); lean_ctor_release(x_7, 1); lean_ctor_release(x_7, 2); lean_ctor_release(x_7, 3); lean_ctor_release(x_7, 4); - x_41 = x_7; + x_42 = x_7; } else { lean_dec_ref(x_7); - x_41 = lean_box(0); + x_42 = lean_box(0); } -x_42 = lean_unsigned_to_nat(1u); -x_43 = lean_nat_add(x_39, x_42); -lean_dec(x_39); -if (lean_is_scalar(x_41)) { - x_44 = lean_alloc_ctor(0, 5, 0); +x_43 = lean_unsigned_to_nat(1u); +x_44 = lean_nat_add(x_40, x_43); +lean_dec(x_40); +if (lean_is_scalar(x_42)) { + x_45 = lean_alloc_ctor(0, 5, 0); } else { - x_44 = x_41; + x_45 = x_42; } -lean_ctor_set(x_44, 0, x_36); -lean_ctor_set(x_44, 1, x_37); -lean_ctor_set(x_44, 2, x_38); -lean_ctor_set(x_44, 3, x_43); -lean_ctor_set(x_44, 4, x_40); -x_45 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_26); -lean_ctor_set(x_45, 2, x_27); -lean_ctor_set(x_45, 3, x_28); -lean_ctor_set(x_45, 4, x_29); -lean_ctor_set(x_45, 5, x_30); -lean_ctor_set(x_45, 6, x_31); -lean_ctor_set(x_45, 7, x_32); -lean_ctor_set(x_45, 8, x_33); -lean_ctor_set(x_45, 9, x_34); -lean_ctor_set_uint8(x_45, sizeof(void*)*10, x_35); -lean_ctor_set(x_3, 0, x_45); -x_46 = lean_apply_2(x_2, x_3, x_5); -return x_46; +lean_ctor_set(x_45, 0, x_37); +lean_ctor_set(x_45, 1, x_38); +lean_ctor_set(x_45, 2, x_39); +lean_ctor_set(x_45, 3, x_44); +lean_ctor_set(x_45, 4, x_41); +x_46 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_26); +lean_ctor_set(x_46, 2, x_27); +lean_ctor_set(x_46, 3, x_28); +lean_ctor_set(x_46, 4, x_29); +lean_ctor_set(x_46, 5, x_30); +lean_ctor_set(x_46, 6, x_31); +lean_ctor_set(x_46, 7, x_32); +lean_ctor_set(x_46, 8, x_33); +lean_ctor_set(x_46, 9, x_34); +lean_ctor_set_uint8(x_46, sizeof(void*)*10, x_35); +lean_ctor_set_uint8(x_46, sizeof(void*)*10 + 1, x_36); +lean_ctor_set(x_3, 0, x_46); +x_47 = lean_apply_2(x_2, x_3, x_5); +return x_47; } } 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_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_47 = lean_ctor_get(x_3, 1); -x_48 = lean_ctor_get(x_3, 2); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_3); -x_49 = lean_ctor_get(x_6, 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; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t 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; 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_48 = lean_ctor_get(x_3, 1); +x_49 = lean_ctor_get(x_3, 2); lean_inc(x_49); -x_50 = lean_ctor_get(x_6, 2); +lean_inc(x_48); +lean_dec(x_3); +x_50 = lean_ctor_get(x_6, 1); lean_inc(x_50); -x_51 = lean_ctor_get(x_6, 3); +x_51 = lean_ctor_get(x_6, 2); lean_inc(x_51); -x_52 = lean_ctor_get(x_6, 4); +x_52 = lean_ctor_get(x_6, 3); lean_inc(x_52); -x_53 = lean_ctor_get(x_6, 5); +x_53 = lean_ctor_get(x_6, 4); lean_inc(x_53); -x_54 = lean_ctor_get(x_6, 6); +x_54 = lean_ctor_get(x_6, 5); lean_inc(x_54); -x_55 = lean_ctor_get(x_6, 7); +x_55 = lean_ctor_get(x_6, 6); lean_inc(x_55); -x_56 = lean_ctor_get(x_6, 8); +x_56 = lean_ctor_get(x_6, 7); lean_inc(x_56); -x_57 = lean_ctor_get(x_6, 9); +x_57 = lean_ctor_get(x_6, 8); lean_inc(x_57); -x_58 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); +x_58 = lean_ctor_get(x_6, 9); +lean_inc(x_58); +x_59 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); +x_60 = lean_ctor_get_uint8(x_6, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 0); lean_ctor_release(x_6, 1); @@ -1981,67 +1953,68 @@ if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 7); lean_ctor_release(x_6, 8); lean_ctor_release(x_6, 9); - x_59 = x_6; + x_61 = x_6; } else { lean_dec_ref(x_6); - x_59 = lean_box(0); + x_61 = lean_box(0); } -x_60 = lean_ctor_get(x_7, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_7, 1); -lean_inc(x_61); -x_62 = lean_ctor_get(x_7, 2); +x_62 = lean_ctor_get(x_7, 0); lean_inc(x_62); -x_63 = lean_ctor_get(x_7, 3); +x_63 = lean_ctor_get(x_7, 1); lean_inc(x_63); -x_64 = lean_ctor_get(x_7, 4); +x_64 = lean_ctor_get(x_7, 2); lean_inc(x_64); +x_65 = lean_ctor_get(x_7, 3); +lean_inc(x_65); +x_66 = lean_ctor_get(x_7, 4); +lean_inc(x_66); if (lean_is_exclusive(x_7)) { lean_ctor_release(x_7, 0); lean_ctor_release(x_7, 1); lean_ctor_release(x_7, 2); lean_ctor_release(x_7, 3); lean_ctor_release(x_7, 4); - x_65 = x_7; + x_67 = x_7; } else { lean_dec_ref(x_7); - x_65 = lean_box(0); + x_67 = lean_box(0); } -x_66 = lean_unsigned_to_nat(1u); -x_67 = lean_nat_add(x_63, x_66); -lean_dec(x_63); -if (lean_is_scalar(x_65)) { - x_68 = lean_alloc_ctor(0, 5, 0); +x_68 = lean_unsigned_to_nat(1u); +x_69 = lean_nat_add(x_65, x_68); +lean_dec(x_65); +if (lean_is_scalar(x_67)) { + x_70 = lean_alloc_ctor(0, 5, 0); } else { - x_68 = x_65; + x_70 = x_67; } -lean_ctor_set(x_68, 0, x_60); -lean_ctor_set(x_68, 1, x_61); -lean_ctor_set(x_68, 2, x_62); -lean_ctor_set(x_68, 3, x_67); -lean_ctor_set(x_68, 4, x_64); -if (lean_is_scalar(x_59)) { - x_69 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_70, 0, x_62); +lean_ctor_set(x_70, 1, x_63); +lean_ctor_set(x_70, 2, x_64); +lean_ctor_set(x_70, 3, x_69); +lean_ctor_set(x_70, 4, x_66); +if (lean_is_scalar(x_61)) { + x_71 = lean_alloc_ctor(0, 10, 2); } else { - x_69 = x_59; + x_71 = x_61; } -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_49); -lean_ctor_set(x_69, 2, x_50); -lean_ctor_set(x_69, 3, x_51); -lean_ctor_set(x_69, 4, x_52); -lean_ctor_set(x_69, 5, x_53); -lean_ctor_set(x_69, 6, x_54); -lean_ctor_set(x_69, 7, x_55); -lean_ctor_set(x_69, 8, x_56); -lean_ctor_set(x_69, 9, x_57); -lean_ctor_set_uint8(x_69, sizeof(void*)*10, x_58); -x_70 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_47); -lean_ctor_set(x_70, 2, x_48); -x_71 = lean_apply_2(x_2, x_70, x_5); -return x_71; +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_50); +lean_ctor_set(x_71, 2, x_51); +lean_ctor_set(x_71, 3, x_52); +lean_ctor_set(x_71, 4, x_53); +lean_ctor_set(x_71, 5, x_54); +lean_ctor_set(x_71, 6, x_55); +lean_ctor_set(x_71, 7, x_56); +lean_ctor_set(x_71, 8, x_57); +lean_ctor_set(x_71, 9, x_58); +lean_ctor_set_uint8(x_71, sizeof(void*)*10, x_59); +lean_ctor_set_uint8(x_71, sizeof(void*)*10 + 1, x_60); +x_72 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_48); +lean_ctor_set(x_72, 2, x_49); +x_73 = lean_apply_2(x_2, x_72, x_5); +return x_73; } } } @@ -2110,7 +2083,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; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +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; uint8_t x_25; lean_object* x_26; lean_object* x_27; x_15 = lean_ctor_get(x_11, 0); x_16 = lean_ctor_get(x_11, 1); x_17 = lean_ctor_get(x_11, 2); @@ -2121,6 +2094,7 @@ x_21 = lean_ctor_get(x_11, 6); x_22 = lean_ctor_get(x_11, 7); x_23 = lean_ctor_get(x_11, 8); x_24 = lean_ctor_get_uint8(x_11, sizeof(void*)*10); +x_25 = lean_ctor_get_uint8(x_11, sizeof(void*)*10 + 1); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); @@ -2131,320 +2105,327 @@ lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_dec(x_11); -x_25 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_25, 0, x_15); -lean_ctor_set(x_25, 1, x_16); -lean_ctor_set(x_25, 2, x_17); -lean_ctor_set(x_25, 3, x_18); -lean_ctor_set(x_25, 4, x_19); -lean_ctor_set(x_25, 5, x_20); -lean_ctor_set(x_25, 6, x_21); -lean_ctor_set(x_25, 7, x_22); -lean_ctor_set(x_25, 8, x_23); -lean_ctor_set(x_25, 9, x_7); -lean_ctor_set_uint8(x_25, sizeof(void*)*10, x_24); -lean_ctor_set(x_2, 0, x_25); -x_26 = lean_apply_2(x_1, x_2, x_3); -return x_26; +x_26 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_26, 0, x_15); +lean_ctor_set(x_26, 1, x_16); +lean_ctor_set(x_26, 2, x_17); +lean_ctor_set(x_26, 3, x_18); +lean_ctor_set(x_26, 4, x_19); +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(x_26, 8, x_23); +lean_ctor_set(x_26, 9, x_7); +lean_ctor_set_uint8(x_26, sizeof(void*)*10, x_24); +lean_ctor_set_uint8(x_26, sizeof(void*)*10 + 1, x_25); +lean_ctor_set(x_2, 0, x_26); +x_27 = lean_apply_2(x_1, x_2, x_3); +return x_27; } } 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; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_27 = lean_ctor_get(x_2, 0); -x_28 = lean_ctor_get(x_2, 1); -x_29 = lean_ctor_get(x_2, 2); +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; uint8_t 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); +x_29 = lean_ctor_get(x_2, 1); +x_30 = lean_ctor_get(x_2, 2); +lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); lean_dec(x_2); -x_30 = lean_ctor_get(x_27, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_27, 1); +x_31 = lean_ctor_get(x_28, 0); lean_inc(x_31); -x_32 = lean_ctor_get(x_27, 2); +x_32 = lean_ctor_get(x_28, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_27, 3); +x_33 = lean_ctor_get(x_28, 2); lean_inc(x_33); -x_34 = lean_ctor_get(x_27, 4); +x_34 = lean_ctor_get(x_28, 3); lean_inc(x_34); -x_35 = lean_ctor_get(x_27, 5); +x_35 = lean_ctor_get(x_28, 4); lean_inc(x_35); -x_36 = lean_ctor_get(x_27, 6); +x_36 = lean_ctor_get(x_28, 5); lean_inc(x_36); -x_37 = lean_ctor_get(x_27, 7); +x_37 = lean_ctor_get(x_28, 6); lean_inc(x_37); -x_38 = lean_ctor_get(x_27, 8); +x_38 = lean_ctor_get(x_28, 7); lean_inc(x_38); -x_39 = lean_ctor_get_uint8(x_27, sizeof(void*)*10); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - lean_ctor_release(x_27, 2); - lean_ctor_release(x_27, 3); - lean_ctor_release(x_27, 4); - lean_ctor_release(x_27, 5); - lean_ctor_release(x_27, 6); - lean_ctor_release(x_27, 7); - lean_ctor_release(x_27, 8); - lean_ctor_release(x_27, 9); - x_40 = x_27; +x_39 = lean_ctor_get(x_28, 8); +lean_inc(x_39); +x_40 = lean_ctor_get_uint8(x_28, sizeof(void*)*10); +x_41 = lean_ctor_get_uint8(x_28, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + lean_ctor_release(x_28, 2); + lean_ctor_release(x_28, 3); + lean_ctor_release(x_28, 4); + lean_ctor_release(x_28, 5); + lean_ctor_release(x_28, 6); + lean_ctor_release(x_28, 7); + lean_ctor_release(x_28, 8); + lean_ctor_release(x_28, 9); + x_42 = x_28; } else { - lean_dec_ref(x_27); - x_40 = lean_box(0); + lean_dec_ref(x_28); + x_42 = lean_box(0); } -if (lean_is_scalar(x_40)) { - x_41 = lean_alloc_ctor(0, 10, 1); +if (lean_is_scalar(x_42)) { + x_43 = lean_alloc_ctor(0, 10, 2); } else { - x_41 = x_40; + x_43 = x_42; } -lean_ctor_set(x_41, 0, x_30); -lean_ctor_set(x_41, 1, x_31); -lean_ctor_set(x_41, 2, x_32); -lean_ctor_set(x_41, 3, x_33); -lean_ctor_set(x_41, 4, x_34); -lean_ctor_set(x_41, 5, x_35); -lean_ctor_set(x_41, 6, x_36); -lean_ctor_set(x_41, 7, x_37); -lean_ctor_set(x_41, 8, x_38); -lean_ctor_set(x_41, 9, x_7); -lean_ctor_set_uint8(x_41, sizeof(void*)*10, x_39); -x_42 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_28); -lean_ctor_set(x_42, 2, x_29); -x_43 = lean_apply_2(x_1, x_42, x_3); -return x_43; +lean_ctor_set(x_43, 0, x_31); +lean_ctor_set(x_43, 1, x_32); +lean_ctor_set(x_43, 2, x_33); +lean_ctor_set(x_43, 3, x_34); +lean_ctor_set(x_43, 4, x_35); +lean_ctor_set(x_43, 5, x_36); +lean_ctor_set(x_43, 6, x_37); +lean_ctor_set(x_43, 7, x_38); +lean_ctor_set(x_43, 8, x_39); +lean_ctor_set(x_43, 9, x_7); +lean_ctor_set_uint8(x_43, sizeof(void*)*10, x_40); +lean_ctor_set_uint8(x_43, sizeof(void*)*10 + 1, x_41); +x_44 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_29); +lean_ctor_set(x_44, 2, x_30); +x_45 = lean_apply_2(x_1, x_44, x_3); +return x_45; } } 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; 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; -x_44 = lean_ctor_get(x_5, 0); -x_45 = lean_ctor_get(x_5, 1); -x_46 = lean_ctor_get(x_5, 2); -x_47 = lean_ctor_get(x_5, 3); -x_48 = lean_ctor_get(x_5, 4); -x_49 = lean_ctor_get(x_5, 5); +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; uint8_t x_68; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_46 = lean_ctor_get(x_5, 0); +x_47 = lean_ctor_get(x_5, 1); +x_48 = lean_ctor_get(x_5, 2); +x_49 = lean_ctor_get(x_5, 3); +x_50 = lean_ctor_get(x_5, 4); +x_51 = lean_ctor_get(x_5, 5); +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_inc(x_44); lean_dec(x_5); -x_50 = lean_unsigned_to_nat(1u); -x_51 = lean_nat_add(x_49, x_50); -x_52 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_52, 0, x_44); -lean_ctor_set(x_52, 1, x_45); -lean_ctor_set(x_52, 2, x_46); -lean_ctor_set(x_52, 3, x_47); -lean_ctor_set(x_52, 4, x_48); -lean_ctor_set(x_52, 5, x_51); -lean_ctor_set(x_3, 0, x_52); -x_53 = lean_ctor_get(x_2, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_2, 1); -lean_inc(x_54); -x_55 = lean_ctor_get(x_2, 2); +x_52 = lean_unsigned_to_nat(1u); +x_53 = lean_nat_add(x_51, x_52); +x_54 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_54, 0, x_46); +lean_ctor_set(x_54, 1, x_47); +lean_ctor_set(x_54, 2, x_48); +lean_ctor_set(x_54, 3, x_49); +lean_ctor_set(x_54, 4, x_50); +lean_ctor_set(x_54, 5, x_53); +lean_ctor_set(x_3, 0, x_54); +x_55 = lean_ctor_get(x_2, 0); lean_inc(x_55); +x_56 = lean_ctor_get(x_2, 1); +lean_inc(x_56); +x_57 = lean_ctor_get(x_2, 2); +lean_inc(x_57); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); lean_ctor_release(x_2, 2); - x_56 = x_2; + x_58 = x_2; } else { lean_dec_ref(x_2); - x_56 = lean_box(0); + x_58 = lean_box(0); } -x_57 = lean_ctor_get(x_53, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_53, 1); -lean_inc(x_58); -x_59 = lean_ctor_get(x_53, 2); +x_59 = lean_ctor_get(x_55, 0); lean_inc(x_59); -x_60 = lean_ctor_get(x_53, 3); +x_60 = lean_ctor_get(x_55, 1); lean_inc(x_60); -x_61 = lean_ctor_get(x_53, 4); +x_61 = lean_ctor_get(x_55, 2); lean_inc(x_61); -x_62 = lean_ctor_get(x_53, 5); +x_62 = lean_ctor_get(x_55, 3); lean_inc(x_62); -x_63 = lean_ctor_get(x_53, 6); +x_63 = lean_ctor_get(x_55, 4); lean_inc(x_63); -x_64 = lean_ctor_get(x_53, 7); +x_64 = lean_ctor_get(x_55, 5); lean_inc(x_64); -x_65 = lean_ctor_get(x_53, 8); +x_65 = lean_ctor_get(x_55, 6); lean_inc(x_65); -x_66 = lean_ctor_get_uint8(x_53, sizeof(void*)*10); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - lean_ctor_release(x_53, 2); - lean_ctor_release(x_53, 3); - lean_ctor_release(x_53, 4); - lean_ctor_release(x_53, 5); - lean_ctor_release(x_53, 6); - lean_ctor_release(x_53, 7); - lean_ctor_release(x_53, 8); - lean_ctor_release(x_53, 9); - x_67 = x_53; +x_66 = lean_ctor_get(x_55, 7); +lean_inc(x_66); +x_67 = lean_ctor_get(x_55, 8); +lean_inc(x_67); +x_68 = lean_ctor_get_uint8(x_55, sizeof(void*)*10); +x_69 = lean_ctor_get_uint8(x_55, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + lean_ctor_release(x_55, 2); + lean_ctor_release(x_55, 3); + lean_ctor_release(x_55, 4); + lean_ctor_release(x_55, 5); + lean_ctor_release(x_55, 6); + lean_ctor_release(x_55, 7); + lean_ctor_release(x_55, 8); + lean_ctor_release(x_55, 9); + x_70 = x_55; } else { - lean_dec_ref(x_53); - x_67 = lean_box(0); + lean_dec_ref(x_55); + x_70 = lean_box(0); } -if (lean_is_scalar(x_67)) { - x_68 = lean_alloc_ctor(0, 10, 1); +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(0, 10, 2); } else { - x_68 = x_67; + x_71 = x_70; } -lean_ctor_set(x_68, 0, x_57); -lean_ctor_set(x_68, 1, x_58); -lean_ctor_set(x_68, 2, x_59); -lean_ctor_set(x_68, 3, x_60); -lean_ctor_set(x_68, 4, x_61); -lean_ctor_set(x_68, 5, x_62); -lean_ctor_set(x_68, 6, x_63); -lean_ctor_set(x_68, 7, x_64); -lean_ctor_set(x_68, 8, x_65); -lean_ctor_set(x_68, 9, x_49); -lean_ctor_set_uint8(x_68, sizeof(void*)*10, x_66); -if (lean_is_scalar(x_56)) { - x_69 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_71, 0, x_59); +lean_ctor_set(x_71, 1, x_60); +lean_ctor_set(x_71, 2, x_61); +lean_ctor_set(x_71, 3, x_62); +lean_ctor_set(x_71, 4, x_63); +lean_ctor_set(x_71, 5, x_64); +lean_ctor_set(x_71, 6, x_65); +lean_ctor_set(x_71, 7, x_66); +lean_ctor_set(x_71, 8, x_67); +lean_ctor_set(x_71, 9, x_51); +lean_ctor_set_uint8(x_71, sizeof(void*)*10, x_68); +lean_ctor_set_uint8(x_71, sizeof(void*)*10 + 1, x_69); +if (lean_is_scalar(x_58)) { + x_72 = lean_alloc_ctor(0, 3, 0); } else { - x_69 = x_56; + x_72 = x_58; } -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_54); -lean_ctor_set(x_69, 2, x_55); -x_70 = lean_apply_2(x_1, x_69, x_3); -return x_70; +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_56); +lean_ctor_set(x_72, 2, x_57); +x_73 = lean_apply_2(x_1, x_72, x_3); +return x_73; } } 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; uint8_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_71 = lean_ctor_get(x_3, 0); -x_72 = lean_ctor_get(x_3, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_3); -x_73 = lean_ctor_get(x_71, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); -x_75 = lean_ctor_get(x_71, 2); +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; uint8_t x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_74 = lean_ctor_get(x_3, 0); +x_75 = lean_ctor_get(x_3, 1); lean_inc(x_75); -x_76 = lean_ctor_get(x_71, 3); +lean_inc(x_74); +lean_dec(x_3); +x_76 = lean_ctor_get(x_74, 0); lean_inc(x_76); -x_77 = lean_ctor_get(x_71, 4); +x_77 = lean_ctor_get(x_74, 1); lean_inc(x_77); -x_78 = lean_ctor_get(x_71, 5); +x_78 = lean_ctor_get(x_74, 2); lean_inc(x_78); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - lean_ctor_release(x_71, 2); - lean_ctor_release(x_71, 3); - lean_ctor_release(x_71, 4); - lean_ctor_release(x_71, 5); - x_79 = x_71; +x_79 = lean_ctor_get(x_74, 3); +lean_inc(x_79); +x_80 = lean_ctor_get(x_74, 4); +lean_inc(x_80); +x_81 = lean_ctor_get(x_74, 5); +lean_inc(x_81); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + lean_ctor_release(x_74, 2); + lean_ctor_release(x_74, 3); + lean_ctor_release(x_74, 4); + lean_ctor_release(x_74, 5); + x_82 = x_74; } else { - lean_dec_ref(x_71); - x_79 = lean_box(0); + lean_dec_ref(x_74); + x_82 = lean_box(0); } -x_80 = lean_unsigned_to_nat(1u); -x_81 = lean_nat_add(x_78, x_80); -if (lean_is_scalar(x_79)) { - x_82 = lean_alloc_ctor(0, 6, 0); +x_83 = lean_unsigned_to_nat(1u); +x_84 = lean_nat_add(x_81, x_83); +if (lean_is_scalar(x_82)) { + x_85 = lean_alloc_ctor(0, 6, 0); } else { - x_82 = x_79; + x_85 = x_82; } -lean_ctor_set(x_82, 0, x_73); -lean_ctor_set(x_82, 1, x_74); -lean_ctor_set(x_82, 2, x_75); -lean_ctor_set(x_82, 3, x_76); -lean_ctor_set(x_82, 4, x_77); -lean_ctor_set(x_82, 5, 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); -x_84 = lean_ctor_get(x_2, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_2, 1); -lean_inc(x_85); -x_86 = lean_ctor_get(x_2, 2); -lean_inc(x_86); +lean_ctor_set(x_85, 0, x_76); +lean_ctor_set(x_85, 1, x_77); +lean_ctor_set(x_85, 2, x_78); +lean_ctor_set(x_85, 3, x_79); +lean_ctor_set(x_85, 4, x_80); +lean_ctor_set(x_85, 5, x_84); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_75); +x_87 = lean_ctor_get(x_2, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_2, 1); +lean_inc(x_88); +x_89 = lean_ctor_get(x_2, 2); +lean_inc(x_89); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); lean_ctor_release(x_2, 2); - x_87 = x_2; + x_90 = x_2; } else { lean_dec_ref(x_2); - x_87 = lean_box(0); + x_90 = lean_box(0); } -x_88 = lean_ctor_get(x_84, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_84, 1); -lean_inc(x_89); -x_90 = lean_ctor_get(x_84, 2); -lean_inc(x_90); -x_91 = lean_ctor_get(x_84, 3); +x_91 = lean_ctor_get(x_87, 0); lean_inc(x_91); -x_92 = lean_ctor_get(x_84, 4); +x_92 = lean_ctor_get(x_87, 1); lean_inc(x_92); -x_93 = lean_ctor_get(x_84, 5); +x_93 = lean_ctor_get(x_87, 2); lean_inc(x_93); -x_94 = lean_ctor_get(x_84, 6); +x_94 = lean_ctor_get(x_87, 3); lean_inc(x_94); -x_95 = lean_ctor_get(x_84, 7); +x_95 = lean_ctor_get(x_87, 4); lean_inc(x_95); -x_96 = lean_ctor_get(x_84, 8); +x_96 = lean_ctor_get(x_87, 5); lean_inc(x_96); -x_97 = lean_ctor_get_uint8(x_84, sizeof(void*)*10); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - lean_ctor_release(x_84, 2); - lean_ctor_release(x_84, 3); - lean_ctor_release(x_84, 4); - lean_ctor_release(x_84, 5); - lean_ctor_release(x_84, 6); - lean_ctor_release(x_84, 7); - lean_ctor_release(x_84, 8); - lean_ctor_release(x_84, 9); - x_98 = x_84; +x_97 = lean_ctor_get(x_87, 6); +lean_inc(x_97); +x_98 = lean_ctor_get(x_87, 7); +lean_inc(x_98); +x_99 = lean_ctor_get(x_87, 8); +lean_inc(x_99); +x_100 = lean_ctor_get_uint8(x_87, sizeof(void*)*10); +x_101 = lean_ctor_get_uint8(x_87, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + lean_ctor_release(x_87, 2); + lean_ctor_release(x_87, 3); + lean_ctor_release(x_87, 4); + lean_ctor_release(x_87, 5); + lean_ctor_release(x_87, 6); + lean_ctor_release(x_87, 7); + lean_ctor_release(x_87, 8); + lean_ctor_release(x_87, 9); + x_102 = x_87; } else { - lean_dec_ref(x_84); - x_98 = lean_box(0); + lean_dec_ref(x_87); + x_102 = lean_box(0); } -if (lean_is_scalar(x_98)) { - x_99 = lean_alloc_ctor(0, 10, 1); +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(0, 10, 2); } else { - x_99 = x_98; + x_103 = x_102; } -lean_ctor_set(x_99, 0, x_88); -lean_ctor_set(x_99, 1, x_89); -lean_ctor_set(x_99, 2, x_90); -lean_ctor_set(x_99, 3, x_91); -lean_ctor_set(x_99, 4, x_92); -lean_ctor_set(x_99, 5, x_93); -lean_ctor_set(x_99, 6, x_94); -lean_ctor_set(x_99, 7, x_95); -lean_ctor_set(x_99, 8, x_96); -lean_ctor_set(x_99, 9, x_78); -lean_ctor_set_uint8(x_99, sizeof(void*)*10, x_97); -if (lean_is_scalar(x_87)) { - x_100 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_103, 0, x_91); +lean_ctor_set(x_103, 1, x_92); +lean_ctor_set(x_103, 2, x_93); +lean_ctor_set(x_103, 3, x_94); +lean_ctor_set(x_103, 4, x_95); +lean_ctor_set(x_103, 5, x_96); +lean_ctor_set(x_103, 6, x_97); +lean_ctor_set(x_103, 7, x_98); +lean_ctor_set(x_103, 8, x_99); +lean_ctor_set(x_103, 9, x_81); +lean_ctor_set_uint8(x_103, sizeof(void*)*10, x_100); +lean_ctor_set_uint8(x_103, sizeof(void*)*10 + 1, x_101); +if (lean_is_scalar(x_90)) { + x_104 = lean_alloc_ctor(0, 3, 0); } else { - x_100 = x_87; + x_104 = x_90; } -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_85); -lean_ctor_set(x_100, 2, x_86); -x_101 = lean_apply_2(x_1, x_100, x_83); -return x_101; +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_88); +lean_ctor_set(x_104, 2, x_89); +x_105 = lean_apply_2(x_1, x_104, x_86); +return x_105; } } } @@ -3041,7 +3022,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; -x_2 = l___private_Init_Lean_Meta_Tactic_Util_1__regTraceClasses___closed__1; +x_2 = l_Lean_Parser_Tactic_seq___elambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3177,22 +3158,12 @@ return x_2; lean_object* _init_l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_declareLeadingBuiltinParser___closed__1; -x_2 = l___private_Init_Lean_Meta_Tactic_Util_1__regTraceClasses___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__4() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("unexpected tactic elaborator type at '"); return x_1; } } -lean_object* _init_l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__5() { +lean_object* _init_l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__4() { _start: { lean_object* x_1; @@ -3217,7 +3188,7 @@ return x_7; else { lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; +x_8 = l_Lean_Parser_Tactic_seq___elambda__1___closed__2; lean_inc(x_1); x_9 = l_Lean_Elab_syntaxNodeKindOfAttrParam(x_1, x_8, x_3); x_10 = l_IO_ofExcept___at___private_Init_Lean_Elab_Util_6__ElabAttribute_add___spec__1(x_9, x_5); @@ -3337,7 +3308,7 @@ goto block_23; else { lean_object* x_44; uint8_t x_45; -x_44 = l___private_Init_Lean_Meta_Tactic_Util_1__regTraceClasses___closed__1; +x_44 = l_Lean_Parser_Tactic_seq___elambda__1___closed__1; x_45 = lean_string_dec_eq(x_35, x_44); lean_dec(x_35); if (x_45 == 0) @@ -3457,10 +3428,10 @@ lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean lean_dec(x_14); x_15 = l_System_FilePath_dirName___closed__1; x_16 = l_Lean_Name_toStringWithSep___main(x_15, x_2); -x_17 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__4; +x_17 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__5; +x_19 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__4; x_20 = lean_string_append(x_18, x_19); x_21 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_21, 0, x_20); @@ -3577,7 +3548,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; -x_2 = l___private_Init_Lean_Meta_Tactic_Util_1__regTraceClasses___closed__1; +x_2 = l_Lean_Parser_Tactic_seq___elambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3587,7 +3558,7 @@ _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; x_2 = l_Lean_Parser_regBuiltinTacticParserAttr___closed__4; -x_3 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; +x_3 = l_Lean_Parser_Tactic_seq___elambda__1___closed__2; x_4 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__1; x_5 = l_Lean_Parser_regBuiltinTacticParserAttr___closed__3; x_6 = l_Lean_Elab_Tactic_builtinTacticTable; @@ -3854,7 +3825,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; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +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; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_11 = lean_ctor_get(x_6, 0); x_12 = lean_ctor_get(x_6, 1); x_13 = lean_ctor_get(x_6, 2); @@ -3866,6 +3837,7 @@ x_18 = lean_ctor_get(x_6, 7); x_19 = lean_ctor_get(x_6, 8); x_20 = lean_ctor_get(x_6, 9); x_21 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); +x_22 = lean_ctor_get_uint8(x_6, sizeof(void*)*10 + 1); lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); @@ -3877,98 +3849,101 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_dec(x_6); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_1); -lean_ctor_set(x_22, 1, x_19); -x_23 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_23, 0, x_11); -lean_ctor_set(x_23, 1, x_12); -lean_ctor_set(x_23, 2, x_13); -lean_ctor_set(x_23, 3, x_14); -lean_ctor_set(x_23, 4, x_15); -lean_ctor_set(x_23, 5, x_16); -lean_ctor_set(x_23, 6, x_17); -lean_ctor_set(x_23, 7, x_18); -lean_ctor_set(x_23, 8, x_22); -lean_ctor_set(x_23, 9, x_20); -lean_ctor_set_uint8(x_23, sizeof(void*)*10, x_21); -lean_ctor_set(x_3, 0, x_23); -x_24 = lean_apply_2(x_2, x_3, x_4); -return x_24; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_1); +lean_ctor_set(x_23, 1, x_19); +x_24 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_24, 0, x_11); +lean_ctor_set(x_24, 1, x_12); +lean_ctor_set(x_24, 2, x_13); +lean_ctor_set(x_24, 3, x_14); +lean_ctor_set(x_24, 4, x_15); +lean_ctor_set(x_24, 5, x_16); +lean_ctor_set(x_24, 6, x_17); +lean_ctor_set(x_24, 7, x_18); +lean_ctor_set(x_24, 8, x_23); +lean_ctor_set(x_24, 9, x_20); +lean_ctor_set_uint8(x_24, sizeof(void*)*10, x_21); +lean_ctor_set_uint8(x_24, sizeof(void*)*10 + 1, x_22); +lean_ctor_set(x_3, 0, x_24); +x_25 = lean_apply_2(x_2, x_3, x_4); +return x_25; } } 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; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_25 = lean_ctor_get(x_3, 0); -x_26 = lean_ctor_get(x_3, 1); -x_27 = lean_ctor_get(x_3, 2); +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; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_26 = lean_ctor_get(x_3, 0); +x_27 = lean_ctor_get(x_3, 1); +x_28 = lean_ctor_get(x_3, 2); +lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); lean_dec(x_3); -x_28 = lean_ctor_get(x_25, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_25, 1); +x_29 = lean_ctor_get(x_26, 0); lean_inc(x_29); -x_30 = lean_ctor_get(x_25, 2); +x_30 = lean_ctor_get(x_26, 1); lean_inc(x_30); -x_31 = lean_ctor_get(x_25, 3); +x_31 = lean_ctor_get(x_26, 2); lean_inc(x_31); -x_32 = lean_ctor_get(x_25, 4); +x_32 = lean_ctor_get(x_26, 3); lean_inc(x_32); -x_33 = lean_ctor_get(x_25, 5); +x_33 = lean_ctor_get(x_26, 4); lean_inc(x_33); -x_34 = lean_ctor_get(x_25, 6); +x_34 = lean_ctor_get(x_26, 5); lean_inc(x_34); -x_35 = lean_ctor_get(x_25, 7); +x_35 = lean_ctor_get(x_26, 6); lean_inc(x_35); -x_36 = lean_ctor_get(x_25, 8); +x_36 = lean_ctor_get(x_26, 7); lean_inc(x_36); -x_37 = lean_ctor_get(x_25, 9); +x_37 = lean_ctor_get(x_26, 8); lean_inc(x_37); -x_38 = lean_ctor_get_uint8(x_25, sizeof(void*)*10); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - lean_ctor_release(x_25, 2); - lean_ctor_release(x_25, 3); - lean_ctor_release(x_25, 4); - lean_ctor_release(x_25, 5); - lean_ctor_release(x_25, 6); - lean_ctor_release(x_25, 7); - lean_ctor_release(x_25, 8); - lean_ctor_release(x_25, 9); - x_39 = x_25; +x_38 = lean_ctor_get(x_26, 9); +lean_inc(x_38); +x_39 = lean_ctor_get_uint8(x_26, sizeof(void*)*10); +x_40 = lean_ctor_get_uint8(x_26, sizeof(void*)*10 + 1); +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); + lean_ctor_release(x_26, 4); + lean_ctor_release(x_26, 5); + lean_ctor_release(x_26, 6); + lean_ctor_release(x_26, 7); + lean_ctor_release(x_26, 8); + lean_ctor_release(x_26, 9); + x_41 = x_26; } else { - lean_dec_ref(x_25); - x_39 = lean_box(0); + lean_dec_ref(x_26); + x_41 = lean_box(0); } -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_1); -lean_ctor_set(x_40, 1, x_36); -if (lean_is_scalar(x_39)) { - x_41 = lean_alloc_ctor(0, 10, 1); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_1); +lean_ctor_set(x_42, 1, x_37); +if (lean_is_scalar(x_41)) { + x_43 = lean_alloc_ctor(0, 10, 2); } else { - x_41 = x_39; + x_43 = x_41; } -lean_ctor_set(x_41, 0, x_28); -lean_ctor_set(x_41, 1, x_29); -lean_ctor_set(x_41, 2, x_30); -lean_ctor_set(x_41, 3, x_31); -lean_ctor_set(x_41, 4, x_32); -lean_ctor_set(x_41, 5, x_33); -lean_ctor_set(x_41, 6, x_34); -lean_ctor_set(x_41, 7, x_35); -lean_ctor_set(x_41, 8, x_40); -lean_ctor_set(x_41, 9, x_37); -lean_ctor_set_uint8(x_41, sizeof(void*)*10, x_38); -x_42 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_26); -lean_ctor_set(x_42, 2, x_27); -x_43 = lean_apply_2(x_2, x_42, x_4); -return x_43; +lean_ctor_set(x_43, 0, x_29); +lean_ctor_set(x_43, 1, x_30); +lean_ctor_set(x_43, 2, x_31); +lean_ctor_set(x_43, 3, x_32); +lean_ctor_set(x_43, 4, x_33); +lean_ctor_set(x_43, 5, x_34); +lean_ctor_set(x_43, 6, x_35); +lean_ctor_set(x_43, 7, x_36); +lean_ctor_set(x_43, 8, x_42); +lean_ctor_set(x_43, 9, x_38); +lean_ctor_set_uint8(x_43, sizeof(void*)*10, x_39); +lean_ctor_set_uint8(x_43, sizeof(void*)*10 + 1, x_40); +x_44 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_27); +lean_ctor_set(x_44, 2, x_28); +x_45 = lean_apply_2(x_2, x_44, x_4); +return x_45; } } } @@ -4301,80 +4276,70 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Tactic_evalTactic___main___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; -x_2 = l_Lean_Meta_isLevelDefEqAux___main___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_Elab_Tactic_evalTactic___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; 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_2, 0); -lean_inc(x_448); -x_449 = lean_ctor_get(x_448, 0); -lean_inc(x_449); -lean_dec(x_448); -x_450 = lean_ctor_get(x_449, 3); -lean_inc(x_450); -x_451 = lean_ctor_get(x_449, 4); +lean_object* x_4; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; uint8_t x_455; +x_451 = lean_ctor_get(x_2, 0); lean_inc(x_451); -lean_dec(x_449); -x_452 = lean_nat_dec_eq(x_450, x_451); +x_452 = lean_ctor_get(x_451, 0); +lean_inc(x_452); lean_dec(x_451); -lean_dec(x_450); -if (x_452 == 0) +x_453 = lean_ctor_get(x_452, 3); +lean_inc(x_453); +x_454 = lean_ctor_get(x_452, 4); +lean_inc(x_454); +lean_dec(x_452); +x_455 = lean_nat_dec_eq(x_453, x_454); +lean_dec(x_454); +lean_dec(x_453); +if (x_455 == 0) { x_4 = x_3; -goto block_447; +goto block_450; } else { -lean_object* x_453; lean_object* x_454; -x_453 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; +lean_object* x_456; lean_object* x_457; +x_456 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_inc(x_2); lean_inc(x_1); -x_454 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_453, x_2, x_3); -if (lean_obj_tag(x_454) == 0) +x_457 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_456, x_2, x_3); +if (lean_obj_tag(x_457) == 0) { -lean_object* x_455; -x_455 = lean_ctor_get(x_454, 1); -lean_inc(x_455); -lean_dec(x_454); -x_4 = x_455; -goto block_447; +lean_object* x_458; +x_458 = lean_ctor_get(x_457, 1); +lean_inc(x_458); +lean_dec(x_457); +x_4 = x_458; +goto block_450; } else { -uint8_t x_456; +uint8_t x_459; lean_dec(x_2); lean_dec(x_1); -x_456 = !lean_is_exclusive(x_454); -if (x_456 == 0) +x_459 = !lean_is_exclusive(x_457); +if (x_459 == 0) { -return x_454; +return x_457; } else { -lean_object* x_457; lean_object* x_458; lean_object* x_459; -x_457 = lean_ctor_get(x_454, 0); -x_458 = lean_ctor_get(x_454, 1); -lean_inc(x_458); -lean_inc(x_457); -lean_dec(x_454); -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; +lean_object* x_460; lean_object* x_461; lean_object* x_462; +x_460 = lean_ctor_get(x_457, 0); +x_461 = lean_ctor_get(x_457, 1); +lean_inc(x_461); +lean_inc(x_460); +lean_dec(x_457); +x_462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_462, 0, x_460); +lean_ctor_set(x_462, 1, x_461); +return x_462; } } } -block_447: +block_450: { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 0); @@ -4392,7 +4357,7 @@ lean_dec(x_10); x_11 = !lean_is_exclusive(x_5); 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; uint8_t x_20; lean_object* x_21; lean_object* x_22; uint8_t 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; uint8_t x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; x_12 = lean_ctor_get(x_5, 1); x_13 = lean_ctor_get(x_5, 2); x_14 = lean_ctor_get(x_5, 3); @@ -4402,32 +4367,33 @@ x_17 = lean_ctor_get(x_5, 6); x_18 = lean_ctor_get(x_5, 7); x_19 = lean_ctor_get(x_5, 8); x_20 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); -x_21 = lean_ctor_get(x_5, 9); -lean_dec(x_21); -x_22 = lean_ctor_get(x_5, 0); +x_21 = lean_ctor_get_uint8(x_5, sizeof(void*)*10 + 1); +x_22 = lean_ctor_get(x_5, 9); lean_dec(x_22); -x_23 = !lean_is_exclusive(x_6); -if (x_23 == 0) +x_23 = lean_ctor_get(x_5, 0); +lean_dec(x_23); +x_24 = !lean_is_exclusive(x_6); +if (x_24 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_ctor_get(x_6, 3); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_24, x_25); -lean_dec(x_24); -lean_ctor_set(x_6, 3, x_26); -x_27 = !lean_is_exclusive(x_4); -if (x_27 == 0) +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_6, 3); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_add(x_25, x_26); +lean_dec(x_25); +lean_ctor_set(x_6, 3, x_27); +x_28 = !lean_is_exclusive(x_4); +if (x_28 == 0) { -lean_object* x_28; uint8_t x_29; -x_28 = lean_ctor_get(x_4, 0); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_4, 0); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_28, 5); -x_31 = lean_nat_add(x_30, x_25); -lean_ctor_set(x_28, 5, x_31); -lean_inc(x_30); +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 5); +x_32 = lean_nat_add(x_31, x_26); +lean_ctor_set(x_29, 5, x_32); +lean_inc(x_31); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -4437,79 +4403,79 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_6); -lean_ctor_set(x_5, 9, x_30); +lean_ctor_set(x_5, 9, x_31); lean_inc(x_9); lean_inc(x_8); if (lean_obj_tag(x_1) == 1) { -lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_32 = lean_ctor_get(x_1, 0); -lean_inc(x_32); -x_33 = l_Lean_nullKind; -x_34 = lean_name_eq(x_32, x_33); -lean_dec(x_32); -if (x_34 == 0) +lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_33 = lean_ctor_get(x_1, 0); +lean_inc(x_33); +x_34 = l_Lean_nullKind; +x_35 = lean_name_eq(x_33, x_34); +lean_dec(x_33); +if (x_35 == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_inc(x_1); -x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); -lean_closure_set(x_35, 0, x_1); -x_36 = l_Lean_Elab_Tactic_evalTactic___main___closed__4; +x_36 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); +lean_closure_set(x_36, 0, x_1); +x_37 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; lean_inc(x_1); -x_37 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); -lean_closure_set(x_37, 0, x_36); -lean_closure_set(x_37, 1, x_1); -lean_closure_set(x_37, 2, x_35); +x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); +lean_closure_set(x_38, 0, x_37); +lean_closure_set(x_38, 1, x_1); +lean_closure_set(x_38, 2, x_36); lean_inc(x_2); -x_38 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_37, x_2, x_4); -if (lean_obj_tag(x_38) == 0) +x_39 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_38, x_2, x_4); +if (lean_obj_tag(x_39) == 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; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_40 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(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; lean_object* x_49; +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_42 = lean_ctor_get(x_41, 1); lean_inc(x_42); -x_43 = lean_ctor_get(x_42, 0); +x_43 = lean_ctor_get(x_40, 0); lean_inc(x_43); -lean_dec(x_42); x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); lean_dec(x_43); -x_45 = l_Lean_PersistentEnvExtension_getState___rarg(x_41, x_44); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); lean_dec(x_44); -lean_dec(x_41); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); +x_46 = l_Lean_PersistentEnvExtension_getState___rarg(x_42, x_45); lean_dec(x_45); +lean_dec(x_42); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); lean_inc(x_1); -x_47 = l_Lean_Syntax_getKind(x_1); -x_48 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_46, x_47); -if (lean_obj_tag(x_48) == 0) +x_48 = l_Lean_Syntax_getKind(x_1); +x_49 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_47, x_48); +if (lean_obj_tag(x_49) == 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 = l_Lean_Elab_Tactic_getCurrMacroScope(x_2, x_39); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); +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_50 = l_Lean_Elab_Tactic_getCurrMacroScope(x_2, x_40); +x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); -lean_dec(x_49); -x_52 = l_Lean_Elab_Tactic_getEnv___rarg(x_51); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = l_Lean_Elab_Tactic_getEnv___rarg(x_52); +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); -lean_dec(x_52); -lean_inc(x_1); -x_55 = l_Lean_Elab_expandMacro(x_53, x_1, x_50); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); lean_dec(x_53); -if (lean_obj_tag(x_55) == 0) +lean_inc(x_1); +x_56 = l_Lean_Elab_expandMacro(x_54, x_1, x_51); +lean_dec(x_54); +if (lean_obj_tag(x_56) == 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; lean_object* x_62; lean_object* x_63; lean_object* x_64; -lean_dec(x_30); +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_dec(x_31); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -4521,85 +4487,86 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_56 = l_System_FilePath_dirName___closed__1; -x_57 = l_Lean_Name_toStringWithSep___main(x_56, x_47); -x_58 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_58, 0, x_57); -x_59 = lean_alloc_ctor(0, 1, 0); +x_57 = l_System_FilePath_dirName___closed__1; +x_58 = l_Lean_Name_toStringWithSep___main(x_57, x_48); +x_59 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_59, 0, x_58); -x_60 = l_Lean_Meta_Exception_toMessageData___closed__45; -x_61 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -x_62 = l_Lean_Elab_Term_elabTermAux___main___closed__6; -x_63 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_63, x_2, x_54); -return x_64; +x_60 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_60, 0, x_59); +x_61 = l_Lean_Meta_Exception_toMessageData___closed__45; +x_62 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_Elab_Term_elabTermAux___main___closed__6; +x_64 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_64, x_2, x_55); +return x_65; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec(x_47); +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_dec(x_48); lean_dec(x_2); -x_65 = lean_ctor_get(x_55, 0); -lean_inc(x_65); -lean_dec(x_55); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_1); -lean_ctor_set(x_66, 1, x_19); -x_67 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_67, 0, x_6); -lean_ctor_set(x_67, 1, x_12); -lean_ctor_set(x_67, 2, x_13); -lean_ctor_set(x_67, 3, x_14); -lean_ctor_set(x_67, 4, x_15); -lean_ctor_set(x_67, 5, x_16); -lean_ctor_set(x_67, 6, x_17); -lean_ctor_set(x_67, 7, x_18); -lean_ctor_set(x_67, 8, x_66); -lean_ctor_set(x_67, 9, x_30); -lean_ctor_set_uint8(x_67, sizeof(void*)*10, x_20); -x_68 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_8); -lean_ctor_set(x_68, 2, x_9); -x_1 = x_65; -x_2 = x_68; -x_3 = x_54; +x_66 = lean_ctor_get(x_56, 0); +lean_inc(x_66); +lean_dec(x_56); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_1); +lean_ctor_set(x_67, 1, x_19); +x_68 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_68, 0, x_6); +lean_ctor_set(x_68, 1, x_12); +lean_ctor_set(x_68, 2, x_13); +lean_ctor_set(x_68, 3, x_14); +lean_ctor_set(x_68, 4, x_15); +lean_ctor_set(x_68, 5, x_16); +lean_ctor_set(x_68, 6, x_17); +lean_ctor_set(x_68, 7, x_18); +lean_ctor_set(x_68, 8, x_67); +lean_ctor_set(x_68, 9, x_31); +lean_ctor_set_uint8(x_68, sizeof(void*)*10, x_20); +lean_ctor_set_uint8(x_68, sizeof(void*)*10 + 1, x_21); +x_69 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_8); +lean_ctor_set(x_69, 2, x_9); +x_1 = x_66; +x_2 = x_69; +x_3 = x_55; goto _start; } } else { -lean_object* x_70; lean_object* x_71; -lean_dec(x_47); -lean_dec(x_30); -lean_dec(x_6); -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_9); -lean_dec(x_8); -x_70 = lean_ctor_get(x_48, 0); -lean_inc(x_70); +lean_object* x_71; lean_object* x_72; lean_dec(x_48); -lean_inc(x_39); -x_71 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_39, x_1, x_70, x_2, x_39); -return x_71; +lean_dec(x_31); +lean_dec(x_6); +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_9); +lean_dec(x_8); +x_71 = lean_ctor_get(x_49, 0); +lean_inc(x_71); +lean_dec(x_49); +lean_inc(x_40); +x_72 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_40, x_1, x_71, x_2, x_40); +return x_72; } } else { -uint8_t x_72; +uint8_t x_73; lean_dec(x_2); -lean_dec(x_30); +lean_dec(x_31); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -4612,30 +4579,30 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_38); -if (x_72 == 0) +x_73 = !lean_is_exclusive(x_39); +if (x_73 == 0) { -return x_38; +return x_39; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_38, 0); -x_74 = lean_ctor_get(x_38, 1); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +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_inc(x_73); -lean_dec(x_38); -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_dec(x_39); +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_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -lean_dec(x_30); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec(x_31); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -4647,20 +4614,20 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_76 = l_Lean_Syntax_getArgs(x_1); +x_77 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_77 = lean_unsigned_to_nat(2u); -x_78 = lean_unsigned_to_nat(0u); -x_79 = lean_box(0); -x_80 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_77, x_76, x_78, x_79, x_2, x_4); -lean_dec(x_76); -return x_80; +x_78 = lean_unsigned_to_nat(2u); +x_79 = lean_unsigned_to_nat(0u); +x_80 = lean_box(0); +x_81 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_78, x_77, x_79, x_80, x_2, x_4); +lean_dec(x_77); +return x_81; } } else { -lean_object* x_81; lean_object* x_82; -lean_dec(x_30); +lean_object* x_82; lean_object* x_83; +lean_dec(x_31); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -4672,37 +4639,37 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_81 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; -x_82 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_81, x_2, x_4); -return x_82; +x_82 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; +x_83 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_82, x_2, x_4); +return x_83; } } 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; -x_83 = lean_ctor_get(x_28, 0); -x_84 = lean_ctor_get(x_28, 1); -x_85 = lean_ctor_get(x_28, 2); -x_86 = lean_ctor_get(x_28, 3); -x_87 = lean_ctor_get(x_28, 4); -x_88 = lean_ctor_get(x_28, 5); +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_84 = lean_ctor_get(x_29, 0); +x_85 = lean_ctor_get(x_29, 1); +x_86 = lean_ctor_get(x_29, 2); +x_87 = lean_ctor_get(x_29, 3); +x_88 = lean_ctor_get(x_29, 4); +x_89 = lean_ctor_get(x_29, 5); +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_28); -x_89 = lean_nat_add(x_88, x_25); -x_90 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_90, 0, x_83); -lean_ctor_set(x_90, 1, x_84); -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_89); -lean_ctor_set(x_4, 0, x_90); -lean_inc(x_88); +lean_dec(x_29); +x_90 = lean_nat_add(x_89, x_26); +x_91 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_91, 0, x_84); +lean_ctor_set(x_91, 1, x_85); +lean_ctor_set(x_91, 2, x_86); +lean_ctor_set(x_91, 3, x_87); +lean_ctor_set(x_91, 4, x_88); +lean_ctor_set(x_91, 5, x_90); +lean_ctor_set(x_4, 0, x_91); +lean_inc(x_89); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -4712,79 +4679,79 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_6); -lean_ctor_set(x_5, 9, x_88); +lean_ctor_set(x_5, 9, x_89); lean_inc(x_9); lean_inc(x_8); if (lean_obj_tag(x_1) == 1) { -lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_91 = lean_ctor_get(x_1, 0); -lean_inc(x_91); -x_92 = l_Lean_nullKind; -x_93 = lean_name_eq(x_91, x_92); -lean_dec(x_91); -if (x_93 == 0) +lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_92 = lean_ctor_get(x_1, 0); +lean_inc(x_92); +x_93 = l_Lean_nullKind; +x_94 = lean_name_eq(x_92, x_93); +lean_dec(x_92); +if (x_94 == 0) { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_inc(x_1); -x_94 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); -lean_closure_set(x_94, 0, x_1); -x_95 = l_Lean_Elab_Tactic_evalTactic___main___closed__4; +x_95 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); +lean_closure_set(x_95, 0, x_1); +x_96 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; lean_inc(x_1); -x_96 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); -lean_closure_set(x_96, 0, x_95); -lean_closure_set(x_96, 1, x_1); -lean_closure_set(x_96, 2, x_94); +x_97 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); +lean_closure_set(x_97, 0, x_96); +lean_closure_set(x_97, 1, x_1); +lean_closure_set(x_97, 2, x_95); lean_inc(x_2); -x_97 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_96, x_2, x_4); -if (lean_obj_tag(x_97) == 0) +x_98 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_97, x_2, x_4); +if (lean_obj_tag(x_98) == 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; -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_99 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_100 = lean_ctor_get(x_99, 1); -lean_inc(x_100); -x_101 = lean_ctor_get(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; lean_object* x_108; +x_99 = lean_ctor_get(x_98, 1); +lean_inc(x_99); +lean_dec(x_98); +x_100 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_101 = lean_ctor_get(x_100, 1); lean_inc(x_101); -x_102 = lean_ctor_get(x_101, 0); +x_102 = lean_ctor_get(x_99, 0); lean_inc(x_102); -lean_dec(x_101); x_103 = lean_ctor_get(x_102, 0); lean_inc(x_103); lean_dec(x_102); -x_104 = l_Lean_PersistentEnvExtension_getState___rarg(x_100, x_103); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); lean_dec(x_103); -lean_dec(x_100); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); +x_105 = l_Lean_PersistentEnvExtension_getState___rarg(x_101, x_104); lean_dec(x_104); +lean_dec(x_101); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +lean_dec(x_105); lean_inc(x_1); -x_106 = l_Lean_Syntax_getKind(x_1); -x_107 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_105, x_106); -if (lean_obj_tag(x_107) == 0) +x_107 = l_Lean_Syntax_getKind(x_1); +x_108 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_106, x_107); +if (lean_obj_tag(x_108) == 0) { -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_108 = l_Lean_Elab_Tactic_getCurrMacroScope(x_2, x_98); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); +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_109 = l_Lean_Elab_Tactic_getCurrMacroScope(x_2, x_99); +x_110 = lean_ctor_get(x_109, 0); lean_inc(x_110); -lean_dec(x_108); -x_111 = l_Lean_Elab_Tactic_getEnv___rarg(x_110); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = l_Lean_Elab_Tactic_getEnv___rarg(x_111); +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -lean_dec(x_111); -lean_inc(x_1); -x_114 = l_Lean_Elab_expandMacro(x_112, x_1, x_109); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); lean_dec(x_112); -if (lean_obj_tag(x_114) == 0) +lean_inc(x_1); +x_115 = l_Lean_Elab_expandMacro(x_113, x_1, x_110); +lean_dec(x_113); +if (lean_obj_tag(x_115) == 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_dec(x_88); +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_dec(x_89); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -4796,85 +4763,86 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_115 = l_System_FilePath_dirName___closed__1; -x_116 = l_Lean_Name_toStringWithSep___main(x_115, x_106); -x_117 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_117, 0, x_116); -x_118 = lean_alloc_ctor(0, 1, 0); +x_116 = l_System_FilePath_dirName___closed__1; +x_117 = l_Lean_Name_toStringWithSep___main(x_116, x_107); +x_118 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_118, 0, x_117); -x_119 = l_Lean_Meta_Exception_toMessageData___closed__45; -x_120 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_121 = l_Lean_Elab_Term_elabTermAux___main___closed__6; -x_122 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_122, 0, x_120); -lean_ctor_set(x_122, 1, x_121); -x_123 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_122, x_2, x_113); -return x_123; +x_119 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_119, 0, x_118); +x_120 = l_Lean_Meta_Exception_toMessageData___closed__45; +x_121 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +x_122 = l_Lean_Elab_Term_elabTermAux___main___closed__6; +x_123 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +x_124 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_123, x_2, x_114); +return x_124; } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -lean_dec(x_106); +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_dec(x_107); lean_dec(x_2); -x_124 = lean_ctor_get(x_114, 0); -lean_inc(x_124); -lean_dec(x_114); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_1); -lean_ctor_set(x_125, 1, x_19); -x_126 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_126, 0, x_6); -lean_ctor_set(x_126, 1, x_12); -lean_ctor_set(x_126, 2, x_13); -lean_ctor_set(x_126, 3, x_14); -lean_ctor_set(x_126, 4, x_15); -lean_ctor_set(x_126, 5, x_16); -lean_ctor_set(x_126, 6, x_17); -lean_ctor_set(x_126, 7, x_18); -lean_ctor_set(x_126, 8, x_125); -lean_ctor_set(x_126, 9, x_88); -lean_ctor_set_uint8(x_126, sizeof(void*)*10, x_20); -x_127 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_8); -lean_ctor_set(x_127, 2, x_9); -x_1 = x_124; -x_2 = x_127; -x_3 = x_113; +x_125 = lean_ctor_get(x_115, 0); +lean_inc(x_125); +lean_dec(x_115); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_1); +lean_ctor_set(x_126, 1, x_19); +x_127 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_127, 0, x_6); +lean_ctor_set(x_127, 1, x_12); +lean_ctor_set(x_127, 2, x_13); +lean_ctor_set(x_127, 3, x_14); +lean_ctor_set(x_127, 4, x_15); +lean_ctor_set(x_127, 5, x_16); +lean_ctor_set(x_127, 6, x_17); +lean_ctor_set(x_127, 7, x_18); +lean_ctor_set(x_127, 8, x_126); +lean_ctor_set(x_127, 9, x_89); +lean_ctor_set_uint8(x_127, sizeof(void*)*10, x_20); +lean_ctor_set_uint8(x_127, sizeof(void*)*10 + 1, x_21); +x_128 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_8); +lean_ctor_set(x_128, 2, x_9); +x_1 = x_125; +x_2 = x_128; +x_3 = x_114; goto _start; } } else { -lean_object* x_129; lean_object* x_130; -lean_dec(x_106); -lean_dec(x_88); -lean_dec(x_6); -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_9); -lean_dec(x_8); -x_129 = lean_ctor_get(x_107, 0); -lean_inc(x_129); +lean_object* x_130; lean_object* x_131; lean_dec(x_107); -lean_inc(x_98); -x_130 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_98, x_1, x_129, x_2, x_98); -return x_130; +lean_dec(x_89); +lean_dec(x_6); +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_9); +lean_dec(x_8); +x_130 = lean_ctor_get(x_108, 0); +lean_inc(x_130); +lean_dec(x_108); +lean_inc(x_99); +x_131 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_99, x_1, x_130, x_2, x_99); +return x_131; } } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_dec(x_2); -lean_dec(x_88); +lean_dec(x_89); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -4887,32 +4855,32 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_1); -x_131 = lean_ctor_get(x_97, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_97, 1); +x_132 = lean_ctor_get(x_98, 0); lean_inc(x_132); -if (lean_is_exclusive(x_97)) { - lean_ctor_release(x_97, 0); - lean_ctor_release(x_97, 1); - x_133 = x_97; +x_133 = lean_ctor_get(x_98, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_134 = x_98; } else { - lean_dec_ref(x_97); - x_133 = lean_box(0); + lean_dec_ref(x_98); + x_134 = lean_box(0); } -if (lean_is_scalar(x_133)) { - x_134 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_134)) { + x_135 = lean_alloc_ctor(1, 2, 0); } else { - x_134 = x_133; + x_135 = x_134; } -lean_ctor_set(x_134, 0, x_131); -lean_ctor_set(x_134, 1, x_132); -return 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_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -lean_dec(x_88); +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +lean_dec(x_89); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -4924,20 +4892,20 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_135 = l_Lean_Syntax_getArgs(x_1); +x_136 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_136 = lean_unsigned_to_nat(2u); -x_137 = lean_unsigned_to_nat(0u); -x_138 = lean_box(0); -x_139 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_136, x_135, x_137, x_138, x_2, x_4); -lean_dec(x_135); -return x_139; +x_137 = lean_unsigned_to_nat(2u); +x_138 = lean_unsigned_to_nat(0u); +x_139 = lean_box(0); +x_140 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_137, x_136, x_138, x_139, x_2, x_4); +lean_dec(x_136); +return x_140; } } else { -lean_object* x_140; lean_object* x_141; -lean_dec(x_88); +lean_object* x_141; lean_object* x_142; +lean_dec(x_89); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -4949,60 +4917,60 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_140 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; -x_141 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_140, x_2, x_4); -return x_141; +x_141 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; +x_142 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_141, x_2, x_4); +return x_142; } } } 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; -x_142 = lean_ctor_get(x_4, 0); -x_143 = lean_ctor_get(x_4, 1); -lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_4); -x_144 = lean_ctor_get(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; 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_143 = lean_ctor_get(x_4, 0); +x_144 = lean_ctor_get(x_4, 1); lean_inc(x_144); -x_145 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +lean_dec(x_4); +x_145 = lean_ctor_get(x_143, 0); lean_inc(x_145); -x_146 = lean_ctor_get(x_142, 2); +x_146 = lean_ctor_get(x_143, 1); lean_inc(x_146); -x_147 = lean_ctor_get(x_142, 3); +x_147 = lean_ctor_get(x_143, 2); lean_inc(x_147); -x_148 = lean_ctor_get(x_142, 4); +x_148 = lean_ctor_get(x_143, 3); lean_inc(x_148); -x_149 = lean_ctor_get(x_142, 5); +x_149 = lean_ctor_get(x_143, 4); lean_inc(x_149); -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); - lean_ctor_release(x_142, 4); - lean_ctor_release(x_142, 5); - x_150 = x_142; +x_150 = lean_ctor_get(x_143, 5); +lean_inc(x_150); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + lean_ctor_release(x_143, 2); + lean_ctor_release(x_143, 3); + lean_ctor_release(x_143, 4); + lean_ctor_release(x_143, 5); + x_151 = x_143; } else { - lean_dec_ref(x_142); - x_150 = lean_box(0); + lean_dec_ref(x_143); + x_151 = lean_box(0); } -x_151 = lean_nat_add(x_149, x_25); -if (lean_is_scalar(x_150)) { - x_152 = lean_alloc_ctor(0, 6, 0); +x_152 = lean_nat_add(x_150, x_26); +if (lean_is_scalar(x_151)) { + x_153 = lean_alloc_ctor(0, 6, 0); } else { - x_152 = x_150; + x_153 = x_151; } -lean_ctor_set(x_152, 0, x_144); -lean_ctor_set(x_152, 1, x_145); -lean_ctor_set(x_152, 2, x_146); -lean_ctor_set(x_152, 3, x_147); -lean_ctor_set(x_152, 4, x_148); -lean_ctor_set(x_152, 5, x_151); -x_153 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_143); -lean_inc(x_149); +lean_ctor_set(x_153, 0, x_145); +lean_ctor_set(x_153, 1, x_146); +lean_ctor_set(x_153, 2, x_147); +lean_ctor_set(x_153, 3, x_148); +lean_ctor_set(x_153, 4, x_149); +lean_ctor_set(x_153, 5, 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_144); +lean_inc(x_150); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -5012,79 +4980,79 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_6); -lean_ctor_set(x_5, 9, x_149); +lean_ctor_set(x_5, 9, x_150); lean_inc(x_9); lean_inc(x_8); if (lean_obj_tag(x_1) == 1) { -lean_object* x_154; lean_object* x_155; uint8_t x_156; -x_154 = lean_ctor_get(x_1, 0); -lean_inc(x_154); -x_155 = l_Lean_nullKind; -x_156 = lean_name_eq(x_154, x_155); -lean_dec(x_154); -if (x_156 == 0) +lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_155 = lean_ctor_get(x_1, 0); +lean_inc(x_155); +x_156 = l_Lean_nullKind; +x_157 = lean_name_eq(x_155, x_156); +lean_dec(x_155); +if (x_157 == 0) { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_inc(x_1); -x_157 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); -lean_closure_set(x_157, 0, x_1); -x_158 = l_Lean_Elab_Tactic_evalTactic___main___closed__4; +x_158 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); +lean_closure_set(x_158, 0, x_1); +x_159 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; lean_inc(x_1); -x_159 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); -lean_closure_set(x_159, 0, x_158); -lean_closure_set(x_159, 1, x_1); -lean_closure_set(x_159, 2, x_157); +x_160 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); +lean_closure_set(x_160, 0, x_159); +lean_closure_set(x_160, 1, x_1); +lean_closure_set(x_160, 2, x_158); lean_inc(x_2); -x_160 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_159, x_2, x_153); -if (lean_obj_tag(x_160) == 0) +x_161 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_160, x_2, x_154); +if (lean_obj_tag(x_161) == 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; lean_object* x_170; -x_161 = lean_ctor_get(x_160, 1); -lean_inc(x_161); -lean_dec(x_160); -x_162 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_163 = lean_ctor_get(x_162, 1); -lean_inc(x_163); -x_164 = lean_ctor_get(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; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_162 = lean_ctor_get(x_161, 1); +lean_inc(x_162); +lean_dec(x_161); +x_163 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_164 = lean_ctor_get(x_163, 1); lean_inc(x_164); -x_165 = lean_ctor_get(x_164, 0); +x_165 = lean_ctor_get(x_162, 0); lean_inc(x_165); -lean_dec(x_164); x_166 = lean_ctor_get(x_165, 0); lean_inc(x_166); lean_dec(x_165); -x_167 = l_Lean_PersistentEnvExtension_getState___rarg(x_163, x_166); +x_167 = lean_ctor_get(x_166, 0); +lean_inc(x_167); lean_dec(x_166); -lean_dec(x_163); -x_168 = lean_ctor_get(x_167, 1); -lean_inc(x_168); +x_168 = l_Lean_PersistentEnvExtension_getState___rarg(x_164, x_167); lean_dec(x_167); +lean_dec(x_164); +x_169 = lean_ctor_get(x_168, 1); +lean_inc(x_169); +lean_dec(x_168); lean_inc(x_1); -x_169 = l_Lean_Syntax_getKind(x_1); -x_170 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_168, x_169); -if (lean_obj_tag(x_170) == 0) +x_170 = l_Lean_Syntax_getKind(x_1); +x_171 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_169, x_170); +if (lean_obj_tag(x_171) == 0) { -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; -x_171 = l_Lean_Elab_Tactic_getCurrMacroScope(x_2, x_161); -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); +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_172 = l_Lean_Elab_Tactic_getCurrMacroScope(x_2, x_162); +x_173 = lean_ctor_get(x_172, 0); lean_inc(x_173); -lean_dec(x_171); -x_174 = l_Lean_Elab_Tactic_getEnv___rarg(x_173); -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +lean_dec(x_172); +x_175 = l_Lean_Elab_Tactic_getEnv___rarg(x_174); +x_176 = lean_ctor_get(x_175, 0); lean_inc(x_176); -lean_dec(x_174); -lean_inc(x_1); -x_177 = l_Lean_Elab_expandMacro(x_175, x_1, x_172); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); lean_dec(x_175); -if (lean_obj_tag(x_177) == 0) +lean_inc(x_1); +x_178 = l_Lean_Elab_expandMacro(x_176, x_1, x_173); +lean_dec(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; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -lean_dec(x_149); +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_dec(x_150); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -5096,85 +5064,86 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_178 = l_System_FilePath_dirName___closed__1; -x_179 = l_Lean_Name_toStringWithSep___main(x_178, x_169); -x_180 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_180, 0, x_179); -x_181 = lean_alloc_ctor(0, 1, 0); +x_179 = l_System_FilePath_dirName___closed__1; +x_180 = l_Lean_Name_toStringWithSep___main(x_179, x_170); +x_181 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_181, 0, x_180); -x_182 = l_Lean_Meta_Exception_toMessageData___closed__45; -x_183 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -x_184 = l_Lean_Elab_Term_elabTermAux___main___closed__6; -x_185 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_185, 0, x_183); -lean_ctor_set(x_185, 1, x_184); -x_186 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_185, x_2, x_176); -return x_186; +x_182 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_182, 0, x_181); +x_183 = l_Lean_Meta_Exception_toMessageData___closed__45; +x_184 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_182); +x_185 = l_Lean_Elab_Term_elabTermAux___main___closed__6; +x_186 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +x_187 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_186, x_2, x_177); +return x_187; } else { -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -lean_dec(x_169); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +lean_dec(x_170); lean_dec(x_2); -x_187 = lean_ctor_get(x_177, 0); -lean_inc(x_187); -lean_dec(x_177); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_1); -lean_ctor_set(x_188, 1, x_19); -x_189 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_189, 0, x_6); -lean_ctor_set(x_189, 1, x_12); -lean_ctor_set(x_189, 2, x_13); -lean_ctor_set(x_189, 3, x_14); -lean_ctor_set(x_189, 4, x_15); -lean_ctor_set(x_189, 5, x_16); -lean_ctor_set(x_189, 6, x_17); -lean_ctor_set(x_189, 7, x_18); -lean_ctor_set(x_189, 8, x_188); -lean_ctor_set(x_189, 9, x_149); -lean_ctor_set_uint8(x_189, sizeof(void*)*10, x_20); -x_190 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_8); -lean_ctor_set(x_190, 2, x_9); -x_1 = x_187; -x_2 = x_190; -x_3 = x_176; +x_188 = lean_ctor_get(x_178, 0); +lean_inc(x_188); +lean_dec(x_178); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_1); +lean_ctor_set(x_189, 1, x_19); +x_190 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_190, 0, x_6); +lean_ctor_set(x_190, 1, x_12); +lean_ctor_set(x_190, 2, x_13); +lean_ctor_set(x_190, 3, x_14); +lean_ctor_set(x_190, 4, x_15); +lean_ctor_set(x_190, 5, x_16); +lean_ctor_set(x_190, 6, x_17); +lean_ctor_set(x_190, 7, x_18); +lean_ctor_set(x_190, 8, x_189); +lean_ctor_set(x_190, 9, x_150); +lean_ctor_set_uint8(x_190, sizeof(void*)*10, x_20); +lean_ctor_set_uint8(x_190, sizeof(void*)*10 + 1, x_21); +x_191 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_8); +lean_ctor_set(x_191, 2, x_9); +x_1 = x_188; +x_2 = x_191; +x_3 = x_177; goto _start; } } else { -lean_object* x_192; lean_object* x_193; -lean_dec(x_169); -lean_dec(x_149); -lean_dec(x_6); -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_9); -lean_dec(x_8); -x_192 = lean_ctor_get(x_170, 0); -lean_inc(x_192); +lean_object* x_193; lean_object* x_194; lean_dec(x_170); -lean_inc(x_161); -x_193 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_161, x_1, x_192, x_2, x_161); -return x_193; +lean_dec(x_150); +lean_dec(x_6); +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_9); +lean_dec(x_8); +x_193 = lean_ctor_get(x_171, 0); +lean_inc(x_193); +lean_dec(x_171); +lean_inc(x_162); +x_194 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_162, x_1, x_193, x_2, x_162); +return x_194; } } else { -lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_dec(x_2); -lean_dec(x_149); +lean_dec(x_150); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -5187,32 +5156,32 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_1); -x_194 = lean_ctor_get(x_160, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_160, 1); +x_195 = lean_ctor_get(x_161, 0); lean_inc(x_195); -if (lean_is_exclusive(x_160)) { - lean_ctor_release(x_160, 0); - lean_ctor_release(x_160, 1); - x_196 = x_160; +x_196 = lean_ctor_get(x_161, 1); +lean_inc(x_196); +if (lean_is_exclusive(x_161)) { + lean_ctor_release(x_161, 0); + lean_ctor_release(x_161, 1); + x_197 = x_161; } else { - lean_dec_ref(x_160); - x_196 = lean_box(0); + lean_dec_ref(x_161); + 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; + x_198 = x_197; } -lean_ctor_set(x_197, 0, x_194); -lean_ctor_set(x_197, 1, x_195); -return x_197; +lean_ctor_set(x_198, 0, x_195); +lean_ctor_set(x_198, 1, x_196); +return x_198; } } else { -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -lean_dec(x_149); +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_dec(x_150); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -5224,20 +5193,20 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_198 = l_Lean_Syntax_getArgs(x_1); +x_199 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_199 = lean_unsigned_to_nat(2u); -x_200 = lean_unsigned_to_nat(0u); -x_201 = lean_box(0); -x_202 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_199, x_198, x_200, x_201, x_2, x_153); -lean_dec(x_198); -return x_202; +x_200 = lean_unsigned_to_nat(2u); +x_201 = lean_unsigned_to_nat(0u); +x_202 = lean_box(0); +x_203 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_200, x_199, x_201, x_202, x_2, x_154); +lean_dec(x_199); +return x_203; } } else { -lean_object* x_203; lean_object* x_204; -lean_dec(x_149); +lean_object* x_204; lean_object* x_205; +lean_dec(x_150); lean_dec(x_6); lean_dec(x_19); lean_dec(x_18); @@ -5249,91 +5218,91 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_203 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; -x_204 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_203, x_2, x_153); -return x_204; +x_204 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; +x_205 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_204, x_2, x_154); +return x_205; } } } else { -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_205 = lean_ctor_get(x_6, 0); -x_206 = lean_ctor_get(x_6, 1); -x_207 = lean_ctor_get(x_6, 2); -x_208 = lean_ctor_get(x_6, 3); -x_209 = lean_ctor_get(x_6, 4); +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_206 = lean_ctor_get(x_6, 0); +x_207 = lean_ctor_get(x_6, 1); +x_208 = lean_ctor_get(x_6, 2); +x_209 = lean_ctor_get(x_6, 3); +x_210 = lean_ctor_get(x_6, 4); +lean_inc(x_210); lean_inc(x_209); lean_inc(x_208); lean_inc(x_207); lean_inc(x_206); -lean_inc(x_205); lean_dec(x_6); -x_210 = lean_unsigned_to_nat(1u); -x_211 = lean_nat_add(x_208, x_210); -lean_dec(x_208); -x_212 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_212, 0, x_205); -lean_ctor_set(x_212, 1, x_206); -lean_ctor_set(x_212, 2, x_207); -lean_ctor_set(x_212, 3, x_211); -lean_ctor_set(x_212, 4, x_209); -x_213 = lean_ctor_get(x_4, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_4, 1); +x_211 = lean_unsigned_to_nat(1u); +x_212 = lean_nat_add(x_209, x_211); +lean_dec(x_209); +x_213 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_213, 0, x_206); +lean_ctor_set(x_213, 1, x_207); +lean_ctor_set(x_213, 2, x_208); +lean_ctor_set(x_213, 3, x_212); +lean_ctor_set(x_213, 4, x_210); +x_214 = lean_ctor_get(x_4, 0); lean_inc(x_214); +x_215 = lean_ctor_get(x_4, 1); +lean_inc(x_215); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); - x_215 = x_4; + x_216 = x_4; } else { lean_dec_ref(x_4); - x_215 = lean_box(0); + x_216 = lean_box(0); } -x_216 = lean_ctor_get(x_213, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_213, 1); +x_217 = lean_ctor_get(x_214, 0); lean_inc(x_217); -x_218 = lean_ctor_get(x_213, 2); +x_218 = lean_ctor_get(x_214, 1); lean_inc(x_218); -x_219 = lean_ctor_get(x_213, 3); +x_219 = lean_ctor_get(x_214, 2); lean_inc(x_219); -x_220 = lean_ctor_get(x_213, 4); +x_220 = lean_ctor_get(x_214, 3); lean_inc(x_220); -x_221 = lean_ctor_get(x_213, 5); +x_221 = lean_ctor_get(x_214, 4); lean_inc(x_221); -if (lean_is_exclusive(x_213)) { - lean_ctor_release(x_213, 0); - lean_ctor_release(x_213, 1); - lean_ctor_release(x_213, 2); - lean_ctor_release(x_213, 3); - lean_ctor_release(x_213, 4); - lean_ctor_release(x_213, 5); - x_222 = x_213; +x_222 = lean_ctor_get(x_214, 5); +lean_inc(x_222); +if (lean_is_exclusive(x_214)) { + lean_ctor_release(x_214, 0); + lean_ctor_release(x_214, 1); + lean_ctor_release(x_214, 2); + lean_ctor_release(x_214, 3); + lean_ctor_release(x_214, 4); + lean_ctor_release(x_214, 5); + x_223 = x_214; } else { - lean_dec_ref(x_213); - x_222 = lean_box(0); + lean_dec_ref(x_214); + x_223 = lean_box(0); } -x_223 = lean_nat_add(x_221, x_210); -if (lean_is_scalar(x_222)) { - x_224 = lean_alloc_ctor(0, 6, 0); +x_224 = lean_nat_add(x_222, x_211); +if (lean_is_scalar(x_223)) { + x_225 = lean_alloc_ctor(0, 6, 0); } else { - x_224 = x_222; + x_225 = x_223; } -lean_ctor_set(x_224, 0, x_216); -lean_ctor_set(x_224, 1, x_217); -lean_ctor_set(x_224, 2, x_218); -lean_ctor_set(x_224, 3, x_219); -lean_ctor_set(x_224, 4, x_220); -lean_ctor_set(x_224, 5, x_223); -if (lean_is_scalar(x_215)) { - x_225 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_225, 0, x_217); +lean_ctor_set(x_225, 1, x_218); +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_224); +if (lean_is_scalar(x_216)) { + x_226 = lean_alloc_ctor(0, 2, 0); } else { - x_225 = x_215; + x_226 = x_216; } -lean_ctor_set(x_225, 0, x_224); -lean_ctor_set(x_225, 1, x_214); -lean_inc(x_221); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_215); +lean_inc(x_222); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -5342,82 +5311,82 @@ lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_212); -lean_ctor_set(x_5, 9, x_221); -lean_ctor_set(x_5, 0, x_212); +lean_inc(x_213); +lean_ctor_set(x_5, 9, x_222); +lean_ctor_set(x_5, 0, x_213); lean_inc(x_9); lean_inc(x_8); if (lean_obj_tag(x_1) == 1) { -lean_object* x_226; lean_object* x_227; uint8_t x_228; -x_226 = lean_ctor_get(x_1, 0); -lean_inc(x_226); -x_227 = l_Lean_nullKind; -x_228 = lean_name_eq(x_226, x_227); -lean_dec(x_226); -if (x_228 == 0) +lean_object* x_227; lean_object* x_228; uint8_t x_229; +x_227 = lean_ctor_get(x_1, 0); +lean_inc(x_227); +x_228 = l_Lean_nullKind; +x_229 = lean_name_eq(x_227, x_228); +lean_dec(x_227); +if (x_229 == 0) { -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_inc(x_1); -x_229 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); -lean_closure_set(x_229, 0, x_1); -x_230 = l_Lean_Elab_Tactic_evalTactic___main___closed__4; +x_230 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); +lean_closure_set(x_230, 0, x_1); +x_231 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; lean_inc(x_1); -x_231 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); -lean_closure_set(x_231, 0, x_230); -lean_closure_set(x_231, 1, x_1); -lean_closure_set(x_231, 2, x_229); +x_232 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); +lean_closure_set(x_232, 0, x_231); +lean_closure_set(x_232, 1, x_1); +lean_closure_set(x_232, 2, x_230); lean_inc(x_2); -x_232 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_231, x_2, x_225); -if (lean_obj_tag(x_232) == 0) +x_233 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_232, x_2, x_226); +if (lean_obj_tag(x_233) == 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_object* x_241; lean_object* x_242; -x_233 = lean_ctor_get(x_232, 1); -lean_inc(x_233); -lean_dec(x_232); -x_234 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_235 = lean_ctor_get(x_234, 1); -lean_inc(x_235); -x_236 = lean_ctor_get(x_233, 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; lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_234 = lean_ctor_get(x_233, 1); +lean_inc(x_234); +lean_dec(x_233); +x_235 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_236 = lean_ctor_get(x_235, 1); lean_inc(x_236); -x_237 = lean_ctor_get(x_236, 0); +x_237 = lean_ctor_get(x_234, 0); lean_inc(x_237); -lean_dec(x_236); x_238 = lean_ctor_get(x_237, 0); lean_inc(x_238); lean_dec(x_237); -x_239 = l_Lean_PersistentEnvExtension_getState___rarg(x_235, x_238); +x_239 = lean_ctor_get(x_238, 0); +lean_inc(x_239); lean_dec(x_238); -lean_dec(x_235); -x_240 = lean_ctor_get(x_239, 1); -lean_inc(x_240); +x_240 = l_Lean_PersistentEnvExtension_getState___rarg(x_236, x_239); lean_dec(x_239); +lean_dec(x_236); +x_241 = lean_ctor_get(x_240, 1); +lean_inc(x_241); +lean_dec(x_240); lean_inc(x_1); -x_241 = l_Lean_Syntax_getKind(x_1); -x_242 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_240, x_241); -if (lean_obj_tag(x_242) == 0) +x_242 = l_Lean_Syntax_getKind(x_1); +x_243 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_241, x_242); +if (lean_obj_tag(x_243) == 0) { -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_243 = l_Lean_Elab_Tactic_getCurrMacroScope(x_2, x_233); -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); +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_244 = l_Lean_Elab_Tactic_getCurrMacroScope(x_2, x_234); +x_245 = lean_ctor_get(x_244, 0); lean_inc(x_245); -lean_dec(x_243); -x_246 = l_Lean_Elab_Tactic_getEnv___rarg(x_245); -x_247 = lean_ctor_get(x_246, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); +x_246 = lean_ctor_get(x_244, 1); +lean_inc(x_246); +lean_dec(x_244); +x_247 = l_Lean_Elab_Tactic_getEnv___rarg(x_246); +x_248 = lean_ctor_get(x_247, 0); lean_inc(x_248); -lean_dec(x_246); -lean_inc(x_1); -x_249 = l_Lean_Elab_expandMacro(x_247, x_1, x_244); +x_249 = lean_ctor_get(x_247, 1); +lean_inc(x_249); lean_dec(x_247); -if (lean_obj_tag(x_249) == 0) +lean_inc(x_1); +x_250 = l_Lean_Elab_expandMacro(x_248, x_1, x_245); +lean_dec(x_248); +if (lean_obj_tag(x_250) == 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; lean_object* x_258; -lean_dec(x_221); -lean_dec(x_212); +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +lean_dec(x_222); +lean_dec(x_213); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -5428,86 +5397,87 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_250 = l_System_FilePath_dirName___closed__1; -x_251 = l_Lean_Name_toStringWithSep___main(x_250, x_241); -x_252 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_252, 0, x_251); -x_253 = lean_alloc_ctor(0, 1, 0); +x_251 = l_System_FilePath_dirName___closed__1; +x_252 = l_Lean_Name_toStringWithSep___main(x_251, x_242); +x_253 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_253, 0, x_252); -x_254 = l_Lean_Meta_Exception_toMessageData___closed__45; -x_255 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_255, 0, x_254); -lean_ctor_set(x_255, 1, x_253); -x_256 = l_Lean_Elab_Term_elabTermAux___main___closed__6; -x_257 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_257, 0, x_255); -lean_ctor_set(x_257, 1, x_256); -x_258 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_257, x_2, x_248); -return x_258; +x_254 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_254, 0, x_253); +x_255 = l_Lean_Meta_Exception_toMessageData___closed__45; +x_256 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_256, 0, x_255); +lean_ctor_set(x_256, 1, x_254); +x_257 = l_Lean_Elab_Term_elabTermAux___main___closed__6; +x_258 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_258, 0, x_256); +lean_ctor_set(x_258, 1, x_257); +x_259 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_258, x_2, x_249); +return x_259; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; -lean_dec(x_241); +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; +lean_dec(x_242); lean_dec(x_2); -x_259 = lean_ctor_get(x_249, 0); -lean_inc(x_259); -lean_dec(x_249); -x_260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_260, 0, x_1); -lean_ctor_set(x_260, 1, x_19); -x_261 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_261, 0, x_212); -lean_ctor_set(x_261, 1, x_12); -lean_ctor_set(x_261, 2, x_13); -lean_ctor_set(x_261, 3, x_14); -lean_ctor_set(x_261, 4, x_15); -lean_ctor_set(x_261, 5, x_16); -lean_ctor_set(x_261, 6, x_17); -lean_ctor_set(x_261, 7, x_18); -lean_ctor_set(x_261, 8, x_260); -lean_ctor_set(x_261, 9, x_221); -lean_ctor_set_uint8(x_261, sizeof(void*)*10, x_20); -x_262 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_8); -lean_ctor_set(x_262, 2, x_9); -x_1 = x_259; -x_2 = x_262; -x_3 = x_248; +x_260 = lean_ctor_get(x_250, 0); +lean_inc(x_260); +lean_dec(x_250); +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_1); +lean_ctor_set(x_261, 1, x_19); +x_262 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_262, 0, x_213); +lean_ctor_set(x_262, 1, x_12); +lean_ctor_set(x_262, 2, x_13); +lean_ctor_set(x_262, 3, x_14); +lean_ctor_set(x_262, 4, x_15); +lean_ctor_set(x_262, 5, x_16); +lean_ctor_set(x_262, 6, x_17); +lean_ctor_set(x_262, 7, x_18); +lean_ctor_set(x_262, 8, x_261); +lean_ctor_set(x_262, 9, x_222); +lean_ctor_set_uint8(x_262, sizeof(void*)*10, x_20); +lean_ctor_set_uint8(x_262, sizeof(void*)*10 + 1, x_21); +x_263 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_8); +lean_ctor_set(x_263, 2, x_9); +x_1 = x_260; +x_2 = x_263; +x_3 = x_249; goto _start; } } else { -lean_object* x_264; lean_object* x_265; -lean_dec(x_241); -lean_dec(x_221); -lean_dec(x_212); -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_9); -lean_dec(x_8); -x_264 = lean_ctor_get(x_242, 0); -lean_inc(x_264); +lean_object* x_265; lean_object* x_266; lean_dec(x_242); -lean_inc(x_233); -x_265 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_233, x_1, x_264, x_2, x_233); -return x_265; +lean_dec(x_222); +lean_dec(x_213); +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_9); +lean_dec(x_8); +x_265 = lean_ctor_get(x_243, 0); +lean_inc(x_265); +lean_dec(x_243); +lean_inc(x_234); +x_266 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_234, x_1, x_265, x_2, x_234); +return x_266; } } else { -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_dec(x_2); -lean_dec(x_221); -lean_dec(x_212); +lean_dec(x_222); +lean_dec(x_213); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -5519,33 +5489,33 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_1); -x_266 = lean_ctor_get(x_232, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_232, 1); +x_267 = lean_ctor_get(x_233, 0); lean_inc(x_267); -if (lean_is_exclusive(x_232)) { - lean_ctor_release(x_232, 0); - lean_ctor_release(x_232, 1); - x_268 = x_232; +x_268 = lean_ctor_get(x_233, 1); +lean_inc(x_268); +if (lean_is_exclusive(x_233)) { + lean_ctor_release(x_233, 0); + lean_ctor_release(x_233, 1); + x_269 = x_233; } else { - lean_dec_ref(x_232); - x_268 = lean_box(0); + lean_dec_ref(x_233); + x_269 = lean_box(0); } -if (lean_is_scalar(x_268)) { - x_269 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_269)) { + x_270 = lean_alloc_ctor(1, 2, 0); } else { - x_269 = x_268; + x_270 = x_269; } -lean_ctor_set(x_269, 0, x_266); -lean_ctor_set(x_269, 1, x_267); -return 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_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_221); -lean_dec(x_212); +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; +lean_dec(x_222); +lean_dec(x_213); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -5556,21 +5526,21 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_270 = l_Lean_Syntax_getArgs(x_1); +x_271 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_271 = lean_unsigned_to_nat(2u); -x_272 = lean_unsigned_to_nat(0u); -x_273 = lean_box(0); -x_274 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_271, x_270, x_272, x_273, x_2, x_225); -lean_dec(x_270); -return x_274; +x_272 = lean_unsigned_to_nat(2u); +x_273 = lean_unsigned_to_nat(0u); +x_274 = lean_box(0); +x_275 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_272, x_271, x_273, x_274, x_2, x_226); +lean_dec(x_271); +return x_275; } } else { -lean_object* x_275; lean_object* x_276; -lean_dec(x_221); -lean_dec(x_212); +lean_object* x_276; lean_object* x_277; +lean_dec(x_222); +lean_dec(x_213); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -5581,24 +5551,26 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); -x_275 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; -x_276 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_275, x_2, x_225); -return x_276; +x_276 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; +x_277 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_276, x_2, x_226); +return x_277; } } } 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; uint8_t 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; -x_277 = lean_ctor_get(x_5, 1); -x_278 = lean_ctor_get(x_5, 2); -x_279 = lean_ctor_get(x_5, 3); -x_280 = lean_ctor_get(x_5, 4); -x_281 = lean_ctor_get(x_5, 5); -x_282 = lean_ctor_get(x_5, 6); -x_283 = lean_ctor_get(x_5, 7); -x_284 = lean_ctor_get(x_5, 8); -x_285 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); +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; uint8_t 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; +x_278 = lean_ctor_get(x_5, 1); +x_279 = lean_ctor_get(x_5, 2); +x_280 = lean_ctor_get(x_5, 3); +x_281 = lean_ctor_get(x_5, 4); +x_282 = lean_ctor_get(x_5, 5); +x_283 = lean_ctor_get(x_5, 6); +x_284 = lean_ctor_get(x_5, 7); +x_285 = lean_ctor_get(x_5, 8); +x_286 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); +x_287 = lean_ctor_get_uint8(x_5, sizeof(void*)*10 + 1); +lean_inc(x_285); lean_inc(x_284); lean_inc(x_283); lean_inc(x_282); @@ -5606,98 +5578,98 @@ lean_inc(x_281); lean_inc(x_280); lean_inc(x_279); lean_inc(x_278); -lean_inc(x_277); lean_dec(x_5); -x_286 = lean_ctor_get(x_6, 0); -lean_inc(x_286); -x_287 = lean_ctor_get(x_6, 1); -lean_inc(x_287); -x_288 = lean_ctor_get(x_6, 2); +x_288 = lean_ctor_get(x_6, 0); lean_inc(x_288); -x_289 = lean_ctor_get(x_6, 3); +x_289 = lean_ctor_get(x_6, 1); lean_inc(x_289); -x_290 = lean_ctor_get(x_6, 4); +x_290 = lean_ctor_get(x_6, 2); lean_inc(x_290); +x_291 = lean_ctor_get(x_6, 3); +lean_inc(x_291); +x_292 = lean_ctor_get(x_6, 4); +lean_inc(x_292); 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); - x_291 = x_6; + x_293 = x_6; } else { lean_dec_ref(x_6); - x_291 = lean_box(0); + x_293 = lean_box(0); } -x_292 = lean_unsigned_to_nat(1u); -x_293 = lean_nat_add(x_289, x_292); -lean_dec(x_289); -if (lean_is_scalar(x_291)) { - x_294 = lean_alloc_ctor(0, 5, 0); +x_294 = lean_unsigned_to_nat(1u); +x_295 = lean_nat_add(x_291, x_294); +lean_dec(x_291); +if (lean_is_scalar(x_293)) { + x_296 = lean_alloc_ctor(0, 5, 0); } else { - x_294 = x_291; + x_296 = x_293; } -lean_ctor_set(x_294, 0, x_286); -lean_ctor_set(x_294, 1, x_287); -lean_ctor_set(x_294, 2, x_288); -lean_ctor_set(x_294, 3, x_293); -lean_ctor_set(x_294, 4, x_290); -x_295 = lean_ctor_get(x_4, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_4, 1); -lean_inc(x_296); +lean_ctor_set(x_296, 0, x_288); +lean_ctor_set(x_296, 1, x_289); +lean_ctor_set(x_296, 2, x_290); +lean_ctor_set(x_296, 3, x_295); +lean_ctor_set(x_296, 4, x_292); +x_297 = lean_ctor_get(x_4, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_4, 1); +lean_inc(x_298); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); - x_297 = x_4; + x_299 = x_4; } else { lean_dec_ref(x_4); - x_297 = lean_box(0); + x_299 = lean_box(0); } -x_298 = lean_ctor_get(x_295, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_295, 1); -lean_inc(x_299); -x_300 = lean_ctor_get(x_295, 2); +x_300 = lean_ctor_get(x_297, 0); lean_inc(x_300); -x_301 = lean_ctor_get(x_295, 3); +x_301 = lean_ctor_get(x_297, 1); lean_inc(x_301); -x_302 = lean_ctor_get(x_295, 4); +x_302 = lean_ctor_get(x_297, 2); lean_inc(x_302); -x_303 = lean_ctor_get(x_295, 5); +x_303 = lean_ctor_get(x_297, 3); lean_inc(x_303); -if (lean_is_exclusive(x_295)) { - lean_ctor_release(x_295, 0); - lean_ctor_release(x_295, 1); - lean_ctor_release(x_295, 2); - lean_ctor_release(x_295, 3); - lean_ctor_release(x_295, 4); - lean_ctor_release(x_295, 5); - x_304 = x_295; +x_304 = lean_ctor_get(x_297, 4); +lean_inc(x_304); +x_305 = lean_ctor_get(x_297, 5); +lean_inc(x_305); +if (lean_is_exclusive(x_297)) { + lean_ctor_release(x_297, 0); + lean_ctor_release(x_297, 1); + lean_ctor_release(x_297, 2); + lean_ctor_release(x_297, 3); + lean_ctor_release(x_297, 4); + lean_ctor_release(x_297, 5); + x_306 = x_297; } else { - lean_dec_ref(x_295); - x_304 = lean_box(0); + lean_dec_ref(x_297); + x_306 = lean_box(0); } -x_305 = lean_nat_add(x_303, x_292); -if (lean_is_scalar(x_304)) { - x_306 = lean_alloc_ctor(0, 6, 0); +x_307 = lean_nat_add(x_305, x_294); +if (lean_is_scalar(x_306)) { + x_308 = lean_alloc_ctor(0, 6, 0); } else { - x_306 = x_304; + x_308 = x_306; } -lean_ctor_set(x_306, 0, x_298); -lean_ctor_set(x_306, 1, x_299); -lean_ctor_set(x_306, 2, x_300); -lean_ctor_set(x_306, 3, x_301); -lean_ctor_set(x_306, 4, x_302); -lean_ctor_set(x_306, 5, x_305); -if (lean_is_scalar(x_297)) { - x_307 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_308, 0, x_300); +lean_ctor_set(x_308, 1, x_301); +lean_ctor_set(x_308, 2, x_302); +lean_ctor_set(x_308, 3, x_303); +lean_ctor_set(x_308, 4, x_304); +lean_ctor_set(x_308, 5, x_307); +if (lean_is_scalar(x_299)) { + x_309 = lean_alloc_ctor(0, 2, 0); } else { - x_307 = x_297; + x_309 = x_299; } -lean_ctor_set(x_307, 0, x_306); -lean_ctor_set(x_307, 1, x_296); -lean_inc(x_303); +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_298); +lean_inc(x_305); +lean_inc(x_285); lean_inc(x_284); lean_inc(x_283); lean_inc(x_282); @@ -5705,94 +5677,95 @@ lean_inc(x_281); lean_inc(x_280); lean_inc(x_279); lean_inc(x_278); -lean_inc(x_277); -lean_inc(x_294); -x_308 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_308, 0, x_294); -lean_ctor_set(x_308, 1, x_277); -lean_ctor_set(x_308, 2, x_278); -lean_ctor_set(x_308, 3, x_279); -lean_ctor_set(x_308, 4, x_280); -lean_ctor_set(x_308, 5, x_281); -lean_ctor_set(x_308, 6, x_282); -lean_ctor_set(x_308, 7, x_283); -lean_ctor_set(x_308, 8, x_284); -lean_ctor_set(x_308, 9, x_303); -lean_ctor_set_uint8(x_308, sizeof(void*)*10, x_285); +lean_inc(x_296); +x_310 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_310, 0, x_296); +lean_ctor_set(x_310, 1, x_278); +lean_ctor_set(x_310, 2, x_279); +lean_ctor_set(x_310, 3, x_280); +lean_ctor_set(x_310, 4, x_281); +lean_ctor_set(x_310, 5, x_282); +lean_ctor_set(x_310, 6, x_283); +lean_ctor_set(x_310, 7, x_284); +lean_ctor_set(x_310, 8, x_285); +lean_ctor_set(x_310, 9, x_305); +lean_ctor_set_uint8(x_310, sizeof(void*)*10, x_286); +lean_ctor_set_uint8(x_310, sizeof(void*)*10 + 1, x_287); lean_inc(x_9); lean_inc(x_8); -lean_ctor_set(x_2, 0, x_308); +lean_ctor_set(x_2, 0, x_310); if (lean_obj_tag(x_1) == 1) { -lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_309 = lean_ctor_get(x_1, 0); -lean_inc(x_309); -x_310 = l_Lean_nullKind; -x_311 = lean_name_eq(x_309, x_310); -lean_dec(x_309); -if (x_311 == 0) +lean_object* x_311; lean_object* x_312; uint8_t x_313; +x_311 = lean_ctor_get(x_1, 0); +lean_inc(x_311); +x_312 = l_Lean_nullKind; +x_313 = lean_name_eq(x_311, x_312); +lean_dec(x_311); +if (x_313 == 0) { -lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; +lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_inc(x_1); -x_312 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); -lean_closure_set(x_312, 0, x_1); -x_313 = l_Lean_Elab_Tactic_evalTactic___main___closed__4; +x_314 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); +lean_closure_set(x_314, 0, x_1); +x_315 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; lean_inc(x_1); -x_314 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); -lean_closure_set(x_314, 0, x_313); -lean_closure_set(x_314, 1, x_1); -lean_closure_set(x_314, 2, x_312); +x_316 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); +lean_closure_set(x_316, 0, x_315); +lean_closure_set(x_316, 1, x_1); +lean_closure_set(x_316, 2, x_314); lean_inc(x_2); -x_315 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_314, x_2, x_307); -if (lean_obj_tag(x_315) == 0) +x_317 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_316, x_2, x_309); +if (lean_obj_tag(x_317) == 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; -x_316 = lean_ctor_get(x_315, 1); -lean_inc(x_316); -lean_dec(x_315); -x_317 = l_Lean_Elab_Tactic_tacticElabAttribute; +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; x_318 = lean_ctor_get(x_317, 1); lean_inc(x_318); -x_319 = lean_ctor_get(x_316, 0); -lean_inc(x_319); -x_320 = lean_ctor_get(x_319, 0); +lean_dec(x_317); +x_319 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_320 = lean_ctor_get(x_319, 1); lean_inc(x_320); -lean_dec(x_319); -x_321 = lean_ctor_get(x_320, 0); +x_321 = lean_ctor_get(x_318, 0); lean_inc(x_321); -lean_dec(x_320); -x_322 = l_Lean_PersistentEnvExtension_getState___rarg(x_318, x_321); +x_322 = lean_ctor_get(x_321, 0); +lean_inc(x_322); lean_dec(x_321); -lean_dec(x_318); -x_323 = lean_ctor_get(x_322, 1); +x_323 = lean_ctor_get(x_322, 0); lean_inc(x_323); lean_dec(x_322); +x_324 = l_Lean_PersistentEnvExtension_getState___rarg(x_320, x_323); +lean_dec(x_323); +lean_dec(x_320); +x_325 = lean_ctor_get(x_324, 1); +lean_inc(x_325); +lean_dec(x_324); lean_inc(x_1); -x_324 = l_Lean_Syntax_getKind(x_1); -x_325 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_323, x_324); -if (lean_obj_tag(x_325) == 0) +x_326 = l_Lean_Syntax_getKind(x_1); +x_327 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_325, x_326); +if (lean_obj_tag(x_327) == 0) { -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_326 = l_Lean_Elab_Tactic_getCurrMacroScope(x_2, x_316); -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 = l_Lean_Elab_Tactic_getEnv___rarg(x_328); -x_330 = lean_ctor_get(x_329, 0); +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; +x_328 = l_Lean_Elab_Tactic_getCurrMacroScope(x_2, x_318); +x_329 = lean_ctor_get(x_328, 0); +lean_inc(x_329); +x_330 = lean_ctor_get(x_328, 1); lean_inc(x_330); -x_331 = lean_ctor_get(x_329, 1); -lean_inc(x_331); -lean_dec(x_329); +lean_dec(x_328); +x_331 = l_Lean_Elab_Tactic_getEnv___rarg(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); lean_inc(x_1); -x_332 = l_Lean_Elab_expandMacro(x_330, x_1, x_327); -lean_dec(x_330); -if (lean_obj_tag(x_332) == 0) +x_334 = l_Lean_Elab_expandMacro(x_332, x_1, x_329); +lean_dec(x_332); +if (lean_obj_tag(x_334) == 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_dec(x_303); -lean_dec(x_294); +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_dec(x_305); +lean_dec(x_296); +lean_dec(x_285); lean_dec(x_284); lean_dec(x_283); lean_dec(x_282); @@ -5800,65 +5773,66 @@ lean_dec(x_281); lean_dec(x_280); lean_dec(x_279); lean_dec(x_278); -lean_dec(x_277); lean_dec(x_9); lean_dec(x_8); -x_333 = l_System_FilePath_dirName___closed__1; -x_334 = l_Lean_Name_toStringWithSep___main(x_333, x_324); -x_335 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_335, 0, x_334); -x_336 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_336, 0, x_335); -x_337 = l_Lean_Meta_Exception_toMessageData___closed__45; -x_338 = lean_alloc_ctor(9, 2, 0); +x_335 = l_System_FilePath_dirName___closed__1; +x_336 = l_Lean_Name_toStringWithSep___main(x_335, x_326); +x_337 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_337, 0, x_336); +x_338 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_338, 0, x_337); -lean_ctor_set(x_338, 1, x_336); -x_339 = l_Lean_Elab_Term_elabTermAux___main___closed__6; +x_339 = l_Lean_Meta_Exception_toMessageData___closed__45; x_340 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_340, 0, x_338); -lean_ctor_set(x_340, 1, x_339); -x_341 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_340, x_2, x_331); -return x_341; +lean_ctor_set(x_340, 0, x_339); +lean_ctor_set(x_340, 1, x_338); +x_341 = l_Lean_Elab_Term_elabTermAux___main___closed__6; +x_342 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_342, 0, x_340); +lean_ctor_set(x_342, 1, x_341); +x_343 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_342, x_2, x_333); +return x_343; } else { -lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; -lean_dec(x_324); +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; +lean_dec(x_326); lean_dec(x_2); -x_342 = lean_ctor_get(x_332, 0); -lean_inc(x_342); -lean_dec(x_332); -x_343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_343, 0, x_1); -lean_ctor_set(x_343, 1, x_284); -x_344 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_344, 0, x_294); -lean_ctor_set(x_344, 1, x_277); -lean_ctor_set(x_344, 2, x_278); -lean_ctor_set(x_344, 3, x_279); -lean_ctor_set(x_344, 4, x_280); -lean_ctor_set(x_344, 5, x_281); -lean_ctor_set(x_344, 6, x_282); -lean_ctor_set(x_344, 7, x_283); -lean_ctor_set(x_344, 8, x_343); -lean_ctor_set(x_344, 9, x_303); -lean_ctor_set_uint8(x_344, sizeof(void*)*10, x_285); -x_345 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_345, 0, x_344); -lean_ctor_set(x_345, 1, x_8); -lean_ctor_set(x_345, 2, x_9); -x_1 = x_342; -x_2 = x_345; -x_3 = x_331; +x_344 = lean_ctor_get(x_334, 0); +lean_inc(x_344); +lean_dec(x_334); +x_345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_345, 0, x_1); +lean_ctor_set(x_345, 1, x_285); +x_346 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_346, 0, x_296); +lean_ctor_set(x_346, 1, x_278); +lean_ctor_set(x_346, 2, x_279); +lean_ctor_set(x_346, 3, x_280); +lean_ctor_set(x_346, 4, x_281); +lean_ctor_set(x_346, 5, x_282); +lean_ctor_set(x_346, 6, x_283); +lean_ctor_set(x_346, 7, x_284); +lean_ctor_set(x_346, 8, x_345); +lean_ctor_set(x_346, 9, x_305); +lean_ctor_set_uint8(x_346, sizeof(void*)*10, x_286); +lean_ctor_set_uint8(x_346, sizeof(void*)*10 + 1, x_287); +x_347 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_347, 0, x_346); +lean_ctor_set(x_347, 1, x_8); +lean_ctor_set(x_347, 2, x_9); +x_1 = x_344; +x_2 = x_347; +x_3 = x_333; goto _start; } } else { -lean_object* x_347; lean_object* x_348; -lean_dec(x_324); -lean_dec(x_303); -lean_dec(x_294); +lean_object* x_349; lean_object* x_350; +lean_dec(x_326); +lean_dec(x_305); +lean_dec(x_296); +lean_dec(x_285); lean_dec(x_284); lean_dec(x_283); lean_dec(x_282); @@ -5866,61 +5840,23 @@ lean_dec(x_281); lean_dec(x_280); lean_dec(x_279); lean_dec(x_278); -lean_dec(x_277); lean_dec(x_9); lean_dec(x_8); -x_347 = lean_ctor_get(x_325, 0); -lean_inc(x_347); -lean_dec(x_325); -lean_inc(x_316); -x_348 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_316, x_1, x_347, x_2, x_316); -return x_348; -} -} -else -{ -lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; -lean_dec(x_2); -lean_dec(x_303); -lean_dec(x_294); -lean_dec(x_284); -lean_dec(x_283); -lean_dec(x_282); -lean_dec(x_281); -lean_dec(x_280); -lean_dec(x_279); -lean_dec(x_278); -lean_dec(x_277); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_349 = lean_ctor_get(x_315, 0); +x_349 = lean_ctor_get(x_327, 0); lean_inc(x_349); -x_350 = lean_ctor_get(x_315, 1); -lean_inc(x_350); -if (lean_is_exclusive(x_315)) { - lean_ctor_release(x_315, 0); - lean_ctor_release(x_315, 1); - x_351 = x_315; -} else { - lean_dec_ref(x_315); - x_351 = lean_box(0); -} -if (lean_is_scalar(x_351)) { - x_352 = lean_alloc_ctor(1, 2, 0); -} else { - x_352 = x_351; -} -lean_ctor_set(x_352, 0, x_349); -lean_ctor_set(x_352, 1, x_350); -return x_352; +lean_dec(x_327); +lean_inc(x_318); +x_350 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_318, x_1, x_349, x_2, x_318); +return x_350; } } else { -lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; -lean_dec(x_303); -lean_dec(x_294); +lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; +lean_dec(x_2); +lean_dec(x_305); +lean_dec(x_296); +lean_dec(x_285); lean_dec(x_284); lean_dec(x_283); lean_dec(x_282); @@ -5928,24 +5864,37 @@ lean_dec(x_281); lean_dec(x_280); lean_dec(x_279); lean_dec(x_278); -lean_dec(x_277); lean_dec(x_9); lean_dec(x_8); -x_353 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_354 = lean_unsigned_to_nat(2u); -x_355 = lean_unsigned_to_nat(0u); -x_356 = lean_box(0); -x_357 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_354, x_353, x_355, x_356, x_2, x_307); -lean_dec(x_353); -return x_357; +x_351 = lean_ctor_get(x_317, 0); +lean_inc(x_351); +x_352 = lean_ctor_get(x_317, 1); +lean_inc(x_352); +if (lean_is_exclusive(x_317)) { + lean_ctor_release(x_317, 0); + lean_ctor_release(x_317, 1); + x_353 = x_317; +} else { + lean_dec_ref(x_317); + 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_358; lean_object* x_359; -lean_dec(x_303); -lean_dec(x_294); +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; +lean_dec(x_305); +lean_dec(x_296); +lean_dec(x_285); lean_dec(x_284); lean_dec(x_283); lean_dec(x_282); @@ -5953,40 +5902,65 @@ lean_dec(x_281); lean_dec(x_280); lean_dec(x_279); lean_dec(x_278); -lean_dec(x_277); lean_dec(x_9); lean_dec(x_8); -x_358 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; -x_359 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_358, x_2, x_307); +x_355 = l_Lean_Syntax_getArgs(x_1); +lean_dec(x_1); +x_356 = lean_unsigned_to_nat(2u); +x_357 = lean_unsigned_to_nat(0u); +x_358 = lean_box(0); +x_359 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_356, x_355, x_357, x_358, x_2, x_309); +lean_dec(x_355); return x_359; } } +else +{ +lean_object* x_360; lean_object* x_361; +lean_dec(x_305); +lean_dec(x_296); +lean_dec(x_285); +lean_dec(x_284); +lean_dec(x_283); +lean_dec(x_282); +lean_dec(x_281); +lean_dec(x_280); +lean_dec(x_279); +lean_dec(x_278); +lean_dec(x_9); +lean_dec(x_8); +x_360 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; +x_361 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_360, x_2, x_309); +return x_361; +} +} } else { -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; uint8_t 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; -x_360 = lean_ctor_get(x_2, 1); -x_361 = lean_ctor_get(x_2, 2); -lean_inc(x_361); -lean_inc(x_360); -lean_dec(x_2); -x_362 = lean_ctor_get(x_5, 1); -lean_inc(x_362); -x_363 = lean_ctor_get(x_5, 2); +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; uint8_t x_372; uint8_t 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; +x_362 = lean_ctor_get(x_2, 1); +x_363 = lean_ctor_get(x_2, 2); lean_inc(x_363); -x_364 = lean_ctor_get(x_5, 3); +lean_inc(x_362); +lean_dec(x_2); +x_364 = lean_ctor_get(x_5, 1); lean_inc(x_364); -x_365 = lean_ctor_get(x_5, 4); +x_365 = lean_ctor_get(x_5, 2); lean_inc(x_365); -x_366 = lean_ctor_get(x_5, 5); +x_366 = lean_ctor_get(x_5, 3); lean_inc(x_366); -x_367 = lean_ctor_get(x_5, 6); +x_367 = lean_ctor_get(x_5, 4); lean_inc(x_367); -x_368 = lean_ctor_get(x_5, 7); +x_368 = lean_ctor_get(x_5, 5); lean_inc(x_368); -x_369 = lean_ctor_get(x_5, 8); +x_369 = lean_ctor_get(x_5, 6); lean_inc(x_369); -x_370 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); +x_370 = lean_ctor_get(x_5, 7); +lean_inc(x_370); +x_371 = lean_ctor_get(x_5, 8); +lean_inc(x_371); +x_372 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); +x_373 = lean_ctor_get_uint8(x_5, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 0); lean_ctor_release(x_5, 1); @@ -5998,203 +5972,206 @@ if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 7); lean_ctor_release(x_5, 8); lean_ctor_release(x_5, 9); - x_371 = x_5; + x_374 = x_5; } else { lean_dec_ref(x_5); - x_371 = lean_box(0); + x_374 = lean_box(0); } -x_372 = lean_ctor_get(x_6, 0); -lean_inc(x_372); -x_373 = lean_ctor_get(x_6, 1); -lean_inc(x_373); -x_374 = lean_ctor_get(x_6, 2); -lean_inc(x_374); -x_375 = lean_ctor_get(x_6, 3); +x_375 = lean_ctor_get(x_6, 0); lean_inc(x_375); -x_376 = lean_ctor_get(x_6, 4); +x_376 = lean_ctor_get(x_6, 1); lean_inc(x_376); +x_377 = lean_ctor_get(x_6, 2); +lean_inc(x_377); +x_378 = lean_ctor_get(x_6, 3); +lean_inc(x_378); +x_379 = lean_ctor_get(x_6, 4); +lean_inc(x_379); 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); - x_377 = x_6; + x_380 = x_6; } else { lean_dec_ref(x_6); - x_377 = lean_box(0); + x_380 = lean_box(0); } -x_378 = lean_unsigned_to_nat(1u); -x_379 = lean_nat_add(x_375, x_378); -lean_dec(x_375); -if (lean_is_scalar(x_377)) { - x_380 = lean_alloc_ctor(0, 5, 0); +x_381 = lean_unsigned_to_nat(1u); +x_382 = lean_nat_add(x_378, x_381); +lean_dec(x_378); +if (lean_is_scalar(x_380)) { + x_383 = lean_alloc_ctor(0, 5, 0); } else { - x_380 = x_377; + x_383 = x_380; } -lean_ctor_set(x_380, 0, x_372); -lean_ctor_set(x_380, 1, x_373); -lean_ctor_set(x_380, 2, x_374); -lean_ctor_set(x_380, 3, x_379); -lean_ctor_set(x_380, 4, x_376); -x_381 = lean_ctor_get(x_4, 0); -lean_inc(x_381); -x_382 = lean_ctor_get(x_4, 1); -lean_inc(x_382); +lean_ctor_set(x_383, 0, x_375); +lean_ctor_set(x_383, 1, x_376); +lean_ctor_set(x_383, 2, x_377); +lean_ctor_set(x_383, 3, x_382); +lean_ctor_set(x_383, 4, x_379); +x_384 = lean_ctor_get(x_4, 0); +lean_inc(x_384); +x_385 = lean_ctor_get(x_4, 1); +lean_inc(x_385); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); - x_383 = x_4; + x_386 = x_4; } else { lean_dec_ref(x_4); - x_383 = lean_box(0); + x_386 = lean_box(0); } -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); -x_387 = lean_ctor_get(x_381, 3); +x_387 = lean_ctor_get(x_384, 0); lean_inc(x_387); -x_388 = lean_ctor_get(x_381, 4); +x_388 = lean_ctor_get(x_384, 1); lean_inc(x_388); -x_389 = lean_ctor_get(x_381, 5); +x_389 = lean_ctor_get(x_384, 2); lean_inc(x_389); -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); - lean_ctor_release(x_381, 4); - lean_ctor_release(x_381, 5); - x_390 = x_381; +x_390 = lean_ctor_get(x_384, 3); +lean_inc(x_390); +x_391 = lean_ctor_get(x_384, 4); +lean_inc(x_391); +x_392 = lean_ctor_get(x_384, 5); +lean_inc(x_392); +if (lean_is_exclusive(x_384)) { + lean_ctor_release(x_384, 0); + lean_ctor_release(x_384, 1); + lean_ctor_release(x_384, 2); + lean_ctor_release(x_384, 3); + lean_ctor_release(x_384, 4); + lean_ctor_release(x_384, 5); + x_393 = x_384; } else { - lean_dec_ref(x_381); - x_390 = lean_box(0); + lean_dec_ref(x_384); + x_393 = lean_box(0); } -x_391 = lean_nat_add(x_389, x_378); -if (lean_is_scalar(x_390)) { - x_392 = lean_alloc_ctor(0, 6, 0); +x_394 = lean_nat_add(x_392, x_381); +if (lean_is_scalar(x_393)) { + x_395 = lean_alloc_ctor(0, 6, 0); } else { - x_392 = x_390; + x_395 = x_393; } -lean_ctor_set(x_392, 0, x_384); -lean_ctor_set(x_392, 1, x_385); -lean_ctor_set(x_392, 2, x_386); -lean_ctor_set(x_392, 3, x_387); -lean_ctor_set(x_392, 4, x_388); -lean_ctor_set(x_392, 5, x_391); -if (lean_is_scalar(x_383)) { - x_393 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_395, 0, x_387); +lean_ctor_set(x_395, 1, x_388); +lean_ctor_set(x_395, 2, x_389); +lean_ctor_set(x_395, 3, x_390); +lean_ctor_set(x_395, 4, x_391); +lean_ctor_set(x_395, 5, x_394); +if (lean_is_scalar(x_386)) { + x_396 = lean_alloc_ctor(0, 2, 0); } else { - x_393 = x_383; + x_396 = x_386; } -lean_ctor_set(x_393, 0, x_392); -lean_ctor_set(x_393, 1, x_382); -lean_inc(x_389); +lean_ctor_set(x_396, 0, x_395); +lean_ctor_set(x_396, 1, x_385); +lean_inc(x_392); +lean_inc(x_371); +lean_inc(x_370); lean_inc(x_369); lean_inc(x_368); lean_inc(x_367); lean_inc(x_366); lean_inc(x_365); lean_inc(x_364); +lean_inc(x_383); +if (lean_is_scalar(x_374)) { + x_397 = lean_alloc_ctor(0, 10, 2); +} else { + x_397 = x_374; +} +lean_ctor_set(x_397, 0, x_383); +lean_ctor_set(x_397, 1, x_364); +lean_ctor_set(x_397, 2, x_365); +lean_ctor_set(x_397, 3, x_366); +lean_ctor_set(x_397, 4, x_367); +lean_ctor_set(x_397, 5, x_368); +lean_ctor_set(x_397, 6, x_369); +lean_ctor_set(x_397, 7, x_370); +lean_ctor_set(x_397, 8, x_371); +lean_ctor_set(x_397, 9, x_392); +lean_ctor_set_uint8(x_397, sizeof(void*)*10, x_372); +lean_ctor_set_uint8(x_397, sizeof(void*)*10 + 1, x_373); lean_inc(x_363); lean_inc(x_362); -lean_inc(x_380); -if (lean_is_scalar(x_371)) { - x_394 = lean_alloc_ctor(0, 10, 1); -} else { - x_394 = x_371; -} -lean_ctor_set(x_394, 0, x_380); -lean_ctor_set(x_394, 1, x_362); -lean_ctor_set(x_394, 2, x_363); -lean_ctor_set(x_394, 3, x_364); -lean_ctor_set(x_394, 4, x_365); -lean_ctor_set(x_394, 5, x_366); -lean_ctor_set(x_394, 6, x_367); -lean_ctor_set(x_394, 7, x_368); -lean_ctor_set(x_394, 8, x_369); -lean_ctor_set(x_394, 9, x_389); -lean_ctor_set_uint8(x_394, sizeof(void*)*10, x_370); -lean_inc(x_361); -lean_inc(x_360); -x_395 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_395, 0, x_394); -lean_ctor_set(x_395, 1, x_360); -lean_ctor_set(x_395, 2, x_361); +x_398 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_398, 0, x_397); +lean_ctor_set(x_398, 1, x_362); +lean_ctor_set(x_398, 2, x_363); if (lean_obj_tag(x_1) == 1) { -lean_object* x_396; lean_object* x_397; uint8_t x_398; -x_396 = lean_ctor_get(x_1, 0); -lean_inc(x_396); -x_397 = l_Lean_nullKind; -x_398 = lean_name_eq(x_396, x_397); -lean_dec(x_396); -if (x_398 == 0) +lean_object* x_399; lean_object* x_400; uint8_t x_401; +x_399 = lean_ctor_get(x_1, 0); +lean_inc(x_399); +x_400 = l_Lean_nullKind; +x_401 = lean_name_eq(x_399, x_400); +lean_dec(x_399); +if (x_401 == 0) { -lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; +lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_inc(x_1); -x_399 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); -lean_closure_set(x_399, 0, x_1); -x_400 = l_Lean_Elab_Tactic_evalTactic___main___closed__4; +x_402 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed), 2, 1); +lean_closure_set(x_402, 0, x_1); +x_403 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; lean_inc(x_1); -x_401 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); -lean_closure_set(x_401, 0, x_400); -lean_closure_set(x_401, 1, x_1); -lean_closure_set(x_401, 2, x_399); -lean_inc(x_395); -x_402 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_401, x_395, x_393); -if (lean_obj_tag(x_402) == 0) +x_404 = lean_alloc_closure((void*)(l_Lean_Elab_Term_trace___boxed), 5, 3); +lean_closure_set(x_404, 0, x_403); +lean_closure_set(x_404, 1, x_1); +lean_closure_set(x_404, 2, x_402); +lean_inc(x_398); +x_405 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_404, x_398, x_396); +if (lean_obj_tag(x_405) == 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; lean_object* x_411; lean_object* x_412; -x_403 = lean_ctor_get(x_402, 1); -lean_inc(x_403); -lean_dec(x_402); -x_404 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_405 = lean_ctor_get(x_404, 1); -lean_inc(x_405); -x_406 = lean_ctor_get(x_403, 0); +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; +x_406 = lean_ctor_get(x_405, 1); lean_inc(x_406); -x_407 = lean_ctor_get(x_406, 0); -lean_inc(x_407); -lean_dec(x_406); -x_408 = lean_ctor_get(x_407, 0); -lean_inc(x_408); -lean_dec(x_407); -x_409 = l_Lean_PersistentEnvExtension_getState___rarg(x_405, x_408); -lean_dec(x_408); lean_dec(x_405); -x_410 = lean_ctor_get(x_409, 1); +x_407 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_408 = lean_ctor_get(x_407, 1); +lean_inc(x_408); +x_409 = lean_ctor_get(x_406, 0); +lean_inc(x_409); +x_410 = lean_ctor_get(x_409, 0); lean_inc(x_410); lean_dec(x_409); +x_411 = lean_ctor_get(x_410, 0); +lean_inc(x_411); +lean_dec(x_410); +x_412 = l_Lean_PersistentEnvExtension_getState___rarg(x_408, x_411); +lean_dec(x_411); +lean_dec(x_408); +x_413 = lean_ctor_get(x_412, 1); +lean_inc(x_413); +lean_dec(x_412); lean_inc(x_1); -x_411 = l_Lean_Syntax_getKind(x_1); -x_412 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_410, x_411); -if (lean_obj_tag(x_412) == 0) +x_414 = l_Lean_Syntax_getKind(x_1); +x_415 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1(x_413, x_414); +if (lean_obj_tag(x_415) == 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; lean_object* x_419; -x_413 = l_Lean_Elab_Tactic_getCurrMacroScope(x_395, x_403); -x_414 = lean_ctor_get(x_413, 0); -lean_inc(x_414); -x_415 = lean_ctor_get(x_413, 1); -lean_inc(x_415); -lean_dec(x_413); -x_416 = l_Lean_Elab_Tactic_getEnv___rarg(x_415); +lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; +x_416 = l_Lean_Elab_Tactic_getCurrMacroScope(x_398, x_406); 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_Lean_Elab_Tactic_getEnv___rarg(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); lean_inc(x_1); -x_419 = l_Lean_Elab_expandMacro(x_417, x_1, x_414); -lean_dec(x_417); -if (lean_obj_tag(x_419) == 0) +x_422 = l_Lean_Elab_expandMacro(x_420, x_1, x_417); +lean_dec(x_420); +if (lean_obj_tag(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; lean_object* x_428; -lean_dec(x_389); -lean_dec(x_380); +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_dec(x_392); +lean_dec(x_383); +lean_dec(x_371); +lean_dec(x_370); lean_dec(x_369); lean_dec(x_368); lean_dec(x_367); @@ -6203,64 +6180,65 @@ lean_dec(x_365); lean_dec(x_364); lean_dec(x_363); lean_dec(x_362); -lean_dec(x_361); -lean_dec(x_360); -x_420 = l_System_FilePath_dirName___closed__1; -x_421 = l_Lean_Name_toStringWithSep___main(x_420, x_411); -x_422 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_422, 0, x_421); -x_423 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_423, 0, x_422); -x_424 = l_Lean_Meta_Exception_toMessageData___closed__45; -x_425 = lean_alloc_ctor(9, 2, 0); +x_423 = l_System_FilePath_dirName___closed__1; +x_424 = l_Lean_Name_toStringWithSep___main(x_423, x_414); +x_425 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_425, 0, x_424); -lean_ctor_set(x_425, 1, x_423); -x_426 = l_Lean_Elab_Term_elabTermAux___main___closed__6; -x_427 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_427, 0, x_425); -lean_ctor_set(x_427, 1, x_426); -x_428 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_427, x_395, x_418); -return x_428; +x_426 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_426, 0, x_425); +x_427 = l_Lean_Meta_Exception_toMessageData___closed__45; +x_428 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_428, 0, x_427); +lean_ctor_set(x_428, 1, x_426); +x_429 = l_Lean_Elab_Term_elabTermAux___main___closed__6; +x_430 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_430, 0, x_428); +lean_ctor_set(x_430, 1, x_429); +x_431 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_430, x_398, x_421); +return x_431; } else { -lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; -lean_dec(x_411); -lean_dec(x_395); -x_429 = lean_ctor_get(x_419, 0); -lean_inc(x_429); -lean_dec(x_419); -x_430 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_430, 0, x_1); -lean_ctor_set(x_430, 1, x_369); -x_431 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_431, 0, x_380); -lean_ctor_set(x_431, 1, x_362); -lean_ctor_set(x_431, 2, x_363); -lean_ctor_set(x_431, 3, x_364); -lean_ctor_set(x_431, 4, x_365); -lean_ctor_set(x_431, 5, x_366); -lean_ctor_set(x_431, 6, x_367); -lean_ctor_set(x_431, 7, x_368); -lean_ctor_set(x_431, 8, x_430); -lean_ctor_set(x_431, 9, x_389); -lean_ctor_set_uint8(x_431, sizeof(void*)*10, x_370); -x_432 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_432, 0, x_431); -lean_ctor_set(x_432, 1, x_360); -lean_ctor_set(x_432, 2, x_361); -x_1 = x_429; -x_2 = x_432; -x_3 = x_418; +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; +lean_dec(x_414); +lean_dec(x_398); +x_432 = lean_ctor_get(x_422, 0); +lean_inc(x_432); +lean_dec(x_422); +x_433 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_433, 0, x_1); +lean_ctor_set(x_433, 1, x_371); +x_434 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_434, 0, x_383); +lean_ctor_set(x_434, 1, x_364); +lean_ctor_set(x_434, 2, x_365); +lean_ctor_set(x_434, 3, x_366); +lean_ctor_set(x_434, 4, x_367); +lean_ctor_set(x_434, 5, x_368); +lean_ctor_set(x_434, 6, x_369); +lean_ctor_set(x_434, 7, x_370); +lean_ctor_set(x_434, 8, x_433); +lean_ctor_set(x_434, 9, x_392); +lean_ctor_set_uint8(x_434, sizeof(void*)*10, x_372); +lean_ctor_set_uint8(x_434, sizeof(void*)*10 + 1, x_373); +x_435 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_435, 0, x_434); +lean_ctor_set(x_435, 1, x_362); +lean_ctor_set(x_435, 2, x_363); +x_1 = x_432; +x_2 = x_435; +x_3 = x_421; goto _start; } } else { -lean_object* x_434; lean_object* x_435; -lean_dec(x_411); -lean_dec(x_389); -lean_dec(x_380); +lean_object* x_437; lean_object* x_438; +lean_dec(x_414); +lean_dec(x_392); +lean_dec(x_383); +lean_dec(x_371); +lean_dec(x_370); lean_dec(x_369); lean_dec(x_368); lean_dec(x_367); @@ -6269,60 +6247,22 @@ lean_dec(x_365); lean_dec(x_364); lean_dec(x_363); lean_dec(x_362); -lean_dec(x_361); -lean_dec(x_360); -x_434 = lean_ctor_get(x_412, 0); -lean_inc(x_434); -lean_dec(x_412); -lean_inc(x_403); -x_435 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_403, x_1, x_434, x_395, x_403); -return x_435; -} -} -else -{ -lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; -lean_dec(x_395); -lean_dec(x_389); -lean_dec(x_380); -lean_dec(x_369); -lean_dec(x_368); -lean_dec(x_367); -lean_dec(x_366); -lean_dec(x_365); -lean_dec(x_364); -lean_dec(x_363); -lean_dec(x_362); -lean_dec(x_361); -lean_dec(x_360); -lean_dec(x_1); -x_436 = lean_ctor_get(x_402, 0); -lean_inc(x_436); -x_437 = lean_ctor_get(x_402, 1); +x_437 = lean_ctor_get(x_415, 0); lean_inc(x_437); -if (lean_is_exclusive(x_402)) { - lean_ctor_release(x_402, 0); - lean_ctor_release(x_402, 1); - x_438 = x_402; -} else { - lean_dec_ref(x_402); - x_438 = lean_box(0); -} -if (lean_is_scalar(x_438)) { - x_439 = lean_alloc_ctor(1, 2, 0); -} else { - x_439 = x_438; -} -lean_ctor_set(x_439, 0, x_436); -lean_ctor_set(x_439, 1, x_437); -return x_439; +lean_dec(x_415); +lean_inc(x_406); +x_438 = l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_406, x_1, x_437, x_398, x_406); +return x_438; } } else { -lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; -lean_dec(x_389); -lean_dec(x_380); +lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; +lean_dec(x_398); +lean_dec(x_392); +lean_dec(x_383); +lean_dec(x_371); +lean_dec(x_370); lean_dec(x_369); lean_dec(x_368); lean_dec(x_367); @@ -6331,23 +6271,36 @@ lean_dec(x_365); lean_dec(x_364); lean_dec(x_363); lean_dec(x_362); -lean_dec(x_361); -lean_dec(x_360); -x_440 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_441 = lean_unsigned_to_nat(2u); -x_442 = lean_unsigned_to_nat(0u); -x_443 = lean_box(0); -x_444 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_441, x_440, x_442, x_443, x_395, x_393); -lean_dec(x_440); -return x_444; +x_439 = lean_ctor_get(x_405, 0); +lean_inc(x_439); +x_440 = lean_ctor_get(x_405, 1); +lean_inc(x_440); +if (lean_is_exclusive(x_405)) { + lean_ctor_release(x_405, 0); + lean_ctor_release(x_405, 1); + x_441 = x_405; +} else { + lean_dec_ref(x_405); + 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(x_442, 0, x_439); +lean_ctor_set(x_442, 1, x_440); +return x_442; } } else { -lean_object* x_445; lean_object* x_446; -lean_dec(x_389); -lean_dec(x_380); +lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; +lean_dec(x_392); +lean_dec(x_383); +lean_dec(x_371); +lean_dec(x_370); lean_dec(x_369); lean_dec(x_368); lean_dec(x_367); @@ -6356,11 +6309,34 @@ lean_dec(x_365); lean_dec(x_364); lean_dec(x_363); lean_dec(x_362); -lean_dec(x_361); -lean_dec(x_360); -x_445 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; -x_446 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_445, x_395, x_393); -return x_446; +x_443 = l_Lean_Syntax_getArgs(x_1); +lean_dec(x_1); +x_444 = lean_unsigned_to_nat(2u); +x_445 = lean_unsigned_to_nat(0u); +x_446 = lean_box(0); +x_447 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(x_444, x_443, x_445, x_446, x_398, x_396); +lean_dec(x_443); +return x_447; +} +} +else +{ +lean_object* x_448; lean_object* x_449; +lean_dec(x_392); +lean_dec(x_383); +lean_dec(x_371); +lean_dec(x_370); +lean_dec(x_369); +lean_dec(x_368); +lean_dec(x_367); +lean_dec(x_366); +lean_dec(x_365); +lean_dec(x_364); +lean_dec(x_363); +lean_dec(x_362); +x_448 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; +x_449 = l_Lean_Elab_Tactic_throwError___rarg(x_1, x_448, x_398, x_396); +return x_449; } } } @@ -6509,7 +6485,7 @@ 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; 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_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; 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; x_21 = lean_ctor_get(x_6, 1); x_22 = lean_ctor_get(x_6, 2); x_23 = lean_ctor_get(x_6, 3); @@ -6520,6 +6496,7 @@ x_27 = lean_ctor_get(x_6, 7); x_28 = lean_ctor_get(x_6, 8); x_29 = lean_ctor_get(x_6, 9); x_30 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); +x_31 = lean_ctor_get_uint8(x_6, sizeof(void*)*10 + 1); lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); @@ -6530,77 +6507,79 @@ lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); lean_dec(x_6); -x_31 = lean_ctor_get(x_7, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_7, 3); +x_32 = lean_ctor_get(x_7, 0); lean_inc(x_32); -x_33 = lean_ctor_get(x_7, 4); +x_33 = lean_ctor_get(x_7, 3); lean_inc(x_33); +x_34 = lean_ctor_get(x_7, 4); +lean_inc(x_34); if (lean_is_exclusive(x_7)) { lean_ctor_release(x_7, 0); lean_ctor_release(x_7, 1); lean_ctor_release(x_7, 2); lean_ctor_release(x_7, 3); lean_ctor_release(x_7, 4); - x_34 = x_7; + x_35 = x_7; } else { lean_dec_ref(x_7); - x_34 = lean_box(0); + x_35 = lean_box(0); } -if (lean_is_scalar(x_34)) { - x_35 = lean_alloc_ctor(0, 5, 0); +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 5, 0); } else { - x_35 = x_34; + x_36 = x_35; } -lean_ctor_set(x_35, 0, x_31); -lean_ctor_set(x_35, 1, x_1); -lean_ctor_set(x_35, 2, x_2); -lean_ctor_set(x_35, 3, x_32); -lean_ctor_set(x_35, 4, x_33); -x_36 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_21); -lean_ctor_set(x_36, 2, x_22); -lean_ctor_set(x_36, 3, x_23); -lean_ctor_set(x_36, 4, x_24); -lean_ctor_set(x_36, 5, x_25); -lean_ctor_set(x_36, 6, x_26); -lean_ctor_set(x_36, 7, x_27); -lean_ctor_set(x_36, 8, x_28); -lean_ctor_set(x_36, 9, x_29); -lean_ctor_set_uint8(x_36, sizeof(void*)*10, x_30); -lean_ctor_set(x_4, 0, x_36); -x_37 = lean_apply_2(x_3, x_4, x_5); -return x_37; +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_1); +lean_ctor_set(x_36, 2, x_2); +lean_ctor_set(x_36, 3, x_33); +lean_ctor_set(x_36, 4, x_34); +x_37 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_21); +lean_ctor_set(x_37, 2, x_22); +lean_ctor_set(x_37, 3, x_23); +lean_ctor_set(x_37, 4, x_24); +lean_ctor_set(x_37, 5, x_25); +lean_ctor_set(x_37, 6, x_26); +lean_ctor_set(x_37, 7, x_27); +lean_ctor_set(x_37, 8, x_28); +lean_ctor_set(x_37, 9, x_29); +lean_ctor_set_uint8(x_37, sizeof(void*)*10, x_30); +lean_ctor_set_uint8(x_37, sizeof(void*)*10 + 1, x_31); +lean_ctor_set(x_4, 0, x_37); +x_38 = lean_apply_2(x_3, x_4, x_5); +return x_38; } } 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; 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; -x_38 = lean_ctor_get(x_4, 1); -x_39 = lean_ctor_get(x_4, 2); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_4); -x_40 = lean_ctor_get(x_6, 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; 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; lean_object* x_60; +x_39 = lean_ctor_get(x_4, 1); +x_40 = lean_ctor_get(x_4, 2); lean_inc(x_40); -x_41 = lean_ctor_get(x_6, 2); +lean_inc(x_39); +lean_dec(x_4); +x_41 = lean_ctor_get(x_6, 1); lean_inc(x_41); -x_42 = lean_ctor_get(x_6, 3); +x_42 = lean_ctor_get(x_6, 2); lean_inc(x_42); -x_43 = lean_ctor_get(x_6, 4); +x_43 = lean_ctor_get(x_6, 3); lean_inc(x_43); -x_44 = lean_ctor_get(x_6, 5); +x_44 = lean_ctor_get(x_6, 4); lean_inc(x_44); -x_45 = lean_ctor_get(x_6, 6); +x_45 = lean_ctor_get(x_6, 5); lean_inc(x_45); -x_46 = lean_ctor_get(x_6, 7); +x_46 = lean_ctor_get(x_6, 6); lean_inc(x_46); -x_47 = lean_ctor_get(x_6, 8); +x_47 = lean_ctor_get(x_6, 7); lean_inc(x_47); -x_48 = lean_ctor_get(x_6, 9); +x_48 = lean_ctor_get(x_6, 8); lean_inc(x_48); -x_49 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); +x_49 = lean_ctor_get(x_6, 9); +lean_inc(x_49); +x_50 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); +x_51 = lean_ctor_get_uint8(x_6, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 0); lean_ctor_release(x_6, 1); @@ -6612,60 +6591,61 @@ if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 7); lean_ctor_release(x_6, 8); lean_ctor_release(x_6, 9); - x_50 = x_6; + x_52 = x_6; } else { lean_dec_ref(x_6); - x_50 = lean_box(0); + x_52 = lean_box(0); } -x_51 = lean_ctor_get(x_7, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_7, 3); -lean_inc(x_52); -x_53 = lean_ctor_get(x_7, 4); +x_53 = lean_ctor_get(x_7, 0); lean_inc(x_53); +x_54 = lean_ctor_get(x_7, 3); +lean_inc(x_54); +x_55 = lean_ctor_get(x_7, 4); +lean_inc(x_55); if (lean_is_exclusive(x_7)) { lean_ctor_release(x_7, 0); lean_ctor_release(x_7, 1); lean_ctor_release(x_7, 2); lean_ctor_release(x_7, 3); lean_ctor_release(x_7, 4); - x_54 = x_7; + x_56 = x_7; } else { lean_dec_ref(x_7); - x_54 = lean_box(0); + x_56 = lean_box(0); } -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(0, 5, 0); +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(0, 5, 0); } else { - x_55 = x_54; + x_57 = x_56; } -lean_ctor_set(x_55, 0, x_51); -lean_ctor_set(x_55, 1, x_1); -lean_ctor_set(x_55, 2, x_2); -lean_ctor_set(x_55, 3, x_52); -lean_ctor_set(x_55, 4, x_53); -if (lean_is_scalar(x_50)) { - x_56 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_57, 0, x_53); +lean_ctor_set(x_57, 1, x_1); +lean_ctor_set(x_57, 2, x_2); +lean_ctor_set(x_57, 3, x_54); +lean_ctor_set(x_57, 4, x_55); +if (lean_is_scalar(x_52)) { + x_58 = lean_alloc_ctor(0, 10, 2); } else { - x_56 = x_50; + x_58 = x_52; } -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_40); -lean_ctor_set(x_56, 2, x_41); -lean_ctor_set(x_56, 3, x_42); -lean_ctor_set(x_56, 4, x_43); -lean_ctor_set(x_56, 5, x_44); -lean_ctor_set(x_56, 6, x_45); -lean_ctor_set(x_56, 7, x_46); -lean_ctor_set(x_56, 8, x_47); -lean_ctor_set(x_56, 9, x_48); -lean_ctor_set_uint8(x_56, sizeof(void*)*10, x_49); -x_57 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_38); -lean_ctor_set(x_57, 2, x_39); -x_58 = lean_apply_2(x_3, x_57, x_5); -return x_58; +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_41); +lean_ctor_set(x_58, 2, x_42); +lean_ctor_set(x_58, 3, x_43); +lean_ctor_set(x_58, 4, x_44); +lean_ctor_set(x_58, 5, x_45); +lean_ctor_set(x_58, 6, x_46); +lean_ctor_set(x_58, 7, x_47); +lean_ctor_set(x_58, 8, x_48); +lean_ctor_set(x_58, 9, x_49); +lean_ctor_set_uint8(x_58, sizeof(void*)*10, x_50); +lean_ctor_set_uint8(x_58, sizeof(void*)*10 + 1, x_51); +x_59 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_39); +lean_ctor_set(x_59, 2, x_40); +x_60 = lean_apply_2(x_3, x_59, x_5); +return x_60; } } } @@ -9748,7 +9728,7 @@ return x_294; } 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; 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; uint8_t x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; +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; uint8_t 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; uint8_t x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; x_295 = lean_ctor_get(x_6, 1); x_296 = lean_ctor_get(x_6, 2); x_297 = lean_ctor_get(x_6, 3); @@ -9759,6 +9739,7 @@ x_301 = lean_ctor_get(x_6, 7); x_302 = lean_ctor_get(x_6, 8); x_303 = lean_ctor_get(x_6, 9); x_304 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); +x_305 = lean_ctor_get_uint8(x_6, sizeof(void*)*10 + 1); lean_inc(x_303); lean_inc(x_302); lean_inc(x_301); @@ -9769,177 +9750,156 @@ lean_inc(x_297); lean_inc(x_296); lean_inc(x_295); lean_dec(x_6); -x_305 = lean_ctor_get(x_7, 0); -lean_inc(x_305); -x_306 = lean_ctor_get(x_7, 2); +x_306 = lean_ctor_get(x_7, 0); lean_inc(x_306); -x_307 = lean_ctor_get(x_7, 3); +x_307 = lean_ctor_get(x_7, 2); lean_inc(x_307); -x_308 = lean_ctor_get(x_7, 4); +x_308 = lean_ctor_get(x_7, 3); lean_inc(x_308); +x_309 = lean_ctor_get(x_7, 4); +lean_inc(x_309); if (lean_is_exclusive(x_7)) { lean_ctor_release(x_7, 0); lean_ctor_release(x_7, 1); lean_ctor_release(x_7, 2); lean_ctor_release(x_7, 3); lean_ctor_release(x_7, 4); - x_309 = x_7; + x_310 = x_7; } else { lean_dec_ref(x_7); - x_309 = lean_box(0); + x_310 = lean_box(0); } -x_310 = lean_ctor_get(x_8, 1); -lean_inc(x_310); -x_311 = lean_ctor_get(x_8, 4); +x_311 = lean_ctor_get(x_8, 1); lean_inc(x_311); -x_312 = lean_array_get_size(x_306); -x_313 = lean_array_get_size(x_311); -x_314 = lean_nat_dec_eq(x_312, x_313); +x_312 = lean_ctor_get(x_8, 4); +lean_inc(x_312); +x_313 = lean_array_get_size(x_307); +x_314 = lean_array_get_size(x_312); +x_315 = lean_nat_dec_eq(x_313, x_314); +lean_dec(x_314); lean_dec(x_313); -lean_dec(x_312); -lean_inc(x_311); -if (lean_is_scalar(x_309)) { - x_315 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_312); +if (lean_is_scalar(x_310)) { + x_316 = lean_alloc_ctor(0, 5, 0); } else { - x_315 = x_309; + x_316 = x_310; } -lean_ctor_set(x_315, 0, x_305); -lean_ctor_set(x_315, 1, x_310); -lean_ctor_set(x_315, 2, x_311); -lean_ctor_set(x_315, 3, x_307); -lean_ctor_set(x_315, 4, x_308); -x_316 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_295); -lean_ctor_set(x_316, 2, x_296); -lean_ctor_set(x_316, 3, x_297); -lean_ctor_set(x_316, 4, x_298); -lean_ctor_set(x_316, 5, x_299); -lean_ctor_set(x_316, 6, x_300); -lean_ctor_set(x_316, 7, x_301); -lean_ctor_set(x_316, 8, x_302); -lean_ctor_set(x_316, 9, x_303); -lean_ctor_set_uint8(x_316, sizeof(void*)*10, x_304); -x_317 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_316, 0, x_306); +lean_ctor_set(x_316, 1, x_311); +lean_ctor_set(x_316, 2, x_312); +lean_ctor_set(x_316, 3, x_308); +lean_ctor_set(x_316, 4, x_309); +x_317 = lean_alloc_ctor(0, 10, 2); lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_10); -lean_ctor_set(x_317, 2, x_11); -if (x_314 == 0) +lean_ctor_set(x_317, 1, x_295); +lean_ctor_set(x_317, 2, x_296); +lean_ctor_set(x_317, 3, x_297); +lean_ctor_set(x_317, 4, x_298); +lean_ctor_set(x_317, 5, x_299); +lean_ctor_set(x_317, 6, x_300); +lean_ctor_set(x_317, 7, x_301); +lean_ctor_set(x_317, 8, x_302); +lean_ctor_set(x_317, 9, x_303); +lean_ctor_set_uint8(x_317, sizeof(void*)*10, x_304); +lean_ctor_set_uint8(x_317, sizeof(void*)*10 + 1, x_305); +x_318 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_318, 0, x_317); +lean_ctor_set(x_318, 1, x_10); +lean_ctor_set(x_318, 2, x_11); +if (x_315 == 0) { -lean_object* x_318; -lean_dec(x_311); -lean_dec(x_306); +lean_object* x_319; +lean_dec(x_312); +lean_dec(x_307); lean_dec(x_8); lean_dec(x_3); -x_318 = lean_apply_2(x_2, x_317, x_9); -return x_318; +x_319 = lean_apply_2(x_2, x_318, x_9); +return x_319; } else { -lean_object* x_319; uint8_t x_320; -x_319 = lean_unsigned_to_nat(0u); -x_320 = l_Array_isEqvAux___main___at_Lean_Elab_Tactic_withMVarContext___spec__1(x_3, x_8, lean_box(0), x_306, x_311, x_319); -lean_dec(x_311); -lean_dec(x_306); +lean_object* x_320; uint8_t x_321; +x_320 = lean_unsigned_to_nat(0u); +x_321 = l_Array_isEqvAux___main___at_Lean_Elab_Tactic_withMVarContext___spec__1(x_3, x_8, lean_box(0), x_307, x_312, x_320); +lean_dec(x_312); +lean_dec(x_307); lean_dec(x_8); lean_dec(x_3); -if (x_320 == 0) +if (x_321 == 0) { -lean_object* x_321; -x_321 = lean_apply_2(x_2, x_317, x_9); -return x_321; +lean_object* x_322; +x_322 = lean_apply_2(x_2, x_318, x_9); +return x_322; } 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; -x_322 = lean_ctor_get(x_9, 0); -lean_inc(x_322); -x_323 = lean_ctor_get(x_322, 0); +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_9, 0); lean_inc(x_323); -lean_dec(x_322); -x_324 = lean_ctor_get(x_323, 2); +x_324 = lean_ctor_get(x_323, 0); lean_inc(x_324); lean_dec(x_323); x_325 = lean_ctor_get(x_324, 2); lean_inc(x_325); lean_dec(x_324); -x_326 = l_Lean_Elab_Tactic_resetSynthInstanceCache___closed__1; -lean_inc(x_317); -x_327 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_326, x_317, x_9); -if (lean_obj_tag(x_327) == 0) +x_326 = lean_ctor_get(x_325, 2); +lean_inc(x_326); +lean_dec(x_325); +x_327 = l_Lean_Elab_Tactic_resetSynthInstanceCache___closed__1; +lean_inc(x_318); +x_328 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_327, x_318, x_9); +if (lean_obj_tag(x_328) == 0) { -lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_328 = lean_ctor_get(x_327, 1); -lean_inc(x_328); -lean_dec(x_327); -x_329 = l_Lean_Elab_Tactic_save(x_328); -lean_inc(x_328); -x_330 = lean_apply_2(x_2, x_317, x_328); -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_dec(x_329); +lean_object* x_329; lean_object* x_330; lean_object* x_331; +x_329 = lean_ctor_get(x_328, 1); +lean_inc(x_329); lean_dec(x_328); -x_331 = lean_ctor_get(x_330, 1); -lean_inc(x_331); -x_332 = lean_ctor_get(x_331, 0); +x_330 = l_Lean_Elab_Tactic_save(x_329); +lean_inc(x_329); +x_331 = lean_apply_2(x_2, x_318, x_329); +if (lean_obj_tag(x_331) == 0) +{ +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_dec(x_330); +lean_dec(x_329); +x_332 = lean_ctor_get(x_331, 1); lean_inc(x_332); x_333 = lean_ctor_get(x_332, 0); lean_inc(x_333); -x_334 = lean_ctor_get(x_333, 2); +x_334 = lean_ctor_get(x_333, 0); lean_inc(x_334); -x_335 = lean_ctor_get(x_330, 0); +x_335 = lean_ctor_get(x_334, 2); lean_inc(x_335); -if (lean_is_exclusive(x_330)) { - lean_ctor_release(x_330, 0); - lean_ctor_release(x_330, 1); - x_336 = x_330; -} else { - lean_dec_ref(x_330); - x_336 = lean_box(0); -} -x_337 = lean_ctor_get(x_331, 1); -lean_inc(x_337); +x_336 = lean_ctor_get(x_331, 0); +lean_inc(x_336); if (lean_is_exclusive(x_331)) { lean_ctor_release(x_331, 0); lean_ctor_release(x_331, 1); - x_338 = x_331; + x_337 = x_331; } else { lean_dec_ref(x_331); - x_338 = lean_box(0); + x_337 = lean_box(0); } -x_339 = lean_ctor_get(x_332, 1); -lean_inc(x_339); -x_340 = lean_ctor_get(x_332, 2); -lean_inc(x_340); -x_341 = lean_ctor_get(x_332, 3); -lean_inc(x_341); -x_342 = lean_ctor_get(x_332, 4); -lean_inc(x_342); -x_343 = lean_ctor_get(x_332, 5); -lean_inc(x_343); +x_338 = lean_ctor_get(x_332, 1); +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_344 = x_332; + x_339 = x_332; } else { lean_dec_ref(x_332); - x_344 = lean_box(0); + x_339 = lean_box(0); } -x_345 = lean_ctor_get(x_333, 0); -lean_inc(x_345); -x_346 = lean_ctor_get(x_333, 1); -lean_inc(x_346); -x_347 = lean_ctor_get(x_333, 3); -lean_inc(x_347); -x_348 = lean_ctor_get(x_333, 4); -lean_inc(x_348); -x_349 = lean_ctor_get(x_333, 5); -lean_inc(x_349); +x_340 = lean_ctor_get(x_333, 1); +lean_inc(x_340); +x_341 = lean_ctor_get(x_333, 2); +lean_inc(x_341); +x_342 = lean_ctor_get(x_333, 3); +lean_inc(x_342); +x_343 = lean_ctor_get(x_333, 4); +lean_inc(x_343); +x_344 = lean_ctor_get(x_333, 5); +lean_inc(x_344); if (lean_is_exclusive(x_333)) { lean_ctor_release(x_333, 0); lean_ctor_release(x_333, 1); @@ -9947,126 +9907,126 @@ if (lean_is_exclusive(x_333)) { lean_ctor_release(x_333, 3); lean_ctor_release(x_333, 4); lean_ctor_release(x_333, 5); - x_350 = x_333; + x_345 = x_333; } else { lean_dec_ref(x_333); - x_350 = lean_box(0); + x_345 = lean_box(0); } -x_351 = lean_ctor_get(x_334, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_334, 1); -lean_inc(x_352); +x_346 = lean_ctor_get(x_334, 0); +lean_inc(x_346); +x_347 = lean_ctor_get(x_334, 1); +lean_inc(x_347); +x_348 = lean_ctor_get(x_334, 3); +lean_inc(x_348); +x_349 = lean_ctor_get(x_334, 4); +lean_inc(x_349); +x_350 = lean_ctor_get(x_334, 5); +lean_inc(x_350); if (lean_is_exclusive(x_334)) { lean_ctor_release(x_334, 0); lean_ctor_release(x_334, 1); lean_ctor_release(x_334, 2); - x_353 = x_334; + lean_ctor_release(x_334, 3); + lean_ctor_release(x_334, 4); + lean_ctor_release(x_334, 5); + x_351 = x_334; } else { lean_dec_ref(x_334); - x_353 = lean_box(0); + x_351 = lean_box(0); } -if (lean_is_scalar(x_353)) { - x_354 = lean_alloc_ctor(0, 3, 0); +x_352 = lean_ctor_get(x_335, 0); +lean_inc(x_352); +x_353 = lean_ctor_get(x_335, 1); +lean_inc(x_353); +if (lean_is_exclusive(x_335)) { + lean_ctor_release(x_335, 0); + lean_ctor_release(x_335, 1); + lean_ctor_release(x_335, 2); + x_354 = x_335; } else { - x_354 = x_353; + lean_dec_ref(x_335); + x_354 = lean_box(0); } -lean_ctor_set(x_354, 0, x_351); -lean_ctor_set(x_354, 1, x_352); -lean_ctor_set(x_354, 2, x_325); -if (lean_is_scalar(x_350)) { - x_355 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_354)) { + x_355 = lean_alloc_ctor(0, 3, 0); } else { - x_355 = x_350; + x_355 = x_354; } -lean_ctor_set(x_355, 0, x_345); -lean_ctor_set(x_355, 1, x_346); -lean_ctor_set(x_355, 2, x_354); -lean_ctor_set(x_355, 3, x_347); -lean_ctor_set(x_355, 4, x_348); -lean_ctor_set(x_355, 5, x_349); -if (lean_is_scalar(x_344)) { +lean_ctor_set(x_355, 0, x_352); +lean_ctor_set(x_355, 1, x_353); +lean_ctor_set(x_355, 2, x_326); +if (lean_is_scalar(x_351)) { x_356 = lean_alloc_ctor(0, 6, 0); } else { - x_356 = x_344; + x_356 = x_351; } -lean_ctor_set(x_356, 0, x_355); -lean_ctor_set(x_356, 1, x_339); -lean_ctor_set(x_356, 2, x_340); -lean_ctor_set(x_356, 3, x_341); -lean_ctor_set(x_356, 4, x_342); -lean_ctor_set(x_356, 5, x_343); -if (lean_is_scalar(x_338)) { - x_357 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_356, 0, x_346); +lean_ctor_set(x_356, 1, x_347); +lean_ctor_set(x_356, 2, x_355); +lean_ctor_set(x_356, 3, x_348); +lean_ctor_set(x_356, 4, x_349); +lean_ctor_set(x_356, 5, x_350); +if (lean_is_scalar(x_345)) { + x_357 = lean_alloc_ctor(0, 6, 0); } else { - x_357 = x_338; + x_357 = x_345; } lean_ctor_set(x_357, 0, x_356); -lean_ctor_set(x_357, 1, x_337); -if (lean_is_scalar(x_336)) { +lean_ctor_set(x_357, 1, x_340); +lean_ctor_set(x_357, 2, x_341); +lean_ctor_set(x_357, 3, x_342); +lean_ctor_set(x_357, 4, x_343); +lean_ctor_set(x_357, 5, x_344); +if (lean_is_scalar(x_339)) { x_358 = lean_alloc_ctor(0, 2, 0); } else { - x_358 = x_336; + x_358 = x_339; } -lean_ctor_set(x_358, 0, x_335); -lean_ctor_set(x_358, 1, x_357); -return x_358; +lean_ctor_set(x_358, 0, x_357); +lean_ctor_set(x_358, 1, x_338); +if (lean_is_scalar(x_337)) { + x_359 = lean_alloc_ctor(0, 2, 0); +} else { + x_359 = x_337; +} +lean_ctor_set(x_359, 0, x_336); +lean_ctor_set(x_359, 1, x_358); +return x_359; } 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; 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; -x_359 = lean_ctor_get(x_330, 0); -lean_inc(x_359); -x_360 = lean_ctor_get(x_330, 1); +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; +x_360 = lean_ctor_get(x_331, 0); lean_inc(x_360); -if (lean_is_exclusive(x_330)) { - lean_ctor_release(x_330, 0); - lean_ctor_release(x_330, 1); - x_361 = x_330; +x_361 = lean_ctor_get(x_331, 1); +lean_inc(x_361); +if (lean_is_exclusive(x_331)) { + lean_ctor_release(x_331, 0); + lean_ctor_release(x_331, 1); + x_362 = x_331; } else { - lean_dec_ref(x_330); - x_361 = lean_box(0); + lean_dec_ref(x_331); + x_362 = lean_box(0); } -x_362 = l_Lean_Elab_Tactic_restore(x_360, x_329); -lean_dec(x_329); -x_363 = lean_ctor_get(x_362, 0); -lean_inc(x_363); -lean_dec(x_362); +x_363 = l_Lean_Elab_Tactic_restore(x_361, x_330); +lean_dec(x_330); x_364 = lean_ctor_get(x_363, 0); lean_inc(x_364); -x_365 = lean_ctor_get(x_364, 2); +lean_dec(x_363); +x_365 = lean_ctor_get(x_364, 0); lean_inc(x_365); -x_366 = lean_ctor_get(x_363, 1); +x_366 = lean_ctor_get(x_365, 2); lean_inc(x_366); -x_367 = lean_ctor_get(x_363, 2); +x_367 = lean_ctor_get(x_364, 1); lean_inc(x_367); -x_368 = lean_ctor_get(x_363, 3); +x_368 = lean_ctor_get(x_364, 2); lean_inc(x_368); -x_369 = lean_ctor_get(x_363, 4); +x_369 = lean_ctor_get(x_364, 3); lean_inc(x_369); -x_370 = lean_ctor_get(x_363, 5); +x_370 = lean_ctor_get(x_364, 4); lean_inc(x_370); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - lean_ctor_release(x_363, 2); - lean_ctor_release(x_363, 3); - lean_ctor_release(x_363, 4); - lean_ctor_release(x_363, 5); - x_371 = x_363; -} else { - lean_dec_ref(x_363); - x_371 = lean_box(0); -} -x_372 = lean_ctor_get(x_364, 0); -lean_inc(x_372); -x_373 = lean_ctor_get(x_364, 1); -lean_inc(x_373); -x_374 = lean_ctor_get(x_364, 3); -lean_inc(x_374); -x_375 = lean_ctor_get(x_364, 4); -lean_inc(x_375); -x_376 = lean_ctor_get(x_364, 5); -lean_inc(x_376); +x_371 = lean_ctor_get(x_364, 5); +lean_inc(x_371); if (lean_is_exclusive(x_364)) { lean_ctor_release(x_364, 0); lean_ctor_release(x_364, 1); @@ -10074,107 +10034,129 @@ if (lean_is_exclusive(x_364)) { lean_ctor_release(x_364, 3); lean_ctor_release(x_364, 4); lean_ctor_release(x_364, 5); - x_377 = x_364; + x_372 = x_364; } else { lean_dec_ref(x_364); - x_377 = lean_box(0); + x_372 = lean_box(0); } -x_378 = lean_ctor_get(x_365, 0); -lean_inc(x_378); -x_379 = lean_ctor_get(x_365, 1); -lean_inc(x_379); +x_373 = lean_ctor_get(x_365, 0); +lean_inc(x_373); +x_374 = lean_ctor_get(x_365, 1); +lean_inc(x_374); +x_375 = lean_ctor_get(x_365, 3); +lean_inc(x_375); +x_376 = lean_ctor_get(x_365, 4); +lean_inc(x_376); +x_377 = lean_ctor_get(x_365, 5); +lean_inc(x_377); if (lean_is_exclusive(x_365)) { lean_ctor_release(x_365, 0); lean_ctor_release(x_365, 1); lean_ctor_release(x_365, 2); - x_380 = x_365; + lean_ctor_release(x_365, 3); + lean_ctor_release(x_365, 4); + lean_ctor_release(x_365, 5); + x_378 = x_365; } else { lean_dec_ref(x_365); - x_380 = lean_box(0); + x_378 = lean_box(0); } -if (lean_is_scalar(x_380)) { - x_381 = lean_alloc_ctor(0, 3, 0); +x_379 = lean_ctor_get(x_366, 0); +lean_inc(x_379); +x_380 = lean_ctor_get(x_366, 1); +lean_inc(x_380); +if (lean_is_exclusive(x_366)) { + lean_ctor_release(x_366, 0); + lean_ctor_release(x_366, 1); + lean_ctor_release(x_366, 2); + x_381 = x_366; } else { - x_381 = x_380; + lean_dec_ref(x_366); + x_381 = lean_box(0); } -lean_ctor_set(x_381, 0, x_378); -lean_ctor_set(x_381, 1, x_379); -lean_ctor_set(x_381, 2, x_325); -if (lean_is_scalar(x_377)) { - x_382 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_381)) { + x_382 = lean_alloc_ctor(0, 3, 0); } else { - x_382 = x_377; + x_382 = x_381; } -lean_ctor_set(x_382, 0, x_372); -lean_ctor_set(x_382, 1, x_373); -lean_ctor_set(x_382, 2, x_381); -lean_ctor_set(x_382, 3, x_374); -lean_ctor_set(x_382, 4, x_375); -lean_ctor_set(x_382, 5, x_376); -if (lean_is_scalar(x_371)) { +lean_ctor_set(x_382, 0, x_379); +lean_ctor_set(x_382, 1, x_380); +lean_ctor_set(x_382, 2, x_326); +if (lean_is_scalar(x_378)) { x_383 = lean_alloc_ctor(0, 6, 0); } else { - x_383 = x_371; + x_383 = x_378; } -lean_ctor_set(x_383, 0, x_382); -lean_ctor_set(x_383, 1, x_366); -lean_ctor_set(x_383, 2, x_367); -lean_ctor_set(x_383, 3, x_368); -lean_ctor_set(x_383, 4, x_369); -lean_ctor_set(x_383, 5, x_370); -x_384 = lean_ctor_get(x_328, 1); -lean_inc(x_384); -if (lean_is_exclusive(x_328)) { - lean_ctor_release(x_328, 0); - lean_ctor_release(x_328, 1); - x_385 = x_328; +lean_ctor_set(x_383, 0, x_373); +lean_ctor_set(x_383, 1, x_374); +lean_ctor_set(x_383, 2, x_382); +lean_ctor_set(x_383, 3, x_375); +lean_ctor_set(x_383, 4, x_376); +lean_ctor_set(x_383, 5, x_377); +if (lean_is_scalar(x_372)) { + x_384 = lean_alloc_ctor(0, 6, 0); } else { - lean_dec_ref(x_328); - x_385 = lean_box(0); + x_384 = x_372; } -if (lean_is_scalar(x_385)) { - x_386 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_384, 0, x_383); +lean_ctor_set(x_384, 1, x_367); +lean_ctor_set(x_384, 2, x_368); +lean_ctor_set(x_384, 3, x_369); +lean_ctor_set(x_384, 4, x_370); +lean_ctor_set(x_384, 5, x_371); +x_385 = lean_ctor_get(x_329, 1); +lean_inc(x_385); +if (lean_is_exclusive(x_329)) { + lean_ctor_release(x_329, 0); + lean_ctor_release(x_329, 1); + x_386 = x_329; } else { - x_386 = x_385; + lean_dec_ref(x_329); + x_386 = lean_box(0); } -lean_ctor_set(x_386, 0, x_383); -lean_ctor_set(x_386, 1, x_384); -if (lean_is_scalar(x_361)) { - x_387 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_386)) { + x_387 = lean_alloc_ctor(0, 2, 0); } else { - x_387 = x_361; + x_387 = x_386; } -lean_ctor_set(x_387, 0, x_359); -lean_ctor_set(x_387, 1, x_386); -return x_387; +lean_ctor_set(x_387, 0, x_384); +lean_ctor_set(x_387, 1, x_385); +if (lean_is_scalar(x_362)) { + x_388 = lean_alloc_ctor(1, 2, 0); +} else { + x_388 = x_362; +} +lean_ctor_set(x_388, 0, x_360); +lean_ctor_set(x_388, 1, x_387); +return x_388; } } else { -lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; -lean_dec(x_325); -lean_dec(x_317); +lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; +lean_dec(x_326); +lean_dec(x_318); lean_dec(x_2); -x_388 = lean_ctor_get(x_327, 0); -lean_inc(x_388); -x_389 = lean_ctor_get(x_327, 1); +x_389 = lean_ctor_get(x_328, 0); lean_inc(x_389); -if (lean_is_exclusive(x_327)) { - lean_ctor_release(x_327, 0); - lean_ctor_release(x_327, 1); - x_390 = x_327; +x_390 = lean_ctor_get(x_328, 1); +lean_inc(x_390); +if (lean_is_exclusive(x_328)) { + lean_ctor_release(x_328, 0); + lean_ctor_release(x_328, 1); + x_391 = x_328; } else { - lean_dec_ref(x_327); - x_390 = lean_box(0); + lean_dec_ref(x_328); + x_391 = lean_box(0); } -if (lean_is_scalar(x_390)) { - x_391 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_391)) { + x_392 = lean_alloc_ctor(1, 2, 0); } else { - x_391 = x_390; + x_392 = x_391; } -lean_ctor_set(x_391, 0, x_388); -lean_ctor_set(x_391, 1, x_389); -return x_391; +lean_ctor_set(x_392, 0, x_389); +lean_ctor_set(x_392, 1, x_390); +return x_392; } } } @@ -11138,32 +11120,22 @@ return x_4; lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; -x_2 = l_Lean_Parser_Term_seq___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__2() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("evalSeq"); return x_1; } } -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__3() { +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; -x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__2; +x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__4() { +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__3() { _start: { lean_object* x_1; @@ -11175,9 +11147,9 @@ lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__1; -x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__3; -x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__4; +x_2 = l_Lean_Parser_Tactic_seq___elambda__1___closed__3; +x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__2; +x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__3; x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); return x_5; } @@ -11279,32 +11251,22 @@ return x_4; lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; -x_2 = l_Lean_Meta_assumptionAux___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__2() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("evalAssumption"); return x_1; } } -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__3() { +lean_object* _init_l___regBuiltinTactic_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_declareBuiltinTactic___closed__3; -x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__2; +x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__4() { +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__3() { _start: { lean_object* x_1; @@ -11316,9 +11278,9 @@ lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption(lean_object* x _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__1; -x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__3; -x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__4; +x_2 = l_Lean_Parser_Tactic_assumption___elambda__1___closed__2; +x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__2; +x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__3; x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); return x_5; } @@ -11460,21 +11422,11 @@ return x_19; } } } -lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; -x_2 = l_Lean_Parser_Tactic_intro___elambda__1___closed__1; -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) { _start: { uint8_t x_4; lean_object* x_73; uint8_t x_74; -x_73 = l_Lean_Elab_Tactic_evalIntro___closed__1; +x_73 = l_Lean_Parser_Tactic_intro___elambda__1___closed__2; lean_inc(x_1); x_74 = l_Lean_Syntax_isOfKind(x_1, x_73); if (x_74 == 0) @@ -11814,640 +11766,65 @@ lean_object* l___regBuiltinTactic_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; -x_2 = l_Lean_Elab_Tactic_evalIntro___closed__1; +x_2 = l_Lean_Parser_Tactic_intro___elambda__1___closed__2; x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro___closed__2; x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro___closed__3; x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); return x_5; } } -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* l_Lean_Elab_Tactic_evalParen(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_4, 2); -lean_inc(x_7); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_7); -lean_inc(x_5); -lean_inc(x_8); -x_9 = l_Lean_Elab_Tactic_elabTerm(x_1, x_8, x_5, x_6); -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_5); -lean_inc(x_2); -x_12 = l_Lean_Elab_Tactic_ensureHasType(x_2, x_8, x_10, x_5, 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_5); -lean_inc(x_13); -x_15 = l_Lean_Elab_Tactic_ensureHasNoMVars(x_2, x_13, x_5, x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Lean_Elab_Tactic_assignExprMVar(x_3, x_13, x_5, x_16); -return x_17; -} -else -{ -uint8_t x_18; -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_18 = !lean_is_exclusive(x_15); -if (x_18 == 0) -{ -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -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(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -else -{ -uint8_t x_22; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -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; -} -} -} -else -{ -uint8_t x_26; -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_26 = !lean_is_exclusive(x_9); -if (x_26 == 0) -{ -return x_9; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_9, 0); -x_28 = lean_ctor_get(x_9, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_9); -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* _init_l_Lean_Elab_Tactic_evalExact___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; -x_2 = l_Lean_Parser_Tactic_exact___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Tactic_evalExact(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_29; uint8_t x_30; -x_29 = l_Lean_Elab_Tactic_evalExact___closed__1; -lean_inc(x_1); -x_30 = l_Lean_Syntax_isOfKind(x_1, x_29); -if (x_30 == 0) -{ -uint8_t x_31; -x_31 = 0; -x_4 = x_31; -goto block_28; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_32 = l_Lean_Syntax_getArgs(x_1); -x_33 = lean_array_get_size(x_32); -lean_dec(x_32); -x_34 = lean_unsigned_to_nat(2u); -x_35 = lean_nat_dec_eq(x_33, x_34); -lean_dec(x_33); -x_4 = x_35; -goto block_28; -} -block_28: -{ -uint8_t x_5; -x_5 = l_coeDecidableEq(x_4); -if (x_5 == 0) -{ -lean_object* x_6; -lean_dec(x_1); -x_6 = l_Lean_Elab_Tactic_throwUnsupportedSyntax___rarg(x_2, x_3); +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_unsigned_to_nat(1u); +x_5 = l_Lean_Syntax_getArg(x_1, x_4); +x_6 = l_Lean_Elab_Tactic_evalTactic___main(x_5, x_2, x_3); return x_6; } -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_unsigned_to_nat(1u); -x_8 = l_Lean_Syntax_getArg(x_1, x_7); -lean_inc(x_2); -lean_inc(x_1); -x_9 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3); -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_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_10, 1); -lean_inc(x_13); -lean_dec(x_10); -lean_inc(x_12); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_getMVarDecl___boxed), 3, 1); -lean_closure_set(x_14, 0, x_12); -lean_inc(x_12); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalExact___lambda__1___boxed), 6, 3); -lean_closure_set(x_15, 0, x_8); -lean_closure_set(x_15, 1, x_1); -lean_closure_set(x_15, 2, x_12); -x_16 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg), 4, 2); -lean_closure_set(x_16, 0, x_14); -lean_closure_set(x_16, 1, x_15); -lean_inc(x_2); -x_17 = l_Lean_Elab_Tactic_withMVarContext___rarg(x_12, x_16, x_2, x_11); -lean_dec(x_12); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = l_Lean_Elab_Tactic_setGoals(x_13, x_2, x_18); -lean_dec(x_2); -return x_19; } -else -{ -uint8_t x_20; -lean_dec(x_13); -lean_dec(x_2); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) -{ -return x_17; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_17, 0); -x_22 = lean_ctor_get(x_17, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_17); -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_2); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_9); -if (x_24 == 0) -{ -return x_9; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_9, 0); -x_26 = lean_ctor_get(x_9, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_9); -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_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* l_Lean_Elab_Tactic_evalParen___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_7; -x_7 = l_Lean_Elab_Tactic_evalExact___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_4); -return x_7; +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_evalParen(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; } } -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1() { +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("evalExact"); +x_1 = lean_mk_string("evalParen"); return x_1; } } -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2() { +lean_object* _init_l___regBuiltinTactic_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_declareBuiltinTactic___closed__3; -x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1; +x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3() { +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalExact), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalParen___boxed), 3, 0); return x_1; } } -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalExact(lean_object* x_1) { +lean_object* l___regBuiltinTactic_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; -x_2 = l_Lean_Elab_Tactic_evalExact___closed__1; -x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2; -x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3; -x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_Tactic_evalRefine___lambda__1(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; -x_7 = lean_ctor_get(x_4, 2); -lean_inc(x_7); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_7); -lean_inc(x_5); -lean_inc(x_8); -x_9 = l_Lean_Elab_Tactic_elabTerm(x_1, x_8, x_5, x_6); -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_5); -lean_inc(x_2); -x_12 = l_Lean_Elab_Tactic_ensureHasType(x_2, x_8, x_10, x_5, 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_5); -lean_inc(x_13); -x_15 = l_Lean_Elab_Tactic_assignExprMVar(x_3, x_13, x_5, x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Lean_Elab_Tactic_collectMVars(x_2, x_13, x_5, x_16); -return x_17; -} -else -{ -uint8_t x_18; -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_2); -x_18 = !lean_is_exclusive(x_15); -if (x_18 == 0) -{ -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -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(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -else -{ -uint8_t x_22; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -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; -} -} -} -else -{ -uint8_t x_26; -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_26 = !lean_is_exclusive(x_9); -if (x_26 == 0) -{ -return x_9; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_9, 0); -x_28 = lean_ctor_get(x_9, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_9); -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* _init_l_Lean_Elab_Tactic_evalRefine___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; -x_2 = l_Lean_Parser_Tactic_refine___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Tactic_evalRefine(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_31; uint8_t x_32; -x_31 = l_Lean_Elab_Tactic_evalRefine___closed__1; -lean_inc(x_1); -x_32 = l_Lean_Syntax_isOfKind(x_1, x_31); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = 0; -x_4 = x_33; -goto block_30; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_34 = l_Lean_Syntax_getArgs(x_1); -x_35 = lean_array_get_size(x_34); -lean_dec(x_34); -x_36 = lean_unsigned_to_nat(2u); -x_37 = lean_nat_dec_eq(x_35, x_36); -lean_dec(x_35); -x_4 = x_37; -goto block_30; -} -block_30: -{ -uint8_t x_5; -x_5 = l_coeDecidableEq(x_4); -if (x_5 == 0) -{ -lean_object* x_6; -lean_dec(x_1); -x_6 = l_Lean_Elab_Tactic_throwUnsupportedSyntax___rarg(x_2, x_3); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_unsigned_to_nat(1u); -x_8 = l_Lean_Syntax_getArg(x_1, x_7); -lean_inc(x_2); -lean_inc(x_1); -x_9 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3); -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_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_10, 1); -lean_inc(x_13); -lean_dec(x_10); -lean_inc(x_12); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_getMVarDecl___boxed), 3, 1); -lean_closure_set(x_14, 0, x_12); -lean_inc(x_12); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRefine___lambda__1___boxed), 6, 3); -lean_closure_set(x_15, 0, x_8); -lean_closure_set(x_15, 1, x_1); -lean_closure_set(x_15, 2, x_12); -x_16 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg), 4, 2); -lean_closure_set(x_16, 0, x_14); -lean_closure_set(x_16, 1, x_15); -lean_inc(x_2); -x_17 = l_Lean_Elab_Tactic_withMVarContext___rarg(x_12, x_16, x_2, x_11); -lean_dec(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; -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_append___rarg(x_18, x_13); -x_21 = l_Lean_Elab_Tactic_setGoals(x_20, x_2, x_19); -lean_dec(x_2); -return x_21; -} -else -{ -uint8_t x_22; -lean_dec(x_13); -lean_dec(x_2); -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; -} -} -} -else -{ -uint8_t x_26; -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_26 = !lean_is_exclusive(x_9); -if (x_26 == 0) -{ -return x_9; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_9, 0); -x_28 = lean_ctor_get(x_9, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_9); -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_Tactic_evalRefine___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_Tactic_evalRefine___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_4); -return x_7; -} -} -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("evalRefine"); -return x_1; -} -} -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; -x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRefine), 3, 0); -return x_1; -} -} -lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine(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_Elab_Tactic_evalRefine___closed__1; -x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2; -x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3; +x_2 = l_Lean_Parser_Tactic_paren___elambda__1___closed__1; +x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__2; +x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__3; x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); return x_5; } @@ -12467,32 +11844,22 @@ return x_7; lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; -x_2 = l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__2() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("evalNestedTacticBlock"); return x_1; } } -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__3() { +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; -x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__2; +x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__4() { +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__3() { _start: { lean_object* x_1; @@ -12504,9 +11871,9 @@ lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock(lean_ob _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__1; -x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__3; -x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__4; +x_2 = l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__2; +x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__2; +x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__3; x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); return x_5; } @@ -12522,32 +11889,22 @@ return x_4; lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; -x_2 = l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__2() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("evalNestedTacticBlockCurly"); return x_1; } } -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__3() { +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; -x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__2; +x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__4() { +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__3() { _start: { lean_object* x_1; @@ -12559,9 +11916,9 @@ lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly(le _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__1; -x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__3; -x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__4; +x_2 = l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1___closed__2; +x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__2; +x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__3; x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); return x_5; } @@ -12732,21 +12089,11 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3; -x_2 = l_Lean_Parser_Tactic_case___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_Elab_Tactic_evalCase(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_45; uint8_t x_46; -x_45 = l_Lean_Elab_Tactic_evalCase___closed__4; +x_45 = l_Lean_Parser_Tactic_case___elambda__1___closed__2; lean_inc(x_1); x_46 = l_Lean_Syntax_isOfKind(x_1, x_45); if (x_46 == 0) @@ -12984,13 +12331,149 @@ lean_object* l___regBuiltinTactic_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; -x_2 = l_Lean_Elab_Tactic_evalCase___closed__4; +x_2 = l_Lean_Parser_Tactic_case___elambda__1___closed__2; x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalCase___closed__2; x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalCase___closed__3; x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* l_Lean_Elab_Tactic_evalOrelse(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_1); +x_7 = l_Lean_Elab_Tactic_throwUnsupportedSyntax___rarg(x_2, x_3); +return x_7; +} +else +{ +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_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_Elab_Tactic_save(x_3); +lean_inc(x_2); +x_13 = l_Lean_Elab_Tactic_evalTactic___main(x_9, x_2, x_3); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_2); +return x_13; +} +else +{ +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 = l_Lean_Elab_Tactic_restore(x_14, x_12); +lean_dec(x_12); +x_16 = l_Lean_Elab_Tactic_evalTactic___main(x_11, x_2, x_15); +return x_16; +} +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; +x_17 = l_Lean_Syntax_getArgs(x_1); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = lean_unsigned_to_nat(3u); +x_20 = lean_nat_dec_eq(x_18, x_19); +lean_dec(x_18); +x_21 = l_coeDecidableEq(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_1); +x_22 = l_Lean_Elab_Tactic_throwUnsupportedSyntax___rarg(x_2, 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; +x_23 = lean_unsigned_to_nat(0u); +x_24 = l_Lean_Syntax_getArg(x_1, x_23); +x_25 = lean_unsigned_to_nat(2u); +x_26 = l_Lean_Syntax_getArg(x_1, x_25); +lean_dec(x_1); +x_27 = l_Lean_Elab_Tactic_save(x_3); +lean_inc(x_2); +x_28 = l_Lean_Elab_Tactic_evalTactic___main(x_24, x_2, x_3); +if (lean_obj_tag(x_28) == 0) +{ +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_2); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = l_Lean_Elab_Tactic_restore(x_29, x_27); +lean_dec(x_27); +x_31 = l_Lean_Elab_Tactic_evalTactic___main(x_26, x_2, x_30); +return x_31; +} +} +} +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalOrelse"); +return x_1; +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; +x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalOrelse), 3, 0); +return x_1; +} +} +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse(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_Tactic_orelse___elambda__1___closed__1; +x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__2; +x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__3; +x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* _init_l___private_Init_Lean_Elab_Tactic_Basic_2__regTraceClasses___closed__1() { _start: { @@ -13058,10 +12541,10 @@ return x_13; } } lean_object* initialize_Init_Lean_Util_CollectMVars(lean_object*); -lean_object* initialize_Init_Lean_Elab_Util(lean_object*); -lean_object* initialize_Init_Lean_Elab_Term(lean_object*); lean_object* initialize_Init_Lean_Meta_Tactic_Assumption(lean_object*); lean_object* initialize_Init_Lean_Meta_Tactic_Intro(lean_object*); +lean_object* initialize_Init_Lean_Elab_Util(lean_object*); +lean_object* initialize_Init_Lean_Elab_Term(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Lean_Elab_Tactic_Basic(lean_object* w) { lean_object * res; @@ -13070,18 +12553,18 @@ _G_initialized = true; res = initialize_Init_Lean_Util_CollectMVars(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Init_Lean_Elab_Util(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_Lean_Elab_Term(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); res = initialize_Init_Lean_Meta_Tactic_Assumption(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = initialize_Init_Lean_Meta_Tactic_Intro(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Lean_Elab_Util(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Lean_Elab_Term(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Term_reportUnsolvedGoals___closed__1 = _init_l_Lean_Elab_Term_reportUnsolvedGoals___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_reportUnsolvedGoals___closed__1); l_Lean_Elab_Term_reportUnsolvedGoals___closed__2 = _init_l_Lean_Elab_Term_reportUnsolvedGoals___closed__2(); @@ -13179,8 +12662,6 @@ l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3 = _init_l_L lean_mark_persistent(l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__3); l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__4 = _init_l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__4(); lean_mark_persistent(l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__4); -l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__5 = _init_l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__5); l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__1 = _init_l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__1); l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__2 = _init_l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__2(); @@ -13217,8 +12698,6 @@ l_Lean_Elab_Tactic_evalTactic___main___closed__2 = _init_l_Lean_Elab_Tactic_eval lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___main___closed__2); l_Lean_Elab_Tactic_evalTactic___main___closed__3 = _init_l_Lean_Elab_Tactic_evalTactic___main___closed__3(); lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___main___closed__3); -l_Lean_Elab_Tactic_evalTactic___main___closed__4 = _init_l_Lean_Elab_Tactic_evalTactic___main___closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___main___closed__4); l_Lean_Elab_Tactic_resetSynthInstanceCache___closed__1 = _init_l_Lean_Elab_Tactic_resetSynthInstanceCache___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_resetSynthInstanceCache___closed__1); l_Lean_Elab_Tactic_getMainGoal___closed__1 = _init_l_Lean_Elab_Tactic_getMainGoal___closed__1(); @@ -13239,8 +12718,6 @@ l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__2 = _init_l___regBuiltin lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__2); l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__3 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__3(); lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__3); -l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__4 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__4(); -lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__4); res = l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -13252,13 +12729,9 @@ l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__2 = _init_l___reg lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__2); l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__3 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__3(); lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__3); -l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__4 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__4(); -lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__4); res = l___regBuiltinTactic_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_evalIntro___closed__1 = _init_l_Lean_Elab_Tactic_evalIntro___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalIntro___closed__1); l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro___closed__1 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro___closed__1(); lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro___closed__1); l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro___closed__2 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro___closed__2(); @@ -13268,26 +12741,13 @@ lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro___closed__3 res = l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -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___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1(); -lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1); -l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2(); -lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2); -l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3(); -lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3); -res = l___regBuiltinTactic_Lean_Elab_Tactic_evalExact(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Elab_Tactic_evalRefine___closed__1 = _init_l_Lean_Elab_Tactic_evalRefine___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalRefine___closed__1); -l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1(); -lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1); -l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2(); -lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2); -l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3(); -lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3); -res = l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine(lean_io_mk_world()); +l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__1 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__1(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__1); +l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__2 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__2(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__2); +l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__3 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__3(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__3); +res = l___regBuiltinTactic_Lean_Elab_Tactic_evalParen(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__1 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__1(); @@ -13296,8 +12756,6 @@ l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__2 = _init_ lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__2); l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__3 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__3(); lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__3); -l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__4 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__4(); -lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__4); res = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -13307,8 +12765,6 @@ l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__2 = _ lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__2); l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__3 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__3(); lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__3); -l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__4 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__4(); -lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly___closed__4); res = l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlockCurly(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -13318,8 +12774,6 @@ l_Lean_Elab_Tactic_evalCase___closed__2 = _init_l_Lean_Elab_Tactic_evalCase___cl 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___regBuiltinTactic_Lean_Elab_Tactic_evalCase___closed__1 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalCase___closed__1(); lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalCase___closed__1); l___regBuiltinTactic_Lean_Elab_Tactic_evalCase___closed__2 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalCase___closed__2(); @@ -13329,6 +12783,15 @@ lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalCase___closed__3) res = l___regBuiltinTactic_Lean_Elab_Tactic_evalCase(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__1 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__1(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__1); +l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__2 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__2(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__2); +l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__3 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__3(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__3); +res = l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l___private_Init_Lean_Elab_Tactic_Basic_2__regTraceClasses___closed__1 = _init_l___private_Init_Lean_Elab_Tactic_Basic_2__regTraceClasses___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_Tactic_Basic_2__regTraceClasses___closed__1); res = l___private_Init_Lean_Elab_Tactic_Basic_2__regTraceClasses(lean_io_mk_world()); diff --git a/stage0/stdlib/Init/Lean/Elab/Tactic/ElabTerm.c b/stage0/stdlib/Init/Lean/Elab/Tactic/ElabTerm.c new file mode 100644 index 0000000000..ac72e158f4 --- /dev/null +++ b/stage0/stdlib/Init/Lean/Elab/Tactic/ElabTerm.c @@ -0,0 +1,922 @@ +// Lean compiler output +// Module: Init.Lean.Elab.Tactic.ElabTerm +// Imports: Init.Lean.Elab.Tactic.Basic Init.Lean.Elab.SynthesizeSyntheticMVars +#include "runtime/lean.h" +#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_Tactic_withMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1; +lean_object* l_List_append___rarg(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRefine(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalExact(lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3; +lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; +lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine(lean_object*); +lean_object* l_Lean_Elab_Tactic_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*); +uint8_t l_coeDecidableEq(uint8_t); +lean_object* l_Lean_Elab_Tactic_evalExact___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalExact___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_elabTerm___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRefine___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1; +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2; +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRefine___lambda__1(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* l_Lean_Elab_Tactic_addBuiltinTactic(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_10__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_elabTerm(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__2; +lean_object* l_Lean_Elab_Tactic_ensureHasType(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_Tactic_throwUnsupportedSyntax___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_collectMVars(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2; +extern lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__2; +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3; +lean_object* l_Lean_Elab_Tactic_evalExact(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_elabTerm___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +uint8_t x_6; uint8_t x_7; lean_object* x_8; +x_6 = 0; +lean_ctor_set_uint8(x_3, sizeof(void*)*10 + 1, x_6); +x_7 = 1; +lean_inc(x_3); +lean_inc(x_2); +x_8 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_7, x_2, x_3, x_4); +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, 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); +lean_inc(x_3); +x_12 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_10__synthesizeSyntheticMVarsAux___main(x_6, x_11, x_3, x_10); +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_Term_instantiateMVars(x_2, x_9, x_3, x_13); +lean_dec(x_2); +return x_14; +} +else +{ +uint8_t x_15; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +x_15 = !lean_is_exclusive(x_12); +if (x_15 == 0) +{ +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +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_17); +return x_18; +} +} +} +else +{ +uint8_t x_19; +lean_dec(x_3); +lean_dec(x_2); +x_19 = !lean_is_exclusive(x_8); +if (x_19 == 0) +{ +return x_8; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_8, 0); +x_21 = lean_ctor_get(x_8, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_8); +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_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; uint8_t x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; +x_23 = lean_ctor_get(x_3, 0); +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 = lean_ctor_get(x_3, 4); +x_28 = lean_ctor_get(x_3, 5); +x_29 = lean_ctor_get(x_3, 6); +x_30 = lean_ctor_get(x_3, 7); +x_31 = lean_ctor_get(x_3, 8); +x_32 = lean_ctor_get(x_3, 9); +x_33 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +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_inc(x_24); +lean_inc(x_23); +lean_dec(x_3); +x_34 = 0; +x_35 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_35, 0, x_23); +lean_ctor_set(x_35, 1, x_24); +lean_ctor_set(x_35, 2, x_25); +lean_ctor_set(x_35, 3, x_26); +lean_ctor_set(x_35, 4, x_27); +lean_ctor_set(x_35, 5, x_28); +lean_ctor_set(x_35, 6, x_29); +lean_ctor_set(x_35, 7, x_30); +lean_ctor_set(x_35, 8, x_31); +lean_ctor_set(x_35, 9, x_32); +lean_ctor_set_uint8(x_35, sizeof(void*)*10, x_33); +lean_ctor_set_uint8(x_35, sizeof(void*)*10 + 1, x_34); +x_36 = 1; +lean_inc(x_35); +lean_inc(x_2); +x_37 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_36, x_2, x_35, x_4); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +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_box(0); +lean_inc(x_35); +x_41 = l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_10__synthesizeSyntheticMVarsAux___main(x_34, x_40, x_35, x_39); +if (lean_obj_tag(x_41) == 0) +{ +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_Elab_Term_instantiateMVars(x_2, x_38, x_35, x_42); +lean_dec(x_2); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_38); +lean_dec(x_35); +lean_dec(x_2); +x_44 = lean_ctor_get(x_41, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_46 = x_41; +} else { + lean_dec_ref(x_41); + x_46 = lean_box(0); +} +if (lean_is_scalar(x_46)) { + x_47 = lean_alloc_ctor(1, 2, 0); +} else { + x_47 = x_46; +} +lean_ctor_set(x_47, 0, x_44); +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; +lean_dec(x_35); +lean_dec(x_2); +x_48 = lean_ctor_get(x_37, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_37, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_50 = x_37; +} else { + lean_dec_ref(x_37); + 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; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_elabTerm(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_Tactic_elabTerm___lambda__1), 4, 2); +lean_closure_set(x_5, 0, x_2); +lean_closure_set(x_5, 1, x_1); +x_6 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_5, x_3, x_4); +return x_6; +} +} +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) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_4, 2); +lean_inc(x_7); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +lean_inc(x_5); +lean_inc(x_8); +x_9 = l_Lean_Elab_Tactic_elabTerm(x_1, x_8, x_5, x_6); +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_5); +lean_inc(x_2); +x_12 = l_Lean_Elab_Tactic_ensureHasType(x_2, x_8, x_10, x_5, 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_5); +lean_inc(x_13); +x_15 = l_Lean_Elab_Tactic_ensureHasNoMVars(x_2, x_13, x_5, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Lean_Elab_Tactic_assignExprMVar(x_3, x_13, x_5, x_16); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) +{ +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +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(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +else +{ +uint8_t x_22; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +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; +} +} +} +else +{ +uint8_t x_26; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_26 = !lean_is_exclusive(x_9); +if (x_26 == 0) +{ +return x_9; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_9, 0); +x_28 = lean_ctor_get(x_9, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_9); +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_Tactic_evalExact(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_Parser_Tactic_exact___elambda__1___closed__2; +lean_inc(x_1); +x_30 = l_Lean_Syntax_isOfKind(x_1, x_29); +if (x_30 == 0) +{ +uint8_t x_31; +x_31 = 0; +x_4 = x_31; +goto block_28; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_32 = l_Lean_Syntax_getArgs(x_1); +x_33 = lean_array_get_size(x_32); +lean_dec(x_32); +x_34 = lean_unsigned_to_nat(2u); +x_35 = lean_nat_dec_eq(x_33, x_34); +lean_dec(x_33); +x_4 = x_35; +goto block_28; +} +block_28: +{ +uint8_t x_5; +x_5 = l_coeDecidableEq(x_4); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_1); +x_6 = l_Lean_Elab_Tactic_throwUnsupportedSyntax___rarg(x_2, x_3); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_unsigned_to_nat(1u); +x_8 = l_Lean_Syntax_getArg(x_1, x_7); +lean_inc(x_2); +lean_inc(x_1); +x_9 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3); +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_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_10, 1); +lean_inc(x_13); +lean_dec(x_10); +lean_inc(x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_getMVarDecl___boxed), 3, 1); +lean_closure_set(x_14, 0, x_12); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalExact___lambda__1___boxed), 6, 3); +lean_closure_set(x_15, 0, x_8); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_12); +x_16 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg), 4, 2); +lean_closure_set(x_16, 0, x_14); +lean_closure_set(x_16, 1, x_15); +lean_inc(x_2); +x_17 = l_Lean_Elab_Tactic_withMVarContext___rarg(x_12, x_16, x_2, x_11); +lean_dec(x_12); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = l_Lean_Elab_Tactic_setGoals(x_13, x_2, x_18); +lean_dec(x_2); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_13); +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +return x_17; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_17, 0); +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_17); +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_2); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_9); +if (x_24 == 0) +{ +return x_9; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_9, 0); +x_26 = lean_ctor_get(x_9, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_9); +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_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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_Tactic_evalExact___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); +return x_7; +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalExact"); +return x_1; +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; +x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalExact), 3, 0); +return x_1; +} +} +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalExact(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_Tactic_exact___elambda__1___closed__2; +x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2; +x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3; +x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_Tactic_evalRefine___lambda__1(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; +x_7 = lean_ctor_get(x_4, 2); +lean_inc(x_7); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +lean_inc(x_5); +lean_inc(x_8); +x_9 = l_Lean_Elab_Tactic_elabTerm(x_1, x_8, x_5, x_6); +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_5); +lean_inc(x_2); +x_12 = l_Lean_Elab_Tactic_ensureHasType(x_2, x_8, x_10, x_5, 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_5); +lean_inc(x_13); +x_15 = l_Lean_Elab_Tactic_assignExprMVar(x_3, x_13, x_5, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Lean_Elab_Tactic_collectMVars(x_2, x_13, x_5, x_16); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_2); +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) +{ +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +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(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +else +{ +uint8_t x_22; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +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; +} +} +} +else +{ +uint8_t x_26; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_26 = !lean_is_exclusive(x_9); +if (x_26 == 0) +{ +return x_9; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_9, 0); +x_28 = lean_ctor_get(x_9, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_9); +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_Tactic_evalRefine(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_31; uint8_t x_32; +x_31 = l_Lean_Parser_Tactic_refine___elambda__1___closed__2; +lean_inc(x_1); +x_32 = l_Lean_Syntax_isOfKind(x_1, x_31); +if (x_32 == 0) +{ +uint8_t x_33; +x_33 = 0; +x_4 = x_33; +goto block_30; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = l_Lean_Syntax_getArgs(x_1); +x_35 = lean_array_get_size(x_34); +lean_dec(x_34); +x_36 = lean_unsigned_to_nat(2u); +x_37 = lean_nat_dec_eq(x_35, x_36); +lean_dec(x_35); +x_4 = x_37; +goto block_30; +} +block_30: +{ +uint8_t x_5; +x_5 = l_coeDecidableEq(x_4); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_1); +x_6 = l_Lean_Elab_Tactic_throwUnsupportedSyntax___rarg(x_2, x_3); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_unsigned_to_nat(1u); +x_8 = l_Lean_Syntax_getArg(x_1, x_7); +lean_inc(x_2); +lean_inc(x_1); +x_9 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3); +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_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_10, 1); +lean_inc(x_13); +lean_dec(x_10); +lean_inc(x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_getMVarDecl___boxed), 3, 1); +lean_closure_set(x_14, 0, x_12); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRefine___lambda__1___boxed), 6, 3); +lean_closure_set(x_15, 0, x_8); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_12); +x_16 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg), 4, 2); +lean_closure_set(x_16, 0, x_14); +lean_closure_set(x_16, 1, x_15); +lean_inc(x_2); +x_17 = l_Lean_Elab_Tactic_withMVarContext___rarg(x_12, x_16, x_2, x_11); +lean_dec(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; +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_append___rarg(x_18, x_13); +x_21 = l_Lean_Elab_Tactic_setGoals(x_20, x_2, x_19); +lean_dec(x_2); +return x_21; +} +else +{ +uint8_t x_22; +lean_dec(x_13); +lean_dec(x_2); +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; +} +} +} +else +{ +uint8_t x_26; +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_9); +if (x_26 == 0) +{ +return x_9; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_9, 0); +x_28 = lean_ctor_get(x_9, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_9); +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_Tactic_evalRefine___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_Tactic_evalRefine___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); +return x_7; +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalRefine"); +return x_1; +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; +x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRefine), 3, 0); +return x_1; +} +} +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine(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_Tactic_refine___elambda__1___closed__2; +x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2; +x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3; +x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* initialize_Init_Lean_Elab_Tactic_Basic(lean_object*); +lean_object* initialize_Init_Lean_Elab_SynthesizeSyntheticMVars(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Init_Lean_Elab_Tactic_ElabTerm(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_mk_io_result(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Lean_Elab_Tactic_Basic(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Lean_Elab_SynthesizeSyntheticMVars(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__1); +l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__2); +l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalExact___closed__3); +res = l___regBuiltinTactic_Lean_Elab_Tactic_evalExact(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__1); +l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__2); +l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3); +res = l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_mk_io_result(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Init/Lean/Elab/Term.c b/stage0/stdlib/Init/Lean/Elab/Term.c index ac324c4cdf..e1c549aed6 100644 --- a/stage0/stdlib/Init/Lean/Elab/Term.c +++ b/stage0/stdlib/Init/Lean/Elab/Term.c @@ -34,6 +34,7 @@ uint8_t l_Lean_MessageData_hasSyntheticSorry___main(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__1; lean_object* l_Lean_SMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__1___closed__2; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__8; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); @@ -129,7 +130,7 @@ lean_object* l_Lean_Elab_Term_mkForallUsedOnly___boxed(lean_object*, lean_object extern lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5; lean_object* lean_io_ref_get(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__5; -lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__6; lean_object* l_Lean_Elab_Term_monadQuotation___closed__2; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); @@ -160,6 +161,7 @@ lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object lean_object* l_Lean_Elab_Term_elabBadCDot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__8; lean_object* l___private_Init_Lean_Elab_Term_11__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_tacticBlock___elambda__1___closed__2; lean_object* l_Lean_Expr_getAppFn___main(lean_object*); lean_object* l_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__2; @@ -210,6 +212,7 @@ lean_object* l_Lean_Elab_Term_trace___boxed(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Elab_Term_elabBadCDot___closed__1; uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabResult_inhabited___closed__1; +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3; extern lean_object* l_Lean_AttributeImpl_inhabited___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*); @@ -225,7 +228,7 @@ lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__1; lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__2; lean_object* l_Lean_Elab_Term_mkLet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTermAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_whnf(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getOptions(lean_object*, lean_object*); @@ -313,7 +316,7 @@ lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__2; lean_object* l_Lean_Elab_Term_elabStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParen(lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__2; -lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStr___closed__1; lean_object* l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__1; lean_object* l_Lean_Elab_Term_TermElabM_inhabited(lean_object*, lean_object*); @@ -323,12 +326,13 @@ extern lean_object* l_Lean_Parser_darrow___elambda__1___rarg___closed__3; lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__7; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam___lambda__1___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_7__postponeElabTerm(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setTraceState___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__7; +lean_object* l_Lean_Elab_Term_elabTacticBlock___closed__1; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__4; lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); @@ -345,7 +349,7 @@ lean_object* l_Lean_Elab_Term_monadLog___closed__6; lean_object* l_Lean_Elab_Term_withFreshMacroScope(lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__7; size_t l_Lean_Name_hash(lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___closed__3; lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Elab_Term_State_inhabited___closed__2; @@ -397,6 +401,7 @@ lean_object* l_Lean_Elab_Term_mkTermElabAttribute(lean_object*); lean_object* l_AssocList_find___main___at_Lean_Elab_Term_elabTermAux___main___spec__6(lean_object*, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__4(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_12__resolveLocalName(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTacticBlock___closed__2; extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__1; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__7; lean_object* l_Lean_Elab_Term_monadLog___lambda__1(lean_object*, lean_object*, lean_object*); @@ -404,12 +409,12 @@ lean_object* l_Lean_Elab_Term_mkAppM___boxed(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Elab_Term_getCurrMacroScope___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__2; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Options_empty; lean_object* l_Lean_Elab_Term_mkConst___closed__7; lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__3; -lean_object* l_Lean_Elab_Term_elabTermAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTermAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLevel___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_coeDecidableEq(uint8_t); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort(lean_object*); @@ -425,7 +430,7 @@ lean_object* l_Lean_Elab_Term_elabProp(lean_object*, lean_object*, lean_object*) lean_object* l_Lean_Elab_Term_resolveName___closed__8; lean_object* l_Lean_Elab_addMacroStack(lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTermAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___closed__5; lean_object* l_Lean_Elab_Term_ensureHasType___boxed(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*); @@ -462,7 +467,7 @@ lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux(lean_object*, lean_ob lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__1; extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__3; lean_object* l_Lean_Elab_Term_elabArrayLit___closed__9; lean_object* l_Lean_Elab_Term_resolveName___closed__9; @@ -523,6 +528,7 @@ lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__6; lean_object* l_Lean_Elab_Term_traceAtCmdPos(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; uint8_t l_HashMapImp_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTacticBlock___closed__3; lean_object* l_Lean_Elab_Term_decLevel___closed__5; lean_object* l_PersistentHashMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_inhabited___rarg(lean_object*); @@ -565,7 +571,7 @@ lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_logTrace___spec__1(lean_object* lean_object* l_Lean_Elab_Term_elabNamedHole(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Term_throwError___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(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* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_app___elambda__1___closed__2; extern lean_object* l_Lean_EnvExtension_setState___closed__1; lean_object* l_Lean_Elab_Term_liftLevelM___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -626,6 +632,7 @@ lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__12; lean_object* l_Lean_Meta_mkLambda(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__12; lean_object* l_Lean_Elab_Term_monadLog___closed__11; +lean_object* l_Lean_Elab_Term_mkTacticMVar___closed__2; extern lean_object* l_Lean_Expr_Inhabited; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addBuiltinTermElab(lean_object*, lean_object*, lean_object*, lean_object*); @@ -634,6 +641,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr(lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHole___closed__3; +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2; lean_object* l_Lean_Elab_mkMessage___at_Lean_Elab_Term_throwError___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getOpenDecls___boxed(lean_object*, lean_object*); @@ -664,6 +672,7 @@ extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed_ lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_MetavarContext_Inhabited___closed__1; +lean_object* l_Lean_Elab_Term_elabTacticBlock(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_SMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___lambda__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNum(lean_object*, lean_object*, lean_object*, lean_object*); @@ -699,6 +708,7 @@ lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHole___closed__1; lean_object* l_Lean_SMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__1; +lean_object* l_Lean_Elab_Term_mkTacticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); uint8_t l_Array_isEqvAux___main___at_Lean_Elab_Term_withMVarContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__2; @@ -728,6 +738,7 @@ lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fr lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_uint32_to_nat(uint32_t); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__3; +lean_object* l_Lean_Elab_Term_mkTacticMVar___closed__1; lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum___closed__3; lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__5; @@ -758,6 +769,7 @@ uint8_t l_Lean_Expr_isSort(lean_object*); lean_object* l_Lean_Meta_decLevel_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___lambda__2(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Parser_Parser_18__BuiltinParserAttribute_add___closed__2; +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1; lean_object* l_Lean_Elab_Term_expandCDot_x3f(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; lean_object* l_Lean_Elab_Term_mkFreshTypeMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1922,240 +1934,170 @@ return x_2; lean_object* l_Lean_Elab_Term_withIncRecDepth___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; lean_object* x_7; lean_object* x_8; 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_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -x_7 = lean_ctor_get(x_3, 2); -lean_inc(x_7); -x_8 = lean_ctor_get(x_3, 3); -lean_inc(x_8); -x_9 = lean_ctor_get(x_3, 4); -lean_inc(x_9); -x_10 = lean_ctor_get(x_3, 5); -lean_inc(x_10); -x_11 = lean_ctor_get(x_3, 6); -lean_inc(x_11); -x_12 = lean_ctor_get(x_3, 7); -lean_inc(x_12); -x_13 = lean_ctor_get(x_3, 8); -lean_inc(x_13); -x_14 = lean_ctor_get(x_3, 9); -lean_inc(x_14); -x_15 = !lean_is_exclusive(x_5); -if (x_15 == 0) -{ -uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_16 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); -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_nat_dec_eq(x_20, x_21); -if (x_22 == 0) -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_3); -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; -x_24 = lean_ctor_get(x_3, 9); -lean_dec(x_24); -x_25 = lean_ctor_get(x_3, 8); -lean_dec(x_25); -x_26 = lean_ctor_get(x_3, 7); -lean_dec(x_26); -x_27 = lean_ctor_get(x_3, 6); -lean_dec(x_27); -x_28 = lean_ctor_get(x_3, 5); -lean_dec(x_28); -x_29 = lean_ctor_get(x_3, 4); -lean_dec(x_29); -x_30 = lean_ctor_get(x_3, 3); -lean_dec(x_30); -x_31 = lean_ctor_get(x_3, 2); -lean_dec(x_31); -x_32 = lean_ctor_get(x_3, 1); -lean_dec(x_32); -x_33 = lean_ctor_get(x_3, 0); -lean_dec(x_33); -x_34 = lean_unsigned_to_nat(1u); -x_35 = lean_nat_add(x_20, x_34); -lean_dec(x_20); -lean_ctor_set(x_5, 3, x_35); -x_36 = lean_apply_2(x_2, x_3, x_4); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_dec(x_3); -x_37 = lean_unsigned_to_nat(1u); -x_38 = lean_nat_add(x_20, x_37); -lean_dec(x_20); -lean_ctor_set(x_5, 3, x_38); -x_39 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_39, 0, x_5); -lean_ctor_set(x_39, 1, x_6); -lean_ctor_set(x_39, 2, x_7); -lean_ctor_set(x_39, 3, x_8); -lean_ctor_set(x_39, 4, x_9); -lean_ctor_set(x_39, 5, x_10); -lean_ctor_set(x_39, 6, x_11); -lean_ctor_set(x_39, 7, x_12); -lean_ctor_set(x_39, 8, x_13); -lean_ctor_set(x_39, 9, x_14); -lean_ctor_set_uint8(x_39, sizeof(void*)*10, x_16); -x_40 = lean_apply_2(x_2, x_39, x_4); -return x_40; -} -} -else -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_free_object(x_5); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -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_6); -lean_dec(x_2); -x_41 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; -x_42 = l_Lean_Elab_Term_throwError___rarg(x_1, x_41, x_3, x_4); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -return x_42; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_42, 0); -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_42); -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 -{ -uint8_t 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_47 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); -x_48 = lean_ctor_get(x_5, 0); -x_49 = lean_ctor_get(x_5, 1); -x_50 = lean_ctor_get(x_5, 2); -x_51 = lean_ctor_get(x_5, 3); -x_52 = lean_ctor_get(x_5, 4); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_inc(x_49); +lean_object* x_5; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_3, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_46, 3); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 4); lean_inc(x_48); -lean_dec(x_5); -x_53 = lean_nat_dec_eq(x_51, x_52); -if (x_53 == 0) +lean_dec(x_46); +x_49 = lean_nat_dec_eq(x_47, x_48); +lean_dec(x_48); +lean_dec(x_47); +if (x_49 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -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); - lean_ctor_release(x_3, 8); - lean_ctor_release(x_3, 9); - x_54 = x_3; -} else { - lean_dec_ref(x_3); - x_54 = lean_box(0); -} -x_55 = lean_unsigned_to_nat(1u); -x_56 = lean_nat_add(x_51, x_55); -lean_dec(x_51); -x_57 = lean_alloc_ctor(0, 5, 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); -if (lean_is_scalar(x_54)) { - x_58 = lean_alloc_ctor(0, 10, 1); -} else { - x_58 = x_54; -} -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_6); -lean_ctor_set(x_58, 2, x_7); -lean_ctor_set(x_58, 3, x_8); -lean_ctor_set(x_58, 4, x_9); -lean_ctor_set(x_58, 5, x_10); -lean_ctor_set(x_58, 6, x_11); -lean_ctor_set(x_58, 7, x_12); -lean_ctor_set(x_58, 8, x_13); -lean_ctor_set(x_58, 9, x_14); -lean_ctor_set_uint8(x_58, sizeof(void*)*10, x_47); -x_59 = lean_apply_2(x_2, x_58, x_4); -return x_59; +x_5 = x_4; +goto block_45; } 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_dec(x_52); -lean_dec(x_51); -lean_dec(x_50); -lean_dec(x_49); -lean_dec(x_48); -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_object* x_50; lean_object* x_51; uint8_t x_52; lean_dec(x_2); -x_60 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; -x_61 = l_Lean_Elab_Term_throwError___rarg(x_1, x_60, x_3, x_4); -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); +x_50 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; +x_51 = l_Lean_Elab_Term_throwError___rarg(x_1, x_50, x_3, x_4); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) +{ +return x_51; } -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(1, 2, 0); -} else { - x_65 = x_64; +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_51, 0); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_51); +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_ctor_set(x_65, 0, x_62); -lean_ctor_set(x_65, 1, x_63); -return x_65; +} +block_45: +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_3); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_ctor_get(x_3, 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; +x_9 = lean_ctor_get(x_7, 3); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_9, x_10); +lean_dec(x_9); +lean_ctor_set(x_7, 3, x_11); +x_12 = lean_apply_2(x_2, x_3, x_5); +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; +x_13 = lean_ctor_get(x_7, 0); +x_14 = lean_ctor_get(x_7, 1); +x_15 = lean_ctor_get(x_7, 2); +x_16 = lean_ctor_get(x_7, 3); +x_17 = lean_ctor_get(x_7, 4); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_7); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_add(x_16, x_18); +lean_dec(x_16); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 1, x_14); +lean_ctor_set(x_20, 2, x_15); +lean_ctor_set(x_20, 3, x_19); +lean_ctor_set(x_20, 4, x_17); +lean_ctor_set(x_3, 0, x_20); +x_21 = lean_apply_2(x_2, x_3, x_5); +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; uint8_t 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; +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(x_3, 4); +x_27 = lean_ctor_get(x_3, 5); +x_28 = lean_ctor_get(x_3, 6); +x_29 = lean_ctor_get(x_3, 7); +x_30 = lean_ctor_get(x_3, 8); +x_31 = lean_ctor_get(x_3, 9); +x_32 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_33 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); +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_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_3); +x_34 = lean_ctor_get(x_22, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_22, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_22, 2); +lean_inc(x_36); +x_37 = lean_ctor_get(x_22, 3); +lean_inc(x_37); +x_38 = lean_ctor_get(x_22, 4); +lean_inc(x_38); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + lean_ctor_release(x_22, 2); + lean_ctor_release(x_22, 3); + lean_ctor_release(x_22, 4); + x_39 = x_22; +} else { + lean_dec_ref(x_22); + x_39 = lean_box(0); +} +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_37, x_40); +lean_dec(x_37); +if (lean_is_scalar(x_39)) { + x_42 = lean_alloc_ctor(0, 5, 0); +} else { + x_42 = x_39; +} +lean_ctor_set(x_42, 0, x_34); +lean_ctor_set(x_42, 1, x_35); +lean_ctor_set(x_42, 2, x_36); +lean_ctor_set(x_42, 3, x_41); +lean_ctor_set(x_42, 4, x_38); +x_43 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_23); +lean_ctor_set(x_43, 2, x_24); +lean_ctor_set(x_43, 3, x_25); +lean_ctor_set(x_43, 4, x_26); +lean_ctor_set(x_43, 5, x_27); +lean_ctor_set(x_43, 6, x_28); +lean_ctor_set(x_43, 7, x_29); +lean_ctor_set(x_43, 8, x_30); +lean_ctor_set(x_43, 9, x_31); +lean_ctor_set_uint8(x_43, sizeof(void*)*10, x_32); +lean_ctor_set_uint8(x_43, sizeof(void*)*10 + 1, x_33); +x_44 = lean_apply_2(x_2, x_43, x_5); +return x_44; } } } @@ -2222,7 +2164,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; 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; uint8_t x_21; lean_object* x_22; lean_object* x_23; x_11 = lean_ctor_get(x_2, 0); x_12 = lean_ctor_get(x_2, 1); x_13 = lean_ctor_get(x_2, 2); @@ -2233,6 +2175,7 @@ x_17 = lean_ctor_get(x_2, 6); x_18 = lean_ctor_get(x_2, 7); x_19 = lean_ctor_get(x_2, 8); x_20 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_21 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -2243,66 +2186,68 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_dec(x_2); -x_21 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_12); -lean_ctor_set(x_21, 2, x_13); -lean_ctor_set(x_21, 3, x_14); -lean_ctor_set(x_21, 4, x_15); -lean_ctor_set(x_21, 5, x_16); -lean_ctor_set(x_21, 6, x_17); -lean_ctor_set(x_21, 7, x_18); -lean_ctor_set(x_21, 8, x_19); -lean_ctor_set(x_21, 9, x_5); -lean_ctor_set_uint8(x_21, sizeof(void*)*10, x_20); -x_22 = lean_apply_2(x_1, x_21, x_3); -return x_22; +x_22 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_22, 0, x_11); +lean_ctor_set(x_22, 1, x_12); +lean_ctor_set(x_22, 2, x_13); +lean_ctor_set(x_22, 3, x_14); +lean_ctor_set(x_22, 4, x_15); +lean_ctor_set(x_22, 5, x_16); +lean_ctor_set(x_22, 6, x_17); +lean_ctor_set(x_22, 7, x_18); +lean_ctor_set(x_22, 8, x_19); +lean_ctor_set(x_22, 9, x_5); +lean_ctor_set_uint8(x_22, sizeof(void*)*10, x_20); +lean_ctor_set_uint8(x_22, sizeof(void*)*10 + 1, x_21); +x_23 = lean_apply_2(x_1, x_22, x_3); +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; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_23 = lean_ctor_get(x_3, 0); -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 = lean_ctor_get(x_3, 4); -x_28 = lean_ctor_get(x_3, 5); +lean_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; uint8_t x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_24 = lean_ctor_get(x_3, 0); +x_25 = lean_ctor_get(x_3, 1); +x_26 = lean_ctor_get(x_3, 2); +x_27 = lean_ctor_get(x_3, 3); +x_28 = lean_ctor_get(x_3, 4); +x_29 = lean_ctor_get(x_3, 5); +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_3); -x_29 = lean_unsigned_to_nat(1u); -x_30 = lean_nat_add(x_28, x_29); -x_31 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_31, 0, x_23); -lean_ctor_set(x_31, 1, x_24); -lean_ctor_set(x_31, 2, x_25); -lean_ctor_set(x_31, 3, x_26); -lean_ctor_set(x_31, 4, x_27); -lean_ctor_set(x_31, 5, x_30); -x_32 = lean_ctor_get(x_2, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_2, 1); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_29, x_30); +x_32 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set(x_32, 1, x_25); +lean_ctor_set(x_32, 2, x_26); +lean_ctor_set(x_32, 3, x_27); +lean_ctor_set(x_32, 4, x_28); +lean_ctor_set(x_32, 5, x_31); +x_33 = lean_ctor_get(x_2, 0); lean_inc(x_33); -x_34 = lean_ctor_get(x_2, 2); +x_34 = lean_ctor_get(x_2, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_2, 3); +x_35 = lean_ctor_get(x_2, 2); lean_inc(x_35); -x_36 = lean_ctor_get(x_2, 4); +x_36 = lean_ctor_get(x_2, 3); lean_inc(x_36); -x_37 = lean_ctor_get(x_2, 5); +x_37 = lean_ctor_get(x_2, 4); lean_inc(x_37); -x_38 = lean_ctor_get(x_2, 6); +x_38 = lean_ctor_get(x_2, 5); lean_inc(x_38); -x_39 = lean_ctor_get(x_2, 7); +x_39 = lean_ctor_get(x_2, 6); lean_inc(x_39); -x_40 = lean_ctor_get(x_2, 8); +x_40 = lean_ctor_get(x_2, 7); lean_inc(x_40); -x_41 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_41 = lean_ctor_get(x_2, 8); +lean_inc(x_41); +x_42 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_43 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -2314,29 +2259,30 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_42 = x_2; + x_44 = x_2; } else { lean_dec_ref(x_2); - x_42 = lean_box(0); + x_44 = lean_box(0); } -if (lean_is_scalar(x_42)) { - x_43 = lean_alloc_ctor(0, 10, 1); +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(0, 10, 2); } else { - x_43 = x_42; + x_45 = x_44; } -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_36); -lean_ctor_set(x_43, 5, x_37); -lean_ctor_set(x_43, 6, x_38); -lean_ctor_set(x_43, 7, x_39); -lean_ctor_set(x_43, 8, x_40); -lean_ctor_set(x_43, 9, x_28); -lean_ctor_set_uint8(x_43, sizeof(void*)*10, x_41); -x_44 = lean_apply_2(x_1, x_43, x_31); -return x_44; +lean_ctor_set(x_45, 0, x_33); +lean_ctor_set(x_45, 1, x_34); +lean_ctor_set(x_45, 2, x_35); +lean_ctor_set(x_45, 3, x_36); +lean_ctor_set(x_45, 4, x_37); +lean_ctor_set(x_45, 5, x_38); +lean_ctor_set(x_45, 6, x_39); +lean_ctor_set(x_45, 7, x_40); +lean_ctor_set(x_45, 8, x_41); +lean_ctor_set(x_45, 9, x_29); +lean_ctor_set_uint8(x_45, sizeof(void*)*10, x_42); +lean_ctor_set_uint8(x_45, sizeof(void*)*10 + 1, x_43); +x_46 = lean_apply_2(x_1, x_45, x_32); +return x_46; } } } @@ -8740,7 +8686,7 @@ return x_8; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +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; uint8_t x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_9 = lean_ctor_get(x_3, 0); x_10 = lean_ctor_get(x_3, 1); x_11 = lean_ctor_get(x_3, 2); @@ -8752,6 +8698,7 @@ x_16 = lean_ctor_get(x_3, 7); x_17 = lean_ctor_get(x_3, 8); x_18 = lean_ctor_get(x_3, 9); x_19 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_20 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); @@ -8763,23 +8710,24 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_dec(x_3); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_1); -lean_ctor_set(x_20, 1, x_17); -x_21 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_21, 0, x_9); -lean_ctor_set(x_21, 1, x_10); -lean_ctor_set(x_21, 2, x_11); -lean_ctor_set(x_21, 3, x_12); -lean_ctor_set(x_21, 4, x_13); -lean_ctor_set(x_21, 5, x_14); -lean_ctor_set(x_21, 6, x_15); -lean_ctor_set(x_21, 7, x_16); -lean_ctor_set(x_21, 8, x_20); -lean_ctor_set(x_21, 9, x_18); -lean_ctor_set_uint8(x_21, sizeof(void*)*10, x_19); -x_22 = lean_apply_2(x_2, x_21, x_4); -return x_22; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_1); +lean_ctor_set(x_21, 1, x_17); +x_22 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_22, 0, x_9); +lean_ctor_set(x_22, 1, x_10); +lean_ctor_set(x_22, 2, x_11); +lean_ctor_set(x_22, 3, x_12); +lean_ctor_set(x_22, 4, x_13); +lean_ctor_set(x_22, 5, x_14); +lean_ctor_set(x_22, 6, x_15); +lean_ctor_set(x_22, 7, x_16); +lean_ctor_set(x_22, 8, x_21); +lean_ctor_set(x_22, 9, x_18); +lean_ctor_set_uint8(x_22, sizeof(void*)*10, x_19); +lean_ctor_set_uint8(x_22, sizeof(void*)*10 + 1, x_20); +x_23 = lean_apply_2(x_2, x_22, x_4); +return x_23; } } } @@ -8876,7 +8824,7 @@ 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; uint8_t x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_7; lean_object* x_8; 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; uint8_t x_18; lean_object* x_19; lean_object* x_20; x_7 = lean_ctor_get(x_2, 0); x_8 = lean_ctor_get(x_2, 1); x_9 = lean_ctor_get(x_2, 2); @@ -8887,6 +8835,7 @@ x_13 = lean_ctor_get(x_2, 6); x_14 = lean_ctor_get(x_2, 7); x_15 = lean_ctor_get(x_2, 8); x_16 = lean_ctor_get(x_2, 9); +x_17 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -8898,21 +8847,22 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_dec(x_2); -x_17 = 0; -x_18 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_18, 0, x_7); -lean_ctor_set(x_18, 1, x_8); -lean_ctor_set(x_18, 2, x_9); -lean_ctor_set(x_18, 3, x_10); -lean_ctor_set(x_18, 4, x_11); -lean_ctor_set(x_18, 5, x_12); -lean_ctor_set(x_18, 6, x_13); -lean_ctor_set(x_18, 7, x_14); -lean_ctor_set(x_18, 8, x_15); -lean_ctor_set(x_18, 9, x_16); -lean_ctor_set_uint8(x_18, sizeof(void*)*10, x_17); -x_19 = lean_apply_2(x_1, x_18, x_3); -return x_19; +x_18 = 0; +x_19 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_19, 0, x_7); +lean_ctor_set(x_19, 1, x_8); +lean_ctor_set(x_19, 2, x_9); +lean_ctor_set(x_19, 3, x_10); +lean_ctor_set(x_19, 4, x_11); +lean_ctor_set(x_19, 5, x_12); +lean_ctor_set(x_19, 6, x_13); +lean_ctor_set(x_19, 7, x_14); +lean_ctor_set(x_19, 8, x_15); +lean_ctor_set(x_19, 9, x_16); +lean_ctor_set_uint8(x_19, sizeof(void*)*10, x_18); +lean_ctor_set_uint8(x_19, sizeof(void*)*10 + 1, x_17); +x_20 = lean_apply_2(x_1, x_19, x_3); +return x_20; } } } @@ -9706,23 +9656,23 @@ x_10 = lean_nat_add(x_8, x_9); lean_ctor_set(x_4, 5, x_10); if (x_6 == 0) { -uint8_t x_82; -x_82 = 0; -x_11 = x_82; -goto block_81; +uint8_t x_83; +x_83 = 0; +x_11 = x_83; +goto block_82; } else { -lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_83 = l_Lean_Syntax_getArgs(x_1); -x_84 = lean_array_get_size(x_83); -lean_dec(x_83); -x_85 = lean_nat_dec_eq(x_84, x_9); +lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_84 = l_Lean_Syntax_getArgs(x_1); +x_85 = lean_array_get_size(x_84); lean_dec(x_84); -x_11 = x_85; -goto block_81; +x_86 = lean_nat_dec_eq(x_85, x_9); +lean_dec(x_85); +x_11 = x_86; +goto block_82; } -block_81: +block_82: { uint8_t x_12; x_12 = l_coeDecidableEq(x_11); @@ -9822,7 +9772,7 @@ 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; uint8_t 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_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_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_51 = lean_ctor_get(x_3, 0); x_52 = lean_ctor_get(x_3, 1); x_53 = lean_ctor_get(x_3, 2); @@ -9833,6 +9783,7 @@ x_57 = lean_ctor_get(x_3, 6); x_58 = lean_ctor_get(x_3, 7); x_59 = lean_ctor_get(x_3, 8); x_60 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_61 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); lean_inc(x_59); lean_inc(x_58); lean_inc(x_57); @@ -9843,150 +9794,152 @@ lean_inc(x_53); lean_inc(x_52); lean_inc(x_51); lean_dec(x_3); -x_61 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_61, 0, x_51); -lean_ctor_set(x_61, 1, x_52); -lean_ctor_set(x_61, 2, x_53); -lean_ctor_set(x_61, 3, x_54); -lean_ctor_set(x_61, 4, x_55); -lean_ctor_set(x_61, 5, x_56); -lean_ctor_set(x_61, 6, x_57); -lean_ctor_set(x_61, 7, x_58); -lean_ctor_set(x_61, 8, x_59); -lean_ctor_set(x_61, 9, x_8); -lean_ctor_set_uint8(x_61, sizeof(void*)*10, x_60); -x_62 = l_Lean_Elab_Term_getCurrMacroScope(x_61, x_4); -lean_dec(x_61); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); +x_62 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_62, 0, x_51); +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_ctor_set(x_62, 8, x_59); +lean_ctor_set(x_62, 9, x_8); +lean_ctor_set_uint8(x_62, sizeof(void*)*10, x_60); +lean_ctor_set_uint8(x_62, sizeof(void*)*10 + 1, x_61); +x_63 = l_Lean_Elab_Term_getCurrMacroScope(x_62, x_4); +lean_dec(x_62); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_65 = x_62; +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_66 = x_63; } else { - lean_dec_ref(x_62); - x_65 = lean_box(0); + lean_dec_ref(x_63); + x_66 = lean_box(0); } -x_66 = lean_box(0); -x_67 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; -x_68 = lean_name_mk_numeral(x_67, x_63); -x_69 = lean_box(0); -x_70 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; -x_71 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_71, 0, x_66); -lean_ctor_set(x_71, 1, x_70); -lean_ctor_set(x_71, 2, x_68); -lean_ctor_set(x_71, 3, x_69); -x_72 = l_Array_empty___closed__1; -x_73 = lean_array_push(x_72, x_71); -x_74 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_75 = lean_array_push(x_73, x_74); -x_76 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -lean_inc(x_77); -x_78 = lean_array_push(x_2, x_77); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -if (lean_is_scalar(x_65)) { - x_80 = lean_alloc_ctor(0, 2, 0); +x_67 = lean_box(0); +x_68 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; +x_69 = lean_name_mk_numeral(x_68, x_64); +x_70 = lean_box(0); +x_71 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; +x_72 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_72, 0, x_67); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 2, x_69); +lean_ctor_set(x_72, 3, x_70); +x_73 = l_Array_empty___closed__1; +x_74 = lean_array_push(x_73, x_72); +x_75 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_76 = lean_array_push(x_74, x_75); +x_77 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_76); +lean_inc(x_78); +x_79 = lean_array_push(x_2, x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +if (lean_is_scalar(x_66)) { + x_81 = lean_alloc_ctor(0, 2, 0); } else { - x_80 = x_65; + x_81 = x_66; } -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_64); -return x_80; +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_65); +return x_81; } } } } 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; uint8_t x_95; -x_86 = lean_ctor_get(x_4, 0); -x_87 = lean_ctor_get(x_4, 1); -x_88 = lean_ctor_get(x_4, 2); -x_89 = lean_ctor_get(x_4, 3); -x_90 = lean_ctor_get(x_4, 4); -x_91 = lean_ctor_get(x_4, 5); +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_87 = lean_ctor_get(x_4, 0); +x_88 = lean_ctor_get(x_4, 1); +x_89 = lean_ctor_get(x_4, 2); +x_90 = lean_ctor_get(x_4, 3); +x_91 = lean_ctor_get(x_4, 4); +x_92 = lean_ctor_get(x_4, 5); +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_4); -x_92 = lean_unsigned_to_nat(1u); -x_93 = lean_nat_add(x_91, x_92); -x_94 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_94, 0, x_86); -lean_ctor_set(x_94, 1, x_87); -lean_ctor_set(x_94, 2, x_88); -lean_ctor_set(x_94, 3, x_89); -lean_ctor_set(x_94, 4, x_90); -lean_ctor_set(x_94, 5, x_93); +x_93 = lean_unsigned_to_nat(1u); +x_94 = lean_nat_add(x_92, x_93); +x_95 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_95, 0, x_87); +lean_ctor_set(x_95, 1, x_88); +lean_ctor_set(x_95, 2, x_89); +lean_ctor_set(x_95, 3, x_90); +lean_ctor_set(x_95, 4, x_91); +lean_ctor_set(x_95, 5, x_94); if (x_6 == 0) { -uint8_t x_131; -x_131 = 0; -x_95 = x_131; -goto block_130; +uint8_t x_133; +x_133 = 0; +x_96 = x_133; +goto block_132; } else { -lean_object* x_132; lean_object* x_133; uint8_t x_134; -x_132 = l_Lean_Syntax_getArgs(x_1); -x_133 = lean_array_get_size(x_132); -lean_dec(x_132); -x_134 = lean_nat_dec_eq(x_133, x_92); -lean_dec(x_133); -x_95 = x_134; -goto block_130; +lean_object* x_134; lean_object* x_135; uint8_t x_136; +x_134 = l_Lean_Syntax_getArgs(x_1); +x_135 = lean_array_get_size(x_134); +lean_dec(x_134); +x_136 = lean_nat_dec_eq(x_135, x_93); +lean_dec(x_135); +x_96 = x_136; +goto block_132; } -block_130: +block_132: { -uint8_t x_96; -x_96 = l_coeDecidableEq(x_95); -if (x_96 == 0) +uint8_t x_97; +x_97 = l_coeDecidableEq(x_96); +if (x_97 == 0) { -lean_object* x_97; lean_object* x_98; -lean_dec(x_91); +lean_object* x_98; lean_object* x_99; +lean_dec(x_92); lean_dec(x_3); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_1); -lean_ctor_set(x_97, 1, x_2); x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_94); -return x_98; +lean_ctor_set(x_98, 0, x_1); +lean_ctor_set(x_98, 1, x_2); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_95); +return x_99; } 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; 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; 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_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; 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; 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_dec(x_1); -x_99 = lean_ctor_get(x_3, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_3, 1); +x_100 = lean_ctor_get(x_3, 0); lean_inc(x_100); -x_101 = lean_ctor_get(x_3, 2); +x_101 = lean_ctor_get(x_3, 1); lean_inc(x_101); -x_102 = lean_ctor_get(x_3, 3); +x_102 = lean_ctor_get(x_3, 2); lean_inc(x_102); -x_103 = lean_ctor_get(x_3, 4); +x_103 = lean_ctor_get(x_3, 3); lean_inc(x_103); -x_104 = lean_ctor_get(x_3, 5); +x_104 = lean_ctor_get(x_3, 4); lean_inc(x_104); -x_105 = lean_ctor_get(x_3, 6); +x_105 = lean_ctor_get(x_3, 5); lean_inc(x_105); -x_106 = lean_ctor_get(x_3, 7); +x_106 = lean_ctor_get(x_3, 6); lean_inc(x_106); -x_107 = lean_ctor_get(x_3, 8); +x_107 = lean_ctor_get(x_3, 7); lean_inc(x_107); -x_108 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_108 = lean_ctor_get(x_3, 8); +lean_inc(x_108); +x_109 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_110 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); @@ -9998,72 +9951,73 @@ if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 7); lean_ctor_release(x_3, 8); lean_ctor_release(x_3, 9); - x_109 = x_3; + x_111 = x_3; } else { lean_dec_ref(x_3); - x_109 = lean_box(0); + x_111 = lean_box(0); } -if (lean_is_scalar(x_109)) { - x_110 = lean_alloc_ctor(0, 10, 1); +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(0, 10, 2); } else { - x_110 = x_109; + x_112 = x_111; } -lean_ctor_set(x_110, 0, x_99); -lean_ctor_set(x_110, 1, x_100); -lean_ctor_set(x_110, 2, x_101); -lean_ctor_set(x_110, 3, x_102); -lean_ctor_set(x_110, 4, x_103); -lean_ctor_set(x_110, 5, x_104); -lean_ctor_set(x_110, 6, x_105); -lean_ctor_set(x_110, 7, x_106); -lean_ctor_set(x_110, 8, x_107); -lean_ctor_set(x_110, 9, x_91); -lean_ctor_set_uint8(x_110, sizeof(void*)*10, x_108); -x_111 = l_Lean_Elab_Term_getCurrMacroScope(x_110, x_94); -lean_dec(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); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_114 = x_111; +lean_ctor_set(x_112, 0, x_100); +lean_ctor_set(x_112, 1, x_101); +lean_ctor_set(x_112, 2, x_102); +lean_ctor_set(x_112, 3, x_103); +lean_ctor_set(x_112, 4, x_104); +lean_ctor_set(x_112, 5, x_105); +lean_ctor_set(x_112, 6, x_106); +lean_ctor_set(x_112, 7, x_107); +lean_ctor_set(x_112, 8, x_108); +lean_ctor_set(x_112, 9, x_92); +lean_ctor_set_uint8(x_112, sizeof(void*)*10, x_109); +lean_ctor_set_uint8(x_112, sizeof(void*)*10 + 1, x_110); +x_113 = l_Lean_Elab_Term_getCurrMacroScope(x_112, x_95); +lean_dec(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); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_116 = x_113; } else { - lean_dec_ref(x_111); - x_114 = lean_box(0); + lean_dec_ref(x_113); + x_116 = lean_box(0); } -x_115 = lean_box(0); -x_116 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; -x_117 = lean_name_mk_numeral(x_116, x_112); -x_118 = lean_box(0); -x_119 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; -x_120 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_120, 0, x_115); -lean_ctor_set(x_120, 1, x_119); -lean_ctor_set(x_120, 2, x_117); -lean_ctor_set(x_120, 3, x_118); -x_121 = l_Array_empty___closed__1; -x_122 = lean_array_push(x_121, x_120); -x_123 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_124 = lean_array_push(x_122, x_123); -x_125 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -lean_inc(x_126); -x_127 = lean_array_push(x_2, x_126); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -if (lean_is_scalar(x_114)) { - x_129 = lean_alloc_ctor(0, 2, 0); +x_117 = lean_box(0); +x_118 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; +x_119 = lean_name_mk_numeral(x_118, x_114); +x_120 = lean_box(0); +x_121 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; +x_122 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_122, 0, x_117); +lean_ctor_set(x_122, 1, x_121); +lean_ctor_set(x_122, 2, x_119); +lean_ctor_set(x_122, 3, x_120); +x_123 = l_Array_empty___closed__1; +x_124 = lean_array_push(x_123, x_122); +x_125 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_126 = lean_array_push(x_124, x_125); +x_127 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_126); +lean_inc(x_128); +x_129 = lean_array_push(x_2, x_128); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_128); +lean_ctor_set(x_130, 1, x_129); +if (lean_is_scalar(x_116)) { + x_131 = lean_alloc_ctor(0, 2, 0); } else { - x_129 = x_114; + x_131 = x_116; } -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_113); -return x_129; +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_115); +return x_131; } } } @@ -11093,92 +11047,94 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -if (lean_obj_tag(x_6) == 0) +if (lean_obj_tag(x_5) == 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_8; 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_dec(x_3); lean_dec(x_1); lean_inc(x_2); -x_9 = l_Lean_Syntax_prettyPrint(x_2); -x_10 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_10, 0, x_9); -x_11 = l_Lean_MessageData_ofList___closed__3; -x_12 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = lean_unsigned_to_nat(2u); -x_14 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3; -x_16 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = l_Lean_Elab_Term_throwError___rarg(x_2, x_16, x_7, x_8); +x_8 = l_Lean_Syntax_prettyPrint(x_2); +x_9 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_9, 0, x_8); +x_10 = l_Lean_MessageData_ofList___closed__3; +x_11 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3; +x_15 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Elab_Term_throwError___rarg(x_2, x_15, x_6, x_7); lean_dec(x_2); -return x_17; +return x_16; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_6, 0); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_5, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_5, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_6, 1); -lean_inc(x_19); -lean_dec(x_6); -lean_inc(x_7); +lean_dec(x_5); +lean_inc(x_6); lean_inc(x_3); lean_inc(x_2); -x_20 = lean_apply_4(x_18, x_2, x_3, x_7, x_8); -if (lean_obj_tag(x_20) == 0) +x_19 = lean_apply_4(x_17, x_2, x_3, x_6, x_7); +if (lean_obj_tag(x_19) == 0) { -lean_dec(x_19); -lean_dec(x_7); +lean_dec(x_18); +lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_20; +return x_19; } else { +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ lean_object* x_21; x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); if (lean_obj_tag(x_21) == 0) { -lean_object* x_22; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) -{ -lean_dec(x_19); +uint8_t x_22; +lean_dec(x_18); lean_dec(x_1); -if (x_4 == 0) +x_22 = lean_ctor_get_uint8(x_6, sizeof(void*)*10 + 1); +if (x_22 == 0) { uint8_t x_23; -lean_dec(x_22); -lean_dec(x_7); +lean_dec(x_21); +lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -x_23 = !lean_is_exclusive(x_20); +x_23 = !lean_is_exclusive(x_19); if (x_23 == 0) { lean_object* x_24; -x_24 = lean_ctor_get(x_20, 0); +x_24 = lean_ctor_get(x_19, 0); lean_dec(x_24); -return x_20; +return x_19; } else { lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_20, 1); +x_25 = lean_ctor_get(x_19, 1); lean_inc(x_25); -lean_dec(x_20); +lean_dec(x_19); x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_21); +lean_ctor_set(x_26, 0, x_20); lean_ctor_set(x_26, 1, x_25); return x_26; } @@ -11186,58 +11142,58 @@ return x_26; else { lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_21); -x_27 = lean_ctor_get(x_20, 1); -lean_inc(x_27); lean_dec(x_20); -x_28 = lean_ctor_get(x_22, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_dec(x_19); +x_28 = lean_ctor_get(x_21, 0); lean_inc(x_28); -lean_dec(x_22); -x_29 = l___private_Init_Lean_Elab_Term_6__exceptionToSorry(x_2, x_28, x_3, x_7, x_27); +lean_dec(x_21); +x_29 = l___private_Init_Lean_Elab_Term_6__exceptionToSorry(x_2, x_28, x_3, x_6, x_27); lean_dec(x_2); return x_29; } } else { -lean_dec(x_21); lean_dec(x_20); +lean_dec(x_19); lean_inc(x_1); { -lean_object* _tmp_5 = x_19; -lean_object* _tmp_7 = x_1; -x_6 = _tmp_5; -x_8 = _tmp_7; +lean_object* _tmp_4 = x_18; +lean_object* _tmp_6 = x_1; +x_5 = _tmp_4; +x_7 = _tmp_6; } goto _start; } } else { -lean_dec(x_19); -if (x_5 == 0) +lean_dec(x_18); +if (x_4 == 0) { uint8_t x_31; -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_31 = !lean_is_exclusive(x_20); +x_31 = !lean_is_exclusive(x_19); if (x_31 == 0) { lean_object* x_32; -x_32 = lean_ctor_get(x_20, 0); +x_32 = lean_ctor_get(x_19, 0); lean_dec(x_32); -return x_20; +return x_19; } else { lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_20, 1); +x_33 = lean_ctor_get(x_19, 1); lean_inc(x_33); -lean_dec(x_20); +lean_dec(x_19); x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_21); +lean_ctor_set(x_34, 0, x_20); lean_ctor_set(x_34, 1, x_33); return x_34; } @@ -11245,8 +11201,8 @@ return x_34; else { lean_object* x_35; -lean_dec(x_20); -x_35 = l___private_Init_Lean_Elab_Term_7__postponeElabTerm(x_2, x_3, x_7, x_1); +lean_dec(x_19); +x_35 = l___private_Init_Lean_Elab_Term_7__postponeElabTerm(x_2, x_3, x_6, x_1); return x_35; } } @@ -11254,36 +11210,32 @@ return x_35; } } } -lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; -x_9 = lean_unbox(x_4); +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_4); lean_dec(x_4); -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); -return x_11; -} -} -lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_1, x_2, x_3, x_8, x_5, x_6, x_7); return x_9; } } -lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; -x_9 = lean_unbox(x_4); +lean_object* x_8; +x_8 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_4); lean_dec(x_4); -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Lean_Elab_Term_8__elabTermUsing(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); -return x_11; +x_9 = l___private_Init_Lean_Elab_Term_8__elabTermUsing(x_1, x_2, x_3, x_8, x_5, x_6, x_7); +return x_9; } } lean_object* l_Lean_Elab_Term_adaptMacro(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -11632,36 +11584,36 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Term_elabTermAux___main(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* l_Lean_Elab_Term_elabTermAux___main(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_7; -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_ctor_get(x_6, 5); -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_8, x_9); -lean_ctor_set(x_6, 5, x_10); -x_11 = !lean_is_exclusive(x_5); -if (x_11 == 0) +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_5, 5); +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_7, x_8); +lean_ctor_set(x_5, 5, x_9); +x_10 = !lean_is_exclusive(x_4); +if (x_10 == 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; uint8_t x_21; lean_object* x_22; uint8_t x_23; -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(x_5, 5); -x_18 = lean_ctor_get(x_5, 6); -x_19 = lean_ctor_get(x_5, 7); -x_20 = lean_ctor_get(x_5, 8); -x_21 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); -x_22 = lean_ctor_get(x_5, 9); +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; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_143; lean_object* x_144; uint8_t x_145; +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); +x_15 = lean_ctor_get(x_4, 4); +x_16 = lean_ctor_get(x_4, 5); +x_17 = lean_ctor_get(x_4, 6); +x_18 = lean_ctor_get(x_4, 7); +x_19 = lean_ctor_get(x_4, 8); +x_20 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_21 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +x_22 = lean_ctor_get(x_4, 9); lean_dec(x_22); -lean_inc(x_8); -lean_inc(x_20); +lean_inc(x_7); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -11670,366 +11622,126 @@ lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_ctor_set(x_5, 9, x_8); -x_23 = !lean_is_exclusive(x_12); -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; -x_24 = lean_ctor_get(x_12, 0); -x_25 = lean_ctor_get(x_12, 1); -x_26 = lean_ctor_get(x_12, 2); -x_27 = lean_ctor_get(x_12, 3); -x_28 = lean_ctor_get(x_12, 4); -x_29 = lean_nat_dec_eq(x_27, x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_64; -lean_dec(x_5); -x_30 = lean_nat_add(x_27, x_9); -lean_dec(x_27); -lean_ctor_set(x_12, 3, x_30); -lean_inc(x_8); -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_inc(x_13); -lean_inc(x_12); -x_31 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_31, 0, x_12); -lean_ctor_set(x_31, 1, x_13); -lean_ctor_set(x_31, 2, x_14); -lean_ctor_set(x_31, 3, x_15); -lean_ctor_set(x_31, 4, x_16); -lean_ctor_set(x_31, 5, x_17); -lean_ctor_set(x_31, 6, x_18); -lean_ctor_set(x_31, 7, x_19); -lean_ctor_set(x_31, 8, x_20); -lean_ctor_set(x_31, 9, x_8); -lean_ctor_set_uint8(x_31, sizeof(void*)*10, x_21); -if (lean_obj_tag(x_4) == 1) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_76 = l_Lean_Elab_Term_getOptions(x_31, x_6); -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___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; -x_80 = l_Lean_checkTraceOption(x_77, x_79); -lean_dec(x_77); -if (x_80 == 0) -{ -x_32 = x_78; -goto block_63; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -lean_inc(x_4); -x_81 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_81, 0, x_4); -x_82 = l_Lean_Elab_Term_logTrace(x_79, x_4, x_81, x_31, x_78); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_32 = x_83; -goto block_63; -} -} -else -{ -lean_object* x_84; -lean_dec(x_12); -lean_dec(x_20); -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_8); -lean_dec(x_1); -x_84 = lean_box(0); -x_64 = x_84; -goto block_75; -} -block_63: -{ -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 = l_Lean_Elab_Term_termElabAttribute; -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -x_35 = lean_ctor_get(x_32, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -lean_dec(x_35); -x_37 = l_Lean_PersistentEnvExtension_getState___rarg(x_34, x_36); -lean_dec(x_36); -lean_dec(x_34); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -lean_inc(x_4); -x_39 = l_Lean_Syntax_getKind(x_4); -x_40 = l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1(x_38, x_39); -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; -x_41 = l_Lean_Elab_Term_getCurrMacroScope(x_31, x_32); -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_getEnv___rarg(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); -lean_inc(x_4); -x_47 = l_Lean_Elab_expandMacro(x_45, x_4, x_42); -lean_dec(x_45); -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; lean_object* x_56; -lean_dec(x_12); -lean_dec(x_20); -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_8); -lean_dec(x_1); -x_48 = l_Lean_Name_toString___closed__1; -x_49 = l_Lean_Name_toStringWithSep___main(x_48, x_39); -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_Elab_Term_elabTermAux___main___closed__3; -x_53 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -x_54 = l_Lean_Elab_Term_elabTermAux___main___closed__6; -x_55 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_Elab_Term_throwError___rarg(x_4, x_55, x_31, x_46); -lean_dec(x_4); -return x_56; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_39); -lean_dec(x_31); -x_57 = lean_ctor_get(x_47, 0); -lean_inc(x_57); -lean_dec(x_47); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_4); -lean_ctor_set(x_58, 1, x_20); -x_59 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_59, 0, x_12); -lean_ctor_set(x_59, 1, x_13); -lean_ctor_set(x_59, 2, x_14); -lean_ctor_set(x_59, 3, x_15); -lean_ctor_set(x_59, 4, x_16); -lean_ctor_set(x_59, 5, x_17); -lean_ctor_set(x_59, 6, x_18); -lean_ctor_set(x_59, 7, x_19); -lean_ctor_set(x_59, 8, x_58); -lean_ctor_set(x_59, 9, x_8); -lean_ctor_set_uint8(x_59, sizeof(void*)*10, x_21); -x_4 = x_57; -x_5 = x_59; -x_6 = x_46; -goto _start; -} -} -else -{ -lean_object* x_61; lean_object* x_62; -lean_dec(x_39); -lean_dec(x_12); -lean_dec(x_20); -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_8); -x_61 = lean_ctor_get(x_40, 0); -lean_inc(x_61); -lean_dec(x_40); -lean_inc(x_32); -x_62 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_32, x_4, x_1, x_3, x_2, x_61, x_31, x_32); -return x_62; -} -} -block_75: -{ -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_dec(x_64); -x_65 = lean_box(0); -x_66 = lean_unsigned_to_nat(0u); -lean_inc(x_4); -x_67 = l_Lean_Syntax_formatStxAux___main(x_65, x_66, x_4); -x_68 = l_Lean_Options_empty; -x_69 = l_Lean_Format_pretty(x_67, x_68); -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_Elab_Term_withNode___rarg___closed__3; -x_73 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -x_74 = l_Lean_Elab_Term_throwError___rarg(x_4, x_73, x_31, x_6); -lean_dec(x_4); -return x_74; -} -} -else -{ -lean_object* x_85; lean_object* x_86; uint8_t x_87; -lean_free_object(x_12); -lean_dec(x_28); -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_20); -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_8); -lean_dec(x_1); -x_85 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; -x_86 = l_Lean_Elab_Term_throwError___rarg(x_4, x_85, x_5, x_6); -lean_dec(x_4); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) -{ -return x_86; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_86, 0); -x_89 = lean_ctor_get(x_86, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_86); -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 -{ -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_12, 0); -x_92 = lean_ctor_get(x_12, 1); -x_93 = lean_ctor_get(x_12, 2); -x_94 = lean_ctor_get(x_12, 3); -x_95 = lean_ctor_get(x_12, 4); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_12); -x_96 = lean_nat_dec_eq(x_94, x_95); -if (x_96 == 0) -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_132; -lean_dec(x_5); -x_97 = lean_nat_add(x_94, x_9); -lean_dec(x_94); -x_98 = lean_alloc_ctor(0, 5, 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_inc(x_8); -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_inc(x_13); -lean_inc(x_98); -x_99 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_13); -lean_ctor_set(x_99, 2, x_14); -lean_ctor_set(x_99, 3, x_15); -lean_ctor_set(x_99, 4, x_16); -lean_ctor_set(x_99, 5, x_17); -lean_ctor_set(x_99, 6, x_18); -lean_ctor_set(x_99, 7, x_19); -lean_ctor_set(x_99, 8, x_20); -lean_ctor_set(x_99, 9, x_8); -lean_ctor_set_uint8(x_99, sizeof(void*)*10, x_21); -if (lean_obj_tag(x_4) == 1) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; -x_144 = l_Lean_Elab_Term_getOptions(x_99, x_6); -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_inc(x_11); +lean_ctor_set(x_4, 9, x_7); +x_143 = lean_ctor_get(x_11, 3); +lean_inc(x_143); +x_144 = lean_ctor_get(x_11, 4); +lean_inc(x_144); +x_145 = lean_nat_dec_eq(x_143, x_144); lean_dec(x_144); -x_147 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; -x_148 = l_Lean_checkTraceOption(x_145, x_147); -lean_dec(x_145); +lean_dec(x_143); +if (x_145 == 0) +{ +lean_dec(x_4); +x_23 = x_5; +goto block_142; +} +else +{ +lean_object* x_146; lean_object* x_147; uint8_t x_148; +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_7); +lean_dec(x_1); +x_146 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; +x_147 = l_Lean_Elab_Term_throwError___rarg(x_3, x_146, x_4, x_5); +lean_dec(x_3); +x_148 = !lean_is_exclusive(x_147); if (x_148 == 0) { -x_100 = x_146; -goto block_131; +return x_147; } else { lean_object* x_149; lean_object* x_150; lean_object* x_151; -lean_inc(x_4); -x_149 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_149, 0, x_4); -x_150 = l_Lean_Elab_Term_logTrace(x_147, x_4, x_149, x_99, x_146); -x_151 = lean_ctor_get(x_150, 1); -lean_inc(x_151); -lean_dec(x_150); -x_100 = x_151; -goto block_131; +x_149 = lean_ctor_get(x_147, 0); +x_150 = lean_ctor_get(x_147, 1); +lean_inc(x_150); +lean_inc(x_149); +lean_dec(x_147); +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; +} +} +block_142: +{ +uint8_t x_24; +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_60; +x_25 = lean_ctor_get(x_11, 3); +x_26 = lean_nat_add(x_25, x_8); +lean_dec(x_25); +lean_ctor_set(x_11, 3, x_26); +lean_inc(x_7); +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_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_27 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_27, 0, x_11); +lean_ctor_set(x_27, 1, x_12); +lean_ctor_set(x_27, 2, x_13); +lean_ctor_set(x_27, 3, x_14); +lean_ctor_set(x_27, 4, x_15); +lean_ctor_set(x_27, 5, x_16); +lean_ctor_set(x_27, 6, x_17); +lean_ctor_set(x_27, 7, x_18); +lean_ctor_set(x_27, 8, x_19); +lean_ctor_set(x_27, 9, x_7); +lean_ctor_set_uint8(x_27, sizeof(void*)*10, x_20); +lean_ctor_set_uint8(x_27, sizeof(void*)*10 + 1, x_21); +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_72 = l_Lean_Elab_Term_getOptions(x_27, x_23); +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___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; +x_76 = l_Lean_checkTraceOption(x_73, x_75); +lean_dec(x_73); +if (x_76 == 0) +{ +x_28 = x_74; +goto block_59; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_inc(x_3); +x_77 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_77, 0, x_3); +x_78 = l_Lean_Elab_Term_logTrace(x_75, x_3, x_77, x_27, x_74); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_28 = x_79; +goto block_59; } } else { -lean_object* x_152; -lean_dec(x_98); -lean_dec(x_20); +lean_object* x_80; +lean_dec(x_11); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -12037,55 +11749,55 @@ lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_8); +lean_dec(x_12); +lean_dec(x_7); lean_dec(x_1); -x_152 = lean_box(0); -x_132 = x_152; -goto block_143; +x_80 = lean_box(0); +x_60 = x_80; +goto block_71; } -block_131: +block_59: { -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_101 = l_Lean_Elab_Term_termElabAttribute; -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -x_103 = lean_ctor_get(x_100, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -lean_dec(x_103); -x_105 = l_Lean_PersistentEnvExtension_getState___rarg(x_102, x_104); -lean_dec(x_104); -lean_dec(x_102); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -lean_inc(x_4); -x_107 = l_Lean_Syntax_getKind(x_4); -x_108 = l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1(x_106, x_107); -if (lean_obj_tag(x_108) == 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 = l_Lean_Elab_Term_termElabAttribute; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +x_31 = lean_ctor_get(x_28, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +lean_dec(x_31); +x_33 = l_Lean_PersistentEnvExtension_getState___rarg(x_30, x_32); +lean_dec(x_32); +lean_dec(x_30); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +lean_inc(x_3); +x_35 = l_Lean_Syntax_getKind(x_3); +x_36 = l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1(x_34, x_35); +if (lean_obj_tag(x_36) == 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; -x_109 = l_Lean_Elab_Term_getCurrMacroScope(x_99, x_100); -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 = l_Lean_Elab_Term_getEnv___rarg(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); -lean_inc(x_4); -x_115 = l_Lean_Elab_expandMacro(x_113, x_4, x_110); -lean_dec(x_113); -if (lean_obj_tag(x_115) == 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; +x_37 = l_Lean_Elab_Term_getCurrMacroScope(x_27, x_28); +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_getEnv___rarg(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); +lean_inc(x_3); +x_43 = l_Lean_Elab_expandMacro(x_41, x_3, x_38); +lean_dec(x_41); +if (lean_obj_tag(x_43) == 0) { -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_dec(x_98); -lean_dec(x_20); +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_11); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -12093,61 +11805,62 @@ lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_8); +lean_dec(x_12); +lean_dec(x_7); lean_dec(x_1); -x_116 = l_Lean_Name_toString___closed__1; -x_117 = l_Lean_Name_toStringWithSep___main(x_116, x_107); -x_118 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_119 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_119, 0, x_118); -x_120 = l_Lean_Elab_Term_elabTermAux___main___closed__3; -x_121 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = l_Lean_Elab_Term_elabTermAux___main___closed__6; -x_123 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -x_124 = l_Lean_Elab_Term_throwError___rarg(x_4, x_123, x_99, x_114); -lean_dec(x_4); -return x_124; +x_44 = l_Lean_Name_toString___closed__1; +x_45 = l_Lean_Name_toStringWithSep___main(x_44, x_35); +x_46 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_46, 0, x_45); +x_47 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = l_Lean_Elab_Term_elabTermAux___main___closed__3; +x_49 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +x_50 = l_Lean_Elab_Term_elabTermAux___main___closed__6; +x_51 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_Term_throwError___rarg(x_3, x_51, x_27, x_42); +lean_dec(x_3); +return x_52; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -lean_dec(x_107); -lean_dec(x_99); -x_125 = lean_ctor_get(x_115, 0); -lean_inc(x_125); -lean_dec(x_115); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_4); -lean_ctor_set(x_126, 1, x_20); -x_127 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_127, 0, x_98); -lean_ctor_set(x_127, 1, x_13); -lean_ctor_set(x_127, 2, x_14); -lean_ctor_set(x_127, 3, x_15); -lean_ctor_set(x_127, 4, x_16); -lean_ctor_set(x_127, 5, x_17); -lean_ctor_set(x_127, 6, x_18); -lean_ctor_set(x_127, 7, x_19); -lean_ctor_set(x_127, 8, x_126); -lean_ctor_set(x_127, 9, x_8); -lean_ctor_set_uint8(x_127, sizeof(void*)*10, x_21); -x_4 = x_125; -x_5 = x_127; -x_6 = x_114; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_dec(x_35); +lean_dec(x_27); +x_53 = lean_ctor_get(x_43, 0); +lean_inc(x_53); +lean_dec(x_43); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_3); +lean_ctor_set(x_54, 1, x_19); +x_55 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_55, 0, x_11); +lean_ctor_set(x_55, 1, x_12); +lean_ctor_set(x_55, 2, x_13); +lean_ctor_set(x_55, 3, x_14); +lean_ctor_set(x_55, 4, x_15); +lean_ctor_set(x_55, 5, x_16); +lean_ctor_set(x_55, 6, x_17); +lean_ctor_set(x_55, 7, x_18); +lean_ctor_set(x_55, 8, x_54); +lean_ctor_set(x_55, 9, x_7); +lean_ctor_set_uint8(x_55, sizeof(void*)*10, x_20); +lean_ctor_set_uint8(x_55, sizeof(void*)*10 + 1, x_21); +x_3 = x_53; +x_4 = x_55; +x_5 = x_42; goto _start; } } else { -lean_object* x_129; lean_object* x_130; -lean_dec(x_107); -lean_dec(x_98); -lean_dec(x_20); +lean_object* x_57; lean_object* x_58; +lean_dec(x_35); +lean_dec(x_11); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -12155,47 +11868,175 @@ lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_8); -x_129 = lean_ctor_get(x_108, 0); -lean_inc(x_129); -lean_dec(x_108); -lean_inc(x_100); -x_130 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_100, x_4, x_1, x_3, x_2, x_129, x_99, x_100); -return x_130; +lean_dec(x_12); +lean_dec(x_7); +x_57 = lean_ctor_get(x_36, 0); +lean_inc(x_57); +lean_dec(x_36); +lean_inc(x_28); +x_58 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_28, x_3, x_1, x_2, x_57, x_27, x_28); +return x_58; } } -block_143: +block_71: { -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_132); -x_133 = lean_box(0); -x_134 = lean_unsigned_to_nat(0u); -lean_inc(x_4); -x_135 = l_Lean_Syntax_formatStxAux___main(x_133, x_134, x_4); -x_136 = l_Lean_Options_empty; -x_137 = l_Lean_Format_pretty(x_135, x_136); -x_138 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_138, 0, x_137); -x_139 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_139, 0, x_138); -x_140 = l_Lean_Elab_Term_withNode___rarg___closed__3; -x_141 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); -x_142 = l_Lean_Elab_Term_throwError___rarg(x_4, x_141, x_99, x_6); -lean_dec(x_4); -return x_142; +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_dec(x_60); +x_61 = lean_box(0); +x_62 = lean_unsigned_to_nat(0u); +lean_inc(x_3); +x_63 = l_Lean_Syntax_formatStxAux___main(x_61, x_62, x_3); +x_64 = l_Lean_Options_empty; +x_65 = l_Lean_Format_pretty(x_63, x_64); +x_66 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_66); +x_68 = l_Lean_Elab_Term_withNode___rarg___closed__3; +x_69 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l_Lean_Elab_Term_throwError___rarg(x_3, x_69, x_27, x_23); +lean_dec(x_3); +return x_70; } } 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_dec(x_95); -lean_dec(x_94); -lean_dec(x_93); +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_121; +x_81 = lean_ctor_get(x_11, 0); +x_82 = lean_ctor_get(x_11, 1); +x_83 = lean_ctor_get(x_11, 2); +x_84 = lean_ctor_get(x_11, 3); +x_85 = lean_ctor_get(x_11, 4); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_11); +x_86 = lean_nat_add(x_84, x_8); +lean_dec(x_84); +x_87 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_87, 0, x_81); +lean_ctor_set(x_87, 1, x_82); +lean_ctor_set(x_87, 2, x_83); +lean_ctor_set(x_87, 3, x_86); +lean_ctor_set(x_87, 4, x_85); +lean_inc(x_7); +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_inc(x_13); +lean_inc(x_12); +lean_inc(x_87); +x_88 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_12); +lean_ctor_set(x_88, 2, x_13); +lean_ctor_set(x_88, 3, x_14); +lean_ctor_set(x_88, 4, x_15); +lean_ctor_set(x_88, 5, x_16); +lean_ctor_set(x_88, 6, x_17); +lean_ctor_set(x_88, 7, x_18); +lean_ctor_set(x_88, 8, x_19); +lean_ctor_set(x_88, 9, x_7); +lean_ctor_set_uint8(x_88, sizeof(void*)*10, x_20); +lean_ctor_set_uint8(x_88, sizeof(void*)*10 + 1, x_21); +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_133 = l_Lean_Elab_Term_getOptions(x_88, x_23); +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_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; +x_137 = l_Lean_checkTraceOption(x_134, x_136); +lean_dec(x_134); +if (x_137 == 0) +{ +x_89 = x_135; +goto block_120; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +lean_inc(x_3); +x_138 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_138, 0, x_3); +x_139 = l_Lean_Elab_Term_logTrace(x_136, x_3, x_138, x_88, x_135); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +lean_dec(x_139); +x_89 = x_140; +goto block_120; +} +} +else +{ +lean_object* x_141; +lean_dec(x_87); +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_7); +lean_dec(x_1); +x_141 = lean_box(0); +x_121 = x_141; +goto block_132; +} +block_120: +{ +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_90 = l_Lean_Elab_Term_termElabAttribute; +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +x_92 = lean_ctor_get(x_89, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); lean_dec(x_92); +x_94 = l_Lean_PersistentEnvExtension_getState___rarg(x_91, x_93); +lean_dec(x_93); lean_dec(x_91); -lean_dec(x_20); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +lean_dec(x_94); +lean_inc(x_3); +x_96 = l_Lean_Syntax_getKind(x_3); +x_97 = l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1(x_95, 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; +x_98 = l_Lean_Elab_Term_getCurrMacroScope(x_88, x_89); +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_Elab_Term_getEnv___rarg(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); +lean_inc(x_3); +x_104 = l_Lean_Elab_expandMacro(x_102, x_3, x_99); +lean_dec(x_102); +if (lean_obj_tag(x_104) == 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; +lean_dec(x_87); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -12203,440 +12044,519 @@ lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_8); +lean_dec(x_12); +lean_dec(x_7); lean_dec(x_1); -x_153 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; -x_154 = l_Lean_Elab_Term_throwError___rarg(x_4, x_153, x_5, x_6); -lean_dec(x_4); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); +x_105 = l_Lean_Name_toString___closed__1; +x_106 = l_Lean_Name_toStringWithSep___main(x_105, x_96); +x_107 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_107, 0, x_106); +x_108 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_108, 0, x_107); +x_109 = l_Lean_Elab_Term_elabTermAux___main___closed__3; +x_110 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +x_111 = l_Lean_Elab_Term_elabTermAux___main___closed__6; +x_112 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_Elab_Term_throwError___rarg(x_3, x_112, x_88, x_103); +lean_dec(x_3); +return x_113; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_96); +lean_dec(x_88); +x_114 = lean_ctor_get(x_104, 0); +lean_inc(x_114); +lean_dec(x_104); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_3); +lean_ctor_set(x_115, 1, x_19); +x_116 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_116, 0, x_87); +lean_ctor_set(x_116, 1, x_12); +lean_ctor_set(x_116, 2, x_13); +lean_ctor_set(x_116, 3, x_14); +lean_ctor_set(x_116, 4, x_15); +lean_ctor_set(x_116, 5, x_16); +lean_ctor_set(x_116, 6, x_17); +lean_ctor_set(x_116, 7, x_18); +lean_ctor_set(x_116, 8, x_115); +lean_ctor_set(x_116, 9, x_7); +lean_ctor_set_uint8(x_116, sizeof(void*)*10, x_20); +lean_ctor_set_uint8(x_116, sizeof(void*)*10 + 1, x_21); +x_3 = x_114; +x_4 = x_116; +x_5 = x_103; +goto _start; +} +} +else +{ +lean_object* x_118; lean_object* x_119; +lean_dec(x_96); +lean_dec(x_87); +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_7); +x_118 = lean_ctor_get(x_97, 0); +lean_inc(x_118); +lean_dec(x_97); +lean_inc(x_89); +x_119 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_89, x_3, x_1, x_2, x_118, x_88, x_89); +return x_119; +} +} +block_132: +{ +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_dec(x_121); +x_122 = lean_box(0); +x_123 = lean_unsigned_to_nat(0u); +lean_inc(x_3); +x_124 = l_Lean_Syntax_formatStxAux___main(x_122, x_123, x_3); +x_125 = l_Lean_Options_empty; +x_126 = l_Lean_Format_pretty(x_124, x_125); +x_127 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_127, 0, x_126); +x_128 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_128, 0, x_127); +x_129 = l_Lean_Elab_Term_withNode___rarg___closed__3; +x_130 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_128); +x_131 = l_Lean_Elab_Term_throwError___rarg(x_3, x_130, x_88, x_23); +lean_dec(x_3); +return x_131; +} +} +} +} +else +{ +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; uint8_t x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_228; lean_object* x_229; uint8_t x_230; +x_152 = lean_ctor_get(x_4, 0); +x_153 = lean_ctor_get(x_4, 1); +x_154 = lean_ctor_get(x_4, 2); +x_155 = lean_ctor_get(x_4, 3); +x_156 = lean_ctor_get(x_4, 4); +x_157 = lean_ctor_get(x_4, 5); +x_158 = lean_ctor_get(x_4, 6); +x_159 = lean_ctor_get(x_4, 7); +x_160 = lean_ctor_get(x_4, 8); +x_161 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_162 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_158); +lean_inc(x_157); lean_inc(x_156); -if (lean_is_exclusive(x_154)) { - lean_ctor_release(x_154, 0); - lean_ctor_release(x_154, 1); - x_157 = x_154; -} else { - lean_dec_ref(x_154); - x_157 = lean_box(0); -} -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(1, 2, 0); -} else { - x_158 = x_157; -} -lean_ctor_set(x_158, 0, x_155); -lean_ctor_set(x_158, 1, x_156); -return x_158; -} -} -} -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; 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; uint8_t x_176; -x_159 = lean_ctor_get(x_5, 0); -x_160 = lean_ctor_get(x_5, 1); -x_161 = lean_ctor_get(x_5, 2); -x_162 = lean_ctor_get(x_5, 3); -x_163 = lean_ctor_get(x_5, 4); -x_164 = lean_ctor_get(x_5, 5); -x_165 = lean_ctor_get(x_5, 6); -x_166 = lean_ctor_get(x_5, 7); -x_167 = lean_ctor_get(x_5, 8); -x_168 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); -lean_inc(x_167); -lean_inc(x_166); -lean_inc(x_165); -lean_inc(x_164); -lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); +lean_inc(x_155); +lean_inc(x_154); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_4); +lean_inc(x_7); lean_inc(x_160); lean_inc(x_159); -lean_dec(x_5); -lean_inc(x_8); -lean_inc(x_167); -lean_inc(x_166); -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); -x_169 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_169, 0, x_159); -lean_ctor_set(x_169, 1, x_160); -lean_ctor_set(x_169, 2, x_161); -lean_ctor_set(x_169, 3, x_162); -lean_ctor_set(x_169, 4, x_163); -lean_ctor_set(x_169, 5, x_164); -lean_ctor_set(x_169, 6, x_165); -lean_ctor_set(x_169, 7, x_166); -lean_ctor_set(x_169, 8, x_167); -lean_ctor_set(x_169, 9, x_8); -lean_ctor_set_uint8(x_169, sizeof(void*)*10, x_168); -x_170 = lean_ctor_get(x_159, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_159, 1); -lean_inc(x_171); -x_172 = lean_ctor_get(x_159, 2); -lean_inc(x_172); -x_173 = lean_ctor_get(x_159, 3); -lean_inc(x_173); -x_174 = lean_ctor_get(x_159, 4); -lean_inc(x_174); -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); - lean_ctor_release(x_159, 4); - x_175 = x_159; -} else { - lean_dec_ref(x_159); - x_175 = lean_box(0); -} -x_176 = lean_nat_dec_eq(x_173, x_174); -if (x_176 == 0) +lean_inc(x_158); +lean_inc(x_157); +lean_inc(x_156); +lean_inc(x_155); +lean_inc(x_154); +lean_inc(x_153); +lean_inc(x_152); +x_163 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_163, 0, x_152); +lean_ctor_set(x_163, 1, x_153); +lean_ctor_set(x_163, 2, x_154); +lean_ctor_set(x_163, 3, x_155); +lean_ctor_set(x_163, 4, x_156); +lean_ctor_set(x_163, 5, x_157); +lean_ctor_set(x_163, 6, x_158); +lean_ctor_set(x_163, 7, x_159); +lean_ctor_set(x_163, 8, x_160); +lean_ctor_set(x_163, 9, x_7); +lean_ctor_set_uint8(x_163, sizeof(void*)*10, x_161); +lean_ctor_set_uint8(x_163, sizeof(void*)*10 + 1, x_162); +x_228 = lean_ctor_get(x_152, 3); +lean_inc(x_228); +x_229 = lean_ctor_get(x_152, 4); +lean_inc(x_229); +x_230 = lean_nat_dec_eq(x_228, x_229); +lean_dec(x_229); +lean_dec(x_228); +if (x_230 == 0) { -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_212; -lean_dec(x_169); -x_177 = lean_nat_add(x_173, x_9); -lean_dec(x_173); -if (lean_is_scalar(x_175)) { - x_178 = lean_alloc_ctor(0, 5, 0); -} else { - x_178 = x_175; -} -lean_ctor_set(x_178, 0, x_170); -lean_ctor_set(x_178, 1, x_171); -lean_ctor_set(x_178, 2, x_172); -lean_ctor_set(x_178, 3, x_177); -lean_ctor_set(x_178, 4, x_174); -lean_inc(x_8); -lean_inc(x_167); -lean_inc(x_166); -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_178); -x_179 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_160); -lean_ctor_set(x_179, 2, x_161); -lean_ctor_set(x_179, 3, x_162); -lean_ctor_set(x_179, 4, x_163); -lean_ctor_set(x_179, 5, x_164); -lean_ctor_set(x_179, 6, x_165); -lean_ctor_set(x_179, 7, x_166); -lean_ctor_set(x_179, 8, x_167); -lean_ctor_set(x_179, 9, x_8); -lean_ctor_set_uint8(x_179, sizeof(void*)*10, x_168); -if (lean_obj_tag(x_4) == 1) -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; -x_224 = l_Lean_Elab_Term_getOptions(x_179, x_6); -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___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; -x_228 = l_Lean_checkTraceOption(x_225, x_227); -lean_dec(x_225); -if (x_228 == 0) -{ -x_180 = x_226; -goto block_211; -} -else -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; -lean_inc(x_4); -x_229 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_229, 0, x_4); -x_230 = l_Lean_Elab_Term_logTrace(x_227, x_4, x_229, x_179, x_226); -x_231 = lean_ctor_get(x_230, 1); -lean_inc(x_231); -lean_dec(x_230); -x_180 = x_231; -goto block_211; -} -} -else -{ -lean_object* x_232; -lean_dec(x_178); -lean_dec(x_167); -lean_dec(x_166); -lean_dec(x_165); -lean_dec(x_164); lean_dec(x_163); -lean_dec(x_162); -lean_dec(x_161); -lean_dec(x_160); -lean_dec(x_8); -lean_dec(x_1); -x_232 = lean_box(0); -x_212 = x_232; -goto block_223; +x_164 = x_5; +goto block_227; } -block_211: +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; -x_181 = l_Lean_Elab_Term_termElabAttribute; -x_182 = lean_ctor_get(x_181, 1); -lean_inc(x_182); -x_183 = lean_ctor_get(x_180, 0); -lean_inc(x_183); +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_dec(x_160); +lean_dec(x_159); +lean_dec(x_158); +lean_dec(x_157); +lean_dec(x_156); +lean_dec(x_155); +lean_dec(x_154); +lean_dec(x_153); +lean_dec(x_152); +lean_dec(x_7); +lean_dec(x_1); +x_231 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; +x_232 = l_Lean_Elab_Term_throwError___rarg(x_3, x_231, x_163, x_5); +lean_dec(x_3); +x_233 = lean_ctor_get(x_232, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_232, 1); +lean_inc(x_234); +if (lean_is_exclusive(x_232)) { + lean_ctor_release(x_232, 0); + lean_ctor_release(x_232, 1); + x_235 = x_232; +} else { + lean_dec_ref(x_232); + x_235 = lean_box(0); +} +if (lean_is_scalar(x_235)) { + x_236 = lean_alloc_ctor(1, 2, 0); +} else { + x_236 = x_235; +} +lean_ctor_set(x_236, 0, x_233); +lean_ctor_set(x_236, 1, x_234); +return x_236; +} +block_227: +{ +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_206; +x_165 = lean_ctor_get(x_152, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_152, 1); +lean_inc(x_166); +x_167 = lean_ctor_get(x_152, 2); +lean_inc(x_167); +x_168 = lean_ctor_get(x_152, 3); +lean_inc(x_168); +x_169 = lean_ctor_get(x_152, 4); +lean_inc(x_169); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + lean_ctor_release(x_152, 2); + lean_ctor_release(x_152, 3); + lean_ctor_release(x_152, 4); + x_170 = x_152; +} else { + lean_dec_ref(x_152); + x_170 = lean_box(0); +} +x_171 = lean_nat_add(x_168, x_8); +lean_dec(x_168); +if (lean_is_scalar(x_170)) { + x_172 = lean_alloc_ctor(0, 5, 0); +} else { + x_172 = x_170; +} +lean_ctor_set(x_172, 0, x_165); +lean_ctor_set(x_172, 1, x_166); +lean_ctor_set(x_172, 2, x_167); +lean_ctor_set(x_172, 3, x_171); +lean_ctor_set(x_172, 4, x_169); +lean_inc(x_7); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_158); +lean_inc(x_157); +lean_inc(x_156); +lean_inc(x_155); +lean_inc(x_154); +lean_inc(x_153); +lean_inc(x_172); +x_173 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_153); +lean_ctor_set(x_173, 2, x_154); +lean_ctor_set(x_173, 3, x_155); +lean_ctor_set(x_173, 4, x_156); +lean_ctor_set(x_173, 5, x_157); +lean_ctor_set(x_173, 6, x_158); +lean_ctor_set(x_173, 7, x_159); +lean_ctor_set(x_173, 8, x_160); +lean_ctor_set(x_173, 9, x_7); +lean_ctor_set_uint8(x_173, sizeof(void*)*10, x_161); +lean_ctor_set_uint8(x_173, sizeof(void*)*10 + 1, x_162); +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; +x_218 = l_Lean_Elab_Term_getOptions(x_173, x_164); +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_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; +x_222 = l_Lean_checkTraceOption(x_219, x_221); +lean_dec(x_219); +if (x_222 == 0) +{ +x_174 = x_220; +goto block_205; +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; +lean_inc(x_3); +x_223 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_223, 0, x_3); +x_224 = l_Lean_Elab_Term_logTrace(x_221, x_3, x_223, x_173, x_220); +x_225 = lean_ctor_get(x_224, 1); +lean_inc(x_225); +lean_dec(x_224); +x_174 = x_225; +goto block_205; +} +} +else +{ +lean_object* x_226; +lean_dec(x_172); +lean_dec(x_160); +lean_dec(x_159); +lean_dec(x_158); +lean_dec(x_157); +lean_dec(x_156); +lean_dec(x_155); +lean_dec(x_154); +lean_dec(x_153); +lean_dec(x_7); +lean_dec(x_1); +x_226 = lean_box(0); +x_206 = x_226; +goto block_217; +} +block_205: +{ +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 = l_Lean_Elab_Term_termElabAttribute; +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +x_177 = lean_ctor_get(x_174, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_177, 0); +lean_inc(x_178); +lean_dec(x_177); +x_179 = l_Lean_PersistentEnvExtension_getState___rarg(x_176, x_178); +lean_dec(x_178); +lean_dec(x_176); +x_180 = lean_ctor_get(x_179, 1); +lean_inc(x_180); +lean_dec(x_179); +lean_inc(x_3); +x_181 = l_Lean_Syntax_getKind(x_3); +x_182 = l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1(x_180, 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; +x_183 = l_Lean_Elab_Term_getCurrMacroScope(x_173, x_174); 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_185 = l_Lean_PersistentEnvExtension_getState___rarg(x_182, x_184); -lean_dec(x_184); -lean_dec(x_182); -x_186 = lean_ctor_get(x_185, 1); -lean_inc(x_186); -lean_dec(x_185); -lean_inc(x_4); -x_187 = l_Lean_Syntax_getKind(x_4); -x_188 = l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1(x_186, x_187); -if (lean_obj_tag(x_188) == 0) +x_186 = l_Lean_Elab_Term_getEnv___rarg(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); +lean_dec(x_186); +lean_inc(x_3); +x_189 = l_Lean_Elab_expandMacro(x_187, x_3, x_184); +lean_dec(x_187); +if (lean_obj_tag(x_189) == 0) { -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 = l_Lean_Elab_Term_getCurrMacroScope(x_179, x_180); -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_getEnv___rarg(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); -lean_inc(x_4); -x_195 = l_Lean_Elab_expandMacro(x_193, x_4, x_190); -lean_dec(x_193); -if (lean_obj_tag(x_195) == 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_dec(x_178); -lean_dec(x_167); -lean_dec(x_166); -lean_dec(x_165); -lean_dec(x_164); -lean_dec(x_163); -lean_dec(x_162); -lean_dec(x_161); +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_dec(x_172); lean_dec(x_160); -lean_dec(x_8); +lean_dec(x_159); +lean_dec(x_158); +lean_dec(x_157); +lean_dec(x_156); +lean_dec(x_155); +lean_dec(x_154); +lean_dec(x_153); +lean_dec(x_7); lean_dec(x_1); -x_196 = l_Lean_Name_toString___closed__1; -x_197 = l_Lean_Name_toStringWithSep___main(x_196, x_187); -x_198 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_198, 0, x_197); -x_199 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_199, 0, x_198); -x_200 = l_Lean_Elab_Term_elabTermAux___main___closed__3; -x_201 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_199); -x_202 = l_Lean_Elab_Term_elabTermAux___main___closed__6; -x_203 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_203, 0, x_201); -lean_ctor_set(x_203, 1, x_202); -x_204 = l_Lean_Elab_Term_throwError___rarg(x_4, x_203, x_179, x_194); -lean_dec(x_4); -return x_204; +x_190 = l_Lean_Name_toString___closed__1; +x_191 = l_Lean_Name_toStringWithSep___main(x_190, x_181); +x_192 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_192, 0, x_191); +x_193 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_193, 0, x_192); +x_194 = l_Lean_Elab_Term_elabTermAux___main___closed__3; +x_195 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_193); +x_196 = l_Lean_Elab_Term_elabTermAux___main___closed__6; +x_197 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_197, 0, x_195); +lean_ctor_set(x_197, 1, x_196); +x_198 = l_Lean_Elab_Term_throwError___rarg(x_3, x_197, x_173, x_188); +lean_dec(x_3); +return x_198; } else { -lean_object* x_205; lean_object* x_206; lean_object* x_207; -lean_dec(x_187); -lean_dec(x_179); -x_205 = lean_ctor_get(x_195, 0); -lean_inc(x_205); -lean_dec(x_195); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_4); -lean_ctor_set(x_206, 1, x_167); -x_207 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_207, 0, x_178); -lean_ctor_set(x_207, 1, x_160); -lean_ctor_set(x_207, 2, x_161); -lean_ctor_set(x_207, 3, x_162); -lean_ctor_set(x_207, 4, x_163); -lean_ctor_set(x_207, 5, x_164); -lean_ctor_set(x_207, 6, x_165); -lean_ctor_set(x_207, 7, x_166); -lean_ctor_set(x_207, 8, x_206); -lean_ctor_set(x_207, 9, x_8); -lean_ctor_set_uint8(x_207, sizeof(void*)*10, x_168); -x_4 = x_205; -x_5 = x_207; -x_6 = x_194; +lean_object* x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_181); +lean_dec(x_173); +x_199 = lean_ctor_get(x_189, 0); +lean_inc(x_199); +lean_dec(x_189); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_3); +lean_ctor_set(x_200, 1, x_160); +x_201 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_201, 0, x_172); +lean_ctor_set(x_201, 1, x_153); +lean_ctor_set(x_201, 2, x_154); +lean_ctor_set(x_201, 3, x_155); +lean_ctor_set(x_201, 4, x_156); +lean_ctor_set(x_201, 5, x_157); +lean_ctor_set(x_201, 6, x_158); +lean_ctor_set(x_201, 7, x_159); +lean_ctor_set(x_201, 8, x_200); +lean_ctor_set(x_201, 9, x_7); +lean_ctor_set_uint8(x_201, sizeof(void*)*10, x_161); +lean_ctor_set_uint8(x_201, sizeof(void*)*10 + 1, x_162); +x_3 = x_199; +x_4 = x_201; +x_5 = x_188; goto _start; } } else { -lean_object* x_209; lean_object* x_210; -lean_dec(x_187); -lean_dec(x_178); -lean_dec(x_167); -lean_dec(x_166); -lean_dec(x_165); -lean_dec(x_164); -lean_dec(x_163); -lean_dec(x_162); -lean_dec(x_161); -lean_dec(x_160); -lean_dec(x_8); -x_209 = lean_ctor_get(x_188, 0); -lean_inc(x_209); -lean_dec(x_188); -lean_inc(x_180); -x_210 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_180, x_4, x_1, x_3, x_2, x_209, x_179, x_180); -return x_210; -} -} -block_223: -{ -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_dec(x_212); -x_213 = lean_box(0); -x_214 = lean_unsigned_to_nat(0u); -lean_inc(x_4); -x_215 = l_Lean_Syntax_formatStxAux___main(x_213, x_214, x_4); -x_216 = l_Lean_Options_empty; -x_217 = l_Lean_Format_pretty(x_215, x_216); -x_218 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_218, 0, x_217); -x_219 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_219, 0, x_218); -x_220 = l_Lean_Elab_Term_withNode___rarg___closed__3; -x_221 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_219); -x_222 = l_Lean_Elab_Term_throwError___rarg(x_4, x_221, x_179, x_6); -lean_dec(x_4); -return x_222; -} -} -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_dec(x_175); -lean_dec(x_174); -lean_dec(x_173); +lean_object* x_203; lean_object* x_204; +lean_dec(x_181); lean_dec(x_172); -lean_dec(x_171); -lean_dec(x_170); -lean_dec(x_167); -lean_dec(x_166); -lean_dec(x_165); -lean_dec(x_164); -lean_dec(x_163); -lean_dec(x_162); -lean_dec(x_161); lean_dec(x_160); -lean_dec(x_8); -lean_dec(x_1); -x_233 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; -x_234 = l_Lean_Elab_Term_throwError___rarg(x_4, x_233, x_169, x_6); -lean_dec(x_4); -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); +lean_dec(x_159); +lean_dec(x_158); +lean_dec(x_157); +lean_dec(x_156); +lean_dec(x_155); +lean_dec(x_154); +lean_dec(x_153); +lean_dec(x_7); +x_203 = lean_ctor_get(x_182, 0); +lean_inc(x_203); +lean_dec(x_182); +lean_inc(x_174); +x_204 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_174, x_3, x_1, x_2, x_203, x_173, x_174); +return x_204; } -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; +block_217: +{ +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_dec(x_206); +x_207 = lean_box(0); +x_208 = lean_unsigned_to_nat(0u); +lean_inc(x_3); +x_209 = l_Lean_Syntax_formatStxAux___main(x_207, x_208, x_3); +x_210 = l_Lean_Options_empty; +x_211 = l_Lean_Format_pretty(x_209, x_210); +x_212 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_212, 0, x_211); +x_213 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_213, 0, x_212); +x_214 = l_Lean_Elab_Term_withNode___rarg___closed__3; +x_215 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_213); +x_216 = l_Lean_Elab_Term_throwError___rarg(x_3, x_215, x_173, x_164); +lean_dec(x_3); +return x_216; +} } } } else { -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; uint8_t 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; uint8_t x_266; -x_239 = lean_ctor_get(x_6, 0); -x_240 = lean_ctor_get(x_6, 1); -x_241 = lean_ctor_get(x_6, 2); -x_242 = lean_ctor_get(x_6, 3); -x_243 = lean_ctor_get(x_6, 4); -x_244 = lean_ctor_get(x_6, 5); -lean_inc(x_244); -lean_inc(x_243); +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; uint8_t x_255; uint8_t x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_323; lean_object* x_324; uint8_t x_325; +x_237 = lean_ctor_get(x_5, 0); +x_238 = lean_ctor_get(x_5, 1); +x_239 = lean_ctor_get(x_5, 2); +x_240 = lean_ctor_get(x_5, 3); +x_241 = lean_ctor_get(x_5, 4); +x_242 = lean_ctor_get(x_5, 5); lean_inc(x_242); lean_inc(x_241); lean_inc(x_240); lean_inc(x_239); -lean_dec(x_6); -x_245 = lean_unsigned_to_nat(1u); -x_246 = lean_nat_add(x_244, x_245); -x_247 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_247, 0, x_239); -lean_ctor_set(x_247, 1, x_240); -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_246); -x_248 = lean_ctor_get(x_5, 0); +lean_inc(x_238); +lean_inc(x_237); +lean_dec(x_5); +x_243 = lean_unsigned_to_nat(1u); +x_244 = lean_nat_add(x_242, x_243); +x_245 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_245, 0, x_237); +lean_ctor_set(x_245, 1, x_238); +lean_ctor_set(x_245, 2, x_239); +lean_ctor_set(x_245, 3, x_240); +lean_ctor_set(x_245, 4, x_241); +lean_ctor_set(x_245, 5, x_244); +x_246 = lean_ctor_get(x_4, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_4, 1); +lean_inc(x_247); +x_248 = lean_ctor_get(x_4, 2); lean_inc(x_248); -x_249 = lean_ctor_get(x_5, 1); +x_249 = lean_ctor_get(x_4, 3); lean_inc(x_249); -x_250 = lean_ctor_get(x_5, 2); +x_250 = lean_ctor_get(x_4, 4); lean_inc(x_250); -x_251 = lean_ctor_get(x_5, 3); +x_251 = lean_ctor_get(x_4, 5); lean_inc(x_251); -x_252 = lean_ctor_get(x_5, 4); +x_252 = lean_ctor_get(x_4, 6); lean_inc(x_252); -x_253 = lean_ctor_get(x_5, 5); +x_253 = lean_ctor_get(x_4, 7); lean_inc(x_253); -x_254 = lean_ctor_get(x_5, 6); +x_254 = lean_ctor_get(x_4, 8); lean_inc(x_254); -x_255 = lean_ctor_get(x_5, 7); -lean_inc(x_255); -x_256 = lean_ctor_get(x_5, 8); -lean_inc(x_256); -x_257 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); -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); - lean_ctor_release(x_5, 8); - lean_ctor_release(x_5, 9); - x_258 = x_5; +x_255 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_256 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +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); + lean_ctor_release(x_4, 4); + lean_ctor_release(x_4, 5); + lean_ctor_release(x_4, 6); + lean_ctor_release(x_4, 7); + lean_ctor_release(x_4, 8); + lean_ctor_release(x_4, 9); + x_257 = x_4; } else { - lean_dec_ref(x_5); - x_258 = lean_box(0); + lean_dec_ref(x_4); + x_257 = lean_box(0); } -lean_inc(x_244); -lean_inc(x_256); -lean_inc(x_255); +lean_inc(x_242); lean_inc(x_254); lean_inc(x_253); lean_inc(x_252); @@ -12644,318 +12564,329 @@ lean_inc(x_251); lean_inc(x_250); lean_inc(x_249); lean_inc(x_248); -if (lean_is_scalar(x_258)) { - x_259 = lean_alloc_ctor(0, 10, 1); +lean_inc(x_247); +lean_inc(x_246); +if (lean_is_scalar(x_257)) { + x_258 = lean_alloc_ctor(0, 10, 2); } else { - x_259 = x_258; + x_258 = x_257; } -lean_ctor_set(x_259, 0, x_248); -lean_ctor_set(x_259, 1, x_249); -lean_ctor_set(x_259, 2, x_250); -lean_ctor_set(x_259, 3, x_251); -lean_ctor_set(x_259, 4, x_252); -lean_ctor_set(x_259, 5, x_253); -lean_ctor_set(x_259, 6, x_254); -lean_ctor_set(x_259, 7, x_255); -lean_ctor_set(x_259, 8, x_256); -lean_ctor_set(x_259, 9, x_244); -lean_ctor_set_uint8(x_259, sizeof(void*)*10, x_257); -x_260 = lean_ctor_get(x_248, 0); +lean_ctor_set(x_258, 0, x_246); +lean_ctor_set(x_258, 1, x_247); +lean_ctor_set(x_258, 2, x_248); +lean_ctor_set(x_258, 3, x_249); +lean_ctor_set(x_258, 4, x_250); +lean_ctor_set(x_258, 5, x_251); +lean_ctor_set(x_258, 6, x_252); +lean_ctor_set(x_258, 7, x_253); +lean_ctor_set(x_258, 8, x_254); +lean_ctor_set(x_258, 9, x_242); +lean_ctor_set_uint8(x_258, sizeof(void*)*10, x_255); +lean_ctor_set_uint8(x_258, sizeof(void*)*10 + 1, x_256); +x_323 = lean_ctor_get(x_246, 3); +lean_inc(x_323); +x_324 = lean_ctor_get(x_246, 4); +lean_inc(x_324); +x_325 = lean_nat_dec_eq(x_323, x_324); +lean_dec(x_324); +lean_dec(x_323); +if (x_325 == 0) +{ +lean_dec(x_258); +x_259 = x_245; +goto block_322; +} +else +{ +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_dec(x_254); +lean_dec(x_253); +lean_dec(x_252); +lean_dec(x_251); +lean_dec(x_250); +lean_dec(x_249); +lean_dec(x_248); +lean_dec(x_247); +lean_dec(x_246); +lean_dec(x_242); +lean_dec(x_1); +x_326 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; +x_327 = l_Lean_Elab_Term_throwError___rarg(x_3, x_326, x_258, x_245); +lean_dec(x_3); +x_328 = lean_ctor_get(x_327, 0); +lean_inc(x_328); +x_329 = lean_ctor_get(x_327, 1); +lean_inc(x_329); +if (lean_is_exclusive(x_327)) { + lean_ctor_release(x_327, 0); + lean_ctor_release(x_327, 1); + x_330 = x_327; +} else { + lean_dec_ref(x_327); + x_330 = lean_box(0); +} +if (lean_is_scalar(x_330)) { + x_331 = lean_alloc_ctor(1, 2, 0); +} else { + x_331 = x_330; +} +lean_ctor_set(x_331, 0, x_328); +lean_ctor_set(x_331, 1, x_329); +return x_331; +} +block_322: +{ +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_301; +x_260 = lean_ctor_get(x_246, 0); lean_inc(x_260); -x_261 = lean_ctor_get(x_248, 1); +x_261 = lean_ctor_get(x_246, 1); lean_inc(x_261); -x_262 = lean_ctor_get(x_248, 2); +x_262 = lean_ctor_get(x_246, 2); lean_inc(x_262); -x_263 = lean_ctor_get(x_248, 3); +x_263 = lean_ctor_get(x_246, 3); lean_inc(x_263); -x_264 = lean_ctor_get(x_248, 4); +x_264 = lean_ctor_get(x_246, 4); lean_inc(x_264); -if (lean_is_exclusive(x_248)) { - lean_ctor_release(x_248, 0); - lean_ctor_release(x_248, 1); - lean_ctor_release(x_248, 2); - lean_ctor_release(x_248, 3); - lean_ctor_release(x_248, 4); - x_265 = x_248; +if (lean_is_exclusive(x_246)) { + lean_ctor_release(x_246, 0); + lean_ctor_release(x_246, 1); + lean_ctor_release(x_246, 2); + lean_ctor_release(x_246, 3); + lean_ctor_release(x_246, 4); + x_265 = x_246; } else { - lean_dec_ref(x_248); + lean_dec_ref(x_246); x_265 = lean_box(0); } -x_266 = lean_nat_dec_eq(x_263, x_264); -if (x_266 == 0) -{ -lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_302; -lean_dec(x_259); -x_267 = lean_nat_add(x_263, x_245); +x_266 = lean_nat_add(x_263, x_243); lean_dec(x_263); if (lean_is_scalar(x_265)) { - x_268 = lean_alloc_ctor(0, 5, 0); + x_267 = lean_alloc_ctor(0, 5, 0); } else { - x_268 = x_265; + x_267 = x_265; } -lean_ctor_set(x_268, 0, x_260); -lean_ctor_set(x_268, 1, x_261); -lean_ctor_set(x_268, 2, x_262); -lean_ctor_set(x_268, 3, x_267); -lean_ctor_set(x_268, 4, x_264); -lean_inc(x_244); -lean_inc(x_256); -lean_inc(x_255); +lean_ctor_set(x_267, 0, x_260); +lean_ctor_set(x_267, 1, x_261); +lean_ctor_set(x_267, 2, x_262); +lean_ctor_set(x_267, 3, x_266); +lean_ctor_set(x_267, 4, x_264); +lean_inc(x_242); lean_inc(x_254); lean_inc(x_253); lean_inc(x_252); lean_inc(x_251); lean_inc(x_250); lean_inc(x_249); -lean_inc(x_268); -x_269 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_269, 1, x_249); -lean_ctor_set(x_269, 2, x_250); -lean_ctor_set(x_269, 3, x_251); -lean_ctor_set(x_269, 4, x_252); -lean_ctor_set(x_269, 5, x_253); -lean_ctor_set(x_269, 6, x_254); -lean_ctor_set(x_269, 7, x_255); -lean_ctor_set(x_269, 8, x_256); -lean_ctor_set(x_269, 9, x_244); -lean_ctor_set_uint8(x_269, sizeof(void*)*10, x_257); -if (lean_obj_tag(x_4) == 1) +lean_inc(x_248); +lean_inc(x_247); +lean_inc(x_267); +x_268 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_247); +lean_ctor_set(x_268, 2, x_248); +lean_ctor_set(x_268, 3, x_249); +lean_ctor_set(x_268, 4, x_250); +lean_ctor_set(x_268, 5, x_251); +lean_ctor_set(x_268, 6, x_252); +lean_ctor_set(x_268, 7, x_253); +lean_ctor_set(x_268, 8, x_254); +lean_ctor_set(x_268, 9, x_242); +lean_ctor_set_uint8(x_268, sizeof(void*)*10, x_255); +lean_ctor_set_uint8(x_268, sizeof(void*)*10 + 1, x_256); +if (lean_obj_tag(x_3) == 1) { -lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; -x_314 = l_Lean_Elab_Term_getOptions(x_269, x_247); -x_315 = lean_ctor_get(x_314, 0); +lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; uint8_t x_317; +x_313 = l_Lean_Elab_Term_getOptions(x_268, x_259); +x_314 = lean_ctor_get(x_313, 0); +lean_inc(x_314); +x_315 = lean_ctor_get(x_313, 1); lean_inc(x_315); -x_316 = lean_ctor_get(x_314, 1); -lean_inc(x_316); +lean_dec(x_313); +x_316 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; +x_317 = l_Lean_checkTraceOption(x_314, x_316); lean_dec(x_314); -x_317 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; -x_318 = l_Lean_checkTraceOption(x_315, x_317); -lean_dec(x_315); -if (x_318 == 0) +if (x_317 == 0) { -x_270 = x_316; -goto block_301; +x_269 = x_315; +goto block_300; } else { -lean_object* x_319; lean_object* x_320; lean_object* x_321; -lean_inc(x_4); -x_319 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_319, 0, x_4); -x_320 = l_Lean_Elab_Term_logTrace(x_317, x_4, x_319, x_269, x_316); -x_321 = lean_ctor_get(x_320, 1); -lean_inc(x_321); -lean_dec(x_320); -x_270 = x_321; -goto block_301; +lean_object* x_318; lean_object* x_319; lean_object* x_320; +lean_inc(x_3); +x_318 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_318, 0, x_3); +x_319 = l_Lean_Elab_Term_logTrace(x_316, x_3, x_318, x_268, x_315); +x_320 = lean_ctor_get(x_319, 1); +lean_inc(x_320); +lean_dec(x_319); +x_269 = x_320; +goto block_300; } } else { -lean_object* x_322; -lean_dec(x_268); -lean_dec(x_256); -lean_dec(x_255); +lean_object* x_321; +lean_dec(x_267); lean_dec(x_254); lean_dec(x_253); lean_dec(x_252); lean_dec(x_251); lean_dec(x_250); lean_dec(x_249); -lean_dec(x_244); +lean_dec(x_248); +lean_dec(x_247); +lean_dec(x_242); lean_dec(x_1); -x_322 = lean_box(0); -x_302 = x_322; -goto block_313; +x_321 = lean_box(0); +x_301 = x_321; +goto block_312; } -block_301: +block_300: { -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; -x_271 = l_Lean_Elab_Term_termElabAttribute; -x_272 = lean_ctor_get(x_271, 1); +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; +x_270 = l_Lean_Elab_Term_termElabAttribute; +x_271 = lean_ctor_get(x_270, 1); +lean_inc(x_271); +x_272 = lean_ctor_get(x_269, 0); lean_inc(x_272); -x_273 = lean_ctor_get(x_270, 0); +x_273 = lean_ctor_get(x_272, 0); lean_inc(x_273); -x_274 = lean_ctor_get(x_273, 0); -lean_inc(x_274); -lean_dec(x_273); -x_275 = l_Lean_PersistentEnvExtension_getState___rarg(x_272, x_274); -lean_dec(x_274); lean_dec(x_272); -x_276 = lean_ctor_get(x_275, 1); -lean_inc(x_276); -lean_dec(x_275); -lean_inc(x_4); -x_277 = l_Lean_Syntax_getKind(x_4); -x_278 = l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1(x_276, x_277); -if (lean_obj_tag(x_278) == 0) +x_274 = l_Lean_PersistentEnvExtension_getState___rarg(x_271, x_273); +lean_dec(x_273); +lean_dec(x_271); +x_275 = lean_ctor_get(x_274, 1); +lean_inc(x_275); +lean_dec(x_274); +lean_inc(x_3); +x_276 = l_Lean_Syntax_getKind(x_3); +x_277 = l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1(x_275, x_276); +if (lean_obj_tag(x_277) == 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; -x_279 = l_Lean_Elab_Term_getCurrMacroScope(x_269, x_270); -x_280 = lean_ctor_get(x_279, 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; +x_278 = l_Lean_Elab_Term_getCurrMacroScope(x_268, x_269); +x_279 = lean_ctor_get(x_278, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_278, 1); lean_inc(x_280); -x_281 = lean_ctor_get(x_279, 1); -lean_inc(x_281); -lean_dec(x_279); -x_282 = l_Lean_Elab_Term_getEnv___rarg(x_281); -x_283 = lean_ctor_get(x_282, 0); +lean_dec(x_278); +x_281 = l_Lean_Elab_Term_getEnv___rarg(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); -x_284 = lean_ctor_get(x_282, 1); -lean_inc(x_284); +lean_dec(x_281); +lean_inc(x_3); +x_284 = l_Lean_Elab_expandMacro(x_282, x_3, x_279); lean_dec(x_282); -lean_inc(x_4); -x_285 = l_Lean_Elab_expandMacro(x_283, x_4, x_280); -lean_dec(x_283); -if (lean_obj_tag(x_285) == 0) +if (lean_obj_tag(x_284) == 0) { -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_dec(x_268); -lean_dec(x_256); -lean_dec(x_255); +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_dec(x_267); lean_dec(x_254); lean_dec(x_253); lean_dec(x_252); lean_dec(x_251); lean_dec(x_250); lean_dec(x_249); -lean_dec(x_244); +lean_dec(x_248); +lean_dec(x_247); +lean_dec(x_242); lean_dec(x_1); -x_286 = l_Lean_Name_toString___closed__1; -x_287 = l_Lean_Name_toStringWithSep___main(x_286, x_277); -x_288 = lean_alloc_ctor(2, 1, 0); +x_285 = l_Lean_Name_toString___closed__1; +x_286 = l_Lean_Name_toStringWithSep___main(x_285, x_276); +x_287 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_287, 0, x_286); +x_288 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_288, 0, x_287); -x_289 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_289, 0, x_288); -x_290 = l_Lean_Elab_Term_elabTermAux___main___closed__3; -x_291 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_289); -x_292 = l_Lean_Elab_Term_elabTermAux___main___closed__6; -x_293 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_293, 0, x_291); -lean_ctor_set(x_293, 1, x_292); -x_294 = l_Lean_Elab_Term_throwError___rarg(x_4, x_293, x_269, x_284); -lean_dec(x_4); -return x_294; +x_289 = l_Lean_Elab_Term_elabTermAux___main___closed__3; +x_290 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_290, 0, x_289); +lean_ctor_set(x_290, 1, x_288); +x_291 = l_Lean_Elab_Term_elabTermAux___main___closed__6; +x_292 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_292, 0, x_290); +lean_ctor_set(x_292, 1, x_291); +x_293 = l_Lean_Elab_Term_throwError___rarg(x_3, x_292, x_268, x_283); +lean_dec(x_3); +return x_293; } else { -lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_277); -lean_dec(x_269); -x_295 = lean_ctor_get(x_285, 0); -lean_inc(x_295); -lean_dec(x_285); -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_4); -lean_ctor_set(x_296, 1, x_256); -x_297 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_297, 0, x_268); -lean_ctor_set(x_297, 1, x_249); -lean_ctor_set(x_297, 2, x_250); -lean_ctor_set(x_297, 3, x_251); -lean_ctor_set(x_297, 4, x_252); -lean_ctor_set(x_297, 5, x_253); -lean_ctor_set(x_297, 6, x_254); -lean_ctor_set(x_297, 7, x_255); -lean_ctor_set(x_297, 8, x_296); -lean_ctor_set(x_297, 9, x_244); -lean_ctor_set_uint8(x_297, sizeof(void*)*10, x_257); -x_4 = x_295; -x_5 = x_297; -x_6 = x_284; +lean_object* x_294; lean_object* x_295; lean_object* x_296; +lean_dec(x_276); +lean_dec(x_268); +x_294 = lean_ctor_get(x_284, 0); +lean_inc(x_294); +lean_dec(x_284); +x_295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_295, 0, x_3); +lean_ctor_set(x_295, 1, x_254); +x_296 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_296, 0, x_267); +lean_ctor_set(x_296, 1, x_247); +lean_ctor_set(x_296, 2, x_248); +lean_ctor_set(x_296, 3, x_249); +lean_ctor_set(x_296, 4, x_250); +lean_ctor_set(x_296, 5, x_251); +lean_ctor_set(x_296, 6, x_252); +lean_ctor_set(x_296, 7, x_253); +lean_ctor_set(x_296, 8, x_295); +lean_ctor_set(x_296, 9, x_242); +lean_ctor_set_uint8(x_296, sizeof(void*)*10, x_255); +lean_ctor_set_uint8(x_296, sizeof(void*)*10 + 1, x_256); +x_3 = x_294; +x_4 = x_296; +x_5 = x_283; goto _start; } } else { -lean_object* x_299; lean_object* x_300; +lean_object* x_298; lean_object* x_299; +lean_dec(x_276); +lean_dec(x_267); +lean_dec(x_254); +lean_dec(x_253); +lean_dec(x_252); +lean_dec(x_251); +lean_dec(x_250); +lean_dec(x_249); +lean_dec(x_248); +lean_dec(x_247); +lean_dec(x_242); +x_298 = lean_ctor_get(x_277, 0); +lean_inc(x_298); lean_dec(x_277); -lean_dec(x_268); -lean_dec(x_256); -lean_dec(x_255); -lean_dec(x_254); -lean_dec(x_253); -lean_dec(x_252); -lean_dec(x_251); -lean_dec(x_250); -lean_dec(x_249); -lean_dec(x_244); -x_299 = lean_ctor_get(x_278, 0); -lean_inc(x_299); -lean_dec(x_278); -lean_inc(x_270); -x_300 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_270, x_4, x_1, x_3, x_2, x_299, x_269, x_270); -return x_300; +lean_inc(x_269); +x_299 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_269, x_3, x_1, x_2, x_298, x_268, x_269); +return x_299; } } -block_313: +block_312: { -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_dec(x_302); -x_303 = lean_box(0); -x_304 = lean_unsigned_to_nat(0u); -lean_inc(x_4); -x_305 = l_Lean_Syntax_formatStxAux___main(x_303, x_304, x_4); -x_306 = l_Lean_Options_empty; -x_307 = l_Lean_Format_pretty(x_305, x_306); -x_308 = lean_alloc_ctor(2, 1, 0); +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_301); +x_302 = lean_box(0); +x_303 = lean_unsigned_to_nat(0u); +lean_inc(x_3); +x_304 = l_Lean_Syntax_formatStxAux___main(x_302, x_303, x_3); +x_305 = l_Lean_Options_empty; +x_306 = l_Lean_Format_pretty(x_304, x_305); +x_307 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_307, 0, x_306); +x_308 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_308, 0, x_307); -x_309 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_309, 0, x_308); -x_310 = l_Lean_Elab_Term_withNode___rarg___closed__3; -x_311 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_311, 0, x_310); -lean_ctor_set(x_311, 1, x_309); -x_312 = l_Lean_Elab_Term_throwError___rarg(x_4, x_311, x_269, x_247); -lean_dec(x_4); -return x_312; +x_309 = l_Lean_Elab_Term_withNode___rarg___closed__3; +x_310 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_310, 0, x_309); +lean_ctor_set(x_310, 1, x_308); +x_311 = l_Lean_Elab_Term_throwError___rarg(x_3, x_310, x_268, x_259); +lean_dec(x_3); +return x_311; } } -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; -lean_dec(x_265); -lean_dec(x_264); -lean_dec(x_263); -lean_dec(x_262); -lean_dec(x_261); -lean_dec(x_260); -lean_dec(x_256); -lean_dec(x_255); -lean_dec(x_254); -lean_dec(x_253); -lean_dec(x_252); -lean_dec(x_251); -lean_dec(x_250); -lean_dec(x_249); -lean_dec(x_244); -lean_dec(x_1); -x_323 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; -x_324 = l_Lean_Elab_Term_throwError___rarg(x_4, x_323, x_259, x_247); -lean_dec(x_4); -x_325 = lean_ctor_get(x_324, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_324, 1); -lean_inc(x_326); -if (lean_is_exclusive(x_324)) { - lean_ctor_release(x_324, 0); - lean_ctor_release(x_324, 1); - x_327 = x_324; -} else { - lean_dec_ref(x_324); - x_327 = lean_box(0); -} -if (lean_is_scalar(x_327)) { - x_328 = lean_alloc_ctor(1, 2, 0); -} else { - x_328 = x_327; -} -lean_ctor_set(x_328, 0, x_325); -lean_ctor_set(x_328, 1, x_326); -return x_328; -} } } } @@ -13019,56 +12950,50 @@ lean_dec(x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_elabTermAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_Term_elabTermAux___main___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_7; uint8_t x_8; lean_object* x_9; -x_7 = lean_unbox(x_2); +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_2); lean_dec(x_2); -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_7, x_8, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_6, x_3, x_4, x_5); return x_7; } } -lean_object* l_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* l_Lean_Elab_Term_elabTermAux(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_7; uint8_t x_8; lean_object* x_9; -x_7 = lean_unbox(x_2); +lean_object* x_6; +x_6 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_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) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_2); lean_dec(x_2); -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Elab_Term_elabTermAux(x_1, x_7, x_8, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_Elab_Term_elabTerm(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_3, x_4, x_1, x_5, x_6); +x_7 = l_Lean_Elab_Term_elabTermAux(x_1, x_6, x_3, x_4, x_5); return x_7; } } -lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object* 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_Term_elabTerm(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_7; uint8_t x_8; lean_object* x_9; -x_7 = lean_unbox(x_3); +lean_object* x_6; +x_6 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_3, x_1, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabTerm___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_3); lean_dec(x_3); -x_8 = lean_unbox(x_4); -lean_dec(x_4); -x_9 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_7, x_8, x_5, x_6); -return x_9; +x_7 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_6, x_4, x_5); +return x_7; } } 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) { @@ -13096,7 +13021,7 @@ x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); x_12 = 1; -x_13 = l_Lean_Elab_Term_elabTermAux___main(x_3, x_12, x_12, x_10, x_4, x_11); +x_13 = l_Lean_Elab_Term_elabTermAux___main(x_3, x_12, x_10, x_4, x_11); return x_13; } else @@ -13126,7 +13051,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_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; lean_object* x_31; +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; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; x_18 = lean_ctor_get(x_4, 0); x_19 = lean_ctor_get(x_4, 1); x_20 = lean_ctor_get(x_4, 2); @@ -13138,6 +13063,7 @@ x_25 = lean_ctor_get(x_4, 7); x_26 = lean_ctor_get(x_4, 8); x_27 = lean_ctor_get(x_4, 9); x_28 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_29 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); @@ -13150,60 +13076,61 @@ lean_inc(x_19); lean_inc(x_18); lean_dec(x_4); lean_inc(x_2); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_2); -lean_ctor_set(x_29, 1, x_26); -x_30 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_30, 0, x_18); -lean_ctor_set(x_30, 1, x_19); -lean_ctor_set(x_30, 2, x_20); -lean_ctor_set(x_30, 3, x_21); -lean_ctor_set(x_30, 4, x_22); -lean_ctor_set(x_30, 5, x_23); -lean_ctor_set(x_30, 6, x_24); -lean_ctor_set(x_30, 7, x_25); -lean_ctor_set(x_30, 8, x_29); -lean_ctor_set(x_30, 9, x_27); -lean_ctor_set_uint8(x_30, sizeof(void*)*10, x_28); -lean_inc(x_30); -x_31 = lean_apply_3(x_1, x_2, x_30, x_5); -if (lean_obj_tag(x_31) == 0) +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_26); +x_31 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_31, 0, x_18); +lean_ctor_set(x_31, 1, x_19); +lean_ctor_set(x_31, 2, x_20); +lean_ctor_set(x_31, 3, x_21); +lean_ctor_set(x_31, 4, x_22); +lean_ctor_set(x_31, 5, x_23); +lean_ctor_set(x_31, 6, x_24); +lean_ctor_set(x_31, 7, x_25); +lean_ctor_set(x_31, 8, x_30); +lean_ctor_set(x_31, 9, x_27); +lean_ctor_set_uint8(x_31, sizeof(void*)*10, x_28); +lean_ctor_set_uint8(x_31, sizeof(void*)*10 + 1, x_29); +lean_inc(x_31); +x_32 = lean_apply_3(x_1, x_2, x_31, x_5); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_32; lean_object* x_33; uint8_t 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_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -lean_dec(x_31); -x_34 = 1; -x_35 = l_Lean_Elab_Term_elabTermAux___main(x_3, x_34, x_34, x_32, x_30, x_33); -return x_35; +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = 1; +x_36 = l_Lean_Elab_Term_elabTermAux___main(x_3, x_35, x_33, x_31, x_34); +return x_36; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_30); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_31); lean_dec(x_3); -x_36 = lean_ctor_get(x_31, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_31, 1); +x_37 = lean_ctor_get(x_32, 0); lean_inc(x_37); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_38 = x_31; +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + x_39 = x_32; } else { - lean_dec_ref(x_31); - x_38 = lean_box(0); + lean_dec_ref(x_32); + x_39 = lean_box(0); } -if (lean_is_scalar(x_38)) { - x_39 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_39)) { + x_40 = lean_alloc_ctor(1, 2, 0); } else { - x_39 = x_38; + x_40 = x_39; } -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_37); -return x_39; +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_38); +return x_40; } } } @@ -13526,7 +13453,7 @@ lean_ctor_set(x_8, 0, x_7); x_9 = 1; lean_inc(x_2); lean_inc(x_1); -x_10 = l_Lean_Elab_Term_elabTermAux___main(x_8, x_9, x_9, x_1, x_2, x_6); +x_10 = l_Lean_Elab_Term_elabTermAux___main(x_8, x_9, x_1, x_2, x_6); if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -13610,7 +13537,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; 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; +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_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_17 = lean_ctor_get(x_4, 0); x_18 = lean_ctor_get(x_4, 1); x_19 = lean_ctor_get(x_4, 2); @@ -13622,6 +13549,7 @@ x_24 = lean_ctor_get(x_4, 7); x_25 = lean_ctor_get(x_4, 8); x_26 = lean_ctor_get(x_4, 9); x_27 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_28 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); @@ -13633,47 +13561,48 @@ lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_dec(x_4); -x_28 = lean_ctor_get(x_17, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_17, 3); +x_29 = lean_ctor_get(x_17, 0); lean_inc(x_29); -x_30 = lean_ctor_get(x_17, 4); +x_30 = lean_ctor_get(x_17, 3); lean_inc(x_30); +x_31 = lean_ctor_get(x_17, 4); +lean_inc(x_31); 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); - x_31 = x_17; + x_32 = x_17; } else { lean_dec_ref(x_17); - x_31 = lean_box(0); + x_32 = lean_box(0); } -if (lean_is_scalar(x_31)) { - x_32 = lean_alloc_ctor(0, 5, 0); +if (lean_is_scalar(x_32)) { + x_33 = lean_alloc_ctor(0, 5, 0); } else { - x_32 = x_31; + x_33 = x_32; } -lean_ctor_set(x_32, 0, x_28); -lean_ctor_set(x_32, 1, x_1); -lean_ctor_set(x_32, 2, x_2); -lean_ctor_set(x_32, 3, x_29); -lean_ctor_set(x_32, 4, x_30); -x_33 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_18); -lean_ctor_set(x_33, 2, x_19); -lean_ctor_set(x_33, 3, x_20); -lean_ctor_set(x_33, 4, x_21); -lean_ctor_set(x_33, 5, x_22); -lean_ctor_set(x_33, 6, x_23); -lean_ctor_set(x_33, 7, x_24); -lean_ctor_set(x_33, 8, x_25); -lean_ctor_set(x_33, 9, x_26); -lean_ctor_set_uint8(x_33, sizeof(void*)*10, x_27); -x_34 = lean_apply_2(x_3, x_33, x_5); -return x_34; +lean_ctor_set(x_33, 0, x_29); +lean_ctor_set(x_33, 1, x_1); +lean_ctor_set(x_33, 2, x_2); +lean_ctor_set(x_33, 3, x_30); +lean_ctor_set(x_33, 4, x_31); +x_34 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_18); +lean_ctor_set(x_34, 2, x_19); +lean_ctor_set(x_34, 3, x_20); +lean_ctor_set(x_34, 4, x_21); +lean_ctor_set(x_34, 5, x_22); +lean_ctor_set(x_34, 6, x_23); +lean_ctor_set(x_34, 7, x_24); +lean_ctor_set(x_34, 8, x_25); +lean_ctor_set(x_34, 9, x_26); +lean_ctor_set_uint8(x_34, sizeof(void*)*10, x_27); +lean_ctor_set_uint8(x_34, sizeof(void*)*10 + 1, x_28); +x_35 = lean_apply_2(x_3, x_34, x_5); +return x_35; } } } @@ -15144,291 +15073,271 @@ lean_inc(x_17); x_18 = !lean_is_exclusive(x_6); if (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; lean_object* x_25; uint8_t x_26; lean_object* x_27; +uint8_t 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; uint8_t x_27; lean_object* x_28; x_19 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); -x_20 = lean_ctor_get(x_6, 2); -x_21 = lean_ctor_get(x_6, 1); -lean_dec(x_21); -x_22 = lean_ctor_get(x_7, 1); -lean_inc(x_22); -x_23 = lean_ctor_get(x_7, 4); +x_20 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); +x_21 = lean_ctor_get(x_6, 2); +x_22 = lean_ctor_get(x_6, 1); +lean_dec(x_22); +x_23 = lean_ctor_get(x_7, 1); lean_inc(x_23); -x_24 = lean_array_get_size(x_20); -x_25 = lean_array_get_size(x_23); -x_26 = lean_nat_dec_eq(x_24, x_25); +x_24 = lean_ctor_get(x_7, 4); +lean_inc(x_24); +x_25 = lean_array_get_size(x_21); +x_26 = lean_array_get_size(x_24); +x_27 = lean_nat_dec_eq(x_25, x_26); +lean_dec(x_26); lean_dec(x_25); +lean_inc(x_24); +lean_ctor_set(x_6, 2, x_24); +lean_ctor_set(x_6, 1, x_23); +x_28 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_28, 0, x_6); +lean_ctor_set(x_28, 1, x_9); +lean_ctor_set(x_28, 2, x_10); +lean_ctor_set(x_28, 3, x_11); +lean_ctor_set(x_28, 4, x_12); +lean_ctor_set(x_28, 5, x_13); +lean_ctor_set(x_28, 6, x_14); +lean_ctor_set(x_28, 7, x_15); +lean_ctor_set(x_28, 8, x_16); +lean_ctor_set(x_28, 9, x_17); +lean_ctor_set_uint8(x_28, sizeof(void*)*10, x_19); +lean_ctor_set_uint8(x_28, sizeof(void*)*10 + 1, x_20); +if (x_27 == 0) +{ +lean_object* x_29; lean_dec(x_24); -lean_inc(x_23); -lean_ctor_set(x_6, 2, x_23); -lean_ctor_set(x_6, 1, x_22); -x_27 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_27, 0, x_6); -lean_ctor_set(x_27, 1, x_9); -lean_ctor_set(x_27, 2, x_10); -lean_ctor_set(x_27, 3, x_11); -lean_ctor_set(x_27, 4, x_12); -lean_ctor_set(x_27, 5, x_13); -lean_ctor_set(x_27, 6, x_14); -lean_ctor_set(x_27, 7, x_15); -lean_ctor_set(x_27, 8, x_16); -lean_ctor_set(x_27, 9, x_17); -lean_ctor_set_uint8(x_27, sizeof(void*)*10, x_19); -if (x_26 == 0) -{ -lean_object* x_28; -lean_dec(x_23); -lean_dec(x_20); +lean_dec(x_21); lean_dec(x_7); lean_dec(x_3); -x_28 = lean_apply_2(x_2, x_27, x_8); -return x_28; +x_29 = lean_apply_2(x_2, x_28, x_8); +return x_29; } else { -lean_object* x_29; uint8_t x_30; -x_29 = lean_unsigned_to_nat(0u); -x_30 = l_Array_isEqvAux___main___at_Lean_Elab_Term_withMVarContext___spec__1(x_3, x_7, lean_box(0), x_20, x_23, x_29); -lean_dec(x_23); -lean_dec(x_20); +lean_object* x_30; uint8_t x_31; +x_30 = lean_unsigned_to_nat(0u); +x_31 = l_Array_isEqvAux___main___at_Lean_Elab_Term_withMVarContext___spec__1(x_3, x_7, lean_box(0), x_21, x_24, x_30); +lean_dec(x_24); +lean_dec(x_21); lean_dec(x_7); lean_dec(x_3); -if (x_30 == 0) +if (x_31 == 0) { -lean_object* x_31; -x_31 = lean_apply_2(x_2, x_27, x_8); -return x_31; +lean_object* x_32; +x_32 = lean_apply_2(x_2, x_28, x_8); +return x_32; } 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_8, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_32, 2); +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_8, 0); lean_inc(x_33); -lean_dec(x_32); x_34 = lean_ctor_get(x_33, 2); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_8); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_apply_2(x_2, x_27, x_36); -if (lean_obj_tag(x_37) == 0) +x_35 = lean_ctor_get(x_34, 2); +lean_inc(x_35); +lean_dec(x_34); +x_36 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_8); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_apply_2(x_2, x_28, x_37); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_39, 2); +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -x_41 = !lean_is_exclusive(x_37); -if (x_41 == 0) +x_41 = lean_ctor_get(x_40, 2); +lean_inc(x_41); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) { -lean_object* x_42; uint8_t x_43; -x_42 = lean_ctor_get(x_37, 1); -lean_dec(x_42); -x_43 = !lean_is_exclusive(x_38); -if (x_43 == 0) +lean_object* x_43; uint8_t x_44; +x_43 = lean_ctor_get(x_38, 1); +lean_dec(x_43); +x_44 = !lean_is_exclusive(x_39); +if (x_44 == 0) { -lean_object* x_44; uint8_t x_45; -x_44 = lean_ctor_get(x_38, 0); -lean_dec(x_44); -x_45 = !lean_is_exclusive(x_39); -if (x_45 == 0) +lean_object* x_45; uint8_t x_46; +x_45 = lean_ctor_get(x_39, 0); +lean_dec(x_45); +x_46 = !lean_is_exclusive(x_40); +if (x_46 == 0) { -lean_object* x_46; uint8_t x_47; -x_46 = lean_ctor_get(x_39, 2); -lean_dec(x_46); -x_47 = !lean_is_exclusive(x_40); -if (x_47 == 0) +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_40, 2); +lean_dec(x_47); +x_48 = !lean_is_exclusive(x_41); +if (x_48 == 0) { -lean_object* x_48; -x_48 = lean_ctor_get(x_40, 2); -lean_dec(x_48); -lean_ctor_set(x_40, 2, x_34); -return x_37; +lean_object* x_49; +x_49 = lean_ctor_get(x_41, 2); +lean_dec(x_49); +lean_ctor_set(x_41, 2, x_35); +return x_38; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_40, 0); -x_50 = lean_ctor_get(x_40, 1); +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_inc(x_49); -lean_dec(x_40); -x_51 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -lean_ctor_set(x_51, 2, x_34); -lean_ctor_set(x_39, 2, x_51); -return x_37; +lean_dec(x_41); +x_52 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +lean_ctor_set(x_52, 2, x_35); +lean_ctor_set(x_40, 2, x_52); +return x_38; } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_52 = lean_ctor_get(x_39, 0); -x_53 = lean_ctor_get(x_39, 1); -x_54 = lean_ctor_get(x_39, 3); -x_55 = lean_ctor_get(x_39, 4); -x_56 = lean_ctor_get(x_39, 5); +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_53 = lean_ctor_get(x_40, 0); +x_54 = lean_ctor_get(x_40, 1); +x_55 = lean_ctor_get(x_40, 3); +x_56 = lean_ctor_get(x_40, 4); +x_57 = lean_ctor_get(x_40, 5); +lean_inc(x_57); lean_inc(x_56); lean_inc(x_55); lean_inc(x_54); lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_39); -x_57 = lean_ctor_get(x_40, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_40, 1); +lean_dec(x_40); +x_58 = lean_ctor_get(x_41, 0); lean_inc(x_58); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - lean_ctor_release(x_40, 2); - x_59 = x_40; +x_59 = lean_ctor_get(x_41, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + lean_ctor_release(x_41, 2); + x_60 = x_41; } else { - lean_dec_ref(x_40); - x_59 = lean_box(0); + lean_dec_ref(x_41); + x_60 = lean_box(0); } -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(0, 3, 0); } else { - x_60 = x_59; + x_61 = x_60; } -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_58); -lean_ctor_set(x_60, 2, x_34); -x_61 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_61, 0, x_52); -lean_ctor_set(x_61, 1, x_53); -lean_ctor_set(x_61, 2, x_60); -lean_ctor_set(x_61, 3, x_54); -lean_ctor_set(x_61, 4, x_55); -lean_ctor_set(x_61, 5, x_56); -lean_ctor_set(x_38, 0, x_61); -return x_37; +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_59); +lean_ctor_set(x_61, 2, x_35); +x_62 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_62, 0, x_53); +lean_ctor_set(x_62, 1, x_54); +lean_ctor_set(x_62, 2, x_61); +lean_ctor_set(x_62, 3, x_55); +lean_ctor_set(x_62, 4, x_56); +lean_ctor_set(x_62, 5, x_57); +lean_ctor_set(x_39, 0, x_62); +return x_38; } } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_62 = lean_ctor_get(x_38, 1); -x_63 = lean_ctor_get(x_38, 2); -x_64 = lean_ctor_get(x_38, 3); -x_65 = lean_ctor_get(x_38, 4); -x_66 = lean_ctor_get(x_38, 5); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_63 = lean_ctor_get(x_39, 1); +x_64 = lean_ctor_get(x_39, 2); +x_65 = lean_ctor_get(x_39, 3); +x_66 = lean_ctor_get(x_39, 4); +x_67 = lean_ctor_get(x_39, 5); +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_dec(x_38); -x_67 = lean_ctor_get(x_39, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_39, 1); +lean_dec(x_39); +x_68 = lean_ctor_get(x_40, 0); lean_inc(x_68); -x_69 = lean_ctor_get(x_39, 3); +x_69 = lean_ctor_get(x_40, 1); lean_inc(x_69); -x_70 = lean_ctor_get(x_39, 4); +x_70 = lean_ctor_get(x_40, 3); lean_inc(x_70); -x_71 = lean_ctor_get(x_39, 5); +x_71 = lean_ctor_get(x_40, 4); lean_inc(x_71); -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); - x_72 = x_39; -} else { - lean_dec_ref(x_39); - x_72 = lean_box(0); -} -x_73 = lean_ctor_get(x_40, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_40, 1); -lean_inc(x_74); +x_72 = lean_ctor_get(x_40, 5); +lean_inc(x_72); if (lean_is_exclusive(x_40)) { lean_ctor_release(x_40, 0); lean_ctor_release(x_40, 1); lean_ctor_release(x_40, 2); - x_75 = x_40; + lean_ctor_release(x_40, 3); + lean_ctor_release(x_40, 4); + lean_ctor_release(x_40, 5); + x_73 = x_40; } else { lean_dec_ref(x_40); - x_75 = lean_box(0); + x_73 = lean_box(0); } -if (lean_is_scalar(x_75)) { - x_76 = lean_alloc_ctor(0, 3, 0); +x_74 = lean_ctor_get(x_41, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_41, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + lean_ctor_release(x_41, 2); + x_76 = x_41; } else { - x_76 = x_75; + lean_dec_ref(x_41); + x_76 = lean_box(0); } -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_74); -lean_ctor_set(x_76, 2, x_34); -if (lean_is_scalar(x_72)) { - x_77 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 3, 0); } else { - x_77 = x_72; + x_77 = x_76; } -lean_ctor_set(x_77, 0, x_67); -lean_ctor_set(x_77, 1, x_68); -lean_ctor_set(x_77, 2, x_76); -lean_ctor_set(x_77, 3, x_69); -lean_ctor_set(x_77, 4, x_70); -lean_ctor_set(x_77, 5, x_71); -x_78 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_62); -lean_ctor_set(x_78, 2, x_63); -lean_ctor_set(x_78, 3, x_64); -lean_ctor_set(x_78, 4, x_65); -lean_ctor_set(x_78, 5, x_66); -lean_ctor_set(x_37, 1, x_78); -return x_37; +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_77, 2, x_35); +if (lean_is_scalar(x_73)) { + x_78 = lean_alloc_ctor(0, 6, 0); +} else { + x_78 = x_73; +} +lean_ctor_set(x_78, 0, x_68); +lean_ctor_set(x_78, 1, x_69); +lean_ctor_set(x_78, 2, x_77); +lean_ctor_set(x_78, 3, x_70); +lean_ctor_set(x_78, 4, x_71); +lean_ctor_set(x_78, 5, x_72); +x_79 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_63); +lean_ctor_set(x_79, 2, x_64); +lean_ctor_set(x_79, 3, x_65); +lean_ctor_set(x_79, 4, x_66); +lean_ctor_set(x_79, 5, x_67); +lean_ctor_set(x_38, 1, x_79); +return x_38; } } 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; 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_79 = lean_ctor_get(x_37, 0); -lean_inc(x_79); -lean_dec(x_37); -x_80 = lean_ctor_get(x_38, 1); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_80 = lean_ctor_get(x_38, 0); lean_inc(x_80); -x_81 = lean_ctor_get(x_38, 2); +lean_dec(x_38); +x_81 = lean_ctor_get(x_39, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_38, 3); +x_82 = lean_ctor_get(x_39, 2); lean_inc(x_82); -x_83 = lean_ctor_get(x_38, 4); +x_83 = lean_ctor_get(x_39, 3); lean_inc(x_83); -x_84 = lean_ctor_get(x_38, 5); +x_84 = lean_ctor_get(x_39, 4); lean_inc(x_84); -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); - x_85 = x_38; -} else { - lean_dec_ref(x_38); - x_85 = lean_box(0); -} -x_86 = lean_ctor_get(x_39, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_39, 1); -lean_inc(x_87); -x_88 = lean_ctor_get(x_39, 3); -lean_inc(x_88); -x_89 = lean_ctor_get(x_39, 4); -lean_inc(x_89); -x_90 = lean_ctor_get(x_39, 5); -lean_inc(x_90); +x_85 = lean_ctor_get(x_39, 5); +lean_inc(x_85); if (lean_is_exclusive(x_39)) { lean_ctor_release(x_39, 0); lean_ctor_release(x_39, 1); @@ -15436,275 +15345,275 @@ if (lean_is_exclusive(x_39)) { lean_ctor_release(x_39, 3); lean_ctor_release(x_39, 4); lean_ctor_release(x_39, 5); - x_91 = x_39; + x_86 = x_39; } else { lean_dec_ref(x_39); - x_91 = lean_box(0); + x_86 = lean_box(0); } -x_92 = lean_ctor_get(x_40, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_40, 1); -lean_inc(x_93); +x_87 = lean_ctor_get(x_40, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_40, 1); +lean_inc(x_88); +x_89 = lean_ctor_get(x_40, 3); +lean_inc(x_89); +x_90 = lean_ctor_get(x_40, 4); +lean_inc(x_90); +x_91 = lean_ctor_get(x_40, 5); +lean_inc(x_91); if (lean_is_exclusive(x_40)) { lean_ctor_release(x_40, 0); lean_ctor_release(x_40, 1); lean_ctor_release(x_40, 2); - x_94 = x_40; + lean_ctor_release(x_40, 3); + lean_ctor_release(x_40, 4); + lean_ctor_release(x_40, 5); + x_92 = x_40; } else { lean_dec_ref(x_40); - x_94 = lean_box(0); + x_92 = lean_box(0); } -if (lean_is_scalar(x_94)) { - x_95 = lean_alloc_ctor(0, 3, 0); +x_93 = lean_ctor_get(x_41, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_41, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + lean_ctor_release(x_41, 2); + x_95 = x_41; } else { - x_95 = x_94; + lean_dec_ref(x_41); + x_95 = lean_box(0); } -lean_ctor_set(x_95, 0, x_92); -lean_ctor_set(x_95, 1, x_93); -lean_ctor_set(x_95, 2, x_34); -if (lean_is_scalar(x_91)) { - x_96 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_95)) { + x_96 = lean_alloc_ctor(0, 3, 0); } else { - x_96 = x_91; + x_96 = x_95; } -lean_ctor_set(x_96, 0, x_86); -lean_ctor_set(x_96, 1, x_87); -lean_ctor_set(x_96, 2, x_95); -lean_ctor_set(x_96, 3, x_88); -lean_ctor_set(x_96, 4, x_89); -lean_ctor_set(x_96, 5, x_90); -if (lean_is_scalar(x_85)) { +lean_ctor_set(x_96, 0, x_93); +lean_ctor_set(x_96, 1, x_94); +lean_ctor_set(x_96, 2, x_35); +if (lean_is_scalar(x_92)) { x_97 = lean_alloc_ctor(0, 6, 0); } else { - x_97 = x_85; + x_97 = x_92; } -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_80); -lean_ctor_set(x_97, 2, x_81); -lean_ctor_set(x_97, 3, x_82); -lean_ctor_set(x_97, 4, x_83); -lean_ctor_set(x_97, 5, x_84); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_79); -lean_ctor_set(x_98, 1, x_97); -return x_98; +lean_ctor_set(x_97, 0, x_87); +lean_ctor_set(x_97, 1, x_88); +lean_ctor_set(x_97, 2, x_96); +lean_ctor_set(x_97, 3, x_89); +lean_ctor_set(x_97, 4, x_90); +lean_ctor_set(x_97, 5, x_91); +if (lean_is_scalar(x_86)) { + x_98 = lean_alloc_ctor(0, 6, 0); +} else { + x_98 = x_86; +} +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_81); +lean_ctor_set(x_98, 2, x_82); +lean_ctor_set(x_98, 3, x_83); +lean_ctor_set(x_98, 4, x_84); +lean_ctor_set(x_98, 5, x_85); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_80); +lean_ctor_set(x_99, 1, x_98); +return x_99; } } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; -x_99 = lean_ctor_get(x_37, 1); -lean_inc(x_99); -x_100 = lean_ctor_get(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_38, 1); lean_inc(x_100); -x_101 = lean_ctor_get(x_100, 2); +x_101 = lean_ctor_get(x_100, 0); lean_inc(x_101); -x_102 = !lean_is_exclusive(x_37); -if (x_102 == 0) +x_102 = lean_ctor_get(x_101, 2); +lean_inc(x_102); +x_103 = !lean_is_exclusive(x_38); +if (x_103 == 0) { -lean_object* x_103; uint8_t x_104; -x_103 = lean_ctor_get(x_37, 1); -lean_dec(x_103); -x_104 = !lean_is_exclusive(x_99); -if (x_104 == 0) +lean_object* x_104; uint8_t x_105; +x_104 = lean_ctor_get(x_38, 1); +lean_dec(x_104); +x_105 = !lean_is_exclusive(x_100); +if (x_105 == 0) { -lean_object* x_105; uint8_t x_106; -x_105 = lean_ctor_get(x_99, 0); -lean_dec(x_105); -x_106 = !lean_is_exclusive(x_100); -if (x_106 == 0) +lean_object* x_106; uint8_t x_107; +x_106 = lean_ctor_get(x_100, 0); +lean_dec(x_106); +x_107 = !lean_is_exclusive(x_101); +if (x_107 == 0) { -lean_object* x_107; uint8_t x_108; -x_107 = lean_ctor_get(x_100, 2); -lean_dec(x_107); -x_108 = !lean_is_exclusive(x_101); -if (x_108 == 0) +lean_object* x_108; uint8_t x_109; +x_108 = lean_ctor_get(x_101, 2); +lean_dec(x_108); +x_109 = !lean_is_exclusive(x_102); +if (x_109 == 0) { -lean_object* x_109; -x_109 = lean_ctor_get(x_101, 2); -lean_dec(x_109); -lean_ctor_set(x_101, 2, x_34); -return x_37; +lean_object* x_110; +x_110 = lean_ctor_get(x_102, 2); +lean_dec(x_110); +lean_ctor_set(x_102, 2, x_35); +return x_38; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_101, 0); -x_111 = lean_ctor_get(x_101, 1); +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_102, 0); +x_112 = lean_ctor_get(x_102, 1); +lean_inc(x_112); lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_101); -x_112 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -lean_ctor_set(x_112, 2, x_34); -lean_ctor_set(x_100, 2, x_112); -return x_37; +lean_dec(x_102); +x_113 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +lean_ctor_set(x_113, 2, x_35); +lean_ctor_set(x_101, 2, x_113); +return x_38; } } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_113 = lean_ctor_get(x_100, 0); -x_114 = lean_ctor_get(x_100, 1); -x_115 = lean_ctor_get(x_100, 3); -x_116 = lean_ctor_get(x_100, 4); -x_117 = lean_ctor_get(x_100, 5); +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_114 = lean_ctor_get(x_101, 0); +x_115 = lean_ctor_get(x_101, 1); +x_116 = lean_ctor_get(x_101, 3); +x_117 = lean_ctor_get(x_101, 4); +x_118 = lean_ctor_get(x_101, 5); +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_dec(x_100); -x_118 = lean_ctor_get(x_101, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_101, 1); +lean_dec(x_101); +x_119 = lean_ctor_get(x_102, 0); lean_inc(x_119); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - lean_ctor_release(x_101, 2); - x_120 = x_101; +x_120 = lean_ctor_get(x_102, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + lean_ctor_release(x_102, 2); + x_121 = x_102; } else { - lean_dec_ref(x_101); - x_120 = lean_box(0); + lean_dec_ref(x_102); + x_121 = lean_box(0); } -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_121)) { + x_122 = lean_alloc_ctor(0, 3, 0); } else { - x_121 = x_120; + x_122 = x_121; } -lean_ctor_set(x_121, 0, x_118); -lean_ctor_set(x_121, 1, x_119); -lean_ctor_set(x_121, 2, x_34); -x_122 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_122, 0, x_113); -lean_ctor_set(x_122, 1, x_114); -lean_ctor_set(x_122, 2, x_121); -lean_ctor_set(x_122, 3, x_115); -lean_ctor_set(x_122, 4, x_116); -lean_ctor_set(x_122, 5, x_117); -lean_ctor_set(x_99, 0, x_122); -return x_37; +lean_ctor_set(x_122, 0, x_119); +lean_ctor_set(x_122, 1, x_120); +lean_ctor_set(x_122, 2, x_35); +x_123 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_123, 0, x_114); +lean_ctor_set(x_123, 1, x_115); +lean_ctor_set(x_123, 2, x_122); +lean_ctor_set(x_123, 3, x_116); +lean_ctor_set(x_123, 4, x_117); +lean_ctor_set(x_123, 5, x_118); +lean_ctor_set(x_100, 0, x_123); +return x_38; } } 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; -x_123 = lean_ctor_get(x_99, 1); -x_124 = lean_ctor_get(x_99, 2); -x_125 = lean_ctor_get(x_99, 3); -x_126 = lean_ctor_get(x_99, 4); -x_127 = lean_ctor_get(x_99, 5); +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_124 = lean_ctor_get(x_100, 1); +x_125 = lean_ctor_get(x_100, 2); +x_126 = lean_ctor_get(x_100, 3); +x_127 = lean_ctor_get(x_100, 4); +x_128 = lean_ctor_get(x_100, 5); +lean_inc(x_128); lean_inc(x_127); lean_inc(x_126); lean_inc(x_125); lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_99); -x_128 = lean_ctor_get(x_100, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_100, 1); +lean_dec(x_100); +x_129 = lean_ctor_get(x_101, 0); lean_inc(x_129); -x_130 = lean_ctor_get(x_100, 3); +x_130 = lean_ctor_get(x_101, 1); lean_inc(x_130); -x_131 = lean_ctor_get(x_100, 4); +x_131 = lean_ctor_get(x_101, 3); lean_inc(x_131); -x_132 = lean_ctor_get(x_100, 5); +x_132 = lean_ctor_get(x_101, 4); lean_inc(x_132); -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_133 = x_100; -} else { - lean_dec_ref(x_100); - x_133 = lean_box(0); -} -x_134 = lean_ctor_get(x_101, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_101, 1); -lean_inc(x_135); +x_133 = lean_ctor_get(x_101, 5); +lean_inc(x_133); if (lean_is_exclusive(x_101)) { lean_ctor_release(x_101, 0); lean_ctor_release(x_101, 1); lean_ctor_release(x_101, 2); - x_136 = x_101; + lean_ctor_release(x_101, 3); + lean_ctor_release(x_101, 4); + lean_ctor_release(x_101, 5); + x_134 = x_101; } else { lean_dec_ref(x_101); - x_136 = lean_box(0); + x_134 = lean_box(0); } -if (lean_is_scalar(x_136)) { - x_137 = lean_alloc_ctor(0, 3, 0); +x_135 = lean_ctor_get(x_102, 0); +lean_inc(x_135); +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); + lean_ctor_release(x_102, 2); + x_137 = x_102; } else { - x_137 = x_136; + lean_dec_ref(x_102); + x_137 = lean_box(0); } -lean_ctor_set(x_137, 0, x_134); -lean_ctor_set(x_137, 1, x_135); -lean_ctor_set(x_137, 2, x_34); -if (lean_is_scalar(x_133)) { - x_138 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(0, 3, 0); } else { - x_138 = x_133; + x_138 = x_137; } -lean_ctor_set(x_138, 0, x_128); -lean_ctor_set(x_138, 1, x_129); -lean_ctor_set(x_138, 2, x_137); -lean_ctor_set(x_138, 3, x_130); -lean_ctor_set(x_138, 4, x_131); -lean_ctor_set(x_138, 5, x_132); -x_139 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_123); -lean_ctor_set(x_139, 2, x_124); -lean_ctor_set(x_139, 3, x_125); -lean_ctor_set(x_139, 4, x_126); -lean_ctor_set(x_139, 5, x_127); -lean_ctor_set(x_37, 1, x_139); -return x_37; +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +lean_ctor_set(x_138, 2, x_35); +if (lean_is_scalar(x_134)) { + x_139 = lean_alloc_ctor(0, 6, 0); +} else { + x_139 = x_134; +} +lean_ctor_set(x_139, 0, x_129); +lean_ctor_set(x_139, 1, x_130); +lean_ctor_set(x_139, 2, x_138); +lean_ctor_set(x_139, 3, x_131); +lean_ctor_set(x_139, 4, x_132); +lean_ctor_set(x_139, 5, x_133); +x_140 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_124); +lean_ctor_set(x_140, 2, x_125); +lean_ctor_set(x_140, 3, x_126); +lean_ctor_set(x_140, 4, x_127); +lean_ctor_set(x_140, 5, x_128); +lean_ctor_set(x_38, 1, x_140); +return x_38; } } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_140 = lean_ctor_get(x_37, 0); -lean_inc(x_140); -lean_dec(x_37); -x_141 = lean_ctor_get(x_99, 1); +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; +x_141 = lean_ctor_get(x_38, 0); lean_inc(x_141); -x_142 = lean_ctor_get(x_99, 2); +lean_dec(x_38); +x_142 = lean_ctor_get(x_100, 1); lean_inc(x_142); -x_143 = lean_ctor_get(x_99, 3); +x_143 = lean_ctor_get(x_100, 2); lean_inc(x_143); -x_144 = lean_ctor_get(x_99, 4); +x_144 = lean_ctor_get(x_100, 3); lean_inc(x_144); -x_145 = lean_ctor_get(x_99, 5); +x_145 = lean_ctor_get(x_100, 4); lean_inc(x_145); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - lean_ctor_release(x_99, 2); - lean_ctor_release(x_99, 3); - lean_ctor_release(x_99, 4); - lean_ctor_release(x_99, 5); - x_146 = x_99; -} else { - lean_dec_ref(x_99); - x_146 = lean_box(0); -} -x_147 = lean_ctor_get(x_100, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_100, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_100, 3); -lean_inc(x_149); -x_150 = lean_ctor_get(x_100, 4); -lean_inc(x_150); -x_151 = lean_ctor_get(x_100, 5); -lean_inc(x_151); +x_146 = lean_ctor_get(x_100, 5); +lean_inc(x_146); if (lean_is_exclusive(x_100)) { lean_ctor_release(x_100, 0); lean_ctor_release(x_100, 1); @@ -15712,58 +15621,80 @@ if (lean_is_exclusive(x_100)) { lean_ctor_release(x_100, 3); lean_ctor_release(x_100, 4); lean_ctor_release(x_100, 5); - x_152 = x_100; + x_147 = x_100; } else { lean_dec_ref(x_100); - x_152 = lean_box(0); + x_147 = lean_box(0); } -x_153 = lean_ctor_get(x_101, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_101, 1); -lean_inc(x_154); +x_148 = lean_ctor_get(x_101, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_101, 1); +lean_inc(x_149); +x_150 = lean_ctor_get(x_101, 3); +lean_inc(x_150); +x_151 = lean_ctor_get(x_101, 4); +lean_inc(x_151); +x_152 = lean_ctor_get(x_101, 5); +lean_inc(x_152); if (lean_is_exclusive(x_101)) { lean_ctor_release(x_101, 0); lean_ctor_release(x_101, 1); lean_ctor_release(x_101, 2); - x_155 = x_101; + lean_ctor_release(x_101, 3); + lean_ctor_release(x_101, 4); + lean_ctor_release(x_101, 5); + x_153 = x_101; } else { lean_dec_ref(x_101); - x_155 = lean_box(0); + x_153 = lean_box(0); } -if (lean_is_scalar(x_155)) { - x_156 = lean_alloc_ctor(0, 3, 0); +x_154 = lean_ctor_get(x_102, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_102, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + lean_ctor_release(x_102, 2); + x_156 = x_102; } else { - x_156 = x_155; + lean_dec_ref(x_102); + x_156 = lean_box(0); } -lean_ctor_set(x_156, 0, x_153); -lean_ctor_set(x_156, 1, x_154); -lean_ctor_set(x_156, 2, x_34); -if (lean_is_scalar(x_152)) { - x_157 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(0, 3, 0); } else { - x_157 = x_152; + x_157 = x_156; } -lean_ctor_set(x_157, 0, x_147); -lean_ctor_set(x_157, 1, x_148); -lean_ctor_set(x_157, 2, x_156); -lean_ctor_set(x_157, 3, x_149); -lean_ctor_set(x_157, 4, x_150); -lean_ctor_set(x_157, 5, x_151); -if (lean_is_scalar(x_146)) { +lean_ctor_set(x_157, 0, x_154); +lean_ctor_set(x_157, 1, x_155); +lean_ctor_set(x_157, 2, x_35); +if (lean_is_scalar(x_153)) { x_158 = lean_alloc_ctor(0, 6, 0); } else { - x_158 = x_146; + x_158 = x_153; } -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_141); -lean_ctor_set(x_158, 2, x_142); -lean_ctor_set(x_158, 3, x_143); -lean_ctor_set(x_158, 4, x_144); -lean_ctor_set(x_158, 5, x_145); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_140); -lean_ctor_set(x_159, 1, x_158); -return x_159; +lean_ctor_set(x_158, 0, x_148); +lean_ctor_set(x_158, 1, x_149); +lean_ctor_set(x_158, 2, x_157); +lean_ctor_set(x_158, 3, x_150); +lean_ctor_set(x_158, 4, x_151); +lean_ctor_set(x_158, 5, x_152); +if (lean_is_scalar(x_147)) { + x_159 = lean_alloc_ctor(0, 6, 0); +} else { + x_159 = x_147; +} +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_142); +lean_ctor_set(x_159, 2, x_143); +lean_ctor_set(x_159, 3, x_144); +lean_ctor_set(x_159, 4, x_145); +lean_ctor_set(x_159, 5, x_146); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_141); +lean_ctor_set(x_160, 1, x_159); +return x_160; } } } @@ -15771,315 +15702,317 @@ return x_159; } else { -uint8_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; uint8_t x_169; lean_object* x_170; lean_object* x_171; -x_160 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); -x_161 = lean_ctor_get(x_6, 0); -x_162 = lean_ctor_get(x_6, 2); -x_163 = lean_ctor_get(x_6, 3); -x_164 = lean_ctor_get(x_6, 4); +uint8_t 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; uint8_t x_171; lean_object* x_172; lean_object* x_173; +x_161 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_162 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); +x_163 = lean_ctor_get(x_6, 0); +x_164 = lean_ctor_get(x_6, 2); +x_165 = lean_ctor_get(x_6, 3); +x_166 = lean_ctor_get(x_6, 4); +lean_inc(x_166); +lean_inc(x_165); lean_inc(x_164); lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); lean_dec(x_6); -x_165 = lean_ctor_get(x_7, 1); -lean_inc(x_165); -x_166 = lean_ctor_get(x_7, 4); -lean_inc(x_166); -x_167 = lean_array_get_size(x_162); -x_168 = lean_array_get_size(x_166); -x_169 = lean_nat_dec_eq(x_167, x_168); +x_167 = lean_ctor_get(x_7, 1); +lean_inc(x_167); +x_168 = lean_ctor_get(x_7, 4); +lean_inc(x_168); +x_169 = lean_array_get_size(x_164); +x_170 = lean_array_get_size(x_168); +x_171 = lean_nat_dec_eq(x_169, x_170); +lean_dec(x_170); +lean_dec(x_169); +lean_inc(x_168); +x_172 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_172, 0, x_163); +lean_ctor_set(x_172, 1, x_167); +lean_ctor_set(x_172, 2, x_168); +lean_ctor_set(x_172, 3, x_165); +lean_ctor_set(x_172, 4, x_166); +x_173 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_9); +lean_ctor_set(x_173, 2, x_10); +lean_ctor_set(x_173, 3, x_11); +lean_ctor_set(x_173, 4, x_12); +lean_ctor_set(x_173, 5, x_13); +lean_ctor_set(x_173, 6, x_14); +lean_ctor_set(x_173, 7, x_15); +lean_ctor_set(x_173, 8, x_16); +lean_ctor_set(x_173, 9, x_17); +lean_ctor_set_uint8(x_173, sizeof(void*)*10, x_161); +lean_ctor_set_uint8(x_173, sizeof(void*)*10 + 1, x_162); +if (x_171 == 0) +{ +lean_object* x_174; lean_dec(x_168); -lean_dec(x_167); -lean_inc(x_166); -x_170 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_170, 0, x_161); -lean_ctor_set(x_170, 1, x_165); -lean_ctor_set(x_170, 2, x_166); -lean_ctor_set(x_170, 3, x_163); -lean_ctor_set(x_170, 4, x_164); -x_171 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_9); -lean_ctor_set(x_171, 2, x_10); -lean_ctor_set(x_171, 3, x_11); -lean_ctor_set(x_171, 4, x_12); -lean_ctor_set(x_171, 5, x_13); -lean_ctor_set(x_171, 6, x_14); -lean_ctor_set(x_171, 7, x_15); -lean_ctor_set(x_171, 8, x_16); -lean_ctor_set(x_171, 9, x_17); -lean_ctor_set_uint8(x_171, sizeof(void*)*10, x_160); -if (x_169 == 0) -{ -lean_object* x_172; -lean_dec(x_166); -lean_dec(x_162); +lean_dec(x_164); lean_dec(x_7); lean_dec(x_3); -x_172 = lean_apply_2(x_2, x_171, x_8); -return x_172; +x_174 = lean_apply_2(x_2, x_173, x_8); +return x_174; } else { -lean_object* x_173; uint8_t x_174; -x_173 = lean_unsigned_to_nat(0u); -x_174 = l_Array_isEqvAux___main___at_Lean_Elab_Term_withMVarContext___spec__1(x_3, x_7, lean_box(0), x_162, x_166, x_173); -lean_dec(x_166); -lean_dec(x_162); +lean_object* x_175; uint8_t x_176; +x_175 = lean_unsigned_to_nat(0u); +x_176 = l_Array_isEqvAux___main___at_Lean_Elab_Term_withMVarContext___spec__1(x_3, x_7, lean_box(0), x_164, x_168, x_175); +lean_dec(x_168); +lean_dec(x_164); lean_dec(x_7); lean_dec(x_3); -if (x_174 == 0) +if (x_176 == 0) { -lean_object* x_175; -x_175 = lean_apply_2(x_2, x_171, x_8); -return x_175; +lean_object* x_177; +x_177 = lean_apply_2(x_2, x_173, x_8); +return x_177; } else { -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_176 = lean_ctor_get(x_8, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_176, 2); -lean_inc(x_177); -lean_dec(x_176); -x_178 = lean_ctor_get(x_177, 2); +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_178 = lean_ctor_get(x_8, 0); lean_inc(x_178); -lean_dec(x_177); -x_179 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_8); -x_180 = lean_ctor_get(x_179, 1); +x_179 = lean_ctor_get(x_178, 2); +lean_inc(x_179); +lean_dec(x_178); +x_180 = lean_ctor_get(x_179, 2); lean_inc(x_180); lean_dec(x_179); -x_181 = lean_apply_2(x_2, x_171, x_180); -if (lean_obj_tag(x_181) == 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; 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_181 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_8); x_182 = lean_ctor_get(x_181, 1); lean_inc(x_182); -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_183, 2); +lean_dec(x_181); +x_183 = lean_apply_2(x_2, x_173, 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; 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_184 = lean_ctor_get(x_183, 1); lean_inc(x_184); -x_185 = lean_ctor_get(x_181, 0); +x_185 = lean_ctor_get(x_184, 0); lean_inc(x_185); -if (lean_is_exclusive(x_181)) { - lean_ctor_release(x_181, 0); - lean_ctor_release(x_181, 1); - x_186 = x_181; -} else { - lean_dec_ref(x_181); - x_186 = lean_box(0); -} -x_187 = lean_ctor_get(x_182, 1); +x_186 = lean_ctor_get(x_185, 2); +lean_inc(x_186); +x_187 = lean_ctor_get(x_183, 0); lean_inc(x_187); -x_188 = lean_ctor_get(x_182, 2); -lean_inc(x_188); -x_189 = lean_ctor_get(x_182, 3); -lean_inc(x_189); -x_190 = lean_ctor_get(x_182, 4); -lean_inc(x_190); -x_191 = lean_ctor_get(x_182, 5); -lean_inc(x_191); -if (lean_is_exclusive(x_182)) { - lean_ctor_release(x_182, 0); - lean_ctor_release(x_182, 1); - lean_ctor_release(x_182, 2); - lean_ctor_release(x_182, 3); - lean_ctor_release(x_182, 4); - lean_ctor_release(x_182, 5); - x_192 = x_182; -} else { - lean_dec_ref(x_182); - x_192 = lean_box(0); -} -x_193 = lean_ctor_get(x_183, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_183, 1); -lean_inc(x_194); -x_195 = lean_ctor_get(x_183, 3); -lean_inc(x_195); -x_196 = lean_ctor_get(x_183, 4); -lean_inc(x_196); -x_197 = lean_ctor_get(x_183, 5); -lean_inc(x_197); if (lean_is_exclusive(x_183)) { lean_ctor_release(x_183, 0); lean_ctor_release(x_183, 1); - lean_ctor_release(x_183, 2); - lean_ctor_release(x_183, 3); - lean_ctor_release(x_183, 4); - lean_ctor_release(x_183, 5); - x_198 = x_183; + x_188 = x_183; } else { lean_dec_ref(x_183); - x_198 = lean_box(0); + x_188 = lean_box(0); } -x_199 = lean_ctor_get(x_184, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_184, 1); -lean_inc(x_200); +x_189 = lean_ctor_get(x_184, 1); +lean_inc(x_189); +x_190 = lean_ctor_get(x_184, 2); +lean_inc(x_190); +x_191 = lean_ctor_get(x_184, 3); +lean_inc(x_191); +x_192 = lean_ctor_get(x_184, 4); +lean_inc(x_192); +x_193 = lean_ctor_get(x_184, 5); +lean_inc(x_193); if (lean_is_exclusive(x_184)) { lean_ctor_release(x_184, 0); lean_ctor_release(x_184, 1); lean_ctor_release(x_184, 2); - x_201 = x_184; + lean_ctor_release(x_184, 3); + lean_ctor_release(x_184, 4); + lean_ctor_release(x_184, 5); + x_194 = x_184; } else { lean_dec_ref(x_184); - x_201 = lean_box(0); + x_194 = lean_box(0); } -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(0, 3, 0); +x_195 = lean_ctor_get(x_185, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_185, 1); +lean_inc(x_196); +x_197 = lean_ctor_get(x_185, 3); +lean_inc(x_197); +x_198 = lean_ctor_get(x_185, 4); +lean_inc(x_198); +x_199 = lean_ctor_get(x_185, 5); +lean_inc(x_199); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + lean_ctor_release(x_185, 2); + lean_ctor_release(x_185, 3); + lean_ctor_release(x_185, 4); + lean_ctor_release(x_185, 5); + x_200 = x_185; } else { - x_202 = x_201; + lean_dec_ref(x_185); + x_200 = lean_box(0); } -lean_ctor_set(x_202, 0, x_199); -lean_ctor_set(x_202, 1, x_200); -lean_ctor_set(x_202, 2, x_178); -if (lean_is_scalar(x_198)) { - x_203 = lean_alloc_ctor(0, 6, 0); +x_201 = lean_ctor_get(x_186, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_186, 1); +lean_inc(x_202); +if (lean_is_exclusive(x_186)) { + lean_ctor_release(x_186, 0); + lean_ctor_release(x_186, 1); + lean_ctor_release(x_186, 2); + x_203 = x_186; } else { - x_203 = x_198; + lean_dec_ref(x_186); + x_203 = lean_box(0); } -lean_ctor_set(x_203, 0, x_193); -lean_ctor_set(x_203, 1, x_194); -lean_ctor_set(x_203, 2, x_202); -lean_ctor_set(x_203, 3, x_195); -lean_ctor_set(x_203, 4, x_196); -lean_ctor_set(x_203, 5, x_197); -if (lean_is_scalar(x_192)) { - x_204 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_203)) { + x_204 = lean_alloc_ctor(0, 3, 0); } else { - x_204 = x_192; + x_204 = x_203; } -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_187); -lean_ctor_set(x_204, 2, x_188); -lean_ctor_set(x_204, 3, x_189); -lean_ctor_set(x_204, 4, x_190); -lean_ctor_set(x_204, 5, x_191); -if (lean_is_scalar(x_186)) { - x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_204, 0, x_201); +lean_ctor_set(x_204, 1, x_202); +lean_ctor_set(x_204, 2, x_180); +if (lean_is_scalar(x_200)) { + x_205 = lean_alloc_ctor(0, 6, 0); } else { - x_205 = x_186; + x_205 = x_200; } -lean_ctor_set(x_205, 0, x_185); -lean_ctor_set(x_205, 1, x_204); -return x_205; +lean_ctor_set(x_205, 0, x_195); +lean_ctor_set(x_205, 1, x_196); +lean_ctor_set(x_205, 2, x_204); +lean_ctor_set(x_205, 3, x_197); +lean_ctor_set(x_205, 4, x_198); +lean_ctor_set(x_205, 5, x_199); +if (lean_is_scalar(x_194)) { + x_206 = lean_alloc_ctor(0, 6, 0); +} else { + x_206 = x_194; +} +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set(x_206, 1, x_189); +lean_ctor_set(x_206, 2, x_190); +lean_ctor_set(x_206, 3, x_191); +lean_ctor_set(x_206, 4, x_192); +lean_ctor_set(x_206, 5, x_193); +if (lean_is_scalar(x_188)) { + x_207 = lean_alloc_ctor(0, 2, 0); +} else { + x_207 = x_188; +} +lean_ctor_set(x_207, 0, x_187); +lean_ctor_set(x_207, 1, x_206); +return x_207; } 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; -x_206 = lean_ctor_get(x_181, 1); -lean_inc(x_206); -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_207, 2); +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_208 = lean_ctor_get(x_183, 1); lean_inc(x_208); -x_209 = lean_ctor_get(x_181, 0); +x_209 = lean_ctor_get(x_208, 0); lean_inc(x_209); -if (lean_is_exclusive(x_181)) { - lean_ctor_release(x_181, 0); - lean_ctor_release(x_181, 1); - x_210 = x_181; -} else { - lean_dec_ref(x_181); - x_210 = lean_box(0); -} -x_211 = lean_ctor_get(x_206, 1); +x_210 = lean_ctor_get(x_209, 2); +lean_inc(x_210); +x_211 = lean_ctor_get(x_183, 0); lean_inc(x_211); -x_212 = lean_ctor_get(x_206, 2); -lean_inc(x_212); -x_213 = lean_ctor_get(x_206, 3); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + x_212 = x_183; +} else { + lean_dec_ref(x_183); + x_212 = lean_box(0); +} +x_213 = lean_ctor_get(x_208, 1); lean_inc(x_213); -x_214 = lean_ctor_get(x_206, 4); +x_214 = lean_ctor_get(x_208, 2); lean_inc(x_214); -x_215 = lean_ctor_get(x_206, 5); +x_215 = lean_ctor_get(x_208, 3); lean_inc(x_215); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - lean_ctor_release(x_206, 2); - lean_ctor_release(x_206, 3); - lean_ctor_release(x_206, 4); - lean_ctor_release(x_206, 5); - x_216 = x_206; -} else { - lean_dec_ref(x_206); - x_216 = lean_box(0); -} -x_217 = lean_ctor_get(x_207, 0); +x_216 = lean_ctor_get(x_208, 4); +lean_inc(x_216); +x_217 = lean_ctor_get(x_208, 5); lean_inc(x_217); -x_218 = lean_ctor_get(x_207, 1); -lean_inc(x_218); -x_219 = lean_ctor_get(x_207, 3); -lean_inc(x_219); -x_220 = lean_ctor_get(x_207, 4); -lean_inc(x_220); -x_221 = lean_ctor_get(x_207, 5); -lean_inc(x_221); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - lean_ctor_release(x_207, 2); - lean_ctor_release(x_207, 3); - lean_ctor_release(x_207, 4); - lean_ctor_release(x_207, 5); - x_222 = x_207; -} else { - lean_dec_ref(x_207); - x_222 = lean_box(0); -} -x_223 = lean_ctor_get(x_208, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_208, 1); -lean_inc(x_224); if (lean_is_exclusive(x_208)) { lean_ctor_release(x_208, 0); lean_ctor_release(x_208, 1); lean_ctor_release(x_208, 2); - x_225 = x_208; + lean_ctor_release(x_208, 3); + lean_ctor_release(x_208, 4); + lean_ctor_release(x_208, 5); + x_218 = x_208; } else { lean_dec_ref(x_208); - x_225 = lean_box(0); + x_218 = lean_box(0); } -if (lean_is_scalar(x_225)) { - x_226 = lean_alloc_ctor(0, 3, 0); +x_219 = lean_ctor_get(x_209, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_209, 1); +lean_inc(x_220); +x_221 = lean_ctor_get(x_209, 3); +lean_inc(x_221); +x_222 = lean_ctor_get(x_209, 4); +lean_inc(x_222); +x_223 = lean_ctor_get(x_209, 5); +lean_inc(x_223); +if (lean_is_exclusive(x_209)) { + lean_ctor_release(x_209, 0); + lean_ctor_release(x_209, 1); + lean_ctor_release(x_209, 2); + lean_ctor_release(x_209, 3); + lean_ctor_release(x_209, 4); + lean_ctor_release(x_209, 5); + x_224 = x_209; } else { - x_226 = x_225; + lean_dec_ref(x_209); + x_224 = lean_box(0); } -lean_ctor_set(x_226, 0, x_223); -lean_ctor_set(x_226, 1, x_224); -lean_ctor_set(x_226, 2, x_178); -if (lean_is_scalar(x_222)) { - x_227 = lean_alloc_ctor(0, 6, 0); +x_225 = lean_ctor_get(x_210, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_210, 1); +lean_inc(x_226); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); + lean_ctor_release(x_210, 2); + x_227 = x_210; } else { - x_227 = x_222; + lean_dec_ref(x_210); + x_227 = lean_box(0); } -lean_ctor_set(x_227, 0, x_217); -lean_ctor_set(x_227, 1, x_218); -lean_ctor_set(x_227, 2, x_226); -lean_ctor_set(x_227, 3, x_219); -lean_ctor_set(x_227, 4, x_220); -lean_ctor_set(x_227, 5, x_221); -if (lean_is_scalar(x_216)) { - x_228 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_227)) { + x_228 = lean_alloc_ctor(0, 3, 0); } else { - x_228 = x_216; + x_228 = x_227; } -lean_ctor_set(x_228, 0, x_227); -lean_ctor_set(x_228, 1, x_211); -lean_ctor_set(x_228, 2, x_212); -lean_ctor_set(x_228, 3, x_213); -lean_ctor_set(x_228, 4, x_214); -lean_ctor_set(x_228, 5, x_215); -if (lean_is_scalar(x_210)) { - x_229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_225); +lean_ctor_set(x_228, 1, x_226); +lean_ctor_set(x_228, 2, x_180); +if (lean_is_scalar(x_224)) { + x_229 = lean_alloc_ctor(0, 6, 0); } else { - x_229 = x_210; + x_229 = x_224; } -lean_ctor_set(x_229, 0, x_209); -lean_ctor_set(x_229, 1, x_228); -return x_229; +lean_ctor_set(x_229, 0, x_219); +lean_ctor_set(x_229, 1, x_220); +lean_ctor_set(x_229, 2, x_228); +lean_ctor_set(x_229, 3, x_221); +lean_ctor_set(x_229, 4, x_222); +lean_ctor_set(x_229, 5, x_223); +if (lean_is_scalar(x_218)) { + x_230 = lean_alloc_ctor(0, 6, 0); +} else { + x_230 = x_218; +} +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_213); +lean_ctor_set(x_230, 2, x_214); +lean_ctor_set(x_230, 3, x_215); +lean_ctor_set(x_230, 4, x_216); +lean_ctor_set(x_230, 5, x_217); +if (lean_is_scalar(x_212)) { + x_231 = lean_alloc_ctor(1, 2, 0); +} else { + x_231 = x_212; +} +lean_ctor_set(x_231, 0, x_211); +lean_ctor_set(x_231, 1, x_230); +return x_231; } } } @@ -17427,6 +17360,155 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* _init_l_Lean_Elab_Term_mkTacticMVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("main"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_mkTacticMVar___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_mkTacticMVar___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_mkTacticMVar(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_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_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_2); +x_7 = 2; +x_8 = l_Lean_Elab_Term_mkTacticMVar___closed__2; +lean_inc(x_4); +x_9 = l_Lean_Elab_Term_mkFreshExprMVar(x_1, x_6, x_7, x_8, x_4, x_5); +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_Expr_mvarId_x21(x_10); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_3); +x_14 = l_Lean_Elab_Term_registerSyntheticMVar(x_1, x_12, x_13, x_4, x_11); +lean_dec(x_4); +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_10); +return x_14; +} +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_10); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +lean_object* _init_l_Lean_Elab_Term_elabTacticBlock___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid tactic block, expected type has not been provided"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_elabTacticBlock___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabTacticBlock___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_elabTacticBlock___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabTacticBlock___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_elabTacticBlock(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = l_Lean_Elab_Term_elabTacticBlock___closed__3; +x_6 = l_Lean_Elab_Term_throwError___rarg(x_1, x_5, x_3, 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; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +lean_dec(x_2); +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Elab_Term_mkTacticMVar(x_1, x_7, x_9, x_3, x_4); +return x_10; +} +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabTacticBlock"); +return x_1; +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_declareBuiltinTermElab___closed__4; +x_2 = l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTacticBlock), 4, 0); +return x_1; +} +} +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock(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_Term_tacticBlock___elambda__1___closed__2; +x_3 = l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2; +x_4 = l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3; +x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__1() { _start: { @@ -17651,7 +17733,7 @@ x_7 = lean_ctor_get(x_5, 1); lean_inc(x_7); lean_dec(x_5); x_8 = 1; -x_9 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_8, x_8, x_1, x_3, x_7); +x_9 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_8, x_1, x_3, x_7); return x_9; } else @@ -17673,12 +17755,12 @@ lean_ctor_set(x_14, 0, x_1); lean_ctor_set(x_14, 1, x_13); lean_ctor_set(x_3, 8, x_14); x_15 = 1; -x_16 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_15, x_15, x_11, x_3, x_10); +x_16 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_15, x_11, x_3, 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; 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; lean_object* x_29; uint8_t x_30; lean_object* x_31; +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_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; x_17 = lean_ctor_get(x_3, 0); x_18 = lean_ctor_get(x_3, 1); x_19 = lean_ctor_get(x_3, 2); @@ -17690,6 +17772,7 @@ x_24 = lean_ctor_get(x_3, 7); x_25 = lean_ctor_get(x_3, 8); x_26 = lean_ctor_get(x_3, 9); x_27 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); @@ -17701,24 +17784,25 @@ lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_dec(x_3); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_1); -lean_ctor_set(x_28, 1, x_25); -x_29 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_29, 0, x_17); -lean_ctor_set(x_29, 1, x_18); -lean_ctor_set(x_29, 2, x_19); -lean_ctor_set(x_29, 3, x_20); -lean_ctor_set(x_29, 4, x_21); -lean_ctor_set(x_29, 5, x_22); -lean_ctor_set(x_29, 6, x_23); -lean_ctor_set(x_29, 7, x_24); -lean_ctor_set(x_29, 8, x_28); -lean_ctor_set(x_29, 9, x_26); -lean_ctor_set_uint8(x_29, sizeof(void*)*10, x_27); -x_30 = 1; -x_31 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_30, x_30, x_11, x_29, x_10); -return x_31; +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_1); +lean_ctor_set(x_29, 1, x_25); +x_30 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_30, 0, x_17); +lean_ctor_set(x_30, 1, x_18); +lean_ctor_set(x_30, 2, x_19); +lean_ctor_set(x_30, 3, x_20); +lean_ctor_set(x_30, 4, x_21); +lean_ctor_set(x_30, 5, x_22); +lean_ctor_set(x_30, 6, x_23); +lean_ctor_set(x_30, 7, x_24); +lean_ctor_set(x_30, 8, x_29); +lean_ctor_set(x_30, 9, x_26); +lean_ctor_set_uint8(x_30, sizeof(void*)*10, x_27); +lean_ctor_set_uint8(x_30, sizeof(void*)*10 + 1, x_28); +x_31 = 1; +x_32 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_31, x_11, x_30, x_10); +return x_32; } } } @@ -17807,30 +17891,30 @@ return x_3; lean_object* l_Lean_Elab_Term_elabParen(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_5; lean_object* x_144; uint8_t x_145; -x_144 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +uint8_t x_5; lean_object* x_145; uint8_t x_146; +x_145 = l_Lean_Parser_Term_paren___elambda__1___closed__1; lean_inc(x_1); -x_145 = l_Lean_Syntax_isOfKind(x_1, x_144); -if (x_145 == 0) +x_146 = l_Lean_Syntax_isOfKind(x_1, x_145); +if (x_146 == 0) { -uint8_t x_146; -x_146 = 0; -x_5 = x_146; -goto block_143; +uint8_t x_147; +x_147 = 0; +x_5 = x_147; +goto block_144; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; -x_147 = l_Lean_Syntax_getArgs(x_1); -x_148 = lean_array_get_size(x_147); -lean_dec(x_147); -x_149 = lean_unsigned_to_nat(3u); -x_150 = lean_nat_dec_eq(x_148, x_149); +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = l_Lean_Syntax_getArgs(x_1); +x_149 = lean_array_get_size(x_148); lean_dec(x_148); -x_5 = x_150; -goto block_143; +x_150 = lean_unsigned_to_nat(3u); +x_151 = lean_nat_dec_eq(x_149, x_150); +lean_dec(x_149); +x_5 = x_151; +goto block_144; } -block_143: +block_144: { uint8_t x_6; x_6 = l_coeDecidableEq(x_5); @@ -17845,71 +17929,71 @@ return x_8; } else { -lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_128; uint8_t x_129; +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_129; uint8_t x_130; x_9 = lean_unsigned_to_nat(1u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_128 = l_Lean_nullKind___closed__2; +x_129 = l_Lean_nullKind___closed__2; lean_inc(x_10); -x_129 = l_Lean_Syntax_isOfKind(x_10, x_128); -if (x_129 == 0) -{ -uint8_t x_130; -x_130 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_130 = l_Lean_Syntax_isOfKind(x_10, x_129); if (x_130 == 0) { uint8_t x_131; -x_131 = 0; -x_11 = x_131; -goto block_127; +x_131 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +if (x_131 == 0) +{ +uint8_t x_132; +x_132 = 0; +x_11 = x_132; +goto block_128; } else { -lean_object* x_132; lean_object* x_133; +lean_object* x_133; lean_object* x_134; lean_dec(x_10); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_132 = l_Lean_Elab_Term_elabParen___closed__6; -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_4); -return x_133; +x_133 = l_Lean_Elab_Term_elabParen___closed__6; +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_4); +return x_134; } } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; uint8_t x_138; -x_134 = l_Lean_Syntax_getArgs(x_10); -x_135 = lean_array_get_size(x_134); -lean_dec(x_134); -x_136 = lean_unsigned_to_nat(0u); -x_137 = lean_nat_dec_eq(x_135, x_136); -x_138 = l_coeDecidableEq(x_137); -if (x_138 == 0) -{ -lean_object* x_139; uint8_t x_140; -x_139 = lean_unsigned_to_nat(2u); -x_140 = lean_nat_dec_eq(x_135, x_139); +lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; uint8_t x_139; +x_135 = l_Lean_Syntax_getArgs(x_10); +x_136 = lean_array_get_size(x_135); lean_dec(x_135); -x_11 = x_140; -goto block_127; +x_137 = lean_unsigned_to_nat(0u); +x_138 = lean_nat_dec_eq(x_136, x_137); +x_139 = l_coeDecidableEq(x_138); +if (x_139 == 0) +{ +lean_object* x_140; uint8_t x_141; +x_140 = lean_unsigned_to_nat(2u); +x_141 = lean_nat_dec_eq(x_136, x_140); +lean_dec(x_136); +x_11 = x_141; +goto block_128; } else { -lean_object* x_141; lean_object* x_142; -lean_dec(x_135); +lean_object* x_142; lean_object* x_143; +lean_dec(x_136); lean_dec(x_10); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_141 = l_Lean_Elab_Term_elabParen___closed__6; -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_4); -return x_142; +x_142 = l_Lean_Elab_Term_elabParen___closed__6; +x_143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_4); +return x_143; } } -block_127: +block_128: { uint8_t x_12; x_12 = l_coeDecidableEq(x_11); @@ -17935,23 +18019,23 @@ lean_inc(x_17); x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); if (x_19 == 0) { -uint8_t x_123; -x_123 = 0; -x_20 = x_123; -goto block_122; +uint8_t x_124; +x_124 = 0; +x_20 = x_124; +goto block_123; } else { -lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_124 = l_Lean_Syntax_getArgs(x_17); -x_125 = lean_array_get_size(x_124); -lean_dec(x_124); -x_126 = lean_nat_dec_eq(x_125, x_9); +lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_125 = l_Lean_Syntax_getArgs(x_17); +x_126 = lean_array_get_size(x_125); lean_dec(x_125); -x_20 = x_126; -goto block_122; +x_127 = lean_nat_dec_eq(x_126, x_9); +lean_dec(x_126); +x_20 = x_127; +goto block_123; } -block_122: +block_123: { uint8_t x_21; x_21 = l_coeDecidableEq(x_20); @@ -18011,244 +18095,244 @@ return x_32; } else { -lean_object* x_33; uint8_t x_34; lean_object* x_70; uint8_t x_71; +lean_object* x_33; uint8_t x_34; lean_object* x_71; uint8_t x_72; x_33 = l_Lean_Syntax_getArg(x_17, x_15); lean_dec(x_17); -x_70 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; +x_71 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; lean_inc(x_33); -x_71 = l_Lean_Syntax_isOfKind(x_33, x_70); -if (x_71 == 0) -{ -uint8_t x_72; -x_72 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_72 = l_Lean_Syntax_isOfKind(x_33, x_71); if (x_72 == 0) { -lean_object* x_73; uint8_t x_74; -x_73 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; -lean_inc(x_33); -x_74 = l_Lean_Syntax_isOfKind(x_33, x_73); -if (x_74 == 0) +uint8_t x_73; +x_73 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +if (x_73 == 0) { -uint8_t x_75; -x_75 = 0; -x_34 = x_75; -goto block_69; +lean_object* x_74; uint8_t x_75; +x_74 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; +lean_inc(x_33); +x_75 = l_Lean_Syntax_isOfKind(x_33, x_74); +if (x_75 == 0) +{ +uint8_t x_76; +x_76 = 0; +x_34 = x_76; +goto block_70; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_76 = l_Lean_Syntax_getArgs(x_33); -x_77 = lean_array_get_size(x_76); -lean_dec(x_76); -x_78 = lean_unsigned_to_nat(2u); -x_79 = lean_nat_dec_eq(x_77, x_78); +lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_77 = l_Lean_Syntax_getArgs(x_33); +x_78 = lean_array_get_size(x_77); lean_dec(x_77); -x_34 = x_79; -goto block_69; +x_79 = lean_unsigned_to_nat(2u); +x_80 = lean_nat_dec_eq(x_78, x_79); +lean_dec(x_78); +x_34 = x_80; +goto block_70; } } else { -lean_object* x_80; lean_object* x_81; +lean_object* x_81; lean_object* x_82; lean_dec(x_2); -x_80 = l_Lean_Syntax_getArg(x_33, x_9); +x_81 = l_Lean_Syntax_getArg(x_33, x_9); lean_dec(x_33); lean_inc(x_3); -x_81 = l_Lean_Elab_Term_elabType(x_80, x_3, x_4); -if (lean_obj_tag(x_81) == 0) +x_82 = l_Lean_Elab_Term_elabType(x_81, x_3, x_4); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); +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); -lean_dec(x_81); -x_84 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_82); -lean_inc(x_3); +x_84 = lean_ctor_get(x_82, 1); lean_inc(x_84); -x_85 = l___private_Init_Lean_Elab_Term_10__elabCDot(x_16, x_84, x_3, x_83); -if (lean_obj_tag(x_85) == 0) +lean_dec(x_82); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_83); +lean_inc(x_3); +lean_inc(x_85); +x_86 = l___private_Init_Lean_Elab_Term_10__elabCDot(x_16, x_85, x_3, x_84); +if (lean_obj_tag(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_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_86, 0); lean_inc(x_87); -lean_dec(x_85); -x_88 = l_Lean_Elab_Term_ensureHasType(x_1, x_84, x_86, x_3, x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = l_Lean_Elab_Term_ensureHasType(x_1, x_85, x_87, x_3, x_88); lean_dec(x_1); -return x_88; +return x_89; } else { -uint8_t x_89; -lean_dec(x_84); +uint8_t x_90; +lean_dec(x_85); lean_dec(x_3); lean_dec(x_1); -x_89 = !lean_is_exclusive(x_85); -if (x_89 == 0) +x_90 = !lean_is_exclusive(x_86); +if (x_90 == 0) { -return x_85; +return x_86; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_85, 0); -x_91 = lean_ctor_get(x_85, 1); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_86, 0); +x_92 = lean_ctor_get(x_86, 1); +lean_inc(x_92); lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_85); -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; +lean_dec(x_86); +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_93; +uint8_t x_94; lean_dec(x_16); lean_dec(x_3); lean_dec(x_1); -x_93 = !lean_is_exclusive(x_81); -if (x_93 == 0) +x_94 = !lean_is_exclusive(x_82); +if (x_94 == 0) { -return x_81; +return x_82; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_81, 0); -x_95 = lean_ctor_get(x_81, 1); +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_inc(x_94); -lean_dec(x_81); -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; +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; } } } } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; uint8_t x_101; -x_97 = l_Lean_Syntax_getArgs(x_33); -x_98 = lean_array_get_size(x_97); -lean_dec(x_97); -x_99 = lean_unsigned_to_nat(2u); -x_100 = lean_nat_dec_eq(x_98, x_99); +lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; uint8_t x_102; +x_98 = l_Lean_Syntax_getArgs(x_33); +x_99 = lean_array_get_size(x_98); lean_dec(x_98); -x_101 = l_coeDecidableEq(x_100); -if (x_101 == 0) +x_100 = lean_unsigned_to_nat(2u); +x_101 = lean_nat_dec_eq(x_99, x_100); +lean_dec(x_99); +x_102 = l_coeDecidableEq(x_101); +if (x_102 == 0) { -lean_object* x_102; uint8_t x_103; -x_102 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; +lean_object* x_103; uint8_t x_104; +x_103 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; lean_inc(x_33); -x_103 = l_Lean_Syntax_isOfKind(x_33, x_102); -if (x_103 == 0) +x_104 = l_Lean_Syntax_isOfKind(x_33, x_103); +if (x_104 == 0) { -uint8_t x_104; -x_104 = 0; -x_34 = x_104; -goto block_69; +uint8_t x_105; +x_105 = 0; +x_34 = x_105; +goto block_70; } else { -x_34 = x_100; -goto block_69; +x_34 = x_101; +goto block_70; } } else { -lean_object* x_105; lean_object* x_106; +lean_object* x_106; lean_object* x_107; lean_dec(x_2); -x_105 = l_Lean_Syntax_getArg(x_33, x_9); +x_106 = l_Lean_Syntax_getArg(x_33, x_9); lean_dec(x_33); lean_inc(x_3); -x_106 = l_Lean_Elab_Term_elabType(x_105, x_3, x_4); -if (lean_obj_tag(x_106) == 0) +x_107 = l_Lean_Elab_Term_elabType(x_106, x_3, x_4); +if (lean_obj_tag(x_107) == 0) { -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_106, 1); +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_108 = lean_ctor_get(x_107, 0); lean_inc(x_108); -lean_dec(x_106); -x_109 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_109, 0, x_107); -lean_inc(x_3); +x_109 = lean_ctor_get(x_107, 1); lean_inc(x_109); -x_110 = l___private_Init_Lean_Elab_Term_10__elabCDot(x_16, x_109, x_3, x_108); -if (lean_obj_tag(x_110) == 0) +lean_dec(x_107); +x_110 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_110, 0, x_108); +lean_inc(x_3); +lean_inc(x_110); +x_111 = l___private_Init_Lean_Elab_Term_10__elabCDot(x_16, x_110, x_3, x_109); +if (lean_obj_tag(x_111) == 0) { -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_111, 0); lean_inc(x_112); -lean_dec(x_110); -x_113 = l_Lean_Elab_Term_ensureHasType(x_1, x_109, x_111, x_3, x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = l_Lean_Elab_Term_ensureHasType(x_1, x_110, x_112, x_3, x_113); lean_dec(x_1); -return x_113; +return x_114; } else { -uint8_t x_114; -lean_dec(x_109); +uint8_t x_115; +lean_dec(x_110); lean_dec(x_3); lean_dec(x_1); -x_114 = !lean_is_exclusive(x_110); -if (x_114 == 0) +x_115 = !lean_is_exclusive(x_111); +if (x_115 == 0) { -return x_110; +return x_111; } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_110, 0); -x_116 = lean_ctor_get(x_110, 1); +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_inc(x_115); -lean_dec(x_110); -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; +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; } } } else { -uint8_t x_118; +uint8_t x_119; lean_dec(x_16); lean_dec(x_3); lean_dec(x_1); -x_118 = !lean_is_exclusive(x_106); -if (x_118 == 0) +x_119 = !lean_is_exclusive(x_107); +if (x_119 == 0) { -return x_106; +return x_107; } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_106, 0); -x_120 = lean_ctor_get(x_106, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_107, 0); +x_121 = lean_ctor_get(x_107, 1); +lean_inc(x_121); lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_106); -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; +lean_dec(x_107); +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; } } } } -block_69: +block_70: { uint8_t x_35; x_35 = l_coeDecidableEq(x_34); @@ -18295,12 +18379,12 @@ lean_ctor_set(x_51, 0, x_1); lean_ctor_set(x_51, 1, x_50); lean_ctor_set(x_3, 8, x_51); x_52 = 1; -x_53 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_52, x_52, x_47, x_3, x_48); +x_53 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_52, x_47, x_3, 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_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; uint8_t x_67; lean_object* x_68; +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; uint8_t x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; x_54 = lean_ctor_get(x_3, 0); x_55 = lean_ctor_get(x_3, 1); x_56 = lean_ctor_get(x_3, 2); @@ -18312,6 +18396,7 @@ x_61 = lean_ctor_get(x_3, 7); x_62 = lean_ctor_get(x_3, 8); x_63 = lean_ctor_get(x_3, 9); x_64 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_65 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); lean_inc(x_63); lean_inc(x_62); lean_inc(x_61); @@ -18323,24 +18408,25 @@ lean_inc(x_56); lean_inc(x_55); lean_inc(x_54); lean_dec(x_3); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_1); -lean_ctor_set(x_65, 1, x_62); -x_66 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_66, 0, x_54); -lean_ctor_set(x_66, 1, x_55); -lean_ctor_set(x_66, 2, x_56); -lean_ctor_set(x_66, 3, x_57); -lean_ctor_set(x_66, 4, x_58); -lean_ctor_set(x_66, 5, x_59); -lean_ctor_set(x_66, 6, x_60); -lean_ctor_set(x_66, 7, x_61); -lean_ctor_set(x_66, 8, x_65); -lean_ctor_set(x_66, 9, x_63); -lean_ctor_set_uint8(x_66, sizeof(void*)*10, x_64); -x_67 = 1; -x_68 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_67, x_67, x_47, x_66, x_48); -return x_68; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_1); +lean_ctor_set(x_66, 1, x_62); +x_67 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_67, 0, x_54); +lean_ctor_set(x_67, 1, x_55); +lean_ctor_set(x_67, 2, x_56); +lean_ctor_set(x_67, 3, x_57); +lean_ctor_set(x_67, 4, x_58); +lean_ctor_set(x_67, 5, x_59); +lean_ctor_set(x_67, 6, x_60); +lean_ctor_set(x_67, 7, x_61); +lean_ctor_set(x_67, 8, x_66); +lean_ctor_set(x_67, 9, x_63); +lean_ctor_set_uint8(x_67, sizeof(void*)*10, x_64); +lean_ctor_set_uint8(x_67, sizeof(void*)*10 + 1, x_65); +x_68 = 1; +x_69 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_68, x_47, x_67, x_48); +return x_69; } } } @@ -18501,7 +18587,7 @@ x_18 = lean_array_get_size(x_17); x_19 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabListLit___spec__1(x_1, x_12, x_17, x_18, lean_box(0), x_14); lean_dec(x_17); x_20 = 1; -x_21 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_20, x_20, x_19, x_3, x_4); +x_21 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_20, x_19, x_3, x_4); return x_21; } } @@ -18699,30 +18785,30 @@ return x_3; lean_object* l_Lean_Elab_Term_elabArrayLit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_5; lean_object* x_64; uint8_t x_65; -x_64 = l_Lean_Parser_Term_arrayLit___elambda__1___closed__2; +uint8_t x_5; lean_object* x_65; uint8_t x_66; +x_65 = l_Lean_Parser_Term_arrayLit___elambda__1___closed__2; lean_inc(x_1); -x_65 = l_Lean_Syntax_isOfKind(x_1, x_64); -if (x_65 == 0) +x_66 = l_Lean_Syntax_isOfKind(x_1, x_65); +if (x_66 == 0) { -uint8_t x_66; -x_66 = 0; -x_5 = x_66; -goto block_63; +uint8_t x_67; +x_67 = 0; +x_5 = x_67; +goto block_64; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_67 = l_Lean_Syntax_getArgs(x_1); -x_68 = lean_array_get_size(x_67); -lean_dec(x_67); -x_69 = lean_unsigned_to_nat(3u); -x_70 = lean_nat_dec_eq(x_68, x_69); +lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_68 = l_Lean_Syntax_getArgs(x_1); +x_69 = lean_array_get_size(x_68); lean_dec(x_68); -x_5 = x_70; -goto block_63; +x_70 = lean_unsigned_to_nat(3u); +x_71 = lean_nat_dec_eq(x_69, x_70); +lean_dec(x_69); +x_5 = x_71; +goto block_64; } -block_63: +block_64: { uint8_t x_6; x_6 = l_coeDecidableEq(x_5); @@ -18801,12 +18887,12 @@ lean_ctor_set(x_45, 0, x_1); lean_ctor_set(x_45, 1, x_44); lean_ctor_set(x_3, 8, x_45); x_46 = 1; -x_47 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_46, x_46, x_42, x_3, x_14); +x_47 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_46, x_42, x_3, x_14); 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; uint8_t x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; +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; uint8_t x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; x_48 = lean_ctor_get(x_3, 0); x_49 = lean_ctor_get(x_3, 1); x_50 = lean_ctor_get(x_3, 2); @@ -18818,6 +18904,7 @@ x_55 = lean_ctor_get(x_3, 7); x_56 = lean_ctor_get(x_3, 8); x_57 = lean_ctor_get(x_3, 9); x_58 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_59 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); lean_inc(x_57); lean_inc(x_56); lean_inc(x_55); @@ -18829,24 +18916,25 @@ lean_inc(x_50); lean_inc(x_49); lean_inc(x_48); lean_dec(x_3); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_1); -lean_ctor_set(x_59, 1, x_56); -x_60 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_60, 0, x_48); -lean_ctor_set(x_60, 1, x_49); -lean_ctor_set(x_60, 2, x_50); -lean_ctor_set(x_60, 3, x_51); -lean_ctor_set(x_60, 4, x_52); -lean_ctor_set(x_60, 5, x_53); -lean_ctor_set(x_60, 6, x_54); -lean_ctor_set(x_60, 7, x_55); -lean_ctor_set(x_60, 8, x_59); -lean_ctor_set(x_60, 9, x_57); -lean_ctor_set_uint8(x_60, sizeof(void*)*10, x_58); -x_61 = 1; -x_62 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_61, x_61, x_42, x_60, x_14); -return x_62; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_1); +lean_ctor_set(x_60, 1, x_56); +x_61 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_61, 0, x_48); +lean_ctor_set(x_61, 1, x_49); +lean_ctor_set(x_61, 2, x_50); +lean_ctor_set(x_61, 3, x_51); +lean_ctor_set(x_61, 4, x_52); +lean_ctor_set(x_61, 5, x_53); +lean_ctor_set(x_61, 6, x_54); +lean_ctor_set(x_61, 7, x_55); +lean_ctor_set(x_61, 8, x_60); +lean_ctor_set(x_61, 9, x_57); +lean_ctor_set_uint8(x_61, sizeof(void*)*10, x_58); +lean_ctor_set_uint8(x_61, sizeof(void*)*10 + 1, x_59); +x_62 = 1; +x_63 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_62, x_42, x_61, x_14); +return x_63; } } } @@ -20876,6 +20964,25 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabNamedHole___close res = l___regBuiltinTermElab_Lean_Elab_Term_elabNamedHole(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Term_mkTacticMVar___closed__1 = _init_l_Lean_Elab_Term_mkTacticMVar___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_mkTacticMVar___closed__1); +l_Lean_Elab_Term_mkTacticMVar___closed__2 = _init_l_Lean_Elab_Term_mkTacticMVar___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_mkTacticMVar___closed__2); +l_Lean_Elab_Term_elabTacticBlock___closed__1 = _init_l_Lean_Elab_Term_elabTacticBlock___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabTacticBlock___closed__1); +l_Lean_Elab_Term_elabTacticBlock___closed__2 = _init_l_Lean_Elab_Term_elabTacticBlock___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabTacticBlock___closed__2); +l_Lean_Elab_Term_elabTacticBlock___closed__3 = _init_l_Lean_Elab_Term_elabTacticBlock___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabTacticBlock___closed__3); +l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1); +l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__2); +l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3); +res = l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__1); l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Elab/TermApp.c b/stage0/stdlib/Init/Lean/Elab/TermApp.c index 0c284c1d47..7766fb7c84 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermApp.c +++ b/stage0/stdlib/Init/Lean/Elab/TermApp.c @@ -164,7 +164,7 @@ lean_object* l___private_Init_Lean_Elab_TermApp_11__addLValArg___main___closed__ lean_object* l_Lean_Elab_Term_Arg_hasToString(lean_object*); lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_8__resolveLValLoop___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_14__elabAppFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); @@ -940,7 +940,7 @@ x_8 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_8, 0, x_4); x_9 = 1; lean_inc(x_5); -x_10 = l_Lean_Elab_Term_elabTermAux___main(x_8, x_9, x_9, x_7, x_5, x_6); +x_10 = l_Lean_Elab_Term_elabTermAux___main(x_8, x_9, x_7, x_5, x_6); if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -6472,7 +6472,7 @@ lean_dec(x_206); x_213 = lean_box(0); x_214 = 1; lean_inc(x_9); -x_215 = l_Lean_Elab_Term_elabTermAux___main(x_213, x_214, x_214, x_2, x_9, x_10); +x_215 = l_Lean_Elab_Term_elabTermAux___main(x_213, x_214, x_2, x_9, x_10); if (lean_obj_tag(x_215) == 0) { uint8_t x_216; @@ -6872,7 +6872,7 @@ lean_dec(x_302); x_306 = lean_box(0); x_307 = 1; lean_inc(x_9); -x_308 = l_Lean_Elab_Term_elabTermAux___main(x_306, x_307, x_307, x_2, x_9, x_10); +x_308 = l_Lean_Elab_Term_elabTermAux___main(x_306, x_307, x_2, x_9, x_10); if (lean_obj_tag(x_308) == 0) { uint8_t x_309; @@ -7200,7 +7200,7 @@ lean_object* x_13; uint8_t x_14; lean_object* x_15; x_13 = lean_box(0); x_14 = 1; lean_inc(x_9); -x_15 = l_Lean_Elab_Term_elabTermAux___main(x_13, x_14, x_14, x_2, x_9, x_10); +x_15 = l_Lean_Elab_Term_elabTermAux___main(x_13, x_14, x_2, x_9, x_10); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; @@ -7512,7 +7512,7 @@ lean_dec(x_71); x_75 = lean_box(0); x_76 = 1; lean_inc(x_9); -x_77 = l_Lean_Elab_Term_elabTermAux___main(x_75, x_76, x_76, x_2, x_9, x_10); +x_77 = l_Lean_Elab_Term_elabTermAux___main(x_75, x_76, x_2, x_9, x_10); if (lean_obj_tag(x_77) == 0) { uint8_t x_78; diff --git a/stage0/stdlib/Init/Lean/Elab/TermBinders.c b/stage0/stdlib/Init/Lean/Elab/TermBinders.c index 80b98dc8c1..8c23fe194b 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermBinders.c +++ b/stage0/stdlib/Init/Lean/Elab/TermBinders.c @@ -119,7 +119,7 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabDepArrow___closed__3; lean_object* l_Lean_Elab_Term_elabFun___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabFun___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__3; lean_object* l_Lean_Elab_Term_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_6__elabBinderViews___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1631,7 +1631,7 @@ 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_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; 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_95 = lean_ctor_get(x_6, 1); x_96 = lean_ctor_get(x_6, 2); x_97 = lean_ctor_get(x_6, 3); @@ -1642,6 +1642,7 @@ x_101 = lean_ctor_get(x_6, 7); x_102 = lean_ctor_get(x_6, 8); x_103 = lean_ctor_get(x_6, 9); x_104 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); +x_105 = lean_ctor_get_uint8(x_6, sizeof(void*)*10 + 1); lean_inc(x_103); lean_inc(x_102); lean_inc(x_101); @@ -1652,191 +1653,192 @@ lean_inc(x_97); lean_inc(x_96); lean_inc(x_95); lean_dec(x_6); -x_105 = lean_ctor_get(x_14, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_14, 3); +x_106 = lean_ctor_get(x_14, 0); lean_inc(x_106); -x_107 = lean_ctor_get(x_14, 4); +x_107 = lean_ctor_get(x_14, 3); lean_inc(x_107); +x_108 = lean_ctor_get(x_14, 4); +lean_inc(x_108); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); lean_ctor_release(x_14, 3); lean_ctor_release(x_14, 4); - x_108 = x_14; + x_109 = x_14; } else { lean_dec_ref(x_14); - x_108 = lean_box(0); + x_109 = lean_box(0); } lean_inc(x_5); lean_inc(x_4); -if (lean_is_scalar(x_108)) { - x_109 = lean_alloc_ctor(0, 5, 0); +if (lean_is_scalar(x_109)) { + x_110 = lean_alloc_ctor(0, 5, 0); } else { - x_109 = x_108; + x_110 = x_109; } -lean_ctor_set(x_109, 0, x_105); -lean_ctor_set(x_109, 1, x_4); -lean_ctor_set(x_109, 2, x_5); -lean_ctor_set(x_109, 3, x_106); -lean_ctor_set(x_109, 4, x_107); -x_110 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_95); -lean_ctor_set(x_110, 2, x_96); -lean_ctor_set(x_110, 3, x_97); -lean_ctor_set(x_110, 4, x_98); -lean_ctor_set(x_110, 5, x_99); -lean_ctor_set(x_110, 6, x_100); -lean_ctor_set(x_110, 7, x_101); -lean_ctor_set(x_110, 8, x_102); -lean_ctor_set(x_110, 9, x_103); -lean_ctor_set_uint8(x_110, sizeof(void*)*10, x_104); -lean_inc(x_110); +lean_ctor_set(x_110, 0, x_106); +lean_ctor_set(x_110, 1, x_4); +lean_ctor_set(x_110, 2, x_5); +lean_ctor_set(x_110, 3, x_107); +lean_ctor_set(x_110, 4, x_108); +x_111 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_95); +lean_ctor_set(x_111, 2, x_96); +lean_ctor_set(x_111, 3, x_97); +lean_ctor_set(x_111, 4, x_98); +lean_ctor_set(x_111, 5, x_99); +lean_ctor_set(x_111, 6, x_100); +lean_ctor_set(x_111, 7, x_101); +lean_ctor_set(x_111, 8, x_102); +lean_ctor_set(x_111, 9, x_103); +lean_ctor_set_uint8(x_111, sizeof(void*)*10, x_104); +lean_ctor_set_uint8(x_111, sizeof(void*)*10 + 1, x_105); +lean_inc(x_111); lean_inc(x_15); -x_111 = l_Lean_Elab_Term_elabType(x_15, x_110, x_7); -if (lean_obj_tag(x_111) == 0) +x_112 = l_Lean_Elab_Term_elabType(x_15, x_111, x_7); +if (lean_obj_tag(x_112) == 0) { -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; uint8_t x_121; lean_object* x_122; lean_object* x_123; -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); +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; uint8_t x_122; lean_object* x_123; lean_object* x_124; +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -lean_dec(x_111); -x_114 = l_Lean_Elab_Term_mkFreshFVarId___rarg(x_113); -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_115 = l_Lean_Elab_Term_mkFreshFVarId___rarg(x_114); +x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); -lean_dec(x_114); -lean_inc(x_115); -x_117 = l_Lean_mkFVar(x_115); +x_117 = lean_ctor_get(x_115, 1); lean_inc(x_117); -x_118 = lean_array_push(x_3, x_117); -x_119 = lean_ctor_get(x_13, 0); -lean_inc(x_119); -x_120 = l_Lean_Syntax_getId(x_119); -lean_dec(x_119); -x_121 = lean_ctor_get_uint8(x_13, sizeof(void*)*2); +lean_dec(x_115); +lean_inc(x_116); +x_118 = l_Lean_mkFVar(x_116); +lean_inc(x_118); +x_119 = lean_array_push(x_3, x_118); +x_120 = lean_ctor_get(x_13, 0); +lean_inc(x_120); +x_121 = l_Lean_Syntax_getId(x_120); +lean_dec(x_120); +x_122 = lean_ctor_get_uint8(x_13, sizeof(void*)*2); lean_dec(x_13); -lean_inc(x_112); -x_122 = lean_local_ctx_mk_local_decl(x_4, x_115, x_120, x_112, x_121); -lean_inc(x_110); -x_123 = l_Lean_Elab_Term_isClass(x_15, x_112, x_110, x_116); +lean_inc(x_113); +x_123 = lean_local_ctx_mk_local_decl(x_4, x_116, x_121, x_113, x_122); +lean_inc(x_111); +x_124 = l_Lean_Elab_Term_isClass(x_15, x_113, x_111, x_117); lean_dec(x_15); -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) { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -lean_dec(x_117); -x_125 = lean_ctor_get(x_123, 1); +lean_object* x_125; +x_125 = lean_ctor_get(x_124, 0); lean_inc(x_125); -lean_dec(x_123); -x_126 = lean_unsigned_to_nat(1u); -x_127 = lean_nat_add(x_2, x_126); +if (lean_obj_tag(x_125) == 0) +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_dec(x_118); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = lean_unsigned_to_nat(1u); +x_128 = lean_nat_add(x_2, x_127); lean_dec(x_2); -x_2 = x_127; -x_3 = x_118; -x_4 = x_122; -x_6 = x_110; -x_7 = x_125; +x_2 = x_128; +x_3 = x_119; +x_4 = x_123; +x_6 = x_111; +x_7 = x_126; goto _start; } 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; -x_129 = lean_ctor_get(x_123, 1); -lean_inc(x_129); -lean_dec(x_123); -x_130 = lean_ctor_get(x_124, 0); +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_130 = lean_ctor_get(x_124, 1); lean_inc(x_130); lean_dec(x_124); -x_131 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_129); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -lean_dec(x_131); -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_130); -lean_ctor_set(x_133, 1, x_117); -x_134 = lean_array_push(x_5, x_133); -x_135 = lean_unsigned_to_nat(1u); -x_136 = lean_nat_add(x_2, x_135); +x_131 = lean_ctor_get(x_125, 0); +lean_inc(x_131); +lean_dec(x_125); +x_132 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_130); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_118); +x_135 = lean_array_push(x_5, x_134); +x_136 = lean_unsigned_to_nat(1u); +x_137 = lean_nat_add(x_2, x_136); lean_dec(x_2); -x_2 = x_136; -x_3 = x_118; -x_4 = x_122; -x_5 = x_134; -x_6 = x_110; -x_7 = x_132; +x_2 = x_137; +x_3 = x_119; +x_4 = x_123; +x_5 = x_135; +x_6 = x_111; +x_7 = x_133; goto _start; } } else { -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -lean_dec(x_122); +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_dec(x_123); +lean_dec(x_119); lean_dec(x_118); -lean_dec(x_117); -lean_dec(x_110); +lean_dec(x_111); lean_dec(x_5); lean_dec(x_2); -x_138 = lean_ctor_get(x_123, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_123, 1); +x_139 = lean_ctor_get(x_124, 0); lean_inc(x_139); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_140 = x_123; +x_140 = lean_ctor_get(x_124, 1); +lean_inc(x_140); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_141 = x_124; } else { - lean_dec_ref(x_123); - x_140 = lean_box(0); + lean_dec_ref(x_124); + x_141 = lean_box(0); } -if (lean_is_scalar(x_140)) { - x_141 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(1, 2, 0); } else { - x_141 = x_140; + x_142 = x_141; } -lean_ctor_set(x_141, 0, x_138); -lean_ctor_set(x_141, 1, x_139); -return 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_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -lean_dec(x_110); +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +lean_dec(x_111); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_142 = lean_ctor_get(x_111, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_111, 1); +x_143 = lean_ctor_get(x_112, 0); 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; +x_144 = lean_ctor_get(x_112, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_145 = x_112; } else { - lean_dec_ref(x_111); - x_144 = lean_box(0); + lean_dec_ref(x_112); + x_145 = lean_box(0); } -if (lean_is_scalar(x_144)) { - x_145 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_145)) { + x_146 = lean_alloc_ctor(1, 2, 0); } else { - x_145 = x_144; + x_146 = x_145; } -lean_ctor_set(x_145, 0, x_142); -lean_ctor_set(x_145, 1, x_143); -return x_145; +lean_ctor_set(x_146, 0, x_143); +lean_ctor_set(x_146, 1, x_144); +return x_146; } } } @@ -2111,7 +2113,7 @@ 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; uint8_t 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_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; 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; lean_object* x_53; x_35 = lean_ctor_get(x_3, 0); x_36 = lean_ctor_get(x_3, 1); x_37 = lean_ctor_get(x_3, 2); @@ -2123,6 +2125,7 @@ x_42 = lean_ctor_get(x_3, 7); x_43 = lean_ctor_get(x_3, 8); x_44 = lean_ctor_get(x_3, 9); x_45 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_46 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); lean_inc(x_44); lean_inc(x_43); lean_inc(x_42); @@ -2134,298 +2137,277 @@ lean_inc(x_37); lean_inc(x_36); lean_inc(x_35); lean_dec(x_3); -x_46 = lean_ctor_get(x_35, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_35, 3); +x_47 = lean_ctor_get(x_35, 0); lean_inc(x_47); -x_48 = lean_ctor_get(x_35, 4); +x_48 = lean_ctor_get(x_35, 3); lean_inc(x_48); +x_49 = lean_ctor_get(x_35, 4); +lean_inc(x_49); if (lean_is_exclusive(x_35)) { lean_ctor_release(x_35, 0); lean_ctor_release(x_35, 1); lean_ctor_release(x_35, 2); lean_ctor_release(x_35, 3); lean_ctor_release(x_35, 4); - x_49 = x_35; + x_50 = x_35; } else { lean_dec_ref(x_35); - x_49 = lean_box(0); + x_50 = lean_box(0); } -if (lean_is_scalar(x_49)) { - x_50 = lean_alloc_ctor(0, 5, 0); +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(0, 5, 0); } else { - x_50 = x_49; + x_51 = x_50; } -lean_ctor_set(x_50, 0, x_46); -lean_ctor_set(x_50, 1, x_19); -lean_ctor_set(x_50, 2, x_20); -lean_ctor_set(x_50, 3, x_47); -lean_ctor_set(x_50, 4, x_48); -x_51 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_36); -lean_ctor_set(x_51, 2, x_37); -lean_ctor_set(x_51, 3, x_38); -lean_ctor_set(x_51, 4, x_39); -lean_ctor_set(x_51, 5, x_40); -lean_ctor_set(x_51, 6, x_41); -lean_ctor_set(x_51, 7, x_42); -lean_ctor_set(x_51, 8, x_43); -lean_ctor_set(x_51, 9, x_44); -lean_ctor_set_uint8(x_51, sizeof(void*)*10, x_45); -x_52 = lean_apply_3(x_2, x_18, x_51, x_17); -return x_52; +lean_ctor_set(x_51, 0, x_47); +lean_ctor_set(x_51, 1, x_19); +lean_ctor_set(x_51, 2, x_20); +lean_ctor_set(x_51, 3, x_48); +lean_ctor_set(x_51, 4, x_49); +x_52 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_36); +lean_ctor_set(x_52, 2, x_37); +lean_ctor_set(x_52, 3, x_38); +lean_ctor_set(x_52, 4, x_39); +lean_ctor_set(x_52, 5, x_40); +lean_ctor_set(x_52, 6, x_41); +lean_ctor_set(x_52, 7, x_42); +lean_ctor_set(x_52, 8, x_43); +lean_ctor_set(x_52, 9, x_44); +lean_ctor_set_uint8(x_52, sizeof(void*)*10, x_45); +lean_ctor_set_uint8(x_52, sizeof(void*)*10 + 1, x_46); +x_53 = lean_apply_3(x_2, x_18, x_52, x_17); +return x_53; } } 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; uint8_t x_59; -x_53 = lean_ctor_get(x_17, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_53, 2); +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_54 = lean_ctor_get(x_17, 0); lean_inc(x_54); -lean_dec(x_53); x_55 = lean_ctor_get(x_54, 2); lean_inc(x_55); lean_dec(x_54); -x_56 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_17); -x_57 = lean_ctor_get(x_3, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); +x_56 = lean_ctor_get(x_55, 2); +lean_inc(x_56); +lean_dec(x_55); +x_57 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_17); +x_58 = lean_ctor_get(x_3, 0); lean_inc(x_58); -lean_dec(x_56); -x_59 = !lean_is_exclusive(x_3); -if (x_59 == 0) +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = !lean_is_exclusive(x_3); +if (x_60 == 0) { -lean_object* x_60; uint8_t x_61; -x_60 = lean_ctor_get(x_3, 0); -lean_dec(x_60); -x_61 = !lean_is_exclusive(x_57); -if (x_61 == 0) +lean_object* x_61; uint8_t x_62; +x_61 = lean_ctor_get(x_3, 0); +lean_dec(x_61); +x_62 = !lean_is_exclusive(x_58); +if (x_62 == 0) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_57, 2); -lean_dec(x_62); -x_63 = lean_ctor_get(x_57, 1); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_58, 2); lean_dec(x_63); -lean_ctor_set(x_57, 2, x_20); -lean_ctor_set(x_57, 1, x_19); -x_64 = lean_apply_3(x_2, x_18, x_3, x_58); -if (lean_obj_tag(x_64) == 0) +x_64 = lean_ctor_get(x_58, 1); +lean_dec(x_64); +lean_ctor_set(x_58, 2, x_20); +lean_ctor_set(x_58, 1, x_19); +x_65 = lean_apply_3(x_2, x_18, x_3, x_59); +if (lean_obj_tag(x_65) == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -x_66 = lean_ctor_get(x_65, 0); +lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_66 = lean_ctor_get(x_65, 1); lean_inc(x_66); -x_67 = lean_ctor_get(x_66, 2); +x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); -x_68 = !lean_is_exclusive(x_64); -if (x_68 == 0) +x_68 = lean_ctor_get(x_67, 2); +lean_inc(x_68); +x_69 = !lean_is_exclusive(x_65); +if (x_69 == 0) { -lean_object* x_69; uint8_t x_70; -x_69 = lean_ctor_get(x_64, 1); -lean_dec(x_69); -x_70 = !lean_is_exclusive(x_65); -if (x_70 == 0) +lean_object* x_70; uint8_t x_71; +x_70 = lean_ctor_get(x_65, 1); +lean_dec(x_70); +x_71 = !lean_is_exclusive(x_66); +if (x_71 == 0) { -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_65, 0); -lean_dec(x_71); -x_72 = !lean_is_exclusive(x_66); -if (x_72 == 0) +lean_object* x_72; uint8_t x_73; +x_72 = lean_ctor_get(x_66, 0); +lean_dec(x_72); +x_73 = !lean_is_exclusive(x_67); +if (x_73 == 0) { -lean_object* x_73; uint8_t x_74; -x_73 = lean_ctor_get(x_66, 2); -lean_dec(x_73); -x_74 = !lean_is_exclusive(x_67); -if (x_74 == 0) +lean_object* x_74; uint8_t x_75; +x_74 = lean_ctor_get(x_67, 2); +lean_dec(x_74); +x_75 = !lean_is_exclusive(x_68); +if (x_75 == 0) { -lean_object* x_75; -x_75 = lean_ctor_get(x_67, 2); -lean_dec(x_75); -lean_ctor_set(x_67, 2, x_55); -return x_64; +lean_object* x_76; +x_76 = lean_ctor_get(x_68, 2); +lean_dec(x_76); +lean_ctor_set(x_68, 2, x_56); +return x_65; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_67, 0); -x_77 = lean_ctor_get(x_67, 1); +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_68, 0); +x_78 = lean_ctor_get(x_68, 1); +lean_inc(x_78); lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_67); -x_78 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -lean_ctor_set(x_78, 2, x_55); -lean_ctor_set(x_66, 2, x_78); -return x_64; +lean_dec(x_68); +x_79 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +lean_ctor_set(x_79, 2, x_56); +lean_ctor_set(x_67, 2, x_79); +return x_65; } } 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; lean_object* x_87; lean_object* x_88; -x_79 = lean_ctor_get(x_66, 0); -x_80 = lean_ctor_get(x_66, 1); -x_81 = lean_ctor_get(x_66, 3); -x_82 = lean_ctor_get(x_66, 4); -x_83 = lean_ctor_get(x_66, 5); +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); +x_82 = lean_ctor_get(x_67, 3); +x_83 = lean_ctor_get(x_67, 4); +x_84 = lean_ctor_get(x_67, 5); +lean_inc(x_84); lean_inc(x_83); lean_inc(x_82); lean_inc(x_81); lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_66); -x_84 = lean_ctor_get(x_67, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_67, 1); +lean_dec(x_67); +x_85 = lean_ctor_get(x_68, 0); lean_inc(x_85); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - lean_ctor_release(x_67, 2); - x_86 = x_67; +x_86 = lean_ctor_get(x_68, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + lean_ctor_release(x_68, 2); + x_87 = x_68; } else { - lean_dec_ref(x_67); - x_86 = lean_box(0); + lean_dec_ref(x_68); + x_87 = lean_box(0); } -if (lean_is_scalar(x_86)) { - x_87 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(0, 3, 0); } else { - x_87 = x_86; + x_88 = x_87; } -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_85); -lean_ctor_set(x_87, 2, x_55); -x_88 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_88, 0, x_79); -lean_ctor_set(x_88, 1, x_80); -lean_ctor_set(x_88, 2, x_87); -lean_ctor_set(x_88, 3, x_81); -lean_ctor_set(x_88, 4, x_82); -lean_ctor_set(x_88, 5, x_83); -lean_ctor_set(x_65, 0, x_88); -return x_64; +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_86); +lean_ctor_set(x_88, 2, x_56); +x_89 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_89, 0, x_80); +lean_ctor_set(x_89, 1, x_81); +lean_ctor_set(x_89, 2, x_88); +lean_ctor_set(x_89, 3, x_82); +lean_ctor_set(x_89, 4, x_83); +lean_ctor_set(x_89, 5, x_84); +lean_ctor_set(x_66, 0, x_89); +return x_65; } } 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_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_89 = lean_ctor_get(x_65, 1); -x_90 = lean_ctor_get(x_65, 2); -x_91 = lean_ctor_get(x_65, 3); -x_92 = lean_ctor_get(x_65, 4); -x_93 = lean_ctor_get(x_65, 5); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_90 = lean_ctor_get(x_66, 1); +x_91 = lean_ctor_get(x_66, 2); +x_92 = lean_ctor_get(x_66, 3); +x_93 = lean_ctor_get(x_66, 4); +x_94 = lean_ctor_get(x_66, 5); +lean_inc(x_94); lean_inc(x_93); lean_inc(x_92); lean_inc(x_91); lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_65); -x_94 = lean_ctor_get(x_66, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_66, 1); +lean_dec(x_66); +x_95 = lean_ctor_get(x_67, 0); lean_inc(x_95); -x_96 = lean_ctor_get(x_66, 3); +x_96 = lean_ctor_get(x_67, 1); lean_inc(x_96); -x_97 = lean_ctor_get(x_66, 4); +x_97 = lean_ctor_get(x_67, 3); lean_inc(x_97); -x_98 = lean_ctor_get(x_66, 5); +x_98 = lean_ctor_get(x_67, 4); lean_inc(x_98); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - lean_ctor_release(x_66, 2); - lean_ctor_release(x_66, 3); - lean_ctor_release(x_66, 4); - lean_ctor_release(x_66, 5); - x_99 = x_66; -} else { - lean_dec_ref(x_66); - x_99 = lean_box(0); -} -x_100 = lean_ctor_get(x_67, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_67, 1); -lean_inc(x_101); +x_99 = lean_ctor_get(x_67, 5); +lean_inc(x_99); if (lean_is_exclusive(x_67)) { lean_ctor_release(x_67, 0); lean_ctor_release(x_67, 1); lean_ctor_release(x_67, 2); - x_102 = x_67; + lean_ctor_release(x_67, 3); + lean_ctor_release(x_67, 4); + lean_ctor_release(x_67, 5); + x_100 = x_67; } else { lean_dec_ref(x_67); - x_102 = lean_box(0); + x_100 = lean_box(0); } -if (lean_is_scalar(x_102)) { - x_103 = lean_alloc_ctor(0, 3, 0); +x_101 = lean_ctor_get(x_68, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_68, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + lean_ctor_release(x_68, 2); + x_103 = x_68; } else { - x_103 = x_102; + lean_dec_ref(x_68); + x_103 = lean_box(0); } -lean_ctor_set(x_103, 0, x_100); -lean_ctor_set(x_103, 1, x_101); -lean_ctor_set(x_103, 2, x_55); -if (lean_is_scalar(x_99)) { - x_104 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 3, 0); } else { - x_104 = x_99; + x_104 = x_103; } -lean_ctor_set(x_104, 0, x_94); -lean_ctor_set(x_104, 1, x_95); -lean_ctor_set(x_104, 2, x_103); -lean_ctor_set(x_104, 3, x_96); -lean_ctor_set(x_104, 4, x_97); -lean_ctor_set(x_104, 5, x_98); -x_105 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_89); -lean_ctor_set(x_105, 2, x_90); -lean_ctor_set(x_105, 3, x_91); -lean_ctor_set(x_105, 4, x_92); -lean_ctor_set(x_105, 5, x_93); -lean_ctor_set(x_64, 1, x_105); -return x_64; +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +lean_ctor_set(x_104, 2, x_56); +if (lean_is_scalar(x_100)) { + x_105 = lean_alloc_ctor(0, 6, 0); +} else { + x_105 = x_100; +} +lean_ctor_set(x_105, 0, x_95); +lean_ctor_set(x_105, 1, x_96); +lean_ctor_set(x_105, 2, x_104); +lean_ctor_set(x_105, 3, x_97); +lean_ctor_set(x_105, 4, x_98); +lean_ctor_set(x_105, 5, x_99); +x_106 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_90); +lean_ctor_set(x_106, 2, x_91); +lean_ctor_set(x_106, 3, x_92); +lean_ctor_set(x_106, 4, x_93); +lean_ctor_set(x_106, 5, x_94); +lean_ctor_set(x_65, 1, x_106); +return x_65; } } 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; -x_106 = lean_ctor_get(x_64, 0); -lean_inc(x_106); -lean_dec(x_64); -x_107 = lean_ctor_get(x_65, 1); +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_107 = lean_ctor_get(x_65, 0); lean_inc(x_107); -x_108 = lean_ctor_get(x_65, 2); +lean_dec(x_65); +x_108 = lean_ctor_get(x_66, 1); lean_inc(x_108); -x_109 = lean_ctor_get(x_65, 3); +x_109 = lean_ctor_get(x_66, 2); lean_inc(x_109); -x_110 = lean_ctor_get(x_65, 4); +x_110 = lean_ctor_get(x_66, 3); lean_inc(x_110); -x_111 = lean_ctor_get(x_65, 5); +x_111 = lean_ctor_get(x_66, 4); lean_inc(x_111); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - lean_ctor_release(x_65, 2); - lean_ctor_release(x_65, 3); - lean_ctor_release(x_65, 4); - lean_ctor_release(x_65, 5); - x_112 = x_65; -} else { - lean_dec_ref(x_65); - x_112 = lean_box(0); -} -x_113 = lean_ctor_get(x_66, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_66, 1); -lean_inc(x_114); -x_115 = lean_ctor_get(x_66, 3); -lean_inc(x_115); -x_116 = lean_ctor_get(x_66, 4); -lean_inc(x_116); -x_117 = lean_ctor_get(x_66, 5); -lean_inc(x_117); +x_112 = lean_ctor_get(x_66, 5); +lean_inc(x_112); if (lean_is_exclusive(x_66)) { lean_ctor_release(x_66, 0); lean_ctor_release(x_66, 1); @@ -2433,275 +2415,275 @@ if (lean_is_exclusive(x_66)) { lean_ctor_release(x_66, 3); lean_ctor_release(x_66, 4); lean_ctor_release(x_66, 5); - x_118 = x_66; + x_113 = x_66; } else { lean_dec_ref(x_66); - x_118 = lean_box(0); + x_113 = lean_box(0); } -x_119 = lean_ctor_get(x_67, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_67, 1); -lean_inc(x_120); +x_114 = lean_ctor_get(x_67, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_67, 1); +lean_inc(x_115); +x_116 = lean_ctor_get(x_67, 3); +lean_inc(x_116); +x_117 = lean_ctor_get(x_67, 4); +lean_inc(x_117); +x_118 = lean_ctor_get(x_67, 5); +lean_inc(x_118); if (lean_is_exclusive(x_67)) { lean_ctor_release(x_67, 0); lean_ctor_release(x_67, 1); lean_ctor_release(x_67, 2); - x_121 = x_67; + lean_ctor_release(x_67, 3); + lean_ctor_release(x_67, 4); + lean_ctor_release(x_67, 5); + x_119 = x_67; } else { lean_dec_ref(x_67); - x_121 = lean_box(0); + x_119 = lean_box(0); } -if (lean_is_scalar(x_121)) { - x_122 = lean_alloc_ctor(0, 3, 0); +x_120 = lean_ctor_get(x_68, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_68, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + lean_ctor_release(x_68, 2); + x_122 = x_68; } else { - x_122 = x_121; + lean_dec_ref(x_68); + x_122 = lean_box(0); } -lean_ctor_set(x_122, 0, x_119); -lean_ctor_set(x_122, 1, x_120); -lean_ctor_set(x_122, 2, x_55); -if (lean_is_scalar(x_118)) { - x_123 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(0, 3, 0); } else { - x_123 = x_118; + x_123 = x_122; } -lean_ctor_set(x_123, 0, x_113); -lean_ctor_set(x_123, 1, x_114); -lean_ctor_set(x_123, 2, x_122); -lean_ctor_set(x_123, 3, x_115); -lean_ctor_set(x_123, 4, x_116); -lean_ctor_set(x_123, 5, x_117); -if (lean_is_scalar(x_112)) { +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_121); +lean_ctor_set(x_123, 2, x_56); +if (lean_is_scalar(x_119)) { x_124 = lean_alloc_ctor(0, 6, 0); } else { - x_124 = x_112; + x_124 = x_119; } -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_107); -lean_ctor_set(x_124, 2, x_108); -lean_ctor_set(x_124, 3, x_109); -lean_ctor_set(x_124, 4, x_110); -lean_ctor_set(x_124, 5, x_111); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_106); -lean_ctor_set(x_125, 1, x_124); -return x_125; +lean_ctor_set(x_124, 0, x_114); +lean_ctor_set(x_124, 1, x_115); +lean_ctor_set(x_124, 2, x_123); +lean_ctor_set(x_124, 3, x_116); +lean_ctor_set(x_124, 4, x_117); +lean_ctor_set(x_124, 5, x_118); +if (lean_is_scalar(x_113)) { + x_125 = lean_alloc_ctor(0, 6, 0); +} else { + x_125 = x_113; +} +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_108); +lean_ctor_set(x_125, 2, x_109); +lean_ctor_set(x_125, 3, x_110); +lean_ctor_set(x_125, 4, x_111); +lean_ctor_set(x_125, 5, x_112); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_107); +lean_ctor_set(x_126, 1, x_125); +return x_126; } } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; -x_126 = lean_ctor_get(x_64, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_126, 0); +lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; +x_127 = lean_ctor_get(x_65, 1); lean_inc(x_127); -x_128 = lean_ctor_get(x_127, 2); +x_128 = lean_ctor_get(x_127, 0); lean_inc(x_128); -x_129 = !lean_is_exclusive(x_64); -if (x_129 == 0) +x_129 = lean_ctor_get(x_128, 2); +lean_inc(x_129); +x_130 = !lean_is_exclusive(x_65); +if (x_130 == 0) { -lean_object* x_130; uint8_t x_131; -x_130 = lean_ctor_get(x_64, 1); -lean_dec(x_130); -x_131 = !lean_is_exclusive(x_126); -if (x_131 == 0) +lean_object* x_131; uint8_t x_132; +x_131 = lean_ctor_get(x_65, 1); +lean_dec(x_131); +x_132 = !lean_is_exclusive(x_127); +if (x_132 == 0) { -lean_object* x_132; uint8_t x_133; -x_132 = lean_ctor_get(x_126, 0); -lean_dec(x_132); -x_133 = !lean_is_exclusive(x_127); -if (x_133 == 0) +lean_object* x_133; uint8_t x_134; +x_133 = lean_ctor_get(x_127, 0); +lean_dec(x_133); +x_134 = !lean_is_exclusive(x_128); +if (x_134 == 0) { -lean_object* x_134; uint8_t x_135; -x_134 = lean_ctor_get(x_127, 2); -lean_dec(x_134); -x_135 = !lean_is_exclusive(x_128); -if (x_135 == 0) +lean_object* x_135; uint8_t x_136; +x_135 = lean_ctor_get(x_128, 2); +lean_dec(x_135); +x_136 = !lean_is_exclusive(x_129); +if (x_136 == 0) { -lean_object* x_136; -x_136 = lean_ctor_get(x_128, 2); -lean_dec(x_136); -lean_ctor_set(x_128, 2, x_55); -return x_64; +lean_object* x_137; +x_137 = lean_ctor_get(x_129, 2); +lean_dec(x_137); +lean_ctor_set(x_129, 2, x_56); +return x_65; } else { -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_128, 0); -x_138 = lean_ctor_get(x_128, 1); +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_129, 0); +x_139 = lean_ctor_get(x_129, 1); +lean_inc(x_139); lean_inc(x_138); -lean_inc(x_137); -lean_dec(x_128); -x_139 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -lean_ctor_set(x_139, 2, x_55); -lean_ctor_set(x_127, 2, x_139); -return x_64; +lean_dec(x_129); +x_140 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +lean_ctor_set(x_140, 2, x_56); +lean_ctor_set(x_128, 2, x_140); +return x_65; } } 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; -x_140 = lean_ctor_get(x_127, 0); -x_141 = lean_ctor_get(x_127, 1); -x_142 = lean_ctor_get(x_127, 3); -x_143 = lean_ctor_get(x_127, 4); -x_144 = lean_ctor_get(x_127, 5); +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_141 = lean_ctor_get(x_128, 0); +x_142 = lean_ctor_get(x_128, 1); +x_143 = lean_ctor_get(x_128, 3); +x_144 = lean_ctor_get(x_128, 4); +x_145 = lean_ctor_get(x_128, 5); +lean_inc(x_145); lean_inc(x_144); lean_inc(x_143); lean_inc(x_142); lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_127); -x_145 = lean_ctor_get(x_128, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_128, 1); +lean_dec(x_128); +x_146 = lean_ctor_get(x_129, 0); lean_inc(x_146); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - lean_ctor_release(x_128, 2); - x_147 = x_128; +x_147 = lean_ctor_get(x_129, 1); +lean_inc(x_147); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + lean_ctor_release(x_129, 2); + x_148 = x_129; } else { - lean_dec_ref(x_128); - x_147 = lean_box(0); + lean_dec_ref(x_129); + x_148 = lean_box(0); } -if (lean_is_scalar(x_147)) { - x_148 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_148)) { + x_149 = lean_alloc_ctor(0, 3, 0); } else { - x_148 = x_147; + x_149 = x_148; } -lean_ctor_set(x_148, 0, x_145); -lean_ctor_set(x_148, 1, x_146); -lean_ctor_set(x_148, 2, x_55); -x_149 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_149, 0, x_140); -lean_ctor_set(x_149, 1, x_141); -lean_ctor_set(x_149, 2, x_148); -lean_ctor_set(x_149, 3, x_142); -lean_ctor_set(x_149, 4, x_143); -lean_ctor_set(x_149, 5, x_144); -lean_ctor_set(x_126, 0, x_149); -return x_64; +lean_ctor_set(x_149, 0, x_146); +lean_ctor_set(x_149, 1, x_147); +lean_ctor_set(x_149, 2, x_56); +x_150 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_150, 0, x_141); +lean_ctor_set(x_150, 1, x_142); +lean_ctor_set(x_150, 2, x_149); +lean_ctor_set(x_150, 3, x_143); +lean_ctor_set(x_150, 4, x_144); +lean_ctor_set(x_150, 5, x_145); +lean_ctor_set(x_127, 0, x_150); +return x_65; } } 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; -x_150 = lean_ctor_get(x_126, 1); -x_151 = lean_ctor_get(x_126, 2); -x_152 = lean_ctor_get(x_126, 3); -x_153 = lean_ctor_get(x_126, 4); -x_154 = lean_ctor_get(x_126, 5); +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; +x_151 = lean_ctor_get(x_127, 1); +x_152 = lean_ctor_get(x_127, 2); +x_153 = lean_ctor_get(x_127, 3); +x_154 = lean_ctor_get(x_127, 4); +x_155 = lean_ctor_get(x_127, 5); +lean_inc(x_155); lean_inc(x_154); lean_inc(x_153); lean_inc(x_152); lean_inc(x_151); -lean_inc(x_150); -lean_dec(x_126); -x_155 = lean_ctor_get(x_127, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_127, 1); +lean_dec(x_127); +x_156 = lean_ctor_get(x_128, 0); lean_inc(x_156); -x_157 = lean_ctor_get(x_127, 3); +x_157 = lean_ctor_get(x_128, 1); lean_inc(x_157); -x_158 = lean_ctor_get(x_127, 4); +x_158 = lean_ctor_get(x_128, 3); lean_inc(x_158); -x_159 = lean_ctor_get(x_127, 5); +x_159 = lean_ctor_get(x_128, 4); lean_inc(x_159); -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); - lean_ctor_release(x_127, 4); - lean_ctor_release(x_127, 5); - x_160 = x_127; -} else { - lean_dec_ref(x_127); - x_160 = lean_box(0); -} -x_161 = lean_ctor_get(x_128, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_128, 1); -lean_inc(x_162); +x_160 = lean_ctor_get(x_128, 5); +lean_inc(x_160); if (lean_is_exclusive(x_128)) { lean_ctor_release(x_128, 0); lean_ctor_release(x_128, 1); lean_ctor_release(x_128, 2); - x_163 = x_128; + lean_ctor_release(x_128, 3); + lean_ctor_release(x_128, 4); + lean_ctor_release(x_128, 5); + x_161 = x_128; } else { lean_dec_ref(x_128); - x_163 = lean_box(0); + x_161 = lean_box(0); } -if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(0, 3, 0); +x_162 = lean_ctor_get(x_129, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_129, 1); +lean_inc(x_163); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + lean_ctor_release(x_129, 2); + x_164 = x_129; } else { - x_164 = x_163; + lean_dec_ref(x_129); + x_164 = lean_box(0); } -lean_ctor_set(x_164, 0, x_161); -lean_ctor_set(x_164, 1, x_162); -lean_ctor_set(x_164, 2, x_55); -if (lean_is_scalar(x_160)) { - x_165 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_164)) { + x_165 = lean_alloc_ctor(0, 3, 0); } else { - x_165 = x_160; + x_165 = x_164; } -lean_ctor_set(x_165, 0, x_155); -lean_ctor_set(x_165, 1, x_156); -lean_ctor_set(x_165, 2, x_164); -lean_ctor_set(x_165, 3, x_157); -lean_ctor_set(x_165, 4, x_158); -lean_ctor_set(x_165, 5, x_159); -x_166 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_150); -lean_ctor_set(x_166, 2, x_151); -lean_ctor_set(x_166, 3, x_152); -lean_ctor_set(x_166, 4, x_153); -lean_ctor_set(x_166, 5, x_154); -lean_ctor_set(x_64, 1, x_166); -return x_64; +lean_ctor_set(x_165, 0, x_162); +lean_ctor_set(x_165, 1, x_163); +lean_ctor_set(x_165, 2, x_56); +if (lean_is_scalar(x_161)) { + x_166 = lean_alloc_ctor(0, 6, 0); +} else { + x_166 = x_161; +} +lean_ctor_set(x_166, 0, x_156); +lean_ctor_set(x_166, 1, x_157); +lean_ctor_set(x_166, 2, x_165); +lean_ctor_set(x_166, 3, x_158); +lean_ctor_set(x_166, 4, x_159); +lean_ctor_set(x_166, 5, x_160); +x_167 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_151); +lean_ctor_set(x_167, 2, x_152); +lean_ctor_set(x_167, 3, x_153); +lean_ctor_set(x_167, 4, x_154); +lean_ctor_set(x_167, 5, x_155); +lean_ctor_set(x_65, 1, x_167); +return x_65; } } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_167 = lean_ctor_get(x_64, 0); -lean_inc(x_167); -lean_dec(x_64); -x_168 = lean_ctor_get(x_126, 1); +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_65, 0); lean_inc(x_168); -x_169 = lean_ctor_get(x_126, 2); +lean_dec(x_65); +x_169 = lean_ctor_get(x_127, 1); lean_inc(x_169); -x_170 = lean_ctor_get(x_126, 3); +x_170 = lean_ctor_get(x_127, 2); lean_inc(x_170); -x_171 = lean_ctor_get(x_126, 4); +x_171 = lean_ctor_get(x_127, 3); lean_inc(x_171); -x_172 = lean_ctor_get(x_126, 5); +x_172 = lean_ctor_get(x_127, 4); lean_inc(x_172); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - lean_ctor_release(x_126, 2); - lean_ctor_release(x_126, 3); - lean_ctor_release(x_126, 4); - lean_ctor_release(x_126, 5); - x_173 = x_126; -} else { - lean_dec_ref(x_126); - x_173 = lean_box(0); -} -x_174 = lean_ctor_get(x_127, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_127, 1); -lean_inc(x_175); -x_176 = lean_ctor_get(x_127, 3); -lean_inc(x_176); -x_177 = lean_ctor_get(x_127, 4); -lean_inc(x_177); -x_178 = lean_ctor_get(x_127, 5); -lean_inc(x_178); +x_173 = lean_ctor_get(x_127, 5); +lean_inc(x_173); if (lean_is_exclusive(x_127)) { lean_ctor_release(x_127, 0); lean_ctor_release(x_127, 1); @@ -2709,130 +2691,130 @@ if (lean_is_exclusive(x_127)) { lean_ctor_release(x_127, 3); lean_ctor_release(x_127, 4); lean_ctor_release(x_127, 5); - x_179 = x_127; + x_174 = x_127; } else { lean_dec_ref(x_127); - x_179 = lean_box(0); + x_174 = lean_box(0); } -x_180 = lean_ctor_get(x_128, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_128, 1); -lean_inc(x_181); +x_175 = lean_ctor_get(x_128, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_128, 1); +lean_inc(x_176); +x_177 = lean_ctor_get(x_128, 3); +lean_inc(x_177); +x_178 = lean_ctor_get(x_128, 4); +lean_inc(x_178); +x_179 = lean_ctor_get(x_128, 5); +lean_inc(x_179); if (lean_is_exclusive(x_128)) { lean_ctor_release(x_128, 0); lean_ctor_release(x_128, 1); lean_ctor_release(x_128, 2); - x_182 = x_128; + lean_ctor_release(x_128, 3); + lean_ctor_release(x_128, 4); + lean_ctor_release(x_128, 5); + x_180 = x_128; } else { lean_dec_ref(x_128); - x_182 = lean_box(0); + x_180 = lean_box(0); } -if (lean_is_scalar(x_182)) { - x_183 = lean_alloc_ctor(0, 3, 0); +x_181 = lean_ctor_get(x_129, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_129, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + lean_ctor_release(x_129, 2); + x_183 = x_129; } else { - x_183 = x_182; + lean_dec_ref(x_129); + x_183 = lean_box(0); } -lean_ctor_set(x_183, 0, x_180); -lean_ctor_set(x_183, 1, x_181); -lean_ctor_set(x_183, 2, x_55); -if (lean_is_scalar(x_179)) { - x_184 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_183)) { + x_184 = lean_alloc_ctor(0, 3, 0); } else { - x_184 = x_179; + x_184 = x_183; } -lean_ctor_set(x_184, 0, x_174); -lean_ctor_set(x_184, 1, x_175); -lean_ctor_set(x_184, 2, x_183); -lean_ctor_set(x_184, 3, x_176); -lean_ctor_set(x_184, 4, x_177); -lean_ctor_set(x_184, 5, x_178); -if (lean_is_scalar(x_173)) { +lean_ctor_set(x_184, 0, x_181); +lean_ctor_set(x_184, 1, x_182); +lean_ctor_set(x_184, 2, x_56); +if (lean_is_scalar(x_180)) { x_185 = lean_alloc_ctor(0, 6, 0); } else { - x_185 = x_173; + x_185 = x_180; } -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_168); -lean_ctor_set(x_185, 2, x_169); -lean_ctor_set(x_185, 3, x_170); -lean_ctor_set(x_185, 4, x_171); -lean_ctor_set(x_185, 5, x_172); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_167); -lean_ctor_set(x_186, 1, x_185); -return x_186; +lean_ctor_set(x_185, 0, x_175); +lean_ctor_set(x_185, 1, x_176); +lean_ctor_set(x_185, 2, x_184); +lean_ctor_set(x_185, 3, x_177); +lean_ctor_set(x_185, 4, x_178); +lean_ctor_set(x_185, 5, x_179); +if (lean_is_scalar(x_174)) { + x_186 = lean_alloc_ctor(0, 6, 0); +} else { + x_186 = x_174; +} +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_169); +lean_ctor_set(x_186, 2, x_170); +lean_ctor_set(x_186, 3, x_171); +lean_ctor_set(x_186, 4, x_172); +lean_ctor_set(x_186, 5, x_173); +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_168); +lean_ctor_set(x_187, 1, x_186); +return x_187; } } } else { -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_187 = lean_ctor_get(x_57, 0); -x_188 = lean_ctor_get(x_57, 3); -x_189 = lean_ctor_get(x_57, 4); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_188 = lean_ctor_get(x_58, 0); +x_189 = lean_ctor_get(x_58, 3); +x_190 = lean_ctor_get(x_58, 4); +lean_inc(x_190); lean_inc(x_189); lean_inc(x_188); -lean_inc(x_187); -lean_dec(x_57); -x_190 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_190, 0, x_187); -lean_ctor_set(x_190, 1, x_19); -lean_ctor_set(x_190, 2, x_20); -lean_ctor_set(x_190, 3, x_188); -lean_ctor_set(x_190, 4, x_189); -lean_ctor_set(x_3, 0, x_190); -x_191 = lean_apply_3(x_2, x_18, x_3, x_58); -if (lean_obj_tag(x_191) == 0) +lean_dec(x_58); +x_191 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_191, 0, x_188); +lean_ctor_set(x_191, 1, x_19); +lean_ctor_set(x_191, 2, x_20); +lean_ctor_set(x_191, 3, x_189); +lean_ctor_set(x_191, 4, x_190); +lean_ctor_set(x_3, 0, x_191); +x_192 = lean_apply_3(x_2, x_18, x_3, x_59); +if (lean_obj_tag(x_192) == 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; -x_192 = lean_ctor_get(x_191, 1); -lean_inc(x_192); -x_193 = lean_ctor_get(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_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; +x_193 = lean_ctor_get(x_192, 1); lean_inc(x_193); -x_194 = lean_ctor_get(x_193, 2); +x_194 = lean_ctor_get(x_193, 0); lean_inc(x_194); -x_195 = lean_ctor_get(x_191, 0); +x_195 = lean_ctor_get(x_194, 2); lean_inc(x_195); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - x_196 = x_191; -} else { - lean_dec_ref(x_191); - x_196 = lean_box(0); -} -x_197 = lean_ctor_get(x_192, 1); -lean_inc(x_197); -x_198 = lean_ctor_get(x_192, 2); -lean_inc(x_198); -x_199 = lean_ctor_get(x_192, 3); -lean_inc(x_199); -x_200 = lean_ctor_get(x_192, 4); -lean_inc(x_200); -x_201 = lean_ctor_get(x_192, 5); -lean_inc(x_201); +x_196 = lean_ctor_get(x_192, 0); +lean_inc(x_196); if (lean_is_exclusive(x_192)) { lean_ctor_release(x_192, 0); lean_ctor_release(x_192, 1); - lean_ctor_release(x_192, 2); - lean_ctor_release(x_192, 3); - lean_ctor_release(x_192, 4); - lean_ctor_release(x_192, 5); - x_202 = x_192; + x_197 = x_192; } else { lean_dec_ref(x_192); - x_202 = lean_box(0); + x_197 = lean_box(0); } -x_203 = lean_ctor_get(x_193, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_193, 1); -lean_inc(x_204); -x_205 = lean_ctor_get(x_193, 3); -lean_inc(x_205); -x_206 = lean_ctor_get(x_193, 4); -lean_inc(x_206); -x_207 = lean_ctor_get(x_193, 5); -lean_inc(x_207); +x_198 = lean_ctor_get(x_193, 1); +lean_inc(x_198); +x_199 = lean_ctor_get(x_193, 2); +lean_inc(x_199); +x_200 = lean_ctor_get(x_193, 3); +lean_inc(x_200); +x_201 = lean_ctor_get(x_193, 4); +lean_inc(x_201); +x_202 = lean_ctor_get(x_193, 5); +lean_inc(x_202); if (lean_is_exclusive(x_193)) { lean_ctor_release(x_193, 0); lean_ctor_release(x_193, 1); @@ -2840,114 +2822,114 @@ if (lean_is_exclusive(x_193)) { lean_ctor_release(x_193, 3); lean_ctor_release(x_193, 4); lean_ctor_release(x_193, 5); - x_208 = x_193; + x_203 = x_193; } else { lean_dec_ref(x_193); - x_208 = lean_box(0); + x_203 = lean_box(0); } -x_209 = lean_ctor_get(x_194, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_194, 1); -lean_inc(x_210); +x_204 = lean_ctor_get(x_194, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_194, 1); +lean_inc(x_205); +x_206 = lean_ctor_get(x_194, 3); +lean_inc(x_206); +x_207 = lean_ctor_get(x_194, 4); +lean_inc(x_207); +x_208 = lean_ctor_get(x_194, 5); +lean_inc(x_208); if (lean_is_exclusive(x_194)) { lean_ctor_release(x_194, 0); lean_ctor_release(x_194, 1); lean_ctor_release(x_194, 2); - x_211 = x_194; + lean_ctor_release(x_194, 3); + lean_ctor_release(x_194, 4); + lean_ctor_release(x_194, 5); + x_209 = x_194; } else { lean_dec_ref(x_194); - x_211 = lean_box(0); + x_209 = lean_box(0); } -if (lean_is_scalar(x_211)) { - x_212 = lean_alloc_ctor(0, 3, 0); +x_210 = lean_ctor_get(x_195, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_195, 1); +lean_inc(x_211); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + lean_ctor_release(x_195, 2); + x_212 = x_195; } else { - x_212 = x_211; + lean_dec_ref(x_195); + x_212 = lean_box(0); } -lean_ctor_set(x_212, 0, x_209); -lean_ctor_set(x_212, 1, x_210); -lean_ctor_set(x_212, 2, x_55); -if (lean_is_scalar(x_208)) { - x_213 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_212)) { + x_213 = lean_alloc_ctor(0, 3, 0); } else { - x_213 = x_208; + x_213 = x_212; } -lean_ctor_set(x_213, 0, x_203); -lean_ctor_set(x_213, 1, x_204); -lean_ctor_set(x_213, 2, x_212); -lean_ctor_set(x_213, 3, x_205); -lean_ctor_set(x_213, 4, x_206); -lean_ctor_set(x_213, 5, x_207); -if (lean_is_scalar(x_202)) { +lean_ctor_set(x_213, 0, x_210); +lean_ctor_set(x_213, 1, x_211); +lean_ctor_set(x_213, 2, x_56); +if (lean_is_scalar(x_209)) { x_214 = lean_alloc_ctor(0, 6, 0); } else { - x_214 = x_202; + x_214 = x_209; } -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_197); -lean_ctor_set(x_214, 2, x_198); -lean_ctor_set(x_214, 3, x_199); -lean_ctor_set(x_214, 4, x_200); -lean_ctor_set(x_214, 5, x_201); -if (lean_is_scalar(x_196)) { - x_215 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_214, 0, x_204); +lean_ctor_set(x_214, 1, x_205); +lean_ctor_set(x_214, 2, x_213); +lean_ctor_set(x_214, 3, x_206); +lean_ctor_set(x_214, 4, x_207); +lean_ctor_set(x_214, 5, x_208); +if (lean_is_scalar(x_203)) { + x_215 = lean_alloc_ctor(0, 6, 0); } else { - x_215 = x_196; + x_215 = x_203; } -lean_ctor_set(x_215, 0, x_195); -lean_ctor_set(x_215, 1, x_214); -return x_215; +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_198); +lean_ctor_set(x_215, 2, x_199); +lean_ctor_set(x_215, 3, x_200); +lean_ctor_set(x_215, 4, x_201); +lean_ctor_set(x_215, 5, x_202); +if (lean_is_scalar(x_197)) { + x_216 = lean_alloc_ctor(0, 2, 0); +} else { + x_216 = x_197; +} +lean_ctor_set(x_216, 0, x_196); +lean_ctor_set(x_216, 1, x_215); +return x_216; } else { -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_216 = lean_ctor_get(x_191, 1); -lean_inc(x_216); -x_217 = lean_ctor_get(x_216, 0); +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; +x_217 = lean_ctor_get(x_192, 1); lean_inc(x_217); -x_218 = lean_ctor_get(x_217, 2); +x_218 = lean_ctor_get(x_217, 0); lean_inc(x_218); -x_219 = lean_ctor_get(x_191, 0); +x_219 = lean_ctor_get(x_218, 2); lean_inc(x_219); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - x_220 = x_191; +x_220 = lean_ctor_get(x_192, 0); +lean_inc(x_220); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_221 = x_192; } else { - lean_dec_ref(x_191); - x_220 = lean_box(0); + lean_dec_ref(x_192); + x_221 = lean_box(0); } -x_221 = lean_ctor_get(x_216, 1); -lean_inc(x_221); -x_222 = lean_ctor_get(x_216, 2); +x_222 = lean_ctor_get(x_217, 1); lean_inc(x_222); -x_223 = lean_ctor_get(x_216, 3); +x_223 = lean_ctor_get(x_217, 2); lean_inc(x_223); -x_224 = lean_ctor_get(x_216, 4); +x_224 = lean_ctor_get(x_217, 3); lean_inc(x_224); -x_225 = lean_ctor_get(x_216, 5); +x_225 = lean_ctor_get(x_217, 4); lean_inc(x_225); -if (lean_is_exclusive(x_216)) { - lean_ctor_release(x_216, 0); - lean_ctor_release(x_216, 1); - lean_ctor_release(x_216, 2); - lean_ctor_release(x_216, 3); - lean_ctor_release(x_216, 4); - lean_ctor_release(x_216, 5); - x_226 = x_216; -} else { - lean_dec_ref(x_216); - x_226 = lean_box(0); -} -x_227 = lean_ctor_get(x_217, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_217, 1); -lean_inc(x_228); -x_229 = lean_ctor_get(x_217, 3); -lean_inc(x_229); -x_230 = lean_ctor_get(x_217, 4); -lean_inc(x_230); -x_231 = lean_ctor_get(x_217, 5); -lean_inc(x_231); +x_226 = lean_ctor_get(x_217, 5); +lean_inc(x_226); if (lean_is_exclusive(x_217)) { lean_ctor_release(x_217, 0); lean_ctor_release(x_217, 1); @@ -2955,78 +2937,102 @@ if (lean_is_exclusive(x_217)) { lean_ctor_release(x_217, 3); lean_ctor_release(x_217, 4); lean_ctor_release(x_217, 5); - x_232 = x_217; + x_227 = x_217; } else { lean_dec_ref(x_217); - x_232 = lean_box(0); + x_227 = lean_box(0); } -x_233 = lean_ctor_get(x_218, 0); -lean_inc(x_233); -x_234 = lean_ctor_get(x_218, 1); -lean_inc(x_234); +x_228 = lean_ctor_get(x_218, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_218, 1); +lean_inc(x_229); +x_230 = lean_ctor_get(x_218, 3); +lean_inc(x_230); +x_231 = lean_ctor_get(x_218, 4); +lean_inc(x_231); +x_232 = lean_ctor_get(x_218, 5); +lean_inc(x_232); if (lean_is_exclusive(x_218)) { lean_ctor_release(x_218, 0); lean_ctor_release(x_218, 1); lean_ctor_release(x_218, 2); - x_235 = x_218; + lean_ctor_release(x_218, 3); + lean_ctor_release(x_218, 4); + lean_ctor_release(x_218, 5); + x_233 = x_218; } else { lean_dec_ref(x_218); - x_235 = lean_box(0); + x_233 = lean_box(0); } -if (lean_is_scalar(x_235)) { - x_236 = lean_alloc_ctor(0, 3, 0); +x_234 = lean_ctor_get(x_219, 0); +lean_inc(x_234); +x_235 = lean_ctor_get(x_219, 1); +lean_inc(x_235); +if (lean_is_exclusive(x_219)) { + lean_ctor_release(x_219, 0); + lean_ctor_release(x_219, 1); + lean_ctor_release(x_219, 2); + x_236 = x_219; } else { - x_236 = x_235; + lean_dec_ref(x_219); + x_236 = lean_box(0); } -lean_ctor_set(x_236, 0, x_233); -lean_ctor_set(x_236, 1, x_234); -lean_ctor_set(x_236, 2, x_55); -if (lean_is_scalar(x_232)) { - x_237 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_236)) { + x_237 = lean_alloc_ctor(0, 3, 0); } else { - x_237 = x_232; + x_237 = x_236; } -lean_ctor_set(x_237, 0, x_227); -lean_ctor_set(x_237, 1, x_228); -lean_ctor_set(x_237, 2, x_236); -lean_ctor_set(x_237, 3, x_229); -lean_ctor_set(x_237, 4, x_230); -lean_ctor_set(x_237, 5, x_231); -if (lean_is_scalar(x_226)) { +lean_ctor_set(x_237, 0, x_234); +lean_ctor_set(x_237, 1, x_235); +lean_ctor_set(x_237, 2, x_56); +if (lean_is_scalar(x_233)) { x_238 = lean_alloc_ctor(0, 6, 0); } else { - x_238 = x_226; + x_238 = x_233; } -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_221); -lean_ctor_set(x_238, 2, x_222); -lean_ctor_set(x_238, 3, x_223); -lean_ctor_set(x_238, 4, x_224); -lean_ctor_set(x_238, 5, x_225); -if (lean_is_scalar(x_220)) { - x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_228); +lean_ctor_set(x_238, 1, x_229); +lean_ctor_set(x_238, 2, x_237); +lean_ctor_set(x_238, 3, x_230); +lean_ctor_set(x_238, 4, x_231); +lean_ctor_set(x_238, 5, x_232); +if (lean_is_scalar(x_227)) { + x_239 = lean_alloc_ctor(0, 6, 0); } else { - x_239 = x_220; + x_239 = x_227; } -lean_ctor_set(x_239, 0, x_219); -lean_ctor_set(x_239, 1, x_238); -return x_239; +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_222); +lean_ctor_set(x_239, 2, x_223); +lean_ctor_set(x_239, 3, x_224); +lean_ctor_set(x_239, 4, x_225); +lean_ctor_set(x_239, 5, x_226); +if (lean_is_scalar(x_221)) { + x_240 = lean_alloc_ctor(1, 2, 0); +} else { + x_240 = x_221; +} +lean_ctor_set(x_240, 0, x_220); +lean_ctor_set(x_240, 1, x_239); +return x_240; } } } else { -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t 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; -x_240 = lean_ctor_get(x_3, 1); -x_241 = lean_ctor_get(x_3, 2); -x_242 = lean_ctor_get(x_3, 3); -x_243 = lean_ctor_get(x_3, 4); -x_244 = lean_ctor_get(x_3, 5); -x_245 = lean_ctor_get(x_3, 6); -x_246 = lean_ctor_get(x_3, 7); -x_247 = lean_ctor_get(x_3, 8); -x_248 = lean_ctor_get(x_3, 9); -x_249 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +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; uint8_t 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; +x_241 = lean_ctor_get(x_3, 1); +x_242 = lean_ctor_get(x_3, 2); +x_243 = lean_ctor_get(x_3, 3); +x_244 = lean_ctor_get(x_3, 4); +x_245 = lean_ctor_get(x_3, 5); +x_246 = lean_ctor_get(x_3, 6); +x_247 = lean_ctor_get(x_3, 7); +x_248 = lean_ctor_get(x_3, 8); +x_249 = lean_ctor_get(x_3, 9); +x_250 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_251 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); +lean_inc(x_249); lean_inc(x_248); lean_inc(x_247); lean_inc(x_246); @@ -3035,313 +3041,313 @@ lean_inc(x_244); lean_inc(x_243); lean_inc(x_242); lean_inc(x_241); -lean_inc(x_240); lean_dec(x_3); -x_250 = lean_ctor_get(x_57, 0); -lean_inc(x_250); -x_251 = lean_ctor_get(x_57, 3); -lean_inc(x_251); -x_252 = lean_ctor_get(x_57, 4); +x_252 = lean_ctor_get(x_58, 0); lean_inc(x_252); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - lean_ctor_release(x_57, 2); - lean_ctor_release(x_57, 3); - lean_ctor_release(x_57, 4); - x_253 = x_57; +x_253 = lean_ctor_get(x_58, 3); +lean_inc(x_253); +x_254 = lean_ctor_get(x_58, 4); +lean_inc(x_254); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + lean_ctor_release(x_58, 2); + lean_ctor_release(x_58, 3); + lean_ctor_release(x_58, 4); + x_255 = x_58; } else { - lean_dec_ref(x_57); - x_253 = lean_box(0); + lean_dec_ref(x_58); + x_255 = lean_box(0); } -if (lean_is_scalar(x_253)) { - x_254 = lean_alloc_ctor(0, 5, 0); +if (lean_is_scalar(x_255)) { + x_256 = lean_alloc_ctor(0, 5, 0); } else { - x_254 = x_253; + x_256 = x_255; } -lean_ctor_set(x_254, 0, x_250); -lean_ctor_set(x_254, 1, x_19); -lean_ctor_set(x_254, 2, x_20); -lean_ctor_set(x_254, 3, x_251); -lean_ctor_set(x_254, 4, x_252); -x_255 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_255, 0, x_254); -lean_ctor_set(x_255, 1, x_240); -lean_ctor_set(x_255, 2, x_241); -lean_ctor_set(x_255, 3, x_242); -lean_ctor_set(x_255, 4, x_243); -lean_ctor_set(x_255, 5, x_244); -lean_ctor_set(x_255, 6, x_245); -lean_ctor_set(x_255, 7, x_246); -lean_ctor_set(x_255, 8, x_247); -lean_ctor_set(x_255, 9, x_248); -lean_ctor_set_uint8(x_255, sizeof(void*)*10, x_249); -x_256 = lean_apply_3(x_2, x_18, x_255, x_58); -if (lean_obj_tag(x_256) == 0) +lean_ctor_set(x_256, 0, x_252); +lean_ctor_set(x_256, 1, x_19); +lean_ctor_set(x_256, 2, x_20); +lean_ctor_set(x_256, 3, x_253); +lean_ctor_set(x_256, 4, x_254); +x_257 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_257, 0, x_256); +lean_ctor_set(x_257, 1, x_241); +lean_ctor_set(x_257, 2, x_242); +lean_ctor_set(x_257, 3, x_243); +lean_ctor_set(x_257, 4, x_244); +lean_ctor_set(x_257, 5, x_245); +lean_ctor_set(x_257, 6, x_246); +lean_ctor_set(x_257, 7, x_247); +lean_ctor_set(x_257, 8, x_248); +lean_ctor_set(x_257, 9, x_249); +lean_ctor_set_uint8(x_257, sizeof(void*)*10, x_250); +lean_ctor_set_uint8(x_257, sizeof(void*)*10 + 1, x_251); +x_258 = lean_apply_3(x_2, x_18, x_257, x_59); +if (lean_obj_tag(x_258) == 0) { -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; -x_257 = lean_ctor_get(x_256, 1); -lean_inc(x_257); -x_258 = lean_ctor_get(x_257, 0); -lean_inc(x_258); -x_259 = lean_ctor_get(x_258, 2); +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; +x_259 = lean_ctor_get(x_258, 1); lean_inc(x_259); -x_260 = lean_ctor_get(x_256, 0); +x_260 = lean_ctor_get(x_259, 0); lean_inc(x_260); -if (lean_is_exclusive(x_256)) { - lean_ctor_release(x_256, 0); - lean_ctor_release(x_256, 1); - x_261 = x_256; -} else { - lean_dec_ref(x_256); - x_261 = lean_box(0); -} -x_262 = lean_ctor_get(x_257, 1); +x_261 = lean_ctor_get(x_260, 2); +lean_inc(x_261); +x_262 = lean_ctor_get(x_258, 0); lean_inc(x_262); -x_263 = lean_ctor_get(x_257, 2); -lean_inc(x_263); -x_264 = lean_ctor_get(x_257, 3); -lean_inc(x_264); -x_265 = lean_ctor_get(x_257, 4); -lean_inc(x_265); -x_266 = lean_ctor_get(x_257, 5); -lean_inc(x_266); -if (lean_is_exclusive(x_257)) { - lean_ctor_release(x_257, 0); - lean_ctor_release(x_257, 1); - lean_ctor_release(x_257, 2); - lean_ctor_release(x_257, 3); - lean_ctor_release(x_257, 4); - lean_ctor_release(x_257, 5); - x_267 = x_257; -} else { - lean_dec_ref(x_257); - x_267 = lean_box(0); -} -x_268 = lean_ctor_get(x_258, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_258, 1); -lean_inc(x_269); -x_270 = lean_ctor_get(x_258, 3); -lean_inc(x_270); -x_271 = lean_ctor_get(x_258, 4); -lean_inc(x_271); -x_272 = lean_ctor_get(x_258, 5); -lean_inc(x_272); if (lean_is_exclusive(x_258)) { lean_ctor_release(x_258, 0); lean_ctor_release(x_258, 1); - lean_ctor_release(x_258, 2); - lean_ctor_release(x_258, 3); - lean_ctor_release(x_258, 4); - lean_ctor_release(x_258, 5); - x_273 = x_258; + x_263 = x_258; } else { lean_dec_ref(x_258); - x_273 = lean_box(0); + x_263 = lean_box(0); } -x_274 = lean_ctor_get(x_259, 0); -lean_inc(x_274); -x_275 = lean_ctor_get(x_259, 1); -lean_inc(x_275); +x_264 = lean_ctor_get(x_259, 1); +lean_inc(x_264); +x_265 = lean_ctor_get(x_259, 2); +lean_inc(x_265); +x_266 = lean_ctor_get(x_259, 3); +lean_inc(x_266); +x_267 = lean_ctor_get(x_259, 4); +lean_inc(x_267); +x_268 = lean_ctor_get(x_259, 5); +lean_inc(x_268); if (lean_is_exclusive(x_259)) { lean_ctor_release(x_259, 0); lean_ctor_release(x_259, 1); lean_ctor_release(x_259, 2); - x_276 = x_259; + lean_ctor_release(x_259, 3); + lean_ctor_release(x_259, 4); + lean_ctor_release(x_259, 5); + x_269 = x_259; } else { lean_dec_ref(x_259); - x_276 = lean_box(0); + x_269 = lean_box(0); } -if (lean_is_scalar(x_276)) { - x_277 = lean_alloc_ctor(0, 3, 0); +x_270 = lean_ctor_get(x_260, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_260, 1); +lean_inc(x_271); +x_272 = lean_ctor_get(x_260, 3); +lean_inc(x_272); +x_273 = lean_ctor_get(x_260, 4); +lean_inc(x_273); +x_274 = lean_ctor_get(x_260, 5); +lean_inc(x_274); +if (lean_is_exclusive(x_260)) { + lean_ctor_release(x_260, 0); + lean_ctor_release(x_260, 1); + lean_ctor_release(x_260, 2); + lean_ctor_release(x_260, 3); + lean_ctor_release(x_260, 4); + lean_ctor_release(x_260, 5); + x_275 = x_260; } else { - x_277 = x_276; + lean_dec_ref(x_260); + x_275 = lean_box(0); } -lean_ctor_set(x_277, 0, x_274); -lean_ctor_set(x_277, 1, x_275); -lean_ctor_set(x_277, 2, x_55); -if (lean_is_scalar(x_273)) { - x_278 = lean_alloc_ctor(0, 6, 0); +x_276 = lean_ctor_get(x_261, 0); +lean_inc(x_276); +x_277 = lean_ctor_get(x_261, 1); +lean_inc(x_277); +if (lean_is_exclusive(x_261)) { + lean_ctor_release(x_261, 0); + lean_ctor_release(x_261, 1); + lean_ctor_release(x_261, 2); + x_278 = x_261; } else { - x_278 = x_273; + lean_dec_ref(x_261); + x_278 = lean_box(0); } -lean_ctor_set(x_278, 0, x_268); -lean_ctor_set(x_278, 1, x_269); -lean_ctor_set(x_278, 2, x_277); -lean_ctor_set(x_278, 3, x_270); -lean_ctor_set(x_278, 4, x_271); -lean_ctor_set(x_278, 5, x_272); -if (lean_is_scalar(x_267)) { - x_279 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_278)) { + x_279 = lean_alloc_ctor(0, 3, 0); } else { - x_279 = x_267; + x_279 = x_278; } -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_262); -lean_ctor_set(x_279, 2, x_263); -lean_ctor_set(x_279, 3, x_264); -lean_ctor_set(x_279, 4, x_265); -lean_ctor_set(x_279, 5, x_266); -if (lean_is_scalar(x_261)) { - x_280 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_279, 0, x_276); +lean_ctor_set(x_279, 1, x_277); +lean_ctor_set(x_279, 2, x_56); +if (lean_is_scalar(x_275)) { + x_280 = lean_alloc_ctor(0, 6, 0); } else { - x_280 = x_261; + x_280 = x_275; } -lean_ctor_set(x_280, 0, x_260); -lean_ctor_set(x_280, 1, x_279); -return x_280; +lean_ctor_set(x_280, 0, x_270); +lean_ctor_set(x_280, 1, x_271); +lean_ctor_set(x_280, 2, x_279); +lean_ctor_set(x_280, 3, x_272); +lean_ctor_set(x_280, 4, x_273); +lean_ctor_set(x_280, 5, x_274); +if (lean_is_scalar(x_269)) { + x_281 = lean_alloc_ctor(0, 6, 0); +} else { + x_281 = x_269; +} +lean_ctor_set(x_281, 0, x_280); +lean_ctor_set(x_281, 1, x_264); +lean_ctor_set(x_281, 2, x_265); +lean_ctor_set(x_281, 3, x_266); +lean_ctor_set(x_281, 4, x_267); +lean_ctor_set(x_281, 5, x_268); +if (lean_is_scalar(x_263)) { + x_282 = lean_alloc_ctor(0, 2, 0); +} else { + x_282 = x_263; +} +lean_ctor_set(x_282, 0, x_262); +lean_ctor_set(x_282, 1, x_281); +return x_282; } 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; 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_281 = lean_ctor_get(x_256, 1); -lean_inc(x_281); -x_282 = lean_ctor_get(x_281, 0); -lean_inc(x_282); -x_283 = lean_ctor_get(x_282, 2); +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; +x_283 = lean_ctor_get(x_258, 1); lean_inc(x_283); -x_284 = lean_ctor_get(x_256, 0); +x_284 = lean_ctor_get(x_283, 0); lean_inc(x_284); -if (lean_is_exclusive(x_256)) { - lean_ctor_release(x_256, 0); - lean_ctor_release(x_256, 1); - x_285 = x_256; -} else { - lean_dec_ref(x_256); - x_285 = lean_box(0); -} -x_286 = lean_ctor_get(x_281, 1); +x_285 = lean_ctor_get(x_284, 2); +lean_inc(x_285); +x_286 = lean_ctor_get(x_258, 0); lean_inc(x_286); -x_287 = lean_ctor_get(x_281, 2); -lean_inc(x_287); -x_288 = lean_ctor_get(x_281, 3); +if (lean_is_exclusive(x_258)) { + lean_ctor_release(x_258, 0); + lean_ctor_release(x_258, 1); + x_287 = x_258; +} else { + lean_dec_ref(x_258); + x_287 = lean_box(0); +} +x_288 = lean_ctor_get(x_283, 1); lean_inc(x_288); -x_289 = lean_ctor_get(x_281, 4); +x_289 = lean_ctor_get(x_283, 2); lean_inc(x_289); -x_290 = lean_ctor_get(x_281, 5); +x_290 = lean_ctor_get(x_283, 3); lean_inc(x_290); -if (lean_is_exclusive(x_281)) { - lean_ctor_release(x_281, 0); - lean_ctor_release(x_281, 1); - lean_ctor_release(x_281, 2); - lean_ctor_release(x_281, 3); - lean_ctor_release(x_281, 4); - lean_ctor_release(x_281, 5); - x_291 = x_281; -} else { - lean_dec_ref(x_281); - x_291 = lean_box(0); -} -x_292 = lean_ctor_get(x_282, 0); +x_291 = lean_ctor_get(x_283, 4); +lean_inc(x_291); +x_292 = lean_ctor_get(x_283, 5); lean_inc(x_292); -x_293 = lean_ctor_get(x_282, 1); -lean_inc(x_293); -x_294 = lean_ctor_get(x_282, 3); -lean_inc(x_294); -x_295 = lean_ctor_get(x_282, 4); -lean_inc(x_295); -x_296 = lean_ctor_get(x_282, 5); -lean_inc(x_296); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - lean_ctor_release(x_282, 2); - lean_ctor_release(x_282, 3); - lean_ctor_release(x_282, 4); - lean_ctor_release(x_282, 5); - x_297 = x_282; -} else { - lean_dec_ref(x_282); - x_297 = lean_box(0); -} -x_298 = lean_ctor_get(x_283, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_283, 1); -lean_inc(x_299); if (lean_is_exclusive(x_283)) { lean_ctor_release(x_283, 0); lean_ctor_release(x_283, 1); lean_ctor_release(x_283, 2); - x_300 = x_283; + lean_ctor_release(x_283, 3); + lean_ctor_release(x_283, 4); + lean_ctor_release(x_283, 5); + x_293 = x_283; } else { lean_dec_ref(x_283); - x_300 = lean_box(0); + x_293 = lean_box(0); } -if (lean_is_scalar(x_300)) { - x_301 = lean_alloc_ctor(0, 3, 0); +x_294 = lean_ctor_get(x_284, 0); +lean_inc(x_294); +x_295 = lean_ctor_get(x_284, 1); +lean_inc(x_295); +x_296 = lean_ctor_get(x_284, 3); +lean_inc(x_296); +x_297 = lean_ctor_get(x_284, 4); +lean_inc(x_297); +x_298 = lean_ctor_get(x_284, 5); +lean_inc(x_298); +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_299 = x_284; } else { - x_301 = x_300; + lean_dec_ref(x_284); + x_299 = lean_box(0); } -lean_ctor_set(x_301, 0, x_298); -lean_ctor_set(x_301, 1, x_299); -lean_ctor_set(x_301, 2, x_55); -if (lean_is_scalar(x_297)) { - x_302 = lean_alloc_ctor(0, 6, 0); +x_300 = lean_ctor_get(x_285, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_285, 1); +lean_inc(x_301); +if (lean_is_exclusive(x_285)) { + lean_ctor_release(x_285, 0); + lean_ctor_release(x_285, 1); + lean_ctor_release(x_285, 2); + x_302 = x_285; } else { - x_302 = x_297; + lean_dec_ref(x_285); + x_302 = lean_box(0); } -lean_ctor_set(x_302, 0, x_292); -lean_ctor_set(x_302, 1, x_293); -lean_ctor_set(x_302, 2, x_301); -lean_ctor_set(x_302, 3, x_294); -lean_ctor_set(x_302, 4, x_295); -lean_ctor_set(x_302, 5, x_296); -if (lean_is_scalar(x_291)) { - x_303 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_302)) { + x_303 = lean_alloc_ctor(0, 3, 0); } else { - x_303 = x_291; + x_303 = x_302; } -lean_ctor_set(x_303, 0, x_302); -lean_ctor_set(x_303, 1, x_286); -lean_ctor_set(x_303, 2, x_287); -lean_ctor_set(x_303, 3, x_288); -lean_ctor_set(x_303, 4, x_289); -lean_ctor_set(x_303, 5, x_290); -if (lean_is_scalar(x_285)) { - x_304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_303, 0, x_300); +lean_ctor_set(x_303, 1, x_301); +lean_ctor_set(x_303, 2, x_56); +if (lean_is_scalar(x_299)) { + x_304 = lean_alloc_ctor(0, 6, 0); } else { - x_304 = x_285; + x_304 = x_299; } -lean_ctor_set(x_304, 0, x_284); -lean_ctor_set(x_304, 1, x_303); -return x_304; +lean_ctor_set(x_304, 0, x_294); +lean_ctor_set(x_304, 1, x_295); +lean_ctor_set(x_304, 2, x_303); +lean_ctor_set(x_304, 3, x_296); +lean_ctor_set(x_304, 4, x_297); +lean_ctor_set(x_304, 5, x_298); +if (lean_is_scalar(x_293)) { + x_305 = lean_alloc_ctor(0, 6, 0); +} else { + x_305 = x_293; +} +lean_ctor_set(x_305, 0, x_304); +lean_ctor_set(x_305, 1, x_288); +lean_ctor_set(x_305, 2, x_289); +lean_ctor_set(x_305, 3, x_290); +lean_ctor_set(x_305, 4, x_291); +lean_ctor_set(x_305, 5, x_292); +if (lean_is_scalar(x_287)) { + x_306 = lean_alloc_ctor(1, 2, 0); +} else { + x_306 = x_287; +} +lean_ctor_set(x_306, 0, x_286); +lean_ctor_set(x_306, 1, x_305); +return x_306; } } } } else { -uint8_t x_305; +uint8_t x_307; lean_dec(x_10); lean_dec(x_3); lean_dec(x_2); -x_305 = !lean_is_exclusive(x_14); -if (x_305 == 0) +x_307 = !lean_is_exclusive(x_14); +if (x_307 == 0) { return x_14; } else { -lean_object* x_306; lean_object* x_307; lean_object* x_308; -x_306 = lean_ctor_get(x_14, 0); -x_307 = lean_ctor_get(x_14, 1); -lean_inc(x_307); -lean_inc(x_306); +lean_object* x_308; lean_object* x_309; lean_object* x_310; +x_308 = lean_ctor_get(x_14, 0); +x_309 = lean_ctor_get(x_14, 1); +lean_inc(x_309); +lean_inc(x_308); lean_dec(x_14); -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_306); -lean_ctor_set(x_308, 1, x_307); -return x_308; +x_310 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_310, 0, x_308); +lean_ctor_set(x_310, 1, x_309); +return x_310; } } } else { -lean_object* x_309; lean_object* x_310; -x_309 = l_Array_empty___closed__1; -x_310 = lean_apply_3(x_2, x_309, x_3, x_4); -return x_310; +lean_object* x_311; lean_object* x_312; +x_311 = l_Array_empty___closed__1; +x_312 = lean_apply_3(x_2, x_311, x_3, x_4); +return x_312; } } } @@ -16247,7 +16253,7 @@ lean_object* x_6; uint8_t x_7; lean_object* x_8; x_6 = lean_box(0); x_7 = 1; lean_inc(x_4); -x_8 = l_Lean_Elab_Term_elabTermAux___main(x_6, x_7, x_7, x_1, x_4, x_5); +x_8 = l_Lean_Elab_Term_elabTermAux___main(x_6, x_7, x_1, x_4, x_5); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -16432,89 +16438,90 @@ lean_inc(x_20); x_21 = !lean_is_exclusive(x_9); if (x_21 == 0) { -uint8_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; uint8_t x_31; +uint8_t 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; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; x_22 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); -x_23 = lean_ctor_get(x_9, 0); -x_24 = lean_ctor_get(x_9, 1); -x_25 = lean_ctor_get(x_9, 2); -x_26 = lean_ctor_get(x_9, 3); -x_27 = lean_ctor_get(x_9, 4); +x_23 = lean_ctor_get_uint8(x_6, sizeof(void*)*10 + 1); +x_24 = lean_ctor_get(x_9, 0); +x_25 = lean_ctor_get(x_9, 1); +x_26 = lean_ctor_get(x_9, 2); +x_27 = lean_ctor_get(x_9, 3); +x_28 = lean_ctor_get(x_9, 4); lean_inc(x_3); lean_inc(x_10); -x_28 = lean_local_ctx_mk_let_decl(x_24, x_10, x_2, x_3, x_4); -x_29 = l_Lean_mkFVar(x_10); +x_29 = lean_local_ctx_mk_let_decl(x_25, x_10, x_2, x_3, x_4); +x_30 = l_Lean_mkFVar(x_10); lean_inc(x_6); -x_30 = l_Lean_Elab_Term_isClass(x_1, x_3, x_6, x_11); -x_31 = !lean_is_exclusive(x_6); -if (x_31 == 0) +x_31 = l_Lean_Elab_Term_isClass(x_1, x_3, x_6, x_11); +x_32 = !lean_is_exclusive(x_6); +if (x_32 == 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; -x_32 = lean_ctor_get(x_6, 9); -lean_dec(x_32); -x_33 = lean_ctor_get(x_6, 8); +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_6, 9); lean_dec(x_33); -x_34 = lean_ctor_get(x_6, 7); +x_34 = lean_ctor_get(x_6, 8); lean_dec(x_34); -x_35 = lean_ctor_get(x_6, 6); +x_35 = lean_ctor_get(x_6, 7); lean_dec(x_35); -x_36 = lean_ctor_get(x_6, 5); +x_36 = lean_ctor_get(x_6, 6); lean_dec(x_36); -x_37 = lean_ctor_get(x_6, 4); +x_37 = lean_ctor_get(x_6, 5); lean_dec(x_37); -x_38 = lean_ctor_get(x_6, 3); +x_38 = lean_ctor_get(x_6, 4); lean_dec(x_38); -x_39 = lean_ctor_get(x_6, 2); +x_39 = lean_ctor_get(x_6, 3); lean_dec(x_39); -x_40 = lean_ctor_get(x_6, 1); +x_40 = lean_ctor_get(x_6, 2); lean_dec(x_40); -x_41 = lean_ctor_get(x_6, 0); +x_41 = lean_ctor_get(x_6, 1); lean_dec(x_41); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_42; -x_42 = lean_ctor_get(x_30, 0); -lean_inc(x_42); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_30, 1); -lean_inc(x_43); -lean_dec(x_30); -lean_ctor_set(x_9, 1, x_28); -x_44 = lean_apply_3(x_5, x_29, x_6, 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_30, 1); -lean_inc(x_45); -lean_dec(x_30); -x_46 = lean_ctor_get(x_42, 0); -lean_inc(x_46); +x_42 = lean_ctor_get(x_6, 0); lean_dec(x_42); -lean_inc(x_29); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_29); -x_48 = lean_array_push(x_25, x_47); -lean_ctor_set(x_9, 2, x_48); -lean_ctor_set(x_9, 1, x_28); -x_49 = lean_apply_3(x_5, x_29, x_6, x_45); -return x_49; +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_31, 0); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_31, 1); +lean_inc(x_44); +lean_dec(x_31); +lean_ctor_set(x_9, 1, x_29); +x_45 = lean_apply_3(x_5, x_30, x_6, 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; +x_46 = lean_ctor_get(x_31, 1); +lean_inc(x_46); +lean_dec(x_31); +x_47 = lean_ctor_get(x_43, 0); +lean_inc(x_47); +lean_dec(x_43); +lean_inc(x_30); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_30); +x_49 = lean_array_push(x_26, x_48); +lean_ctor_set(x_9, 2, x_49); +lean_ctor_set(x_9, 1, x_29); +x_50 = lean_apply_3(x_5, x_30, x_6, x_46); +return x_50; } } else { -uint8_t x_50; +uint8_t x_51; lean_free_object(x_6); +lean_dec(x_30); lean_dec(x_29); -lean_dec(x_28); lean_free_object(x_9); +lean_dec(x_28); lean_dec(x_27); lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_23); +lean_dec(x_24); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); @@ -16525,98 +16532,100 @@ lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_5); -x_50 = !lean_is_exclusive(x_30); -if (x_50 == 0) +x_51 = !lean_is_exclusive(x_31); +if (x_51 == 0) { -return x_30; +return x_31; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_30, 0); -x_52 = lean_ctor_get(x_30, 1); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_31, 0); +x_53 = lean_ctor_get(x_31, 1); +lean_inc(x_53); lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_30); -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_dec(x_31); +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_dec(x_6); -if (lean_obj_tag(x_30) == 0) +if (lean_obj_tag(x_31) == 0) { -lean_object* x_54; -x_54 = lean_ctor_get(x_30, 0); -lean_inc(x_54); -if (lean_obj_tag(x_54) == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_30, 1); +lean_object* x_55; +x_55 = lean_ctor_get(x_31, 0); lean_inc(x_55); -lean_dec(x_30); -lean_ctor_set(x_9, 1, x_28); -x_56 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_56, 0, x_9); -lean_ctor_set(x_56, 1, x_12); -lean_ctor_set(x_56, 2, x_13); -lean_ctor_set(x_56, 3, x_14); -lean_ctor_set(x_56, 4, x_15); -lean_ctor_set(x_56, 5, x_16); -lean_ctor_set(x_56, 6, x_17); -lean_ctor_set(x_56, 7, x_18); -lean_ctor_set(x_56, 8, x_19); -lean_ctor_set(x_56, 9, x_20); -lean_ctor_set_uint8(x_56, sizeof(void*)*10, x_22); -x_57 = lean_apply_3(x_5, x_29, x_56, x_55); -return x_57; +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_31, 1); +lean_inc(x_56); +lean_dec(x_31); +lean_ctor_set(x_9, 1, x_29); +x_57 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_57, 0, x_9); +lean_ctor_set(x_57, 1, x_12); +lean_ctor_set(x_57, 2, x_13); +lean_ctor_set(x_57, 3, x_14); +lean_ctor_set(x_57, 4, x_15); +lean_ctor_set(x_57, 5, x_16); +lean_ctor_set(x_57, 6, x_17); +lean_ctor_set(x_57, 7, x_18); +lean_ctor_set(x_57, 8, x_19); +lean_ctor_set(x_57, 9, x_20); +lean_ctor_set_uint8(x_57, sizeof(void*)*10, x_22); +lean_ctor_set_uint8(x_57, sizeof(void*)*10 + 1, x_23); +x_58 = lean_apply_3(x_5, x_30, x_57, x_56); +return x_58; } 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; -x_58 = lean_ctor_get(x_30, 1); -lean_inc(x_58); -lean_dec(x_30); -x_59 = lean_ctor_get(x_54, 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; +x_59 = lean_ctor_get(x_31, 1); lean_inc(x_59); -lean_dec(x_54); -lean_inc(x_29); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_29); -x_61 = lean_array_push(x_25, x_60); -lean_ctor_set(x_9, 2, x_61); -lean_ctor_set(x_9, 1, x_28); -x_62 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_62, 0, x_9); -lean_ctor_set(x_62, 1, x_12); -lean_ctor_set(x_62, 2, x_13); -lean_ctor_set(x_62, 3, x_14); -lean_ctor_set(x_62, 4, x_15); -lean_ctor_set(x_62, 5, x_16); -lean_ctor_set(x_62, 6, x_17); -lean_ctor_set(x_62, 7, x_18); -lean_ctor_set(x_62, 8, x_19); -lean_ctor_set(x_62, 9, x_20); -lean_ctor_set_uint8(x_62, sizeof(void*)*10, x_22); -x_63 = lean_apply_3(x_5, x_29, x_62, x_58); -return x_63; +lean_dec(x_31); +x_60 = lean_ctor_get(x_55, 0); +lean_inc(x_60); +lean_dec(x_55); +lean_inc(x_30); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_30); +x_62 = lean_array_push(x_26, x_61); +lean_ctor_set(x_9, 2, x_62); +lean_ctor_set(x_9, 1, x_29); +x_63 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_63, 0, x_9); +lean_ctor_set(x_63, 1, x_12); +lean_ctor_set(x_63, 2, x_13); +lean_ctor_set(x_63, 3, x_14); +lean_ctor_set(x_63, 4, x_15); +lean_ctor_set(x_63, 5, x_16); +lean_ctor_set(x_63, 6, x_17); +lean_ctor_set(x_63, 7, x_18); +lean_ctor_set(x_63, 8, x_19); +lean_ctor_set(x_63, 9, x_20); +lean_ctor_set_uint8(x_63, sizeof(void*)*10, x_22); +lean_ctor_set_uint8(x_63, sizeof(void*)*10 + 1, x_23); +x_64 = lean_apply_3(x_5, x_30, x_63, x_59); +return x_64; } } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_dec(x_30); lean_dec(x_29); -lean_dec(x_28); lean_free_object(x_9); +lean_dec(x_28); lean_dec(x_27); lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_23); +lean_dec(x_24); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); @@ -16627,50 +16636,51 @@ lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_5); -x_64 = lean_ctor_get(x_30, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_30, 1); +x_65 = lean_ctor_get(x_31, 0); lean_inc(x_65); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_66 = x_30; +x_66 = lean_ctor_get(x_31, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_67 = x_31; } else { - lean_dec_ref(x_30); - x_66 = lean_box(0); + lean_dec_ref(x_31); + x_67 = lean_box(0); } -if (lean_is_scalar(x_66)) { - x_67 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 2, 0); } else { - x_67 = x_66; + x_68 = x_67; } -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set(x_67, 1, x_65); -return x_67; +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +return x_68; } } } else { -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_68 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); -x_69 = lean_ctor_get(x_9, 0); -x_70 = lean_ctor_get(x_9, 1); -x_71 = lean_ctor_get(x_9, 2); -x_72 = lean_ctor_get(x_9, 3); -x_73 = lean_ctor_get(x_9, 4); +uint8_t 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_69 = lean_ctor_get_uint8(x_6, sizeof(void*)*10); +x_70 = lean_ctor_get_uint8(x_6, sizeof(void*)*10 + 1); +x_71 = lean_ctor_get(x_9, 0); +x_72 = lean_ctor_get(x_9, 1); +x_73 = lean_ctor_get(x_9, 2); +x_74 = lean_ctor_get(x_9, 3); +x_75 = lean_ctor_get(x_9, 4); +lean_inc(x_75); +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_9); lean_inc(x_3); lean_inc(x_10); -x_74 = lean_local_ctx_mk_let_decl(x_70, x_10, x_2, x_3, x_4); -x_75 = l_Lean_mkFVar(x_10); +x_76 = lean_local_ctx_mk_let_decl(x_72, x_10, x_2, x_3, x_4); +x_77 = l_Lean_mkFVar(x_10); lean_inc(x_6); -x_76 = l_Lean_Elab_Term_isClass(x_1, x_3, x_6, x_11); +x_78 = l_Lean_Elab_Term_isClass(x_1, x_3, x_6, x_11); if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 0); lean_ctor_release(x_6, 1); @@ -16682,97 +16692,99 @@ if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 7); lean_ctor_release(x_6, 8); lean_ctor_release(x_6, 9); - x_77 = x_6; + x_79 = x_6; } else { lean_dec_ref(x_6); - x_77 = lean_box(0); + x_79 = lean_box(0); } -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_78; -x_78 = lean_ctor_get(x_76, 0); -lean_inc(x_78); if (lean_obj_tag(x_78) == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_79 = lean_ctor_get(x_76, 1); -lean_inc(x_79); -lean_dec(x_76); -x_80 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_80, 0, x_69); -lean_ctor_set(x_80, 1, x_74); -lean_ctor_set(x_80, 2, x_71); -lean_ctor_set(x_80, 3, x_72); -lean_ctor_set(x_80, 4, x_73); -if (lean_is_scalar(x_77)) { - x_81 = lean_alloc_ctor(0, 10, 1); -} else { - x_81 = x_77; -} -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_12); -lean_ctor_set(x_81, 2, x_13); -lean_ctor_set(x_81, 3, x_14); -lean_ctor_set(x_81, 4, x_15); -lean_ctor_set(x_81, 5, x_16); -lean_ctor_set(x_81, 6, x_17); -lean_ctor_set(x_81, 7, x_18); -lean_ctor_set(x_81, 8, x_19); -lean_ctor_set(x_81, 9, x_20); -lean_ctor_set_uint8(x_81, sizeof(void*)*10, x_68); -x_82 = lean_apply_3(x_5, x_75, x_81, x_79); -return x_82; -} -else +lean_object* x_80; +x_80 = lean_ctor_get(x_78, 0); +lean_inc(x_80); +if (lean_obj_tag(x_80) == 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; -x_83 = lean_ctor_get(x_76, 1); -lean_inc(x_83); -lean_dec(x_76); -x_84 = lean_ctor_get(x_78, 0); -lean_inc(x_84); +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_78, 1); +lean_inc(x_81); lean_dec(x_78); -lean_inc(x_75); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_75); -x_86 = lean_array_push(x_71, x_85); -x_87 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_87, 0, x_69); -lean_ctor_set(x_87, 1, x_74); -lean_ctor_set(x_87, 2, x_86); -lean_ctor_set(x_87, 3, x_72); -lean_ctor_set(x_87, 4, x_73); -if (lean_is_scalar(x_77)) { - x_88 = lean_alloc_ctor(0, 10, 1); +x_82 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_82, 0, x_71); +lean_ctor_set(x_82, 1, x_76); +lean_ctor_set(x_82, 2, x_73); +lean_ctor_set(x_82, 3, x_74); +lean_ctor_set(x_82, 4, x_75); +if (lean_is_scalar(x_79)) { + x_83 = lean_alloc_ctor(0, 10, 2); } else { - x_88 = x_77; + x_83 = x_79; } -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_12); -lean_ctor_set(x_88, 2, x_13); -lean_ctor_set(x_88, 3, x_14); -lean_ctor_set(x_88, 4, x_15); -lean_ctor_set(x_88, 5, x_16); -lean_ctor_set(x_88, 6, x_17); -lean_ctor_set(x_88, 7, x_18); -lean_ctor_set(x_88, 8, x_19); -lean_ctor_set(x_88, 9, x_20); -lean_ctor_set_uint8(x_88, sizeof(void*)*10, x_68); -x_89 = lean_apply_3(x_5, x_75, x_88, x_83); -return x_89; +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_12); +lean_ctor_set(x_83, 2, x_13); +lean_ctor_set(x_83, 3, x_14); +lean_ctor_set(x_83, 4, x_15); +lean_ctor_set(x_83, 5, x_16); +lean_ctor_set(x_83, 6, x_17); +lean_ctor_set(x_83, 7, x_18); +lean_ctor_set(x_83, 8, x_19); +lean_ctor_set(x_83, 9, x_20); +lean_ctor_set_uint8(x_83, sizeof(void*)*10, x_69); +lean_ctor_set_uint8(x_83, sizeof(void*)*10 + 1, x_70); +x_84 = lean_apply_3(x_5, x_77, x_83, x_81); +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; +x_85 = lean_ctor_get(x_78, 1); +lean_inc(x_85); +lean_dec(x_78); +x_86 = lean_ctor_get(x_80, 0); +lean_inc(x_86); +lean_dec(x_80); +lean_inc(x_77); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_77); +x_88 = lean_array_push(x_73, x_87); +x_89 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_89, 0, x_71); +lean_ctor_set(x_89, 1, x_76); +lean_ctor_set(x_89, 2, x_88); +lean_ctor_set(x_89, 3, x_74); +lean_ctor_set(x_89, 4, x_75); +if (lean_is_scalar(x_79)) { + x_90 = lean_alloc_ctor(0, 10, 2); +} else { + x_90 = x_79; +} +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_12); +lean_ctor_set(x_90, 2, x_13); +lean_ctor_set(x_90, 3, x_14); +lean_ctor_set(x_90, 4, x_15); +lean_ctor_set(x_90, 5, x_16); +lean_ctor_set(x_90, 6, x_17); +lean_ctor_set(x_90, 7, x_18); +lean_ctor_set(x_90, 8, x_19); +lean_ctor_set(x_90, 9, x_20); +lean_ctor_set_uint8(x_90, sizeof(void*)*10, x_69); +lean_ctor_set_uint8(x_90, sizeof(void*)*10 + 1, x_70); +x_91 = lean_apply_3(x_5, x_77, x_90, x_85); +return x_91; } } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* 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_73); -lean_dec(x_72); lean_dec(x_71); -lean_dec(x_69); lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); @@ -16783,26 +16795,26 @@ lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_5); -x_90 = lean_ctor_get(x_76, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_76, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_92 = x_76; +x_92 = lean_ctor_get(x_78, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_78, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_94 = x_78; } else { - lean_dec_ref(x_76); - x_92 = lean_box(0); + lean_dec_ref(x_78); + x_94 = lean_box(0); } -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_94)) { + x_95 = lean_alloc_ctor(1, 2, 0); } else { - x_93 = x_92; + x_95 = x_94; } -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_91); -return x_93; +lean_ctor_set(x_95, 0, x_92); +lean_ctor_set(x_95, 1, x_93); +return x_95; } } } @@ -16876,7 +16888,7 @@ x_10 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_10, 0, x_8); x_11 = 1; lean_inc(x_5); -x_12 = l_Lean_Elab_Term_elabTermAux___main(x_10, x_11, x_11, x_2, x_5, x_9); +x_12 = l_Lean_Elab_Term_elabTermAux___main(x_10, x_11, x_2, x_5, x_9); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -17037,7 +17049,7 @@ _start: uint8_t x_7; lean_object* x_8; x_7 = 1; lean_inc(x_5); -x_8 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_7, x_7, x_2, x_5, x_6); +x_8 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_7, x_2, x_5, x_6); if (lean_obj_tag(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; @@ -17833,7 +17845,7 @@ 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 = 1; -x_101 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_100, x_100, x_99, x_3, x_82); +x_101 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_100, x_99, x_3, x_82); return x_101; } } diff --git a/stage0/stdlib/Init/Lean/Hygiene.c b/stage0/stdlib/Init/Lean/Hygiene.c index 1768111039..374a757976 100644 --- a/stage0/stdlib/Init/Lean/Hygiene.c +++ b/stage0/stdlib/Init/Lean/Hygiene.c @@ -17,6 +17,7 @@ lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Unhygienic_MonadQuotation___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l_Lean_Unhygienic_MonadQuotation___closed__3; +lean_object* l_Lean_Name_eraseMacroScopes(lean_object*); lean_object* l___private_Init_Lean_Hygiene_1__extractMacroScopesAux(lean_object*, lean_object*); lean_object* l_Lean_Unhygienic_run(lean_object*); lean_object* l_Lean_monadQuotationTrans___rarg(lean_object*, lean_object*, lean_object*); @@ -164,6 +165,17 @@ x_3 = l___private_Init_Lean_Hygiene_1__extractMacroScopesAux___main(x_1, x_2); return x_3; } } +lean_object* l_Lean_Name_eraseMacroScopes(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_extractMacroScopes(x_1); +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +lean_dec(x_2); +return x_3; +} +} lean_object* l_Lean_monadQuotationTrans___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { diff --git a/stage0/stdlib/Init/Lean/Parser/Syntax.c b/stage0/stdlib/Init/Lean/Parser/Syntax.c index d913a80dc8..0a467470be 100644 --- a/stage0/stdlib/Init/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Init/Lean/Parser/Syntax.c @@ -45,6 +45,7 @@ lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_mixfix; lean_object* l_Lean_Parser_Command_mixfixSymbol___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_lookahead___closed__4; +lean_object* l_Lean_Parser_Command_macroArgType___closed__4; lean_object* l_Lean_Parser_Syntax_num___closed__5; lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__1; lean_object* l_Lean_Parser_Syntax_try___closed__3; @@ -60,6 +61,7 @@ lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__3; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_stxQuot___elambda__1___spec__1(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__6; +lean_object* l_Lean_Parser_Command_macroArgType___closed__2; lean_object* l_Lean_Parser_Command_macroTailDefault___closed__8; lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__7; lean_object* l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__2; @@ -77,6 +79,7 @@ lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_macroTailTactic___closed__5; lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_macro___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Command_macroArgType___closed__1; lean_object* l_Lean_Parser_Syntax_sepBy___closed__3; lean_object* l_Lean_Parser_Syntax_ident___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__8; @@ -155,6 +158,7 @@ lean_object* l_Lean_Parser_ParserState_mkErrorsAt(lean_object*, lean_object*, le lean_object* l_Lean_Parser_Command_infixl___closed__4; lean_object* l_Lean_Parser_Syntax_many___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_paren___closed__3; +lean_object* l_Lean_Parser_Command_macroArgType___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_infix; lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__2; @@ -273,6 +277,7 @@ lean_object* l_Lean_Parser_Syntax_optional___closed__4; lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_syntax___closed__3; lean_object* l_Lean_Parser_Syntax_orelse___closed__3; +lean_object* l_Lean_Parser_Command_macroArgType___closed__3; lean_object* l_Lean_Parser_Syntax_sepBy1___closed__4; lean_object* l_Lean_Parser_Syntax_char___elambda__1___closed__6; lean_object* l_Array_shrink___main___rarg(lean_object*, lean_object*); @@ -303,11 +308,13 @@ lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__9; lean_object* l_Lean_Parser_precedence___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_identPrec___closed__3; +lean_object* l_Lean_Parser_Command_macroArgType; lean_object* l_Lean_Parser_Syntax_num___closed__2; lean_object* l_Lean_Parser_Syntax_lookahead___elambda__1___closed__5; lean_object* l_Lean_Parser_Syntax_num___closed__1; lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__5; +lean_object* l_Lean_Parser_Command_macroArgType___closed__5; lean_object* l_Lean_Parser_Command_syntax___closed__10; lean_object* l_Lean_Parser_Syntax_ident; lean_object* l_Lean_Parser_Syntax_num___closed__4; @@ -10487,6 +10494,253 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } +lean_object* l_Lean_Parser_Command_macroArgType___elambda__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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_4 = l_Lean_Parser_Level_ident___elambda__1___closed__4; +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +x_9 = l_Lean_Parser_Syntax_ident___elambda__1___closed__4; +x_10 = l_Lean_Parser_Syntax_ident___elambda__1___closed__6; +lean_inc(x_2); +x_11 = l_Lean_Parser_nonReservedSymbolFnAux(x_9, x_10, x_2, x_3); +x_12 = lean_ctor_get(x_11, 3); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) +{ +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +x_15 = lean_nat_dec_eq(x_14, x_8); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +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_inc(x_8); +x_16 = l_Lean_Parser_ParserState_restore(x_11, x_7, x_8); +lean_dec(x_7); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = l_Lean_Parser_Syntax_num___elambda__1___closed__4; +x_20 = l_Lean_Parser_Syntax_num___elambda__1___closed__6; +lean_inc(x_2); +x_21 = l_Lean_Parser_nonReservedSymbolFnAux(x_19, x_20, x_2, x_16); +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +lean_dec(x_18); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_23 = l_Lean_Parser_mergeOrElseErrors(x_21, x_13, x_8); +lean_dec(x_8); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +x_26 = lean_nat_dec_eq(x_25, x_8); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +lean_dec(x_24); +lean_dec(x_18); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_27 = l_Lean_Parser_mergeOrElseErrors(x_21, x_13, x_8); +lean_dec(x_8); +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_inc(x_8); +x_28 = l_Lean_Parser_ParserState_restore(x_21, x_18, x_8); +lean_dec(x_18); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_array_get_size(x_29); +lean_dec(x_29); +x_31 = l_Lean_Parser_Syntax_str___elambda__1___closed__4; +x_32 = l_Lean_Parser_Syntax_str___elambda__1___closed__6; +lean_inc(x_2); +x_33 = l_Lean_Parser_nonReservedSymbolFnAux(x_31, x_32, x_2, x_28); +x_34 = lean_ctor_get(x_33, 3); +lean_inc(x_34); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_30); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_35 = l_Lean_Parser_mergeOrElseErrors(x_33, x_24, x_8); +x_36 = l_Lean_Parser_mergeOrElseErrors(x_35, x_13, x_8); +lean_dec(x_8); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_37 = lean_ctor_get(x_34, 0); +lean_inc(x_37); +lean_dec(x_34); +x_38 = lean_ctor_get(x_33, 1); +lean_inc(x_38); +x_39 = lean_nat_dec_eq(x_38, x_8); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_37); +lean_dec(x_30); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_40 = l_Lean_Parser_mergeOrElseErrors(x_33, x_24, x_8); +x_41 = l_Lean_Parser_mergeOrElseErrors(x_40, x_13, x_8); +lean_dec(x_8); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_inc(x_8); +x_42 = l_Lean_Parser_ParserState_restore(x_33, x_30, x_8); +lean_dec(x_30); +lean_inc(x_2); +lean_inc(x_1); +x_43 = lean_apply_3(x_5, x_1, x_2, x_42); +x_44 = lean_ctor_get(x_43, 3); +lean_inc(x_44); +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 = l_Lean_Parser_optPrecedence___elambda__1(x_1, x_2, x_43); +x_46 = l_Lean_Parser_mergeOrElseErrors(x_45, x_37, x_8); +x_47 = l_Lean_Parser_mergeOrElseErrors(x_46, x_24, x_8); +x_48 = l_Lean_Parser_mergeOrElseErrors(x_47, x_13, x_8); +lean_dec(x_8); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_44); +lean_dec(x_2); +lean_dec(x_1); +x_49 = l_Lean_Parser_mergeOrElseErrors(x_43, x_37, x_8); +x_50 = l_Lean_Parser_mergeOrElseErrors(x_49, x_24, x_8); +x_51 = l_Lean_Parser_mergeOrElseErrors(x_50, x_13, x_8); +lean_dec(x_8); +return x_51; +} +} +} +} +} +} +} +} +} +lean_object* _init_l_Lean_Parser_Command_macroArgType___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_str___closed__1; +x_2 = l_Lean_Parser_Syntax_cat___closed__1; +x_3 = l_Lean_Parser_orelseInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_macroArgType___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_num___closed__1; +x_2 = l_Lean_Parser_Command_macroArgType___closed__1; +x_3 = l_Lean_Parser_orelseInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_macroArgType___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_ident___closed__1; +x_2 = l_Lean_Parser_Command_macroArgType___closed__2; +x_3 = l_Lean_Parser_orelseInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_macroArgType___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroArgType___elambda__1), 3, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Command_macroArgType___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroArgType___closed__3; +x_2 = l_Lean_Parser_Command_macroArgType___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; +} +} +lean_object* _init_l_Lean_Parser_Command_macroArgType() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_macroArgType___closed__5; +return x_1; +} +} lean_object* _init_l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__1() { _start: { @@ -10579,7 +10833,7 @@ return x_11; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_34; lean_object* x_35; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_inc(x_10); x_16 = l_Lean_Parser_ParserState_restore(x_11, x_9, x_10); lean_dec(x_9); @@ -10587,134 +10841,102 @@ x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_array_get_size(x_17); lean_dec(x_17); -lean_inc(x_5); lean_inc(x_2); lean_inc(x_1); -x_34 = lean_apply_3(x_5, x_1, x_2, x_16); -x_35 = lean_ctor_get(x_34, 3); -lean_inc(x_35); -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_34, 1); -lean_inc(x_36); -lean_inc(x_2); -x_37 = l_Lean_Parser_tokenFn(x_2, x_34); -x_38 = lean_ctor_get(x_37, 3); -lean_inc(x_38); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_37, 0); -lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_39); -lean_dec(x_39); -if (lean_obj_tag(x_40) == 2) -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = l_Lean_Parser_mkAntiquot___closed__4; -x_43 = lean_string_dec_eq(x_41, x_42); -lean_dec(x_41); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; -x_44 = l_Lean_Parser_precedence___elambda__1___closed__7; -x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_44, x_36); -x_19 = x_45; -goto block_33; -} -else -{ -lean_dec(x_36); -x_19 = x_37; -goto block_33; -} -} -else -{ -lean_object* x_46; lean_object* x_47; -lean_dec(x_40); -x_46 = l_Lean_Parser_precedence___elambda__1___closed__7; -x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_46, x_36); -x_19 = x_47; -goto block_33; -} -} -else -{ -lean_object* x_48; lean_object* x_49; -lean_dec(x_38); -x_48 = l_Lean_Parser_precedence___elambda__1___closed__7; -x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_48, x_36); -x_19 = x_49; -goto block_33; -} -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_35); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_50 = l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; -x_51 = l_Lean_Parser_ParserState_mkNode(x_34, x_50, x_18); -x_52 = l_Lean_Parser_mergeOrElseErrors(x_51, x_13, x_10); -lean_dec(x_10); -return x_52; -} -block_33: -{ -lean_object* x_20; +x_19 = lean_apply_3(x_5, x_1, x_2, x_16); x_20 = lean_ctor_get(x_19, 3); lean_inc(x_20); if (lean_obj_tag(x_20) == 0) { -lean_object* x_21; lean_object* x_22; +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); lean_inc(x_2); -lean_inc(x_1); -x_21 = lean_apply_3(x_5, x_1, x_2, x_19); -x_22 = lean_ctor_get(x_21, 3); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) +x_22 = l_Lean_Parser_tokenFn(x_2, x_19); +x_23 = lean_ctor_get(x_22, 3); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = l_Lean_Parser_optPrecedence___elambda__1(x_1, x_2, x_21); -x_24 = l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; -x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_18); -x_26 = l_Lean_Parser_mergeOrElseErrors(x_25, x_13, x_10); -lean_dec(x_10); -return x_26; -} -else +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_24); +lean_dec(x_24); +if (lean_obj_tag(x_25) == 2) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_22); +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Lean_Parser_mkAntiquot___closed__4; +x_28 = lean_string_dec_eq(x_26, x_27); +lean_dec(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_dec(x_2); lean_dec(x_1); -x_27 = l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; -x_28 = l_Lean_Parser_ParserState_mkNode(x_21, x_27, x_18); -x_29 = l_Lean_Parser_mergeOrElseErrors(x_28, x_13, x_10); +x_29 = l_Lean_Parser_precedence___elambda__1___closed__7; +x_30 = l_Lean_Parser_ParserState_mkErrorsAt(x_22, x_29, x_21); +x_31 = l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; +x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_18); +x_33 = l_Lean_Parser_mergeOrElseErrors(x_32, x_13, x_10); lean_dec(x_10); -return x_29; +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_21); +x_34 = l_Lean_Parser_Command_macroArgType___elambda__1(x_1, x_2, x_22); +x_35 = l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; +x_36 = l_Lean_Parser_ParserState_mkNode(x_34, x_35, x_18); +x_37 = l_Lean_Parser_mergeOrElseErrors(x_36, x_13, x_10); +lean_dec(x_10); +return x_37; } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_25); +lean_dec(x_2); +lean_dec(x_1); +x_38 = l_Lean_Parser_precedence___elambda__1___closed__7; +x_39 = l_Lean_Parser_ParserState_mkErrorsAt(x_22, x_38, x_21); +x_40 = l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; +x_41 = l_Lean_Parser_ParserState_mkNode(x_39, x_40, x_18); +x_42 = l_Lean_Parser_mergeOrElseErrors(x_41, x_13, x_10); +lean_dec(x_10); +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_dec(x_23); +lean_dec(x_2); +lean_dec(x_1); +x_43 = l_Lean_Parser_precedence___elambda__1___closed__7; +x_44 = l_Lean_Parser_ParserState_mkErrorsAt(x_22, x_43, x_21); +x_45 = l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; +x_46 = l_Lean_Parser_ParserState_mkNode(x_44, x_45, x_18); +x_47 = l_Lean_Parser_mergeOrElseErrors(x_46, x_13, x_10); +lean_dec(x_10); +return x_47; +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_dec(x_20); -lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_30 = l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; -x_31 = l_Lean_Parser_ParserState_mkNode(x_19, x_30, x_18); -x_32 = l_Lean_Parser_mergeOrElseErrors(x_31, x_13, x_10); +x_48 = l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; +x_49 = l_Lean_Parser_ParserState_mkNode(x_19, x_48, x_18); +x_50 = l_Lean_Parser_mergeOrElseErrors(x_49, x_13, x_10); lean_dec(x_10); -return x_32; -} +return x_50; } } } @@ -10723,11 +10945,13 @@ return x_32; lean_object* _init_l_Lean_Parser_Command_macroArgSimple___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_mkAntiquot___closed__5; -x_2 = l_Lean_Parser_Syntax_cat___closed__1; -x_3 = l_Lean_Parser_andthenInfo(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_Lean_Parser_Command_macroArgType; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_mkAntiquot___closed__5; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); +return x_4; } } lean_object* _init_l_Lean_Parser_Command_macroArgSimple___closed__2() { @@ -14237,6 +14461,18 @@ lean_mark_persistent(l_Lean_Parser_Command_syntaxCat); res = l___regBuiltinParser_Lean_Parser_Command_syntaxCat(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Command_macroArgType___closed__1 = _init_l_Lean_Parser_Command_macroArgType___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_macroArgType___closed__1); +l_Lean_Parser_Command_macroArgType___closed__2 = _init_l_Lean_Parser_Command_macroArgType___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_macroArgType___closed__2); +l_Lean_Parser_Command_macroArgType___closed__3 = _init_l_Lean_Parser_Command_macroArgType___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_macroArgType___closed__3); +l_Lean_Parser_Command_macroArgType___closed__4 = _init_l_Lean_Parser_Command_macroArgType___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_macroArgType___closed__4); +l_Lean_Parser_Command_macroArgType___closed__5 = _init_l_Lean_Parser_Command_macroArgType___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_macroArgType___closed__5); +l_Lean_Parser_Command_macroArgType = _init_l_Lean_Parser_Command_macroArgType(); +lean_mark_persistent(l_Lean_Parser_Command_macroArgType); l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__1 = _init_l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__1); l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2 = _init_l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2(); diff --git a/stage0/stdlib/Init/LeanInit.c b/stage0/stdlib/Init/LeanInit.c index df13c021bc..d67fff6e48 100644 --- a/stage0/stdlib/Init/LeanInit.c +++ b/stage0/stdlib/Init/LeanInit.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Array_getSepElems___rarg___boxed(lean_object*); lean_object* l_Lean_ParserDescr_pushLeading; lean_object* l_Lean_MacroM_monadQuotation; lean_object* l_Lean_ParserDescr_orelse(uint8_t, lean_object*, lean_object*); @@ -27,10 +28,15 @@ lean_object* l_Lean_ParserDescr_ident(uint8_t); lean_object* l_Lean_mkNameSimple(lean_object*); lean_object* l_Lean_ParserDescr_andthen___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserDescr_char(uint8_t); +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Name_inhabited; extern lean_object* l_String_splitAux___main___closed__1; lean_object* l_Lean_Name_hashable___closed__1; lean_object* l_Lean_ParserDescr_try(uint8_t, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Array_foldlStepMAux___main___at_Array_getSepElems___spec__1(lean_object*); +lean_object* l_Array_foldlStepMAux___main___at_Array_getSepElems___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind___closed__2; lean_object* l_Lean_Syntax_getKind___closed__1; lean_object* l_Lean_Name_hashable; @@ -38,14 +44,18 @@ lean_object* l_Lean_ParserDescr_str(uint8_t); lean_object* l_Lean_ParserDescrCore_inhabited(uint8_t); lean_object* l_Lean_Syntax_getKind___closed__4; lean_object* l_Lean_ParserDescr_many1(uint8_t, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l_optional___rarg___closed__1; +lean_object* l_Array_foldlStepMAux___main___at_Array_getSepElems___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserDescr_many___boxed(lean_object*, lean_object*); lean_object* l_Lean_ParserDescr_num___boxed(lean_object*); +lean_object* l_Array_getSepElems(lean_object*); lean_object* l_Lean_ParserDescr_many1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_hashEx___boxed(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); size_t lean_name_hash(lean_object*); lean_object* l_Lean_Syntax_getArgs___boxed(lean_object*); +lean_object* l_Array_getSepElems___rarg(lean_object*); size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_ParserDescr_parser(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_ParserDescr_lookahead___boxed(lean_object*, lean_object*); @@ -90,6 +100,7 @@ lean_object* l_Lean_MacroM_monadQuotation___closed__2; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); size_t lean_string_hash(lean_object*); lean_object* l_Lean_ParserDescr_sepBy1___boxed(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* _init_l_Lean_Name_inhabited() { _start: { @@ -829,6 +840,77 @@ x_1 = l_Lean_MacroM_monadQuotation___closed__2; return x_1; } } +lean_object* l_Array_foldlStepMAux___main___at_Array_getSepElems___spec__1___rarg(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_array_get_size(x_2); +x_6 = lean_nat_dec_lt(x_3, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_dec(x_3); +return x_4; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_array_fget(x_2, x_3); +x_8 = lean_array_push(x_4, x_7); +x_9 = lean_nat_add(x_3, x_1); +lean_dec(x_3); +x_3 = x_9; +x_4 = x_8; +goto _start; +} +} +} +lean_object* l_Array_foldlStepMAux___main___at_Array_getSepElems___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_foldlStepMAux___main___at_Array_getSepElems___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +lean_object* l_Array_getSepElems___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = lean_unsigned_to_nat(2u); +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Array_empty___closed__1; +x_5 = l_Array_foldlStepMAux___main___at_Array_getSepElems___spec__1___rarg(x_2, x_1, x_3, x_4); +return x_5; +} +} +lean_object* l_Array_getSepElems(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_getSepElems___rarg___boxed), 1, 0); +return x_2; +} +} +lean_object* l_Array_foldlStepMAux___main___at_Array_getSepElems___spec__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_Array_foldlStepMAux___main___at_Array_getSepElems___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_getSepElems___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Array_getSepElems___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* initialize_Init_Data_String_Basic(lean_object*); lean_object* initialize_Init_Data_Array_Basic(lean_object*); lean_object* initialize_Init_Data_UInt(lean_object*);