From 772e62dfaa80f6cd2d01f6061940d1f98cd53726 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Mon, 21 Dec 2020 16:07:39 +0100 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Prelude.lean | 53 +- stage0/src/Lean/Elab/Quotation.lean | 44 +- stage0/src/Lean/Hygiene.lean | 14 +- stage0/src/Lean/Util/PPExt.lean | 10 +- stage0/stdlib/CMakeLists.txt | 2 +- stage0/stdlib/Init/Prelude.c | 504 +- stage0/stdlib/Lean/Compiler/ExternAttr.c | 4 +- stage0/stdlib/Lean/CoreM.c | 6 +- stage0/stdlib/Lean/Elab/App.c | 8 +- stage0/stdlib/Lean/Elab/Binders.c | 1127 +- stage0/stdlib/Lean/Elab/BuiltinNotation.c | 944 +- stage0/stdlib/Lean/Elab/Command.c | 32 +- stage0/stdlib/Lean/Elab/Do.c | 10 +- stage0/stdlib/Lean/Elab/Inductive.c | 825 +- stage0/stdlib/Lean/Elab/LetRec.c | 256 +- stage0/stdlib/Lean/Elab/Match.c | 10 +- stage0/stdlib/Lean/Elab/MutualDef.c | 145 +- stage0/stdlib/Lean/Elab/PreDefinition/Main.c | 211 +- stage0/stdlib/Lean/Elab/Quotation.c | 9718 ++++++++++------- stage0/stdlib/Lean/Elab/StructInst.c | 1170 +- stage0/stdlib/Lean/Elab/Tactic/Induction.c | 240 +- stage0/stdlib/Lean/Elab/Term.c | 404 +- stage0/stdlib/Lean/Environment.c | 4 +- stage0/stdlib/Lean/Hygiene.c | 365 +- stage0/stdlib/Lean/Meta/Basic.c | 4 +- stage0/stdlib/Lean/Parser/Transform.c | 1586 --- stage0/stdlib/Lean/PrettyPrinter.c | 6 +- .../Lean/PrettyPrinter/Delaborator/Basic.c | 125 +- .../stdlib/Lean/PrettyPrinter/Parenthesizer.c | 360 +- stage0/stdlib/Lean/Server/ServerBin.c | 330 - stage0/stdlib/Lean/Util/PPExt.c | 310 +- stage0/stdlib/Lean/Util/Trace.c | 4 +- 32 files changed, 9524 insertions(+), 9307 deletions(-) delete mode 100644 stage0/stdlib/Lean/Parser/Transform.c delete mode 100644 stage0/stdlib/Lean/Server/ServerBin.c diff --git a/stage0/src/Init/Prelude.lean b/stage0/src/Init/Prelude.lean index c7a6808c51..b38de8f039 100644 --- a/stage0/src/Init/Prelude.lean +++ b/stage0/src/Init/Prelude.lean @@ -1735,13 +1735,35 @@ def reservedMacroScope := 0 /-- First macro scope available for our frontend -/ def firstFrontendMacroScope := hAdd reservedMacroScope 1 +class MonadRef (m : Type → Type) where + getRef : m Syntax + withRef {α} : Syntax → m α → m α + +export MonadRef (getRef) + +instance (m n : Type → Type) [MonadRef m] [MonadFunctor m n] [MonadLift m n] : MonadRef n where + getRef := liftM (getRef : m _) + withRef := fun ref x => monadMap (m := m) (MonadRef.withRef ref) x + +def replaceRef (ref : Syntax) (oldRef : Syntax) : Syntax := + match ref.getPos with + | some _ => ref + | _ => oldRef + +@[inline] def withRef {m : Type → Type} [Monad m] [MonadRef m] {α} (ref : Syntax) (x : m α) : m α := + bind getRef fun oldRef => + let ref := replaceRef ref oldRef + MonadRef.withRef ref x + /-- A monad that supports syntax quotations. Syntax quotations (in term position) are monadic values that when executed retrieve the current "macro scope" from the monad and apply it to every identifier they introduce (independent of whether this identifier turns out to be a reference to an existing declaration, or an actually fresh binding during further - elaboration). -/ -class MonadQuotation (m : Type → Type) where + elaboration). We also apply the position of the result of `getRef` to each + introduced symbol, which results in better error positions than not applying + any position. -/ +class MonadQuotation (m : Type → Type) extends MonadRef m where -- Get the fresh scope of the current macro invocation getCurrMacroScope : m MacroScope getMainModule : m Name @@ -1760,7 +1782,10 @@ class MonadQuotation (m : Type → Type) where export MonadQuotation (getCurrMacroScope getMainModule withFreshMacroScope) -instance {m n : Type → Type} [MonadQuotation m] [MonadLift m n] [MonadFunctorT m n] : MonadQuotation n where +def MonadRef.mkInfoFromRefPos [Monad m] [MonadRef m] : m SourceInfo := do + return { pos := (← getRef).getPos } + +instance {m n : Type → Type} [MonadQuotation m] [MonadLift m n] [MonadFunctor m n] : MonadQuotation n where getCurrMacroScope := liftM (m := m) getCurrMacroScope getMainModule := liftM (m := m) getMainModule withFreshMacroScope := monadMap (m := m) withFreshMacroScope @@ -1892,26 +1917,6 @@ def defaultMaxRecDepth := 512 def maxRecDepthErrorMessage : String := "maximum recursion depth has been reached (use `set_option maxRecDepth ` to increase limit)" -class MonadRef (m : Type → Type) where - getRef : m Syntax - withRef {α} : Syntax → m α → m α - -export MonadRef (getRef) - -instance (m n : Type → Type) [MonadRef m] [MonadFunctor m n] [MonadLift m n] : MonadRef n where - getRef := liftM (getRef : m _) - withRef := fun ref x => monadMap (m := m) (MonadRef.withRef ref) x - -def replaceRef (ref : Syntax) (oldRef : Syntax) : Syntax := - match ref.getPos with - | some _ => ref - | _ => oldRef - -@[inline] def withRef {m : Type → Type} [Monad m] [MonadRef m] {α} (ref : Syntax) (x : m α) : m α := - bind getRef fun oldRef => - let ref := replaceRef ref oldRef - MonadRef.withRef ref x - namespace Macro /- References -/ @@ -2011,6 +2016,8 @@ abbrev Unexpander := Syntax → UnexpandM Syntax -- unexpanders should not need to introduce new names instance : MonadQuotation UnexpandM where + getRef := pure Syntax.missing + withRef := fun _ => id getCurrMacroScope := pure 0 getMainModule := pure `_fakeMod withFreshMacroScope := id diff --git a/stage0/src/Lean/Elab/Quotation.lean b/stage0/src/Lean/Elab/Quotation.lean index 8ee184b67e..96a3a85f08 100644 --- a/stage0/src/Lean/Elab/Quotation.lean +++ b/stage0/src/Lean/Elab/Quotation.lean @@ -94,8 +94,8 @@ private partial def quoteSyntax : Syntax → TermElabM Syntax let arg ← quoteSyntax arg; `(Array.push $args $arg)) empty `(Syntax.node $(quote k) $args) - | Syntax.atom info val => - `(Syntax.atom (SourceInfo.mk none none none) $(quote val)) + | Syntax.atom _ val => + `(Syntax.atom info $(quote val)) | Syntax.missing => unreachable! def stxQuot.expand (stx : Syntax) : TermElabM Syntax := do @@ -106,7 +106,9 @@ def stxQuot.expand (stx : Syntax) : TermElabM Syntax := do including it literally in a syntax quotation. -/ -- TODO: simplify to `(do scp ← getCurrMacroScope; pure $(quoteSyntax quoted)) let stx ← quoteSyntax stx.getQuotContent; - `(Bind.bind getCurrMacroScope (fun scp => Bind.bind getMainModule (fun mainModule => Pure.pure $stx))) + `(Bind.bind MonadRef.mkInfoFromRefPos (fun info => + Bind.bind getCurrMacroScope (fun scp => + Bind.bind getMainModule (fun mainModule => Pure.pure $stx)))) /- NOTE: It may seem like the newly introduced binding `scp` may accidentally capture identifiers in an antiquotation introduced by `quoteSyntax`. However, note that the syntax quotation above enjoys the same hygiene guarantees as @@ -162,6 +164,10 @@ inductive HeadCheck where -- without arity: `($x:k) -- with arity: any quotation without an antiquotation head pattern | shape (k : SyntaxNodeKind) (arity : Option Nat) + -- Match step that succeeds on `null` nodes of arity at least `numPrefix + numSuffix`, introducing discriminants + -- for the first `numPrefix` children, one `null` node for those in between, and for the `numSuffix` last children. + -- example: `([$x, $xs,*, $y]) is `slice 2 2` + | slice (numPrefix numSuffix : Nat) -- other, complicated match step that will probably only cover identical patterns -- example: antiquotation splices `($[...]*) | other (pat : Syntax) @@ -199,6 +205,7 @@ partial def mkTuple : Array Syntax → TermElabM Syntax /-- Adapt alternatives that do not introduce new discriminants in `doMatch`, but are covered by those that do so. -/ private def noOpMatchAdaptPats : HeadCheck → Alt → Alt | shape k (some sz), (pats, rhs) => (List.replicate sz (Unhygienic.run `(_)) ++ pats, rhs) + | slice p s, (pats, rhs) => (List.replicate (p + 1 + s) (Unhygienic.run `(_)) ++ pats, rhs) | _, alt => alt private def adaptRhs (fn : Syntax → TermElabM Syntax) : Alt → TermElabM Alt @@ -253,7 +260,6 @@ private partial def getHeadInfo (alt : Alt) : TermElabM HeadInfo := | `many => `(let $anti := Syntax.getArgs discr; $rhs) | `sepBy => `(let $anti := @SepArray.mk $(getSepFromSplice quoted[0]) (Syntax.getArgs discr); $rhs) | k => throwErrorAt! quoted "invalid antiquotation suffix splice kind '{k}'" - -- TODO: support for more complex antiquotation splices else if quoted.getArgs.size == 1 && isAntiquotSplice quoted[0] then pure { check := other pat, onMatch := fun @@ -297,6 +303,36 @@ private partial def getHeadInfo (alt : Alt) : TermElabM HeadInfo := | some $resId => $yes | none => $no) } + else if let some idx := quoted.getArgs.findIdx? (fun arg => isAntiquotSuffixSplice arg || isAntiquotSplice arg) then do + /- + pattern of the form `match discr, ... with | `(pat_0 ... pat_(idx-1) $[...]* pat_(idx+1) ...), ...` + transform to + ``` + if discr.getNumArgs >= $quoted.getNumArgs - 1 then + match discr[0], ..., discr[idx-1], mkNullNode (discr.getArgs.extract idx (discr.getNumArgs - $numSuffix))), ..., discr[quoted.getNumArgs - 1] with + | `(pat_0), ... `(pat_(idx-1)), `($[...])*, `(pat_(idx+1)), ... + ``` -/ + let numSuffix := quoted.getNumArgs - 1 - idx + pure { + check := slice idx numSuffix + onMatch := fun + | slice p s => + if p == idx && s == numSuffix then + let argPats := quoted.getArgs.mapIdx fun i arg => + let arg := if (i : Nat) == idx then mkNullNode #[arg] else arg + Unhygienic.run `(`($(arg))) + covered (fun (pats, rhs) => (argPats.toList ++ pats, rhs)) (exhaustive := true) + else uncovered + | _ => uncovered + doMatch := fun yes no => do + let prefixDiscrs ← (List.range idx).mapM (`(Syntax.getArg discr $(quote ·))) + let sliceDiscr ← `(mkNullNode (discr.getArgs.extract $(quote idx) (discr.getNumArgs - $(quote numSuffix)))) + let suffixDiscrs ← (List.range numSuffix).mapM fun i => + `(Syntax.getArg discr (discr.getNumArgs - $(quote (numSuffix - i)))) + `(ite (GreaterEq discr.getNumArgs $(quote (quoted.getNumArgs - 1))) + $(← yes (prefixDiscrs ++ sliceDiscr :: suffixDiscrs)) + $(← no)) + } else -- not an antiquotation, or an escaped antiquotation: match head shape let quoted := unescapeAntiquot quoted diff --git a/stage0/src/Lean/Hygiene.lean b/stage0/src/Lean/Hygiene.lean index fe398fd1ff..f419127ad5 100644 --- a/stage0/src/Lean/Hygiene.lean +++ b/stage0/src/Lean/Hygiene.lean @@ -8,6 +8,10 @@ import Lean.Syntax namespace Lean /- Remark: `MonadQuotation` class is part of the `Init` package and loaded by default since it is used in the builtin command `macro`. -/ +structure Unhygienic.Context where + ref : Syntax + scope : MacroScope + /-- Simplistic MonadQuotation that does not guarantee globally fresh names, that is, between different runs of this or other MonadQuotation implementations. It is only safe if the syntax quotations do not introduce bindings around @@ -21,16 +25,18 @@ namespace Lean processing of a file). It uses the state monad to query and allocate the next macro scope, and uses the reader monad to store the stack of scopes corresponding to `withFreshMacroScope` calls. -/ -abbrev Unhygienic := ReaderT MacroScope $ StateM MacroScope +abbrev Unhygienic := ReaderT Lean.Unhygienic.Context $ StateM MacroScope namespace Unhygienic instance : MonadQuotation Unhygienic := { - getCurrMacroScope := read, + getRef := do (← read).ref, + withRef := fun ref => withReader ({ · with ref := ref }), + getCurrMacroScope := do (← read).scope, getMainModule := pure `UnhygienicMain, withFreshMacroScope := fun x => do let fresh ← modifyGet fun n => (n, n + 1) - withReader (fun _ => fresh) x + withReader ({ · with scope := fresh}) x } -protected def run {α : Type} (x : Unhygienic α) : α := (x firstFrontendMacroScope).run' (firstFrontendMacroScope+1) +protected def run {α : Type} (x : Unhygienic α) : α := (x ⟨Syntax.missing, firstFrontendMacroScope⟩).run' (firstFrontendMacroScope+1) end Unhygienic private def mkInaccessibleUserNameAux (unicode : Bool) (name : Name) (idx : Nat) : Name := diff --git a/stage0/src/Lean/Util/PPExt.lean b/stage0/src/Lean/Util/PPExt.lean index 8c10ae3a65..a0485942fd 100644 --- a/stage0/src/Lean/Util/PPExt.lean +++ b/stage0/src/Lean/Util/PPExt.lean @@ -10,15 +10,19 @@ import Lean.Data.OpenDecl namespace Lean builtin_initialize - registerOption `syntaxMaxDepth { defValue := (2 : Nat), group := "", descr := "maximum depth when displaying syntax objects in messages" }; registerOption `pp.raw { defValue := false, group := "pp", descr := "(pretty printer) print raw expression/syntax tree" } + registerOption `pp.raw.showInfo { defValue := false, group := "pp", descr := "(pretty printer) print `SourceInfo` metadata with raw printer" } + registerOption `pp.raw.maxDepth { defValue := (2 : Nat), group := "pp", descr := "(pretty printer) maximum `Syntax` depth for raw printer" }; def getSyntaxMaxDepth (opts : Options) : Nat := - opts.getNat `syntaxMaxDepth 2 + opts.getNat `pp.raw.maxDepth 2 def getPPRaw (opts : Options) : Bool := opts.getBool `pp.raw false +def getPPRawShowInfo (opts : Options) : Bool := + opts.getBool `pp.raw.showInfo false + structure PPContext where env : Environment mctx : MetavarContext := {} @@ -56,7 +60,7 @@ def ppExpr (ctx : PPContext) (e : Expr) : IO Format := do def ppTerm (ctx : PPContext) (stx : Syntax) : IO Format := if getPPRaw ctx.opts then - return stx.formatStx (getSyntaxMaxDepth ctx.opts) + return stx.formatStx (getSyntaxMaxDepth ctx.opts) (getPPRawShowInfo ctx.opts) else try ppExt.getState ctx.env |>.ppTerm ctx stx diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index 0874918f52..26b83da7ed 100644 --- a/stage0/stdlib/CMakeLists.txt +++ b/stage0/stdlib/CMakeLists.txt @@ -1 +1 @@ -add_library (stage0 OBJECT ./Init.c ./Init/Classical.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Basic.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Id.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Control/StateRef.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/InsertionSort.c ./Init/Data/Array/QSort.c ./Init/Data/Array/Subarray.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/Format.c ./Init/Data/Format/Basic.c ./Init/Data/Format/Instances.c ./Init/Data/Format/Macro.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/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/OfScientific.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/Stream.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Util.c ./Init/WF.c ./Lean.c ./Lean/Attributes.c ./Lean/AuxRecursor.c ./Lean/Class.c ./Lean/Compiler.c ./Lean/Compiler/BorrowedAnnotation.c ./Lean/Compiler/ClosedTermCache.c ./Lean/Compiler/ConstFolding.c ./Lean/Compiler/ExportAttr.c ./Lean/Compiler/ExternAttr.c ./Lean/Compiler/IR.c ./Lean/Compiler/IR/Basic.c ./Lean/Compiler/IR/Borrow.c ./Lean/Compiler/IR/Boxing.c ./Lean/Compiler/IR/Checker.c ./Lean/Compiler/IR/CompilerM.c ./Lean/Compiler/IR/CtorLayout.c ./Lean/Compiler/IR/ElimDeadBranches.c ./Lean/Compiler/IR/ElimDeadVars.c ./Lean/Compiler/IR/EmitC.c ./Lean/Compiler/IR/EmitUtil.c ./Lean/Compiler/IR/ExpandResetReuse.c ./Lean/Compiler/IR/Format.c ./Lean/Compiler/IR/FreeVars.c ./Lean/Compiler/IR/LiveVars.c ./Lean/Compiler/IR/NormIds.c ./Lean/Compiler/IR/PushProj.c ./Lean/Compiler/IR/RC.c ./Lean/Compiler/IR/ResetReuse.c ./Lean/Compiler/IR/SimpCase.c ./Lean/Compiler/IR/UnboxResult.c ./Lean/Compiler/ImplementedByAttr.c ./Lean/Compiler/InitAttr.c ./Lean/Compiler/InlineAttrs.c ./Lean/Compiler/NameMangling.c ./Lean/Compiler/NeverExtractAttr.c ./Lean/Compiler/Specialize.c ./Lean/Compiler/Util.c ./Lean/CoreM.c ./Lean/Data.c ./Lean/Data/Format.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Hover.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/NameTrie.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/PrefixTree.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/AutoBound.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DefView.c ./Lean/Elab/Deriving.c ./Lean/Elab/Deriving/BEq.c ./Lean/Elab/Deriving/Basic.c ./Lean/Elab/Deriving/DecEq.c ./Lean/Elab/Deriving/Inhabited.c ./Lean/Elab/Deriving/Repr.c ./Lean/Elab/Deriving/Util.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/Quotation/Util.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/GetConst.c ./Lean/Meta/Inductive.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.c ./Lean/Meta/Match/Basic.c ./Lean/Meta/Match/CaseArraySizes.c ./Lean/Meta/Match/CaseValues.c ./Lean/Meta/Match/MVarRenaming.c ./Lean/Meta/Match/Match.c ./Lean/Meta/Match/MatchPatternAttr.c ./Lean/Meta/Match/MatcherInfo.c ./Lean/Meta/MatchUtil.c ./Lean/Meta/Offset.c ./Lean/Meta/PPGoal.c ./Lean/Meta/RecursorInfo.c ./Lean/Meta/Reduce.c ./Lean/Meta/ReduceEval.c ./Lean/Meta/SynthInstance.c ./Lean/Meta/Tactic.c ./Lean/Meta/Tactic/Apply.c ./Lean/Meta/Tactic/Assert.c ./Lean/Meta/Tactic/Assumption.c ./Lean/Meta/Tactic/Cases.c ./Lean/Meta/Tactic/Clear.c ./Lean/Meta/Tactic/Constructor.c ./Lean/Meta/Tactic/Delta.c ./Lean/Meta/Tactic/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/Transform.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/UnificationHint.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.c ./Lean/Parser/Attr.c ./Lean/Parser/Basic.c ./Lean/Parser/Command.c ./Lean/Parser/Do.c ./Lean/Parser/Extension.c ./Lean/Parser/Extra.c ./Lean/Parser/Level.c ./Lean/Parser/Module.c ./Lean/Parser/StrInterpolation.c ./Lean/Parser/Syntax.c ./Lean/Parser/Tactic.c ./Lean/Parser/Term.c ./Lean/Parser/Transform.c ./Lean/ParserCompiler.c ./Lean/ParserCompiler/Attribute.c ./Lean/PrettyPrinter.c ./Lean/PrettyPrinter/Basic.c ./Lean/PrettyPrinter/Delaborator.c ./Lean/PrettyPrinter/Delaborator/Basic.c ./Lean/PrettyPrinter/Delaborator/Builtins.c ./Lean/PrettyPrinter/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/ScopedEnvExtension.c ./Lean/Server.c ./Lean/Server/ServerBin.c ./Lean/Server/Snapshots.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) +add_library (stage0 OBJECT ./Init.c ./Init/Classical.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Basic.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Id.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Control/StateRef.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/InsertionSort.c ./Init/Data/Array/QSort.c ./Init/Data/Array/Subarray.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/Format.c ./Init/Data/Format/Basic.c ./Init/Data/Format/Instances.c ./Init/Data/Format/Macro.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/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/OfScientific.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/Stream.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Util.c ./Init/WF.c ./Lean.c ./Lean/Attributes.c ./Lean/AuxRecursor.c ./Lean/Class.c ./Lean/Compiler.c ./Lean/Compiler/BorrowedAnnotation.c ./Lean/Compiler/ClosedTermCache.c ./Lean/Compiler/ConstFolding.c ./Lean/Compiler/ExportAttr.c ./Lean/Compiler/ExternAttr.c ./Lean/Compiler/IR.c ./Lean/Compiler/IR/Basic.c ./Lean/Compiler/IR/Borrow.c ./Lean/Compiler/IR/Boxing.c ./Lean/Compiler/IR/Checker.c ./Lean/Compiler/IR/CompilerM.c ./Lean/Compiler/IR/CtorLayout.c ./Lean/Compiler/IR/ElimDeadBranches.c ./Lean/Compiler/IR/ElimDeadVars.c ./Lean/Compiler/IR/EmitC.c ./Lean/Compiler/IR/EmitUtil.c ./Lean/Compiler/IR/ExpandResetReuse.c ./Lean/Compiler/IR/Format.c ./Lean/Compiler/IR/FreeVars.c ./Lean/Compiler/IR/LiveVars.c ./Lean/Compiler/IR/NormIds.c ./Lean/Compiler/IR/PushProj.c ./Lean/Compiler/IR/RC.c ./Lean/Compiler/IR/ResetReuse.c ./Lean/Compiler/IR/SimpCase.c ./Lean/Compiler/IR/UnboxResult.c ./Lean/Compiler/ImplementedByAttr.c ./Lean/Compiler/InitAttr.c ./Lean/Compiler/InlineAttrs.c ./Lean/Compiler/NameMangling.c ./Lean/Compiler/NeverExtractAttr.c ./Lean/Compiler/Specialize.c ./Lean/Compiler/Util.c ./Lean/CoreM.c ./Lean/Data.c ./Lean/Data/Format.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Hover.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/NameTrie.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/PrefixTree.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/AutoBound.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DefView.c ./Lean/Elab/Deriving.c ./Lean/Elab/Deriving/BEq.c ./Lean/Elab/Deriving/Basic.c ./Lean/Elab/Deriving/DecEq.c ./Lean/Elab/Deriving/Inhabited.c ./Lean/Elab/Deriving/Repr.c ./Lean/Elab/Deriving/Util.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/Quotation/Util.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/GetConst.c ./Lean/Meta/Inductive.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.c ./Lean/Meta/Match/Basic.c ./Lean/Meta/Match/CaseArraySizes.c ./Lean/Meta/Match/CaseValues.c ./Lean/Meta/Match/MVarRenaming.c ./Lean/Meta/Match/Match.c ./Lean/Meta/Match/MatchPatternAttr.c ./Lean/Meta/Match/MatcherInfo.c ./Lean/Meta/MatchUtil.c ./Lean/Meta/Offset.c ./Lean/Meta/PPGoal.c ./Lean/Meta/RecursorInfo.c ./Lean/Meta/Reduce.c ./Lean/Meta/ReduceEval.c ./Lean/Meta/SynthInstance.c ./Lean/Meta/Tactic.c ./Lean/Meta/Tactic/Apply.c ./Lean/Meta/Tactic/Assert.c ./Lean/Meta/Tactic/Assumption.c ./Lean/Meta/Tactic/Cases.c ./Lean/Meta/Tactic/Clear.c ./Lean/Meta/Tactic/Constructor.c ./Lean/Meta/Tactic/Delta.c ./Lean/Meta/Tactic/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/Transform.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/UnificationHint.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.c ./Lean/Parser/Attr.c ./Lean/Parser/Basic.c ./Lean/Parser/Command.c ./Lean/Parser/Do.c ./Lean/Parser/Extension.c ./Lean/Parser/Extra.c ./Lean/Parser/Level.c ./Lean/Parser/Module.c ./Lean/Parser/StrInterpolation.c ./Lean/Parser/Syntax.c ./Lean/Parser/Tactic.c ./Lean/Parser/Term.c ./Lean/ParserCompiler.c ./Lean/ParserCompiler/Attribute.c ./Lean/PrettyPrinter.c ./Lean/PrettyPrinter/Basic.c ./Lean/PrettyPrinter/Delaborator.c ./Lean/PrettyPrinter/Delaborator/Basic.c ./Lean/PrettyPrinter/Delaborator/Builtins.c ./Lean/PrettyPrinter/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/ScopedEnvExtension.c ./Lean/Server.c ./Lean/Server/Snapshots.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) diff --git a/stage0/stdlib/Init/Prelude.c b/stage0/stdlib/Init/Prelude.c index 984f6743dd..e0bbb27256 100644 --- a/stage0/stdlib/Init/Prelude.c +++ b/stage0/stdlib/Init/Prelude.c @@ -20,6 +20,7 @@ lean_object* l_EStateM_run___rarg(lean_object*, lean_object*); lean_object* l_String_csize(uint32_t); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_tryCatch_match__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__8; lean_object* l_Lean_Macro_instMonadRefMacroM___closed__2; lean_object* l_getThe(lean_object*, lean_object*); lean_object* l_UInt64_val___boxed(lean_object*); @@ -36,6 +37,7 @@ lean_object* l___private_Init_Prelude_0__String_utf8ByteSizeAux_match__1___rarg( lean_object* l_instHashableString; lean_object* l_Lean_scientificLitKind___closed__1; lean_object* lean_erase_macro_scopes(lean_object*); +lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__9; lean_object* l_USize_mk___boxed(lean_object*); lean_object* l_withTheReader(lean_object*, lean_object*); lean_object* l_Nat_sub___boxed(lean_object*, lean_object*); @@ -249,6 +251,7 @@ lean_object* l_instInhabitedArrow__1___rarg(lean_object*); lean_object* l_instMonadExcept(lean_object*, lean_object*); lean_object* l_Lean_addMacroScope_match__2___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind___closed__1; +lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_throwErrorAt___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_monadFunctorRefl___rarg(lean_object*, lean_object*); @@ -398,6 +401,7 @@ lean_object* l_Lean_Macro_instMonadQuotationMacroM___lambda__1___boxed(lean_obje lean_object* l_ReaderT_bind(lean_object*, lean_object*); lean_object* l_Lean_instInhabitedSourceInfo___closed__1; lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__1; +lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_modifyGet(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mkEmpty___boxed(lean_object*, lean_object*); lean_object* l_EStateM_nonBacktrackable___closed__1; @@ -505,6 +509,7 @@ lean_object* l_EStateM_instMonadEStateM___closed__2; uint64_t l_instInhabitedUInt64___closed__1; lean_object* l_Lean_nullKind___closed__1; lean_object* l_instDecidableOr_match__3___rarg(uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos(lean_object*); lean_object* l_instDecidableEqString___boxed(lean_object*, lean_object*); lean_object* l_UInt8_mk___boxed(lean_object*); lean_object* l_Lean_SourceInfo_pos___default; @@ -569,7 +574,7 @@ lean_object* l_Lean_Name_eraseMacroScopes_match__1___rarg___boxed(lean_object*, lean_object* l_EStateM_nonBacktrackable(lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_UInt32_decEq(uint32_t, uint32_t); -lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Prelude_0__Lean_extractMainModule_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_nonBacktrackable___closed__3; lean_object* l___private_Init_Prelude_0__Lean_eraseMacroScopesAux(lean_object*); @@ -756,7 +761,9 @@ lean_object* l_EStateM_get(lean_object*, lean_object*); lean_object* l_instDecidableNot_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope_match__2(lean_object*); lean_object* l_instDecidableEqFin___boxed(lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_withRef(lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_List_concat(lean_object*); lean_object* l_Array_appendCore_loop_match__1(lean_object*); lean_object* l_ReaderT_adapt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -775,6 +782,7 @@ lean_object* l_Array_appendCore_loop_match__1___rarg(lean_object*, lean_object*, lean_object* l_instHashableString___closed__1; lean_object* l_Lean_Macro_instMonadRefMacroM___closed__3; lean_object* l_instMonadStateOf___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__7; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2(lean_object*, lean_object*); lean_object* l_or_match__1(lean_object*); @@ -846,6 +854,7 @@ lean_object* l_instHPow___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_defaultMaxRecDepth; lean_object* l_Lean_Syntax_setArg_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Applicative_seqLeft___default___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg(lean_object*, lean_object*); lean_object* l___private_Init_Prelude_0__Lean_eraseMacroScopesAux___closed__1; lean_object* l___private_Init_Prelude_0__Lean_extractImported_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOp(lean_object*, lean_object*); @@ -9509,11 +9518,214 @@ x_1 = l_Lean_firstFrontendMacroScope___closed__1; return x_1; } } +lean_object* l_Lean_instMonadRef___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_3(x_5, lean_box(0), x_2, x_4); +return x_6; +} +} +lean_object* l_Lean_instMonadRef___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_alloc_closure((void*)(l_Lean_instMonadRef___rarg___lambda__1), 4, 2); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_4); +x_7 = lean_apply_3(x_2, lean_box(0), x_6, x_5); +return x_7; +} +} +lean_object* l_Lean_instMonadRef___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_apply_2(x_3, lean_box(0), x_4); +x_6 = lean_alloc_closure((void*)(l_Lean_instMonadRef___rarg___lambda__2), 5, 2); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_2); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +lean_object* l_Lean_instMonadRef(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_instMonadRef___rarg), 3, 0); +return x_3; +} +} +lean_object* l_Lean_replaceRef_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_replaceRef_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_replaceRef_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_replaceRef(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Syntax_getPos(x_1); +if (lean_obj_tag(x_3) == 0) +{ +lean_inc(x_2); +return x_2; +} +else +{ +lean_dec(x_3); +lean_inc(x_1); +return x_1; +} +} +} +lean_object* l_Lean_replaceRef___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_replaceRef(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_withRef___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = l_Lean_replaceRef(x_1, x_4); +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_apply_3(x_6, lean_box(0), x_5, x_3); +return x_7; +} +} +lean_object* l_Lean_withRef___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +x_8 = lean_alloc_closure((void*)(l_Lean_withRef___rarg___lambda__1___boxed), 4, 3); +lean_closure_set(x_8, 0, x_4); +lean_closure_set(x_8, 1, x_2); +lean_closure_set(x_8, 2, x_5); +x_9 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_7, x_8); +return x_9; +} +} +lean_object* l_Lean_withRef(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_withRef___rarg), 5, 0); +return x_2; +} +} +lean_object* l_Lean_withRef___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_withRef___rarg___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = l_Lean_Syntax_getPos(x_2); +x_7 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +lean_ctor_set(x_7, 2, x_5); +x_8 = lean_apply_2(x_4, lean_box(0), x_7); +return x_8; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_5, 0, x_1); +x_6 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_MonadRef_mkInfoFromRefPos___rarg___lambda__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} lean_object* l_Lean_instMonadQuotation___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; -x_4 = lean_ctor_get(x_1, 2); +x_4 = lean_ctor_get(x_1, 3); lean_inc(x_4); lean_dec(x_1); x_5 = lean_apply_2(x_4, lean_box(0), x_3); @@ -9533,22 +9745,28 @@ return x_6; lean_object* l_Lean_instMonadQuotation___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); lean_inc(x_2); -x_5 = lean_apply_2(x_2, lean_box(0), x_4); +lean_inc(x_3); +x_5 = l_Lean_instMonadRef___rarg(x_4, x_3, x_2); x_6 = lean_ctor_get(x_1, 1); lean_inc(x_6); +lean_inc(x_2); x_7 = lean_apply_2(x_2, lean_box(0), x_6); -x_8 = lean_alloc_closure((void*)(l_Lean_instMonadQuotation___rarg___lambda__2), 4, 2); -lean_closure_set(x_8, 0, x_1); -lean_closure_set(x_8, 1, x_3); -x_9 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_9, 0, x_5); -lean_ctor_set(x_9, 1, x_7); -lean_ctor_set(x_9, 2, x_8); -return x_9; +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_9 = lean_apply_2(x_2, lean_box(0), x_8); +x_10 = lean_alloc_closure((void*)(l_Lean_instMonadQuotation___rarg___lambda__2), 4, 2); +lean_closure_set(x_10, 0, x_1); +lean_closure_set(x_10, 1, x_3); +x_11 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_7); +lean_ctor_set(x_11, 2, x_9); +lean_ctor_set(x_11, 3, x_10); +return x_11; } } lean_object* l_Lean_instMonadQuotation(lean_object* x_1, lean_object* x_2) { @@ -10921,7 +11139,7 @@ lean_object* l_Lean_MonadQuotation_addMacroScope___rarg___lambda__2(lean_object* _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); lean_inc(x_6); lean_dec(x_1); x_7 = lean_alloc_closure((void*)(l_Lean_MonadQuotation_addMacroScope___rarg___lambda__1), 4, 3); @@ -10938,7 +11156,7 @@ _start: lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_2, 1); lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); +x_5 = lean_ctor_get(x_1, 2); lean_inc(x_5); lean_inc(x_4); x_6 = lean_alloc_closure((void*)(l_Lean_MonadQuotation_addMacroScope___rarg___lambda__2), 5, 4); @@ -10982,157 +11200,6 @@ x_1 = l_Lean_maxRecDepthErrorMessage___closed__1; return x_1; } } -lean_object* l_Lean_instMonadRef___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_3(x_5, lean_box(0), x_2, x_4); -return x_6; -} -} -lean_object* l_Lean_instMonadRef___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; -x_6 = lean_alloc_closure((void*)(l_Lean_instMonadRef___rarg___lambda__1), 4, 2); -lean_closure_set(x_6, 0, x_1); -lean_closure_set(x_6, 1, x_4); -x_7 = lean_apply_3(x_2, lean_box(0), x_6, x_5); -return x_7; -} -} -lean_object* l_Lean_instMonadRef___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_apply_2(x_3, lean_box(0), x_4); -x_6 = lean_alloc_closure((void*)(l_Lean_instMonadRef___rarg___lambda__2), 5, 2); -lean_closure_set(x_6, 0, x_1); -lean_closure_set(x_6, 1, x_2); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -return x_7; -} -} -lean_object* l_Lean_instMonadRef(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_instMonadRef___rarg), 3, 0); -return x_3; -} -} -lean_object* l_Lean_replaceRef_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; -lean_dec(x_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -} -} -lean_object* l_Lean_replaceRef_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_replaceRef_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_replaceRef(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Syntax_getPos(x_1); -if (lean_obj_tag(x_3) == 0) -{ -lean_inc(x_2); -return x_2; -} -else -{ -lean_dec(x_3); -lean_inc(x_1); -return x_1; -} -} -} -lean_object* l_Lean_replaceRef___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_replaceRef(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_withRef___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = l_Lean_replaceRef(x_1, x_4); -x_6 = lean_ctor_get(x_2, 1); -lean_inc(x_6); -lean_dec(x_2); -x_7 = lean_apply_3(x_6, lean_box(0), x_5, x_3); -return x_7; -} -} -lean_object* l_Lean_withRef___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = lean_ctor_get(x_1, 1); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_ctor_get(x_2, 0); -lean_inc(x_7); -x_8 = lean_alloc_closure((void*)(l_Lean_withRef___rarg___lambda__1___boxed), 4, 3); -lean_closure_set(x_8, 0, x_4); -lean_closure_set(x_8, 1, x_2); -lean_closure_set(x_8, 2, x_5); -x_9 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_7, x_8); -return x_9; -} -} -lean_object* l_Lean_withRef(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_withRef___rarg), 5, 0); -return x_2; -} -} -lean_object* l_Lean_withRef___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_withRef___rarg___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_4); -lean_dec(x_1); -return x_5; -} -} static lean_object* _init_l_Lean_Macro_MacroEnvPointed() { _start: { @@ -11777,15 +11844,17 @@ return x_1; static lean_object* _init_l_Lean_Macro_instMonadQuotationMacroM___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Macro_instMonadQuotationMacroM___closed__1; -x_2 = l_Lean_Macro_instMonadQuotationMacroM___closed__2; -x_3 = l_Lean_Macro_instMonadQuotationMacroM___closed__3; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Macro_instMonadRefMacroM; +x_2 = l_Lean_Macro_instMonadQuotationMacroM___closed__1; +x_3 = l_Lean_Macro_instMonadQuotationMacroM___closed__2; +x_4 = l_Lean_Macro_instMonadQuotationMacroM___closed__3; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; } } static lean_object* _init_l_Lean_Macro_instMonadQuotationMacroM() { @@ -11930,7 +11999,15 @@ lean_dec(x_1); return x_3; } } -lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -11942,7 +12019,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___clo _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); +x_1 = lean_box(0); x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -11952,7 +12029,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("_fakeMod"); +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__1___boxed), 4, 0); return x_1; } } @@ -11960,9 +12037,11 @@ static lean_object* _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__1; x_2 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } @@ -11970,7 +12049,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___clo _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__3; +x_1 = lean_unsigned_to_nat(0u); x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -11980,32 +12059,71 @@ static lean_object* _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___clo _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__1), 3, 0); +x_1 = lean_mk_string("_fakeMod"); return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__6; +x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__2), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__3; x_2 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__4; -x_3 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__5; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +x_3 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__7; +x_4 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__8; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; } } static lean_object* _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM() { _start: { lean_object* x_1; -x_1 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__6; +x_1 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__9; return x_1; } } +lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} static bool _G_initialized = false; lean_object* initialize_Init_Prelude(lean_object* w) { lean_object * res; @@ -12309,6 +12427,12 @@ l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__5 = _init_l_Lean_Pret lean_mark_persistent(l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__5); l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__6 = _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__6(); lean_mark_persistent(l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__6); +l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__7 = _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__7); +l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__8 = _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__8); +l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__9 = _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__9); l_Lean_PrettyPrinter_instMonadQuotationUnexpandM = _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM(); lean_mark_persistent(l_Lean_PrettyPrinter_instMonadQuotationUnexpandM); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/ExternAttr.c b/stage0/stdlib/Lean/Compiler/ExternAttr.c index 42f7f86daa..6ecd6e015f 100644 --- a/stage0/stdlib/Lean/Compiler/ExternAttr.c +++ b/stage0/stdlib/Lean/Compiler/ExternAttr.c @@ -132,6 +132,7 @@ extern lean_object* l_Lean_registerParametricAttribute___rarg___closed__1; lean_object* l_Lean_isExtern___boxed(lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_getExternConstArity___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); +extern lean_object* l_Lean_Unhygienic_run___rarg___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_Iterator_next(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__3___closed__3; @@ -202,7 +203,6 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__3; extern lean_object* l_Lean_Core_State_ngen___default___closed__1; lean_object* l_String_Iterator_remainingBytes(lean_object*); -extern lean_object* l_Lean_Unhygienic_run___rarg___closed__1; lean_object* l_Lean_expandExternPatternAux_match__2(lean_object*); uint8_t l_UInt32_decLe(uint32_t, uint32_t); lean_object* l_Lean_getExternConstArity_match__2(lean_object*); @@ -4701,7 +4701,7 @@ lean_object* lean_get_extern_const_arity(lean_object* x_1, lean_object* x_2, lea _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_4 = l_Lean_Unhygienic_run___rarg___closed__1; +x_4 = l_Lean_Unhygienic_run___rarg___closed__2; x_5 = l_Lean_Core_State_ngen___default___closed__1; x_6 = l_Lean_resetTraceState___rarg___lambda__1___closed__1; x_7 = lean_alloc_ctor(0, 4, 0); diff --git a/stage0/stdlib/Lean/CoreM.c b/stage0/stdlib/Lean/CoreM.c index 38040ef3b9..9046077036 100644 --- a/stage0/stdlib/Lean/CoreM.c +++ b/stage0/stdlib/Lean/CoreM.c @@ -122,6 +122,7 @@ lean_object* l_Lean_Core_instMonadResolveNameCoreM___lambda__1(lean_object*, lea lean_object* l_Lean_Core_mkFreshUserName___rarg(lean_object*, lean_object*); lean_object* l_Lean_Core_instMonadRecDepthCoreM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkEmptyEnvironment___lambda__1___closed__1; +extern lean_object* l_Lean_Unhygienic_run___rarg___closed__2; lean_object* l_Std_PersistentArray_forMAux___at_Lean_Core_instMetaEvalCoreM___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_Context_maxRecDepth___default; lean_object* l_Lean_Core_instMonadNameGeneratorCoreM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -176,7 +177,6 @@ lean_object* l_Lean_Core_instInhabitedState___closed__2; lean_object* l_Lean_Core_State_ngen___default___closed__1; lean_object* l_Lean_catchInternalId_match__1(lean_object*); lean_object* l_Lean_Core_instAddMessageContextCoreM; -extern lean_object* l_Lean_Unhygienic_run___rarg___closed__1; lean_object* l_Lean_Core_CoreM_run_x27(lean_object*); lean_object* l_Lean_Core_mkFreshUserName(lean_object*); lean_object* l_Lean_catchInternalId_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -200,7 +200,7 @@ static lean_object* _init_l_Lean_Core_State_nextMacroScope___default() { _start: { lean_object* x_1; -x_1 = l_Lean_Unhygienic_run___rarg___closed__1; +x_1 = l_Lean_Unhygienic_run___rarg___closed__2; return x_1; } } @@ -2681,7 +2681,7 @@ lean_ctor_set(x_34, 2, x_29); lean_ctor_set(x_34, 3, x_32); lean_ctor_set(x_34, 4, x_33); lean_ctor_set(x_34, 5, x_30); -x_35 = l_Lean_Unhygienic_run___rarg___closed__1; +x_35 = l_Lean_Unhygienic_run___rarg___closed__2; x_36 = l_Lean_Core_State_ngen___default___closed__1; x_37 = l_Lean_resetTraceState___rarg___lambda__1___closed__1; x_38 = lean_alloc_ctor(0, 4, 0); diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 488d4283f3..e0cd82cdfc 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -17,6 +17,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__5 lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___rarg(lean_object*); lean_object* l_List_reverse___rarg(lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__1___closed__3; extern lean_object* l_Lean_instInhabitedTagAttribute___closed__1; lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -124,7 +125,6 @@ lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwInvalidNamedArg_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__4; extern lean_object* l_Lean_MessageData_nil; lean_object* l_Lean_Elab_Term_elabApp_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -599,7 +599,6 @@ lean_object* l_Lean_Elab_Term_instInhabitedNamedArg; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__3; lean_object* l_Lean_Elab_Term_ElabAppArgs_synthesizeAppInstMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__9; lean_object* l_Lean_Elab_Term_addNamedArg___closed__1; @@ -673,6 +672,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateEx lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); @@ -16333,7 +16333,7 @@ x_46 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs___closed__4; x_47 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); -x_48 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16; +x_48 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14; x_49 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); @@ -22119,7 +22119,7 @@ static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = lean_ctor_get(x_2, 1); diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 53ef7b6a56..0b201acc67 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -51,6 +51,7 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabDepArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrow___closed__1; lean_object* lean_array_uget(lean_object*, size_t); +extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__8; lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__5; lean_object* l_Lean_Elab_Term_elabLetDeclAux_match__1(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__1; @@ -93,7 +94,7 @@ extern lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__8; extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2; extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1202____closed__23; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -120,7 +121,6 @@ lean_object* lean_array_get_size(lean_object*); extern lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_expandLetEqnsDecl(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__42; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___boxed(lean_object**); lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -409,7 +409,6 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunB lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__41; extern lean_object* l_Lean_Parser_Term_let_x21___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_expandFunBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -427,7 +426,7 @@ lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, l lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__1; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__1; extern lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__2; lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1___rarg(lean_object*, lean_object*); @@ -442,7 +441,6 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsInto lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux_loop___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabFun_match__1___rarg(lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__1; lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkLetIdDeclView(lean_object*); @@ -455,7 +453,6 @@ lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__17; lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkLetRec(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3476____closed__46; lean_object* l_Lean_setEnv___at_Lean_Elab_Term_declareTacticSyntax___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -1287,111 +1284,99 @@ return x_73; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__2(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, size_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__2(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -if (lean_obj_tag(x_14) == 0) +if (lean_obj_tag(x_10) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_22 = lean_ctor_get(x_14, 0); +x_18 = lean_ctor_get(x_10, 0); +lean_inc(x_18); +lean_dec(x_10); +x_19 = lean_ctor_get(x_1, 0); +lean_inc(x_19); +lean_dec(x_1); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_apply_9(x_20, lean_box(0), x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_21; +} +else +{ +lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_10, 0); lean_inc(x_22); -lean_dec(x_14); -x_23 = lean_ctor_get(x_1, 0); -lean_inc(x_23); -lean_dec(x_1); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_apply_9(x_24, lean_box(0), x_22, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +lean_dec(x_10); +x_23 = 1; +x_24 = x_2 + x_23; +x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(x_3, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_24, x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17); return x_25; } -else -{ -lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_14, 0); -lean_inc(x_26); -lean_dec(x_14); -x_27 = 1; -x_28 = x_2 + x_27; -x_29 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(x_3, x_4, x_5, x_6, x_7, x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_28, x_26, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_29; } } -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, size_t x_12, size_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -uint8_t x_22; -x_22 = x_13 < x_12; -if (x_22 == 0) +uint8_t x_18; +x_18 = x_9 < x_8; +if (x_18 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); -x_23 = lean_ctor_get(x_6, 0); -lean_inc(x_23); -lean_dec(x_6); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_apply_9(x_24, lean_box(0), x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_25; +x_19 = lean_ctor_get(x_2, 0); +lean_inc(x_19); +lean_dec(x_2); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_apply_9(x_20, lean_box(0), x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_21; } 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; -x_26 = lean_array_uget(x_11, x_13); -x_27 = lean_ctor_get(x_6, 1); -lean_inc(x_27); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = lean_array_uget(x_7, x_9); +x_23 = lean_ctor_get(x_2, 1); +lean_inc(x_23); lean_inc(x_1); -lean_inc(x_7); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_28 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__1___boxed), 14, 7); -lean_closure_set(x_28, 0, x_26); -lean_closure_set(x_28, 1, x_8); -lean_closure_set(x_28, 2, x_9); -lean_closure_set(x_28, 3, x_10); -lean_closure_set(x_28, 4, x_7); -lean_closure_set(x_28, 5, x_14); -lean_closure_set(x_28, 6, x_1); -x_29 = lean_box_usize(x_13); -x_30 = lean_box_usize(x_12); -x_31 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__2___boxed), 21, 13); -lean_closure_set(x_31, 0, x_6); -lean_closure_set(x_31, 1, x_29); -lean_closure_set(x_31, 2, x_1); -lean_closure_set(x_31, 3, x_2); -lean_closure_set(x_31, 4, x_3); -lean_closure_set(x_31, 5, x_4); -lean_closure_set(x_31, 6, x_5); -lean_closure_set(x_31, 7, x_7); -lean_closure_set(x_31, 8, x_8); -lean_closure_set(x_31, 9, x_9); -lean_closure_set(x_31, 10, x_10); -lean_closure_set(x_31, 11, x_11); -lean_closure_set(x_31, 12, x_30); -x_32 = lean_apply_11(x_27, lean_box(0), lean_box(0), x_28, x_31, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_32; +lean_inc(x_3); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_24 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__1___boxed), 14, 7); +lean_closure_set(x_24, 0, x_22); +lean_closure_set(x_24, 1, x_4); +lean_closure_set(x_24, 2, x_5); +lean_closure_set(x_24, 3, x_6); +lean_closure_set(x_24, 4, x_3); +lean_closure_set(x_24, 5, x_10); +lean_closure_set(x_24, 6, x_1); +x_25 = lean_box_usize(x_9); +x_26 = lean_box_usize(x_8); +x_27 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__2___boxed), 17, 9); +lean_closure_set(x_27, 0, x_2); +lean_closure_set(x_27, 1, x_25); +lean_closure_set(x_27, 2, x_1); +lean_closure_set(x_27, 3, x_3); +lean_closure_set(x_27, 4, x_4); +lean_closure_set(x_27, 5, x_5); +lean_closure_set(x_27, 6, x_6); +lean_closure_set(x_27, 7, x_7); +lean_closure_set(x_27, 8, x_26); +x_28 = lean_apply_11(x_23, lean_box(0), lean_box(0), x_24, x_27, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_28; } } } @@ -1428,7 +1413,7 @@ static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__8; x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); return x_2; } @@ -1436,10 +1421,9 @@ return x_2; static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("Array.empty"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__6() { @@ -1447,34 +1431,17 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__5; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__7() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("Array.empty"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__7; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__9() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__7; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__5; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_quoteAutoTactic___closed__8; +x_3 = l_Lean_Elab_Term_quoteAutoTactic___closed__6; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1482,7 +1449,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__10() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__8() { _start: { lean_object* x_1; @@ -1490,41 +1457,41 @@ x_1 = lean_mk_string("empty"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__11() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_term_____x5b___x3a___x5d___closed__2; -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__10; +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__12() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__11; +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__9; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__13() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__12; +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__10; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__14() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__12() { _start: { lean_object* x_1; @@ -1532,22 +1499,22 @@ x_1 = lean_mk_string("Syntax.node"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__15() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__14; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__12; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__16() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__14; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__12; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_quoteAutoTactic___closed__15; +x_3 = l_Lean_Elab_Term_quoteAutoTactic___closed__13; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1555,7 +1522,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__17() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1565,13 +1532,35 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__15; +x_2 = l_Lean_Meta_DiscrTree_Trie_format___rarg___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; +x_2 = l_Lean_Meta_DiscrTree_Trie_format___rarg___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__17; -x_2 = l_Lean_Meta_DiscrTree_Trie_format___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__17; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -1579,37 +1568,15 @@ static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; -x_2 = l_Lean_Meta_DiscrTree_Trie_format___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__19; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__20; +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__18; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__22() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__20() { _start: { lean_object* x_1; @@ -1617,22 +1584,22 @@ x_1 = lean_mk_string("Syntax.atom"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__23() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__22; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__20; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__24() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__22; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__20; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_quoteAutoTactic___closed__23; +x_3 = l_Lean_Elab_Term_quoteAutoTactic___closed__21; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1640,17 +1607,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__25() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__17; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__15; x_2 = l_myMacro____x40_Init_Notation___hyg_1202____closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__26() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1660,27 +1627,47 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__27() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__26; +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__24; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__25; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__27; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__27; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; +x_3 = lean_array_push(x_1, x_2); return x_3; } } @@ -1688,7 +1675,7 @@ static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__5; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__28; x_2 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -1699,7 +1686,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__29; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__26; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -1708,9 +1695,11 @@ static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__30; -x_2 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_3 = lean_array_push(x_1, x_2); +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__2; +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__30; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } @@ -1718,8 +1707,8 @@ static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__31; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__26; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__31; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -1728,39 +1717,39 @@ static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__2; -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__32; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__34() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__33; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__35() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__4; x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__26; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__36() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_emptyC___elambda__1___closed__2; +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__33; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__32; +x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__34; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_choiceKind___closed__2; x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__35; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1772,7 +1761,7 @@ static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__34; +x_1 = l_Array_empty___closed__1; x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__36; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -1781,48 +1770,26 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__38() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_choiceKind___closed__2; -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__37; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__39() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Term_quoteAutoTactic___closed__38; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__40() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("invalid auto tactic, identifier is not allowed"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__41() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__39() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__40; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__38; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__42() { +static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__41; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__39; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -1855,7 +1822,7 @@ uint8_t x_16; x_16 = !lean_is_exclusive(x_1); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_17 = lean_ctor_get(x_1, 1); lean_dec(x_17); x_18 = lean_ctor_get(x_1, 0); @@ -1872,12 +1839,12 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec(x_22); -x_25 = l_Lean_Elab_Term_quoteAutoTactic___closed__11; +x_25 = l_Lean_Elab_Term_quoteAutoTactic___closed__9; x_26 = l_Lean_addMacroScope(x_23, x_25, x_20); x_27 = lean_box(0); x_28 = l_Lean_instInhabitedSourceInfo___closed__1; -x_29 = l_Lean_Elab_Term_quoteAutoTactic___closed__9; -x_30 = l_Lean_Elab_Term_quoteAutoTactic___closed__13; +x_29 = l_Lean_Elab_Term_quoteAutoTactic___closed__7; +x_30 = l_Lean_Elab_Term_quoteAutoTactic___closed__11; x_31 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_29); @@ -1887,12 +1854,8 @@ x_32 = lean_array_get_size(x_14); x_33 = lean_usize_of_nat(x_32); lean_dec(x_32); x_34 = 0; -x_35 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__1; -x_36 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; -x_37 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; -x_38 = l_Lean_Elab_Term_quoteAutoTactic___closed__5; -x_39 = l_Lean_Elab_Term_quoteAutoTactic___closed__6; -x_40 = l_Array_term_____x5b___x3a___x5d___closed__2; +x_35 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; +x_36 = l_Array_term_____x5b___x3a___x5d___closed__2; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -1900,97 +1863,97 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_13); -x_41 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(x_13, x_35, x_36, x_37, x_38, x_39, x_28, x_40, x_27, x_27, x_14, x_33, x_34, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_24); -if (lean_obj_tag(x_41) == 0) +x_37 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(x_13, x_35, x_28, x_36, x_27, x_27, x_14, x_33, x_34, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_24); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_43); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_39); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_46); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_42); lean_dec(x_7); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_49 = lean_ctor_get(x_47, 0); -x_50 = l_Lean_Elab_Term_quoteAutoTactic___closed__18; -x_51 = l_Lean_addMacroScope(x_49, x_50, x_45); -x_52 = l_Lean_Elab_Term_quoteAutoTactic___closed__16; -x_53 = l_Lean_Elab_Term_quoteAutoTactic___closed__21; -x_54 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_54, 0, x_28); -lean_ctor_set(x_54, 1, x_52); -lean_ctor_set(x_54, 2, x_51); -lean_ctor_set(x_54, 3, x_53); -x_55 = l_Array_empty___closed__1; -x_56 = lean_array_push(x_55, x_54); -x_57 = l___private_Init_Meta_0__Lean_quoteName(x_13); -x_58 = lean_array_push(x_55, x_57); -x_59 = lean_array_push(x_58, x_42); -x_60 = l_Lean_nullKind___closed__2; -lean_ctor_set(x_1, 1, x_59); -lean_ctor_set(x_1, 0, x_60); -x_61 = lean_array_push(x_56, x_1); -x_62 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_61); -lean_ctor_set(x_47, 0, x_63); -return x_47; +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_45 = lean_ctor_get(x_43, 0); +x_46 = l_Lean_Elab_Term_quoteAutoTactic___closed__16; +x_47 = l_Lean_addMacroScope(x_45, x_46, x_41); +x_48 = l_Lean_Elab_Term_quoteAutoTactic___closed__14; +x_49 = l_Lean_Elab_Term_quoteAutoTactic___closed__19; +x_50 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_50, 0, x_28); +lean_ctor_set(x_50, 1, x_48); +lean_ctor_set(x_50, 2, x_47); +lean_ctor_set(x_50, 3, x_49); +x_51 = l_Array_empty___closed__1; +x_52 = lean_array_push(x_51, x_50); +x_53 = l___private_Init_Meta_0__Lean_quoteName(x_13); +x_54 = lean_array_push(x_51, x_53); +x_55 = lean_array_push(x_54, x_38); +x_56 = l_Lean_nullKind___closed__2; +lean_ctor_set(x_1, 1, x_55); +lean_ctor_set(x_1, 0, x_56); +x_57 = lean_array_push(x_52, x_1); +x_58 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +lean_ctor_set(x_43, 0, x_59); +return x_43; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_64 = lean_ctor_get(x_47, 0); -x_65 = lean_ctor_get(x_47, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_47); -x_66 = l_Lean_Elab_Term_quoteAutoTactic___closed__18; -x_67 = l_Lean_addMacroScope(x_64, x_66, x_45); -x_68 = l_Lean_Elab_Term_quoteAutoTactic___closed__16; -x_69 = l_Lean_Elab_Term_quoteAutoTactic___closed__21; -x_70 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_70, 0, x_28); -lean_ctor_set(x_70, 1, x_68); -lean_ctor_set(x_70, 2, x_67); -lean_ctor_set(x_70, 3, x_69); -x_71 = l_Array_empty___closed__1; -x_72 = lean_array_push(x_71, x_70); -x_73 = l___private_Init_Meta_0__Lean_quoteName(x_13); -x_74 = lean_array_push(x_71, x_73); -x_75 = lean_array_push(x_74, x_42); -x_76 = l_Lean_nullKind___closed__2; -lean_ctor_set(x_1, 1, x_75); -lean_ctor_set(x_1, 0, x_76); -x_77 = lean_array_push(x_72, x_1); -x_78 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_65); -return x_80; +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_60 = lean_ctor_get(x_43, 0); +x_61 = lean_ctor_get(x_43, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_43); +x_62 = l_Lean_Elab_Term_quoteAutoTactic___closed__16; +x_63 = l_Lean_addMacroScope(x_60, x_62, x_41); +x_64 = l_Lean_Elab_Term_quoteAutoTactic___closed__14; +x_65 = l_Lean_Elab_Term_quoteAutoTactic___closed__19; +x_66 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_66, 0, x_28); +lean_ctor_set(x_66, 1, x_64); +lean_ctor_set(x_66, 2, x_63); +lean_ctor_set(x_66, 3, x_65); +x_67 = l_Array_empty___closed__1; +x_68 = lean_array_push(x_67, x_66); +x_69 = l___private_Init_Meta_0__Lean_quoteName(x_13); +x_70 = lean_array_push(x_67, x_69); +x_71 = lean_array_push(x_70, x_38); +x_72 = l_Lean_nullKind___closed__2; +lean_ctor_set(x_1, 1, x_71); +lean_ctor_set(x_1, 0, x_72); +x_73 = lean_array_push(x_68, x_1); +x_74 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_73); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_61); +return x_76; } } else { -uint8_t x_81; +uint8_t x_77; lean_free_object(x_1); lean_dec(x_13); lean_dec(x_7); @@ -1999,63 +1962,59 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_81 = !lean_is_exclusive(x_41); -if (x_81 == 0) +x_77 = !lean_is_exclusive(x_37); +if (x_77 == 0) { -return x_41; +return x_37; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_41, 0); -x_83 = lean_ctor_get(x_41, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_41); -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_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_37, 0); +x_79 = lean_ctor_get(x_37, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_37); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; } } } else { -lean_object* x_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; size_t x_99; size_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_object* x_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; size_t x_95; size_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_dec(x_1); -x_85 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_86 = lean_ctor_get(x_85, 0); +x_81 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_88 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_87); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = l_Lean_Elab_Term_quoteAutoTactic___closed__11; -x_92 = l_Lean_addMacroScope(x_89, x_91, x_86); -x_93 = lean_box(0); -x_94 = l_Lean_instInhabitedSourceInfo___closed__1; -x_95 = l_Lean_Elab_Term_quoteAutoTactic___closed__9; -x_96 = l_Lean_Elab_Term_quoteAutoTactic___closed__13; -x_97 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_97, 0, x_94); -lean_ctor_set(x_97, 1, x_95); -lean_ctor_set(x_97, 2, x_92); -lean_ctor_set(x_97, 3, x_96); -x_98 = lean_array_get_size(x_14); -x_99 = lean_usize_of_nat(x_98); -lean_dec(x_98); -x_100 = 0; -x_101 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__1; -x_102 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; -x_103 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; -x_104 = l_Lean_Elab_Term_quoteAutoTactic___closed__5; -x_105 = l_Lean_Elab_Term_quoteAutoTactic___closed__6; -x_106 = l_Array_term_____x5b___x3a___x5d___closed__2; +lean_dec(x_84); +x_87 = l_Lean_Elab_Term_quoteAutoTactic___closed__9; +x_88 = l_Lean_addMacroScope(x_85, x_87, x_82); +x_89 = lean_box(0); +x_90 = l_Lean_instInhabitedSourceInfo___closed__1; +x_91 = l_Lean_Elab_Term_quoteAutoTactic___closed__7; +x_92 = l_Lean_Elab_Term_quoteAutoTactic___closed__11; +x_93 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_93, 0, x_90); +lean_ctor_set(x_93, 1, x_91); +lean_ctor_set(x_93, 2, x_88); +lean_ctor_set(x_93, 3, x_92); +x_94 = lean_array_get_size(x_14); +x_95 = lean_usize_of_nat(x_94); +lean_dec(x_94); +x_96 = 0; +x_97 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; +x_98 = l_Array_term_____x5b___x3a___x5d___closed__2; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -2063,75 +2022,75 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_13); -x_107 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(x_13, x_101, x_102, x_103, x_104, x_105, x_94, x_106, x_93, x_93, x_14, x_99, x_100, x_97, x_2, x_3, x_4, x_5, x_6, x_7, x_90); -if (lean_obj_tag(x_107) == 0) +x_99 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(x_13, x_97, x_90, x_98, x_89, x_89, x_14, x_95, x_96, x_93, x_2, x_3, x_4, x_5, x_6, x_7, x_86); +if (lean_obj_tag(x_99) == 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; 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_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_110 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_109); +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_101); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_112); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec(x_102); +x_105 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_104); lean_dec(x_7); -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; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_108 = x_105; } else { - lean_dec_ref(x_113); - x_116 = lean_box(0); + lean_dec_ref(x_105); + x_108 = lean_box(0); } -x_117 = l_Lean_Elab_Term_quoteAutoTactic___closed__18; -x_118 = l_Lean_addMacroScope(x_114, x_117, x_111); -x_119 = l_Lean_Elab_Term_quoteAutoTactic___closed__16; -x_120 = l_Lean_Elab_Term_quoteAutoTactic___closed__21; -x_121 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_121, 0, x_94); -lean_ctor_set(x_121, 1, x_119); -lean_ctor_set(x_121, 2, x_118); -lean_ctor_set(x_121, 3, x_120); -x_122 = l_Array_empty___closed__1; -x_123 = lean_array_push(x_122, x_121); -x_124 = l___private_Init_Meta_0__Lean_quoteName(x_13); -x_125 = lean_array_push(x_122, x_124); -x_126 = lean_array_push(x_125, x_108); -x_127 = l_Lean_nullKind___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_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_130); -lean_ctor_set(x_131, 1, x_129); -if (lean_is_scalar(x_116)) { - x_132 = lean_alloc_ctor(0, 2, 0); +x_109 = l_Lean_Elab_Term_quoteAutoTactic___closed__16; +x_110 = l_Lean_addMacroScope(x_106, x_109, x_103); +x_111 = l_Lean_Elab_Term_quoteAutoTactic___closed__14; +x_112 = l_Lean_Elab_Term_quoteAutoTactic___closed__19; +x_113 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_113, 0, x_90); +lean_ctor_set(x_113, 1, x_111); +lean_ctor_set(x_113, 2, x_110); +lean_ctor_set(x_113, 3, x_112); +x_114 = l_Array_empty___closed__1; +x_115 = lean_array_push(x_114, x_113); +x_116 = l___private_Init_Meta_0__Lean_quoteName(x_13); +x_117 = lean_array_push(x_114, x_116); +x_118 = lean_array_push(x_117, x_100); +x_119 = l_Lean_nullKind___closed__2; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = lean_array_push(x_115, x_120); +x_122 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_121); +if (lean_is_scalar(x_108)) { + x_124 = lean_alloc_ctor(0, 2, 0); } else { - x_132 = x_116; + x_124 = x_108; } -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_115); -return x_132; +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_107); +return x_124; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_dec(x_13); lean_dec(x_7); lean_dec(x_6); @@ -2139,216 +2098,216 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_133 = lean_ctor_get(x_107, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_107, 1); -lean_inc(x_134); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_135 = x_107; +x_125 = lean_ctor_get(x_99, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_99, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_127 = x_99; } else { - lean_dec_ref(x_107); - x_135 = lean_box(0); + lean_dec_ref(x_99); + x_127 = lean_box(0); } -if (lean_is_scalar(x_135)) { - x_136 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_127)) { + x_128 = lean_alloc_ctor(1, 2, 0); } else { - x_136 = x_135; + x_128 = x_127; } -lean_ctor_set(x_136, 0, x_133); -lean_ctor_set(x_136, 1, x_134); -return x_136; +lean_ctor_set(x_128, 0, x_125); +lean_ctor_set(x_128, 1, x_126); +return x_128; } } } else { -lean_object* x_137; lean_object* x_138; +lean_object* x_129; lean_object* x_130; lean_dec(x_14); lean_dec(x_13); -x_137 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__1___closed__7; -x_138 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_1, x_137, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_129 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__1___closed__7; +x_130 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_1, x_129, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -return x_138; +return x_130; } } case 2: { -uint8_t x_139; -x_139 = !lean_is_exclusive(x_1); -if (x_139 == 0) +uint8_t x_131; +x_131 = !lean_is_exclusive(x_1); +if (x_131 == 0) { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; -x_140 = lean_ctor_get(x_1, 1); -x_141 = lean_ctor_get(x_1, 0); -lean_dec(x_141); -x_142 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_132 = lean_ctor_get(x_1, 1); +x_133 = lean_ctor_get(x_1, 0); +lean_dec(x_133); +x_134 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -lean_dec(x_142); -x_145 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_144); +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_Term_getMainModule___rarg(x_7, x_136); lean_dec(x_7); -x_146 = !lean_is_exclusive(x_145); -if (x_146 == 0) +x_138 = !lean_is_exclusive(x_137); +if (x_138 == 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; -x_147 = lean_ctor_get(x_145, 0); -x_148 = l_Lean_Elab_Term_quoteAutoTactic___closed__25; -x_149 = l_Lean_addMacroScope(x_147, x_148, x_143); -x_150 = l_Lean_instInhabitedSourceInfo___closed__1; -x_151 = l_Lean_Elab_Term_quoteAutoTactic___closed__24; -x_152 = l_Lean_Elab_Term_quoteAutoTactic___closed__28; -x_153 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_153, 0, x_150); -lean_ctor_set(x_153, 1, x_151); -lean_ctor_set(x_153, 2, x_149); -lean_ctor_set(x_153, 3, x_152); -x_154 = l_Array_empty___closed__1; -x_155 = lean_array_push(x_154, x_153); -x_156 = l_Lean_Syntax_mkStrLit(x_140, x_150); -lean_dec(x_140); -x_157 = l_Lean_Elab_Term_quoteAutoTactic___closed__39; -x_158 = lean_array_push(x_157, x_156); -x_159 = l_Lean_nullKind___closed__2; +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; +x_139 = lean_ctor_get(x_137, 0); +x_140 = l_Lean_Elab_Term_quoteAutoTactic___closed__23; +x_141 = l_Lean_addMacroScope(x_139, x_140, x_135); +x_142 = l_Lean_instInhabitedSourceInfo___closed__1; +x_143 = l_Lean_Elab_Term_quoteAutoTactic___closed__22; +x_144 = l_Lean_Elab_Term_quoteAutoTactic___closed__26; +x_145 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_145, 0, x_142); +lean_ctor_set(x_145, 1, x_143); +lean_ctor_set(x_145, 2, x_141); +lean_ctor_set(x_145, 3, x_144); +x_146 = l_Array_empty___closed__1; +x_147 = lean_array_push(x_146, x_145); +x_148 = l_Lean_Syntax_mkStrLit(x_132, x_142); +lean_dec(x_132); +x_149 = l_Lean_Elab_Term_quoteAutoTactic___closed__37; +x_150 = lean_array_push(x_149, x_148); +x_151 = l_Lean_nullKind___closed__2; lean_ctor_set_tag(x_1, 1); -lean_ctor_set(x_1, 1, x_158); -lean_ctor_set(x_1, 0, x_159); -x_160 = lean_array_push(x_155, x_1); -x_161 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_1, 1, x_150); +lean_ctor_set(x_1, 0, x_151); +x_152 = lean_array_push(x_147, x_1); +x_153 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_152); +lean_ctor_set(x_137, 0, x_154); +return x_137; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_155 = lean_ctor_get(x_137, 0); +x_156 = lean_ctor_get(x_137, 1); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_137); +x_157 = l_Lean_Elab_Term_quoteAutoTactic___closed__23; +x_158 = l_Lean_addMacroScope(x_155, x_157, x_135); +x_159 = l_Lean_instInhabitedSourceInfo___closed__1; +x_160 = l_Lean_Elab_Term_quoteAutoTactic___closed__22; +x_161 = l_Lean_Elab_Term_quoteAutoTactic___closed__26; +x_162 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_162, 0, x_159); lean_ctor_set(x_162, 1, x_160); -lean_ctor_set(x_145, 0, x_162); -return x_145; -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_163 = lean_ctor_get(x_145, 0); -x_164 = lean_ctor_get(x_145, 1); -lean_inc(x_164); -lean_inc(x_163); -lean_dec(x_145); -x_165 = l_Lean_Elab_Term_quoteAutoTactic___closed__25; -x_166 = l_Lean_addMacroScope(x_163, x_165, x_143); -x_167 = l_Lean_instInhabitedSourceInfo___closed__1; -x_168 = l_Lean_Elab_Term_quoteAutoTactic___closed__24; -x_169 = l_Lean_Elab_Term_quoteAutoTactic___closed__28; -x_170 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_170, 0, x_167); -lean_ctor_set(x_170, 1, x_168); -lean_ctor_set(x_170, 2, x_166); -lean_ctor_set(x_170, 3, x_169); -x_171 = l_Array_empty___closed__1; -x_172 = lean_array_push(x_171, x_170); -x_173 = l_Lean_Syntax_mkStrLit(x_140, x_167); -lean_dec(x_140); -x_174 = l_Lean_Elab_Term_quoteAutoTactic___closed__39; -x_175 = lean_array_push(x_174, x_173); -x_176 = l_Lean_nullKind___closed__2; +lean_ctor_set(x_162, 2, x_158); +lean_ctor_set(x_162, 3, x_161); +x_163 = l_Array_empty___closed__1; +x_164 = lean_array_push(x_163, x_162); +x_165 = l_Lean_Syntax_mkStrLit(x_132, x_159); +lean_dec(x_132); +x_166 = l_Lean_Elab_Term_quoteAutoTactic___closed__37; +x_167 = lean_array_push(x_166, x_165); +x_168 = l_Lean_nullKind___closed__2; lean_ctor_set_tag(x_1, 1); -lean_ctor_set(x_1, 1, x_175); -lean_ctor_set(x_1, 0, x_176); -x_177 = lean_array_push(x_172, x_1); -x_178 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_177); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_164); -return x_180; +lean_ctor_set(x_1, 1, x_167); +lean_ctor_set(x_1, 0, x_168); +x_169 = lean_array_push(x_164, x_1); +x_170 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_169); +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_156); +return x_172; } } else { -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_181 = lean_ctor_get(x_1, 1); -lean_inc(x_181); +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_173 = lean_ctor_get(x_1, 1); +lean_inc(x_173); lean_dec(x_1); -x_182 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_174 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -lean_dec(x_182); -x_185 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_184); +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec(x_174); +x_177 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_176); lean_dec(x_7); -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - lean_ctor_release(x_185, 1); - x_188 = x_185; +x_178 = lean_ctor_get(x_177, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_177, 1); +lean_inc(x_179); +if (lean_is_exclusive(x_177)) { + lean_ctor_release(x_177, 0); + lean_ctor_release(x_177, 1); + x_180 = x_177; } else { - lean_dec_ref(x_185); - x_188 = lean_box(0); + lean_dec_ref(x_177); + x_180 = lean_box(0); } -x_189 = l_Lean_Elab_Term_quoteAutoTactic___closed__25; -x_190 = l_Lean_addMacroScope(x_186, x_189, x_183); -x_191 = l_Lean_instInhabitedSourceInfo___closed__1; -x_192 = l_Lean_Elab_Term_quoteAutoTactic___closed__24; -x_193 = l_Lean_Elab_Term_quoteAutoTactic___closed__28; -x_194 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_194, 0, x_191); -lean_ctor_set(x_194, 1, x_192); -lean_ctor_set(x_194, 2, x_190); -lean_ctor_set(x_194, 3, x_193); -x_195 = l_Array_empty___closed__1; -x_196 = lean_array_push(x_195, x_194); -x_197 = l_Lean_Syntax_mkStrLit(x_181, x_191); -lean_dec(x_181); -x_198 = l_Lean_Elab_Term_quoteAutoTactic___closed__39; -x_199 = lean_array_push(x_198, x_197); -x_200 = l_Lean_nullKind___closed__2; -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_199); -x_202 = lean_array_push(x_196, x_201); -x_203 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_202); -if (lean_is_scalar(x_188)) { - x_205 = lean_alloc_ctor(0, 2, 0); +x_181 = l_Lean_Elab_Term_quoteAutoTactic___closed__23; +x_182 = l_Lean_addMacroScope(x_178, x_181, x_175); +x_183 = l_Lean_instInhabitedSourceInfo___closed__1; +x_184 = l_Lean_Elab_Term_quoteAutoTactic___closed__22; +x_185 = l_Lean_Elab_Term_quoteAutoTactic___closed__26; +x_186 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_186, 0, x_183); +lean_ctor_set(x_186, 1, x_184); +lean_ctor_set(x_186, 2, x_182); +lean_ctor_set(x_186, 3, x_185); +x_187 = l_Array_empty___closed__1; +x_188 = lean_array_push(x_187, x_186); +x_189 = l_Lean_Syntax_mkStrLit(x_173, x_183); +lean_dec(x_173); +x_190 = l_Lean_Elab_Term_quoteAutoTactic___closed__37; +x_191 = lean_array_push(x_190, x_189); +x_192 = l_Lean_nullKind___closed__2; +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_191); +x_194 = lean_array_push(x_188, x_193); +x_195 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +if (lean_is_scalar(x_180)) { + x_197 = lean_alloc_ctor(0, 2, 0); } else { - x_205 = x_188; + x_197 = x_180; } -lean_ctor_set(x_205, 0, x_204); -lean_ctor_set(x_205, 1, x_187); -return x_205; +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_179); +return x_197; } } default: { -lean_object* x_206; lean_object* x_207; -x_206 = l_Lean_Elab_Term_quoteAutoTactic___closed__42; -x_207 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_1, x_206, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_198; lean_object* x_199; +x_198 = l_Lean_Elab_Term_quoteAutoTactic___closed__40; +x_199 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_1, x_198, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -return x_207; +return x_199; } } } @@ -2393,19 +2352,15 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; -lean_object* x_21 = _args[20]; _start: { -size_t x_22; size_t x_23; lean_object* x_24; -x_22 = lean_unbox_usize(x_2); +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_2); lean_dec(x_2); -x_23 = lean_unbox_usize(x_13); -lean_dec(x_13); -x_24 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__2(x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_23, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_24; +x_19 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___lambda__2(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_19, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___boxed(lean_object** _args) { @@ -2426,19 +2381,15 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; -lean_object* x_21 = _args[20]; _start: { -size_t x_22; size_t x_23; lean_object* x_24; -x_22 = lean_unbox_usize(x_12); -lean_dec(x_12); -x_23 = lean_unbox_usize(x_13); -lean_dec(x_13); -x_24 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22, x_23, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_24; +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_19 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_19, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } lean_object* l_Lean_throwKernelException___at_Lean_Elab_Term_declareTacticSyntax___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -21256,10 +21207,6 @@ l_Lean_Elab_Term_quoteAutoTactic___closed__39 = _init_l_Lean_Elab_Term_quoteAuto lean_mark_persistent(l_Lean_Elab_Term_quoteAutoTactic___closed__39); l_Lean_Elab_Term_quoteAutoTactic___closed__40 = _init_l_Lean_Elab_Term_quoteAutoTactic___closed__40(); lean_mark_persistent(l_Lean_Elab_Term_quoteAutoTactic___closed__40); -l_Lean_Elab_Term_quoteAutoTactic___closed__41 = _init_l_Lean_Elab_Term_quoteAutoTactic___closed__41(); -lean_mark_persistent(l_Lean_Elab_Term_quoteAutoTactic___closed__41); -l_Lean_Elab_Term_quoteAutoTactic___closed__42 = _init_l_Lean_Elab_Term_quoteAutoTactic___closed__42(); -lean_mark_persistent(l_Lean_Elab_Term_quoteAutoTactic___closed__42); l_Lean_Elab_Term_declareTacticSyntax___closed__1 = _init_l_Lean_Elab_Term_declareTacticSyntax___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___closed__1); l_Lean_Elab_Term_declareTacticSyntax___closed__2 = _init_l_Lean_Elab_Term_declareTacticSyntax___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 2c52057ed0..a07f6f0332 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -6668,15 +6668,15 @@ uint8_t x_20; x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_35; +lean_object* x_21; lean_object* x_22; uint8_t x_23; x_21 = lean_ctor_get(x_19, 0); x_22 = lean_ctor_get(x_19, 1); -x_35 = l_Lean_Expr_hasFVar(x_21); -if (x_35 == 0) +x_23 = l_Lean_Expr_hasFVar(x_21); +if (x_23 == 0) { -uint8_t x_36; -x_36 = l_Lean_Expr_hasMVar(x_21); -if (x_36 == 0) +uint8_t x_24; +x_24 = l_Lean_Expr_hasMVar(x_21); +if (x_24 == 0) { lean_dec(x_7); lean_dec(x_6); @@ -6688,168 +6688,222 @@ return x_19; } else { +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_free_object(x_19); -x_23 = x_16; -goto block_34; -} -} -else -{ -lean_free_object(x_19); -x_23 = x_16; -goto block_34; -} -block_34: -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -lean_dec(x_23); -x_24 = l_Lean_indentExpr(x_21); -x_25 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__5; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = l_Lean_KernelException_toMessageData___closed__15; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_22); +x_25 = l_Lean_indentExpr(x_21); +x_26 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__5; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +x_28 = l_Lean_KernelException_toMessageData___closed__15; +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_22); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) { -return x_29; +return x_30; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_29); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_51; -x_37 = lean_ctor_get(x_19, 0); -x_38 = lean_ctor_get(x_19, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_19); -x_51 = l_Lean_Expr_hasFVar(x_37); -if (x_51 == 0) -{ -uint8_t x_52; -x_52 = l_Lean_Expr_hasMVar(x_37); -if (x_52 == 0) -{ -lean_object* x_53; +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_free_object(x_19); +x_35 = l_Lean_indentExpr(x_21); +x_36 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__5; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_Lean_KernelException_toMessageData___closed__15; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_22); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_37); -lean_ctor_set(x_53, 1, x_38); -return x_53; +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +return x_40; } else { -x_39 = x_16; -goto block_50; -} -} -else -{ -x_39 = x_16; -goto block_50; -} -block_50: -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -lean_dec(x_39); -x_40 = l_Lean_indentExpr(x_37); -x_41 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__5; -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = l_Lean_KernelException_toMessageData___closed__15; -x_44 = lean_alloc_ctor(10, 2, 0); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_40); +x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_38); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -if (lean_is_exclusive(x_45)) { - lean_ctor_release(x_45, 0); - lean_ctor_release(x_45, 1); - x_48 = x_45; -} else { - lean_dec_ref(x_45); - x_48 = lean_box(0); -} -if (lean_is_scalar(x_48)) { - x_49 = lean_alloc_ctor(1, 2, 0); -} else { - x_49 = x_48; -} -lean_ctor_set(x_49, 0, x_46); -lean_ctor_set(x_49, 1, x_47); -return x_49; +return x_44; } } } else { -uint8_t x_54; +lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_45 = lean_ctor_get(x_19, 0); +x_46 = lean_ctor_get(x_19, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_19); +x_47 = l_Lean_Expr_hasFVar(x_45); +if (x_47 == 0) +{ +uint8_t x_48; +x_48 = l_Lean_Expr_hasMVar(x_45); +if (x_48 == 0) +{ +lean_object* x_49; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_54 = !lean_is_exclusive(x_19); -if (x_54 == 0) +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_45); +lean_ctor_set(x_49, 1, x_46); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_50 = l_Lean_indentExpr(x_45); +x_51 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__5; +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Lean_KernelException_toMessageData___closed__15; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_60 = l_Lean_indentExpr(x_45); +x_61 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__5; +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_KernelException_toMessageData___closed__15; +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_64, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_68 = x_65; +} else { + lean_dec_ref(x_65); + x_68 = lean_box(0); +} +if (lean_is_scalar(x_68)) { + x_69 = lean_alloc_ctor(1, 2, 0); +} else { + x_69 = x_68; +} +lean_ctor_set(x_69, 0, x_66); +lean_ctor_set(x_69, 1, x_67); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_70 = !lean_is_exclusive(x_19); +if (x_70 == 0) { return x_19; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_19, 0); -x_56 = lean_ctor_get(x_19, 1); -lean_inc(x_56); -lean_inc(x_55); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_19, 0); +x_72 = lean_ctor_get(x_19, 1); +lean_inc(x_72); +lean_inc(x_71); lean_dec(x_19); -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; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; } } } else { -uint8_t x_58; +uint8_t x_74; lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); @@ -6857,30 +6911,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_58 = !lean_is_exclusive(x_17); -if (x_58 == 0) +x_74 = !lean_is_exclusive(x_17); +if (x_74 == 0) { return x_17; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_17, 0); -x_60 = lean_ctor_get(x_17, 1); -lean_inc(x_60); -lean_inc(x_59); +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_17, 0); +x_76 = lean_ctor_get(x_17, 1); +lean_inc(x_76); +lean_inc(x_75); lean_dec(x_17); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } } else { -uint8_t x_62; +uint8_t x_78; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -6888,23 +6942,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_62 = !lean_is_exclusive(x_9); -if (x_62 == 0) +x_78 = !lean_is_exclusive(x_9); +if (x_78 == 0) { return x_9; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_9, 0); -x_64 = lean_ctor_get(x_9, 1); -lean_inc(x_64); -lean_inc(x_63); +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_9, 0); +x_80 = lean_ctor_get(x_9, 1); +lean_inc(x_80); +lean_inc(x_79); lean_dec(x_9); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; } } } @@ -10489,38 +10543,38 @@ return x_36; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_131; uint8_t x_132; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_138; uint8_t x_139; x_37 = lean_unsigned_to_nat(1u); x_38 = l_Lean_Syntax_getArg(x_1, x_37); -x_131 = l_Lean_nullKind___closed__2; +x_138 = l_Lean_nullKind___closed__2; lean_inc(x_38); -x_132 = l_Lean_Syntax_isOfKind(x_38, x_131); -if (x_132 == 0) +x_139 = l_Lean_Syntax_isOfKind(x_38, x_138); +if (x_139 == 0) { -lean_object* x_133; -x_133 = lean_box(0); -x_39 = x_133; -goto block_130; +lean_object* x_140; +x_140 = lean_box(0); +x_39 = x_140; +goto block_137; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_134 = l_Lean_Syntax_getArgs(x_38); -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); -lean_dec(x_135); -if (x_137 == 0) +lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_141 = l_Lean_Syntax_getArgs(x_38); +x_142 = lean_array_get_size(x_141); +lean_dec(x_141); +x_143 = lean_unsigned_to_nat(0u); +x_144 = lean_nat_dec_eq(x_142, x_143); +lean_dec(x_142); +if (x_144 == 0) { -lean_object* x_138; -x_138 = lean_box(0); -x_39 = x_138; -goto block_130; +lean_object* x_145; +x_145 = lean_box(0); +x_39 = x_145; +goto block_137; } else { -lean_object* x_139; lean_object* x_140; +lean_object* x_146; lean_object* x_147; lean_dec(x_38); lean_dec(x_8); lean_dec(x_7); @@ -10530,14 +10584,14 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_139 = l_Lean_instToExprUnit___lambda__1___closed__3; -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_9); -return x_140; +x_146 = l_Lean_instToExprUnit___lambda__1___closed__3; +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_9); +return x_147; } } -block_130: +block_137: { lean_object* x_40; uint8_t x_41; lean_dec(x_39); @@ -10585,43 +10639,314 @@ return x_49; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_64; x_50 = lean_unsigned_to_nat(0u); x_51 = l_Lean_Syntax_getArg(x_38, x_50); x_52 = l_Lean_Syntax_getArg(x_38, x_37); lean_dec(x_38); lean_inc(x_52); -x_53 = l_Lean_Syntax_isOfKind(x_52, x_40); -if (x_53 == 0) +x_64 = l_Lean_Syntax_isOfKind(x_52, x_40); +if (x_64 == 0) { -lean_object* x_54; lean_object* x_55; +lean_object* x_65; +lean_dec(x_1); +x_65 = lean_box(0); +x_53 = x_65; +goto block_63; +} +else +{ +lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_66 = l_Lean_Syntax_getArgs(x_52); +x_67 = lean_array_get_size(x_66); +lean_dec(x_66); +x_68 = lean_nat_dec_eq(x_67, x_37); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; +lean_dec(x_1); +x_69 = lean_box(0); +x_53 = x_69; +goto block_63; +} +else +{ +lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_70 = l_Lean_Syntax_getArg(x_52, x_50); lean_dec(x_52); +x_71 = l_myMacro____x40_Init_Notation___hyg_12721____closed__8; +lean_inc(x_70); +x_72 = l_Lean_Syntax_isOfKind(x_70, 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_70); +x_74 = l_Lean_Syntax_isOfKind(x_70, x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_70); lean_dec(x_51); lean_dec(x_2); lean_dec(x_1); -x_54 = l_Lean_Elab_Term_elabParen___closed__3; -x_55 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_54, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_75 = l_Lean_Elab_Term_elabParen___closed__3; +x_76 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_75, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_55; +return x_76; } else { -lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_56 = l_Lean_Syntax_getArgs(x_52); -x_57 = lean_array_get_size(x_56); -lean_dec(x_56); -x_58 = lean_nat_dec_eq(x_57, x_37); -if (x_58 == 0) +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_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; uint8_t x_107; +x_77 = l_Lean_Syntax_getArg(x_70, x_37); +lean_dec(x_70); +x_78 = l_Lean_Syntax_getArgs(x_77); +lean_dec(x_77); +x_79 = l_Lean_mkOptionalNode___closed__2; +x_80 = lean_array_push(x_79, x_51); +x_81 = l_Lean_Syntax_SepArray_getElems___rarg(x_78); +lean_dec(x_78); +x_82 = l_Array_append___rarg(x_80, x_81); +lean_dec(x_81); +x_83 = lean_st_ref_get(x_8, x_9); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_86 = lean_ctor_get(x_84, 0); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_ctor_get(x_7, 3); +lean_inc(x_87); +x_88 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_85); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +x_91 = lean_ctor_get(x_7, 1); +lean_inc(x_91); +x_92 = lean_ctor_get(x_7, 2); +lean_inc(x_92); +x_93 = lean_st_ref_get(x_8, x_90); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +lean_inc(x_86); +x_97 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_97, 0, x_86); +x_98 = x_97; +x_99 = lean_environment_main_module(x_86); +x_100 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_100, 2, x_89); +lean_ctor_set(x_100, 3, x_91); +lean_ctor_set(x_100, 4, x_92); +lean_ctor_set(x_100, 5, x_87); +x_101 = l_Lean_Elab_Term_mkPairs(x_82, x_100, x_96); +lean_dec(x_82); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = lean_st_ref_take(x_8, x_95); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = !lean_is_exclusive(x_105); +if (x_107 == 0) { -uint8_t x_59; -lean_dec(x_52); +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_105, 1); +lean_dec(x_108); +lean_ctor_set(x_105, 1, x_103); +x_109 = lean_st_ref_set(x_8, x_105, x_106); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +lean_dec(x_109); +x_10 = x_102; +x_11 = x_110; +goto block_32; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_111 = lean_ctor_get(x_105, 0); +x_112 = lean_ctor_get(x_105, 2); +x_113 = lean_ctor_get(x_105, 3); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_105); +x_114 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_114, 0, x_111); +lean_ctor_set(x_114, 1, x_103); +lean_ctor_set(x_114, 2, x_112); +lean_ctor_set(x_114, 3, x_113); +x_115 = lean_st_ref_set(x_8, x_114, x_106); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +lean_dec(x_115); +x_10 = x_102; +x_11 = x_116; +goto block_32; +} +} +} +else +{ +lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_120; +lean_dec(x_2); lean_dec(x_1); -x_59 = lean_nat_dec_eq(x_57, x_50); +x_117 = l_Lean_Syntax_getArg(x_70, x_37); +lean_dec(x_70); +x_118 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); +lean_closure_set(x_118, 0, x_117); +x_119 = 1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_120 = l_Lean_Elab_Term_withSynthesize___rarg(x_118, x_119, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec(x_120); +x_123 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_123, 0, x_121); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_123); +x_124 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot(x_51, x_123, x_3, x_4, x_5, x_6, x_7, x_8, x_122); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = lean_box(0); +x_128 = l_Lean_Elab_Term_ensureHasType(x_123, x_125, x_127, x_3, x_4, x_5, x_6, x_7, x_8, x_126); +return x_128; +} +else +{ +uint8_t x_129; +lean_dec(x_123); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_129 = !lean_is_exclusive(x_124); +if (x_129 == 0) +{ +return x_124; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_124, 0); +x_131 = lean_ctor_get(x_124, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_124); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +return x_132; +} +} +} +else +{ +uint8_t x_133; +lean_dec(x_51); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_133 = !lean_is_exclusive(x_120); +if (x_133 == 0) +{ +return x_120; +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_120, 0); +x_135 = lean_ctor_get(x_120, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_120); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +} +} +} +} +block_63: +{ +uint8_t x_54; +lean_dec(x_53); +lean_inc(x_52); +x_54 = l_Lean_Syntax_isOfKind(x_52, x_40); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_52); +lean_dec(x_51); +lean_dec(x_2); +x_55 = l_Lean_Elab_Term_elabParen___closed__3; +x_56 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_57 = l_Lean_Syntax_getArgs(x_52); +lean_dec(x_52); +x_58 = lean_array_get_size(x_57); lean_dec(x_57); +x_59 = lean_nat_dec_eq(x_58, x_50); +lean_dec(x_58); if (x_59 == 0) { lean_object* x_60; lean_object* x_61; @@ -10643,253 +10968,6 @@ x_62 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot(x_51, x_ return x_62; } } -else -{ -lean_object* x_63; lean_object* x_64; uint8_t x_65; -lean_dec(x_57); -x_63 = l_Lean_Syntax_getArg(x_52, x_50); -lean_dec(x_52); -x_64 = l_myMacro____x40_Init_Notation___hyg_12721____closed__8; -lean_inc(x_63); -x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); -if (x_65 == 0) -{ -lean_object* x_66; uint8_t x_67; -x_66 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; -lean_inc(x_63); -x_67 = l_Lean_Syntax_isOfKind(x_63, x_66); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; -lean_dec(x_63); -lean_dec(x_51); -lean_dec(x_2); -lean_dec(x_1); -x_68 = l_Lean_Elab_Term_elabParen___closed__3; -x_69 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(x_68, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_69; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; 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; -x_70 = l_Lean_Syntax_getArg(x_63, x_37); -lean_dec(x_63); -x_71 = l_Lean_Syntax_getArgs(x_70); -lean_dec(x_70); -x_72 = l_Lean_mkOptionalNode___closed__2; -x_73 = lean_array_push(x_72, x_51); -x_74 = l_Lean_Syntax_SepArray_getElems___rarg(x_71); -lean_dec(x_71); -x_75 = l_Array_append___rarg(x_73, x_74); -lean_dec(x_74); -x_76 = lean_st_ref_get(x_8, x_9); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_ctor_get(x_77, 0); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_ctor_get(x_7, 3); -lean_inc(x_80); -x_81 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_78); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_ctor_get(x_7, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_7, 2); -lean_inc(x_85); -x_86 = lean_st_ref_get(x_8, x_83); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -lean_inc(x_79); -x_90 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_90, 0, x_79); -x_91 = x_90; -x_92 = lean_environment_main_module(x_79); -x_93 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -lean_ctor_set(x_93, 2, x_82); -lean_ctor_set(x_93, 3, x_84); -lean_ctor_set(x_93, 4, x_85); -lean_ctor_set(x_93, 5, x_80); -x_94 = l_Lean_Elab_Term_mkPairs(x_75, x_93, x_89); -lean_dec(x_75); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_st_ref_take(x_8, x_88); -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = !lean_is_exclusive(x_98); -if (x_100 == 0) -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_98, 1); -lean_dec(x_101); -lean_ctor_set(x_98, 1, x_96); -x_102 = lean_st_ref_set(x_8, x_98, x_99); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -lean_dec(x_102); -x_10 = x_95; -x_11 = x_103; -goto block_32; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_104 = lean_ctor_get(x_98, 0); -x_105 = lean_ctor_get(x_98, 2); -x_106 = lean_ctor_get(x_98, 3); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_98); -x_107 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_107, 0, x_104); -lean_ctor_set(x_107, 1, x_96); -lean_ctor_set(x_107, 2, x_105); -lean_ctor_set(x_107, 3, x_106); -x_108 = lean_st_ref_set(x_8, x_107, x_99); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -lean_dec(x_108); -x_10 = x_95; -x_11 = x_109; -goto block_32; -} -} -} -else -{ -lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; -lean_dec(x_2); -lean_dec(x_1); -x_110 = l_Lean_Syntax_getArg(x_63, x_37); -lean_dec(x_63); -x_111 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); -lean_closure_set(x_111, 0, x_110); -x_112 = 1; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_113 = l_Lean_Elab_Term_withSynthesize___rarg(x_111, x_112, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_116, 0, x_114); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_116); -x_117 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot(x_51, x_116, x_3, x_4, x_5, x_6, x_7, x_8, x_115); -if (lean_obj_tag(x_117) == 0) -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_box(0); -x_121 = l_Lean_Elab_Term_ensureHasType(x_116, x_118, x_120, x_3, x_4, x_5, x_6, x_7, x_8, x_119); -return x_121; -} -else -{ -uint8_t x_122; -lean_dec(x_116); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_122 = !lean_is_exclusive(x_117); -if (x_122 == 0) -{ -return x_117; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_117, 0); -x_124 = lean_ctor_get(x_117, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_117); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; -} -} -} -else -{ -uint8_t x_126; -lean_dec(x_51); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_126 = !lean_is_exclusive(x_113); -if (x_126 == 0) -{ -return x_113; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_ctor_get(x_113, 0); -x_128 = lean_ctor_get(x_113, 1); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_113); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -return x_129; -} -} -} -} } } } diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index dddf5ecd59..419aad41b5 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -100,6 +100,7 @@ lean_object* l_Lean_Elab_Command_commandElabAttribute; lean_object* l_Lean_Elab_Command_getScope___boxed(lean_object*); lean_object* l_Lean_Elab_Command_elabUniverse(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_identKind___closed__2; +extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; lean_object* l_Lean_Elab_Command_elabCommand___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabExport___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__2(lean_object*); @@ -219,7 +220,6 @@ lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__8(lean_object*, lean_o lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___closed__2; lean_object* l_Lean_Elab_Command_getScopes___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___closed__3; -extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; lean_object* l_Lean_Elab_Command_State_messages___default; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -487,6 +487,7 @@ extern lean_object* l_Lean_instInhabitedSyntax; extern lean_object* l_Lean_firstFrontendMacroScope; extern lean_object* l_Lean_Parser_Command_open___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Unhygienic_run___rarg___closed__2; lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd___closed__2; @@ -760,7 +761,6 @@ lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes_match_ lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7; lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Unhygienic_run___rarg___closed__1; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -961,7 +961,7 @@ static lean_object* _init_l_Lean_Elab_Command_State_nextMacroScope___default() { _start: { lean_object* x_1; -x_1 = l_Lean_Unhygienic_run___rarg___closed__1; +x_1 = l_Lean_Unhygienic_run___rarg___closed__2; return x_1; } } @@ -1030,7 +1030,7 @@ lean_ctor_set(x_9, 0, x_8); lean_ctor_set(x_9, 1, x_4); x_10 = l_Lean_getMaxRecDepth(x_3); lean_dec(x_3); -x_11 = l_Lean_Unhygienic_run___rarg___closed__1; +x_11 = l_Lean_Unhygienic_run___rarg___closed__2; x_12 = lean_unsigned_to_nat(1u); x_13 = l_Lean_Core_State_ngen___default___closed__1; x_14 = lean_alloc_ctor(0, 7, 0); @@ -2002,7 +2002,7 @@ lean_inc(x_50); x_51 = lean_ctor_get(x_47, 6); lean_inc(x_51); lean_dec(x_47); -x_52 = l_Lean_Unhygienic_run___rarg___closed__1; +x_52 = l_Lean_Unhygienic_run___rarg___closed__2; x_53 = l_Lean_resetTraceState___rarg___lambda__1___closed__1; x_54 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_54, 0, x_50); @@ -4558,15 +4558,17 @@ return x_1; static lean_object* _init_l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__1; -x_2 = l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__2; -x_3 = l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__3; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_Command_instMonadRefCommandElabM; +x_2 = l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__1; +x_3 = l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__2; +x_4 = l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__3; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; } } static lean_object* _init_l_Lean_Elab_Command_instMonadQuotationCommandElabM() { @@ -23111,7 +23113,7 @@ else { lean_object* x_26; lean_object* x_27; lean_dec(x_10); -x_26 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; +x_26 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; x_27 = l_Lean_Elab_Command_setOption(x_8, x_26, x_2, x_3, x_4); return x_27; } diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 6806584dce..15beef7970 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -5856,7 +5856,7 @@ lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__2(lean_object* x_ _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_1, 1); +x_5 = lean_ctor_get(x_1, 2); lean_inc(x_5); lean_dec(x_1); x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1), 3, 2); @@ -5938,7 +5938,7 @@ lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4(lean_object* x_ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_1, 1); +x_6 = lean_ctor_get(x_1, 2); lean_inc(x_6); lean_dec(x_1); x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3), 4, 3); @@ -6055,7 +6055,7 @@ lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__6(lean_object* x_ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_1, 1); +x_6 = lean_ctor_get(x_1, 2); lean_inc(x_6); lean_dec(x_1); x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__5___boxed), 3, 2); @@ -6155,11 +6155,11 @@ lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg(lean_object* x_1, lean_obje _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; -x_5 = lean_ctor_get(x_2, 2); +x_5 = lean_ctor_get(x_2, 3); lean_inc(x_5); x_6 = lean_ctor_get(x_1, 1); lean_inc(x_6); -x_7 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index 8c5d3dc540..3ac7a25fe7 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -117,7 +117,6 @@ lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Inducti lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__1; -extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__3; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -169,7 +168,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1( lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1___boxed(lean_object*, lean_object*); @@ -180,7 +179,6 @@ lean_object* l_Lean_Elab_Command_checkResultingUniverse___boxed(lean_object*, le lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__10(uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_eqvFirstTypeResult___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); @@ -253,7 +251,6 @@ lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__2; lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__2; lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -360,6 +357,7 @@ lean_object* l_List_foldl___at___private_Lean_Elab_Inductive_0__Lean_Elab_Comman lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isInductiveFamily___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_ptr_addr(lean_object*); lean_object* lean_mk_below(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__2; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__1(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -371,7 +369,6 @@ lean_object* l_Lean_mkBRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Com extern uint8_t l_instInhabitedBool; lean_object* l_Lean_throwKernelException___at_Lean_Elab_Term_declareTacticSyntax___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__6; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__2___boxed(lean_object**); extern lean_object* l_Lean_CollectLevelParams_instInhabitedState___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -387,7 +384,7 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__4; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__1; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___boxed(lean_object**); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkTypeFor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -411,6 +408,7 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAnd lean_object* l_Lean_Level_mkNaryMax(lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2487____closed__5; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5918____closed__4; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__1; lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -421,7 +419,6 @@ lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__1___boxed(lean_obj lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed_match__1___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_ReplaceLevelImpl_initCache; extern lean_object* l_Std_HashMap_find_x21___rarg___closed__1; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__3; lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2487____closed__3; @@ -450,18 +447,16 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__1; lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__1___closed__2; -extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1; lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_getLevelOffset(lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__2(lean_object*, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_mkBInductionOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__2; @@ -472,13 +467,11 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDec lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Command_getCheckResultingUniverseOption(lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__1; extern lean_object* l_Std_HashMap_instInhabitedHashMap___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__6; uint8_t l_Lean_Level_isZero(lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_inferImplicit(lean_object*, lean_object*, uint8_t); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__1; lean_object* l_Lean_mkCasesOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -503,11 +496,9 @@ lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeader_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__2; lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier(lean_object*); @@ -547,6 +538,7 @@ lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___clo lean_object* lean_mk_binduction_on(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isInductiveFamily___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__3; lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___lambda__5___closed__5; lean_object* l_Nat_foldAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1929,7 +1921,7 @@ lean_dec(x_1); return x_9; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__1() { _start: { lean_object* x_1; @@ -1937,194 +1929,136 @@ x_1 = lean_mk_string("invalid inductive type, cannot mix unsafe and safe declara return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__1; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_20; uint8_t x_21; -x_10 = lean_ctor_get(x_1, 0); -x_20 = lean_ctor_get(x_10, 1); -x_21 = lean_ctor_get_uint8(x_20, sizeof(void*)*2 + 3); -if (x_21 == 0) -{ -if (x_2 == 0) -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_7); -lean_dec(x_3); -x_22 = l_Array_forInUnsafe_loop___at_Lean_pushScope___spec__1___rarg___lambda__1___closed__1; -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_9); -return x_23; -} -else -{ -lean_object* x_24; -x_24 = lean_box(0); -x_11 = x_24; -goto block_19; -} -} -else -{ -if (x_2 == 0) -{ -lean_object* x_25; -x_25 = lean_box(0); -x_11 = x_25; -goto block_19; -} -else -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_7); -lean_dec(x_3); -x_26 = l_Array_forInUnsafe_loop___at_Lean_pushScope___spec__1___rarg___lambda__1___closed__1; -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_9); -return x_27; -} -} -block_19: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -lean_dec(x_11); -x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__3; -x_14 = l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__1(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) +uint8_t x_13; +x_13 = x_4 < x_3; +if (x_13 == 0) { +lean_object* x_14; +lean_dec(x_10); +lean_dec(x_6); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_5); +lean_ctor_set(x_14, 1, x_12); return x_14; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_14); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__2(lean_object* x_1, size_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { -_start: -{ -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; lean_dec(x_5); -lean_dec(x_4); -x_18 = lean_ctor_get(x_10, 0); -lean_inc(x_18); -lean_dec(x_10); -x_19 = lean_ctor_get(x_1, 0); -lean_inc(x_19); -lean_dec(x_1); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_apply_9(x_20, lean_box(0), x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_21; -} -else -{ -lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_10, 0); -lean_inc(x_22); -lean_dec(x_10); -x_23 = 1; -x_24 = x_2 + x_23; -x_25 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1(x_3, x_4, x_5, x_6, x_7, x_1, x_8, x_9, x_24, x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_25; -} -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__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, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { -_start: -{ -uint8_t x_18; -x_18 = x_9 < x_8; +x_15 = lean_array_uget(x_2, x_4); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*2 + 3); +lean_dec(x_17); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_19 = lean_ctor_get(x_6, 0); -lean_inc(x_19); -lean_dec(x_6); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_apply_9(x_20, lean_box(0), x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_21; +if (x_1 == 0) +{ +uint8_t x_32; +x_32 = 1; +x_19 = x_32; +goto block_31; } 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_dec(x_10); -x_22 = lean_array_uget(x_7, x_9); -x_23 = lean_ctor_get(x_6, 1); -lean_inc(x_23); -x_24 = lean_box(x_1); -x_25 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___boxed), 9, 2); -lean_closure_set(x_25, 0, x_22); -lean_closure_set(x_25, 1, x_24); -x_26 = lean_box_usize(x_9); -x_27 = lean_box(x_1); -x_28 = lean_box_usize(x_8); -x_29 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__2___boxed), 17, 9); -lean_closure_set(x_29, 0, x_6); -lean_closure_set(x_29, 1, x_26); -lean_closure_set(x_29, 2, x_27); -lean_closure_set(x_29, 3, x_2); -lean_closure_set(x_29, 4, x_3); -lean_closure_set(x_29, 5, x_4); -lean_closure_set(x_29, 6, x_5); -lean_closure_set(x_29, 7, x_7); -lean_closure_set(x_29, 8, x_28); -x_30 = lean_apply_11(x_23, lean_box(0), lean_box(0), x_25, x_29, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_30; +uint8_t x_33; +x_33 = 0; +x_19 = x_33; +goto block_31; +} +} +else +{ +if (x_1 == 0) +{ +uint8_t x_34; +x_34 = 0; +x_19 = x_34; +goto block_31; +} +else +{ +uint8_t x_35; +x_35 = 1; +x_19 = x_35; +goto block_31; +} +} +block_31: +{ +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_20 = lean_ctor_get(x_16, 0); +lean_inc(x_20); +lean_dec(x_16); +x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__3; +x_22 = l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__1(x_20, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_20); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +size_t x_27; size_t x_28; lean_object* x_29; +lean_dec(x_16); +x_27 = 1; +x_28 = x_4 + x_27; +x_29 = lean_box(0); +x_4 = x_28; +x_5 = x_29; +goto _start; +} +} } } } lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; x_9 = l_Lean_Elab_Command_instInhabitedElabHeaderResult; x_10 = lean_unsigned_to_nat(0u); x_11 = lean_array_get(x_9, x_1, x_10); @@ -2140,134 +2074,84 @@ x_15 = lean_array_get_size(x_1); x_16 = lean_usize_of_nat(x_15); lean_dec(x_15); x_17 = 0; -x_18 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1; -x_19 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__2; -x_20 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__3; -x_21 = l_Lean_Meta_CheckAssignment_checkFVar___closed__1; -x_22 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; -x_23 = lean_box(0); -x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1(x_14, x_18, x_19, x_20, x_21, x_22, x_1, x_16, x_17, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_24) == 0) +x_18 = lean_box(0); +x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1(x_14, x_1, x_16, x_17, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) { -return x_24; +return x_19; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); +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(0, 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; +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +return x_19; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_19, 0); +x_26 = lean_ctor_get(x_19, 1); lean_inc(x_26); -lean_dec(x_24); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -else -{ -uint8_t x_29; -x_29 = !lean_is_exclusive(x_24); -if (x_29 == 0) -{ -return x_24; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_24, 0); -x_31 = lean_ctor_get(x_24, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_24); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_25); +lean_dec(x_19); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_2); -lean_dec(x_2); -x_11 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +uint8_t x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_unbox(x_1); +lean_dec(x_1); +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1(x_13, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_6); +lean_dec(x_7); +lean_dec(x_2); +return x_16; +} +} +lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__2___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -_start: -{ -size_t x_18; uint8_t x_19; size_t x_20; lean_object* x_21; -x_18 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_19 = lean_unbox(x_3); lean_dec(x_3); -x_20 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__2(x_1, x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_21; -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -_start: -{ -uint8_t x_18; size_t x_19; size_t x_20; lean_object* x_21; -x_18 = lean_unbox(x_1); lean_dec(x_1); -x_19 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_20 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_19, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_21; +return x_9; } } static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__1() { @@ -3631,13 +3515,8 @@ else { lean_object* x_18; lean_free_object(x_11); -lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); lean_inc(x_2); -lean_inc(x_13); x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_14); if (lean_obj_tag(x_18) == 0) { @@ -3797,13 +3676,8 @@ return x_46; else { lean_object* x_47; -lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); lean_inc(x_2); -lean_inc(x_41); x_47 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe(x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_42); if (lean_obj_tag(x_47) == 0) { @@ -7278,81 +7152,60 @@ lean_object* x_12; switch (lean_obj_tag(x_1)) { case 0: { -lean_object* x_22; +lean_object* x_25; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_4); -lean_ctor_set(x_22, 1, x_11); -return x_22; +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_4); +lean_ctor_set(x_25, 1, x_11); +return x_25; } case 1: { -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_1, 0); -lean_inc(x_23); -x_24 = lean_unsigned_to_nat(0u); -x_25 = lean_nat_dec_eq(x_3, x_24); -if (x_25 == 0) +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_1, 0); +lean_inc(x_26); +x_27 = lean_unsigned_to_nat(0u); +x_28 = lean_nat_dec_eq(x_3, x_27); +if (x_28 == 0) { -lean_object* x_26; lean_object* x_27; +lean_object* x_29; lean_object* x_30; lean_dec(x_1); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_sub(x_3, x_26); +x_29 = lean_unsigned_to_nat(1u); +x_30 = lean_nat_sub(x_3, x_29); lean_dec(x_3); -x_1 = x_23; -x_3 = x_27; +x_1 = x_26; +x_3 = x_30; goto _start; } else { -uint8_t x_29; -lean_dec(x_23); +uint8_t x_32; +lean_dec(x_26); lean_dec(x_3); -x_29 = lean_level_eq(x_1, x_2); -if (x_29 == 0) +x_32 = lean_level_eq(x_1, x_2); +if (x_32 == 0) { -uint8_t x_30; -x_30 = l_Lean_Level_occurs(x_2, x_1); -if (x_30 == 0) +uint8_t x_33; +x_33 = l_Lean_Level_occurs(x_2, x_1); +if (x_33 == 0) { -uint8_t x_31; +uint8_t x_34; lean_dec(x_5); -x_31 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_4, x_1); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_array_push(x_4, x_1); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_11); -return x_33; -} -else -{ -lean_object* x_34; -lean_dec(x_1); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_4); -lean_ctor_set(x_34, 1, x_11); -return x_34; -} -} -else +x_34 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_4, x_1); +if (x_34 == 0) { lean_object* x_35; lean_object* x_36; -lean_dec(x_4); -lean_dec(x_1); -x_35 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_36 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_35, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_35 = lean_array_push(x_4, x_1); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_11); return x_36; } -} else { lean_object* x_37; -lean_dec(x_5); lean_dec(x_1); x_37 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_37, 0, x_4); @@ -7360,229 +7213,205 @@ lean_ctor_set(x_37, 1, x_11); return x_37; } } +else +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_4); +lean_dec(x_1); +x_38 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; +x_39 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_39; } -case 4: -{ -lean_object* x_38; uint8_t x_39; -x_38 = lean_unsigned_to_nat(0u); -x_39 = lean_nat_dec_eq(x_3, x_38); -if (x_39 == 0) -{ -uint8_t x_40; -x_40 = l_Lean_Level_occurs(x_2, x_1); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_box(0); -x_12 = x_41; -goto block_21; } else { -lean_object* x_42; lean_object* x_43; -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_40; +lean_dec(x_5); lean_dec(x_1); -x_42 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_43 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_42, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_43; +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_4); +lean_ctor_set(x_40, 1, x_11); +return x_40; } } +} +case 4: +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_unsigned_to_nat(0u); +x_42 = lean_nat_dec_eq(x_3, x_41); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = lean_box(0); +x_12 = x_43; +goto block_24; +} else { uint8_t x_44; x_44 = lean_level_eq(x_1, x_2); if (x_44 == 0) { -uint8_t x_45; -x_45 = l_Lean_Level_occurs(x_2, x_1); -if (x_45 == 0) +lean_object* x_45; +x_45 = lean_box(0); +x_12 = x_45; +goto block_24; +} +else { lean_object* x_46; -x_46 = lean_box(0); -x_12 = x_46; -goto block_21; -} -else -{ -lean_object* x_47; lean_object* x_48; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_47 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_48 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_47, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_48; -} -} -else -{ -lean_object* x_49; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_4); -lean_ctor_set(x_49, 1, x_11); -return x_49; +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_4); +lean_ctor_set(x_46, 1, x_11); +return x_46; } } } case 5: { -lean_object* x_50; uint8_t x_51; -x_50 = lean_unsigned_to_nat(0u); -x_51 = lean_nat_dec_eq(x_3, x_50); -if (x_51 == 0) +lean_object* x_47; uint8_t x_48; +x_47 = lean_unsigned_to_nat(0u); +x_48 = lean_nat_dec_eq(x_3, x_47); +if (x_48 == 0) { -uint8_t x_52; -x_52 = l_Lean_Level_occurs(x_2, x_1); -if (x_52 == 0) -{ -lean_object* x_53; -x_53 = lean_box(0); -x_12 = x_53; -goto block_21; +lean_object* x_49; +x_49 = lean_box(0); +x_12 = x_49; +goto block_24; } else { -lean_object* x_54; lean_object* x_55; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_54 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_55 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_55; -} +uint8_t x_50; +x_50 = lean_level_eq(x_1, x_2); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_box(0); +x_12 = x_51; +goto block_24; } else { -uint8_t x_56; -x_56 = lean_level_eq(x_1, x_2); -if (x_56 == 0) -{ -uint8_t x_57; -x_57 = l_Lean_Level_occurs(x_2, x_1); -if (x_57 == 0) -{ -lean_object* x_58; -x_58 = lean_box(0); -x_12 = x_58; -goto block_21; -} -else -{ -lean_object* x_59; lean_object* x_60; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_59 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_60 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_59, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_60; -} -} -else -{ -lean_object* x_61; +lean_object* x_52; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_4); -lean_ctor_set(x_61, 1, x_11); -return x_61; +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_4); +lean_ctor_set(x_52, 1, x_11); +return x_52; } } } default: { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_1, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_1, 1); -lean_inc(x_63); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_1, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_1, 1); +lean_inc(x_54); lean_dec(x_1); lean_inc(x_5); lean_inc(x_3); -x_64 = l_Lean_Elab_Command_accLevelAtCtor(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_64) == 0) +x_55 = l_Lean_Elab_Command_accLevelAtCtor(x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_1 = x_63; -x_4 = x_65; -x_11 = x_66; +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_1 = x_54; +x_4 = x_56; +x_11 = x_57; goto _start; } else { -uint8_t x_68; -lean_dec(x_63); +uint8_t x_59; +lean_dec(x_54); lean_dec(x_5); lean_dec(x_3); -x_68 = !lean_is_exclusive(x_64); -if (x_68 == 0) +x_59 = !lean_is_exclusive(x_55); +if (x_59 == 0) { -return x_64; +return x_55; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_64, 0); -x_70 = lean_ctor_get(x_64, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_64); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_55, 0); +x_61 = lean_ctor_get(x_55, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_55); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } } -block_21: +block_24: { -lean_object* x_13; uint8_t x_14; +uint8_t x_13; lean_dec(x_12); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_lt(x_13, x_3); -lean_dec(x_3); -if (x_14 == 0) +x_13 = l_Lean_Level_occurs(x_2, x_1); +if (x_13 == 0) { -uint8_t x_15; -lean_dec(x_5); -x_15 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_4, x_1); +lean_object* x_14; uint8_t x_15; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_lt(x_14, x_3); +lean_dec(x_3); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; -x_16 = lean_array_push(x_4, x_1); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_11); -return x_17; -} -else +uint8_t x_16; +lean_dec(x_5); +x_16 = l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_4, x_1); +if (x_16 == 0) { -lean_object* x_18; -lean_dec(x_1); +lean_object* x_17; lean_object* x_18; +x_17 = lean_array_push(x_4, x_1); x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_4); +lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_11); return x_18; } +else +{ +lean_object* x_19; +lean_dec(x_1); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_4); +lean_ctor_set(x_19, 1, x_11); +return x_19; +} } else { -lean_object* x_19; lean_object* x_20; +lean_object* x_20; lean_object* x_21; lean_dec(x_4); lean_dec(x_1); -x_19 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; -x_20 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_20; +x_20 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; +x_21 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_22 = l_Lean_Elab_Command_accLevelAtCtor___closed__2; +x_23 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_23; } } } @@ -17091,12 +16920,12 @@ l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___spec__1___closed__2); l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___spec__1___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___spec__1___closed__3(); lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___spec__1___closed__3); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__3); l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__1); l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index 6b7da4ef80..a60cd1afb0 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -51,7 +51,6 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_private_to_user_name(lean_object*); extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__1; -extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__3; extern lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -112,13 +111,12 @@ lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageCo lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed__const__1; -extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOptType(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__19; extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__6___rarg(lean_object*); @@ -137,7 +135,7 @@ lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__1___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabLetDeclAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5(size_t, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); uint8_t l_Lean_isAttribute(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__11___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -148,7 +146,7 @@ lean_object* lean_environment_main_module(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); @@ -169,7 +167,6 @@ lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__3___closed__3; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -184,7 +181,6 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_El lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1; extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__2; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -194,7 +190,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1(siz lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2061,64 +2057,56 @@ return x_22; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5(size_t x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = 1; -x_18 = x_1 + x_17; -x_19 = x_9; -x_20 = lean_array_uset(x_2, x_1, x_19); -x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(x_3, x_4, x_5, x_6, x_7, x_8, x_18, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_21; +size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = 1; +x_14 = x_1 + x_13; +x_15 = x_5; +x_16 = lean_array_uset(x_2, x_1, x_15); +x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(x_3, x_4, x_14, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_17; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_16; -x_16 = x_7 < x_6; -if (x_16 == 0) +uint8_t x_12; +x_12 = x_3 < x_2; +if (x_12 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); lean_dec(x_1); -x_17 = lean_ctor_get(x_5, 0); -lean_inc(x_17); -lean_dec(x_5); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = x_8; -x_20 = lean_apply_9(x_18, lean_box(0), x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_20; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = x_4; +x_16 = lean_apply_9(x_14, lean_box(0), x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_16; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_21 = lean_array_uget(x_8, x_7); -x_22 = lean_unsigned_to_nat(0u); -x_23 = lean_array_uset(x_8, x_7, x_22); -x_24 = lean_ctor_get(x_5, 1); -lean_inc(x_24); -x_25 = x_21; -x_26 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__4___boxed), 8, 1); -lean_closure_set(x_26, 0, x_25); -x_27 = lean_box_usize(x_7); -x_28 = lean_box_usize(x_6); -x_29 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5___boxed), 16, 8); -lean_closure_set(x_29, 0, x_27); -lean_closure_set(x_29, 1, x_23); -lean_closure_set(x_29, 2, x_1); -lean_closure_set(x_29, 3, x_2); -lean_closure_set(x_29, 4, x_3); -lean_closure_set(x_29, 5, x_4); -lean_closure_set(x_29, 6, x_5); -lean_closure_set(x_29, 7, x_28); -x_30 = lean_apply_11(x_24, lean_box(0), lean_box(0), x_26, x_29, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_30; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_17 = lean_array_uget(x_4, x_3); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_array_uset(x_4, x_3, x_18); +x_20 = lean_ctor_get(x_1, 1); +lean_inc(x_20); +x_21 = x_17; +x_22 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__4___boxed), 8, 1); +lean_closure_set(x_22, 0, x_21); +x_23 = lean_box_usize(x_3); +x_24 = lean_box_usize(x_2); +x_25 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5___boxed), 12, 4); +lean_closure_set(x_25, 0, x_23); +lean_closure_set(x_25, 1, x_19); +lean_closure_set(x_25, 2, x_1); +lean_closure_set(x_25, 3, x_24); +x_26 = lean_apply_11(x_20, lean_box(0), lean_box(0), x_22, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_26; } } } @@ -2134,7 +2122,7 @@ return x_2; lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_9 = lean_unsigned_to_nat(1u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); x_11 = l_Lean_Syntax_getSepArgs(x_10); @@ -2143,81 +2131,73 @@ x_12 = lean_array_get_size(x_11); x_13 = lean_usize_of_nat(x_12); lean_dec(x_12); x_14 = x_11; -x_15 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1; -x_16 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__2; -x_17 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__3; -x_18 = l_Lean_Meta_CheckAssignment_checkFVar___closed__1; -x_19 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; -x_20 = lean_box_usize(x_13); -x_21 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed__const__1; -x_22 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___boxed), 15, 8); -lean_closure_set(x_22, 0, x_15); -lean_closure_set(x_22, 1, x_16); -lean_closure_set(x_22, 2, x_17); -lean_closure_set(x_22, 3, x_18); -lean_closure_set(x_22, 4, x_19); -lean_closure_set(x_22, 5, x_20); -lean_closure_set(x_22, 6, x_21); -lean_closure_set(x_22, 7, x_14); -x_23 = x_22; -x_24 = lean_apply_7(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_24) == 0) +x_15 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; +x_16 = lean_box_usize(x_13); +x_17 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed__const__1; +x_18 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___boxed), 11, 4); +lean_closure_set(x_18, 0, x_15); +lean_closure_set(x_18, 1, x_16); +lean_closure_set(x_18, 2, x_17); +lean_closure_set(x_18, 3, x_14); +x_19 = x_18; +x_20 = lean_apply_7(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_20) == 0) { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_unsigned_to_nat(3u); -x_28 = l_Lean_Syntax_getArg(x_1, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_26); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_24, 0, x_29); -return x_24; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_unsigned_to_nat(3u); +x_24 = l_Lean_Syntax_getArg(x_1, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_20, 0, x_25); +return x_20; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_ctor_get(x_24, 0); -x_31 = lean_ctor_get(x_24, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_24); -x_32 = lean_unsigned_to_nat(3u); -x_33 = l_Lean_Syntax_getArg(x_1, x_32); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_30); -lean_ctor_set(x_34, 1, x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_31); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_26 = lean_ctor_get(x_20, 0); +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_20); +x_28 = lean_unsigned_to_nat(3u); +x_29 = l_Lean_Syntax_getArg(x_1, x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_26); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_27); +return x_31; +} +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_20); +if (x_32 == 0) +{ +return x_20; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_20, 0); +x_34 = lean_ctor_get(x_20, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_20); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); return x_35; } } -else -{ -uint8_t x_36; -x_36 = !lean_is_exclusive(x_24); -if (x_36 == 0) -{ -return x_24; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_24, 0); -x_38 = lean_ctor_get(x_24, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_24); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} -} } } lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -2495,28 +2475,28 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_1); +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_1); lean_dec(x_1); -x_18 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_19; +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5(x_13, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_17 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_18 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_18; +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; } } lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 25a00270b3..c1f56ad09a 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -25,7 +25,6 @@ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Ter lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1(lean_object*); -extern lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__6; lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__8; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_match__2(lean_object*); @@ -120,6 +119,7 @@ lean_object* l_Lean_Elab_Term_expandMacrosInPatterns___boxed__const__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorAppAux_match__3(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__18; extern lean_object* l_Lean_identKind___closed__2; +extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; lean_object* l_Lean_Elab_Term_withDepElimPatterns(lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_match__14(lean_object*); @@ -225,7 +225,6 @@ lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqReflImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__4; @@ -794,6 +793,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___clo lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__3(lean_object*); extern lean_object* l_rawNatLit___closed__5; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___lambda__1___boxed__const__1; @@ -2022,7 +2022,7 @@ x_13 = lean_array_get_size(x_1); x_14 = lean_usize_of_nat(x_13); lean_dec(x_13); x_15 = 0; -x_16 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; +x_16 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5; lean_inc(x_1); x_17 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1(x_1, x_16, x_1, x_14, x_15, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_17) == 0) @@ -6211,7 +6211,7 @@ static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectP _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__6; +x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); return x_2; } @@ -23400,7 +23400,7 @@ static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_5 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; x_2 = l_Lean_instInhabitedParserDescr___closed__1; x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_5812____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index f2af42cbbc..a6dca52594 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -745,50 +745,61 @@ return x_2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; +uint8_t x_11; uint8_t x_12; uint8_t x_13; x_11 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 2); +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*2 + 2); if (x_11 == 0) { -uint8_t x_12; -x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*2 + 2); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; +uint8_t x_19; +x_19 = 1; +x_13 = x_19; +goto block_18; +} +else +{ +uint8_t x_20; +x_20 = 0; +x_13 = x_20; +goto block_18; +} +} +else +{ +if (x_12 == 0) +{ +uint8_t x_21; +x_21 = 0; +x_13 = x_21; +goto block_18; +} +else +{ +uint8_t x_22; +x_22 = 1; +x_13 = x_22; +goto block_18; +} +} +block_18: +{ +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1___closed__3; +x_15 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__1(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_dec(x_4); -x_13 = lean_box(0); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_10); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1___closed__3; -x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__1(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_16; -} -} -else -{ -uint8_t x_17; -x_17 = lean_ctor_get_uint8(x_2, sizeof(void*)*2 + 2); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1___closed__3; -x_19 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__1(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_4); -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_10); -return x_21; +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_10); +return x_17; } } } @@ -1067,47 +1078,61 @@ return x_2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___lambda__1(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_12; +uint8_t x_11; uint8_t x_12; uint8_t x_13; x_11 = l_Lean_Elab_DefKind_isTheorem(x_1); x_12 = l_Lean_Elab_DefKind_isTheorem(x_2); if (x_11 == 0) { if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; -lean_dec(x_4); -x_13 = lean_box(0); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_10); -return x_14; +uint8_t x_19; +x_19 = 1; +x_13 = x_19; +goto block_18; } else { -lean_object* x_15; lean_object* x_16; -x_15 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___lambda__1___closed__3; -x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__1(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_16; +uint8_t x_20; +x_20 = 0; +x_13 = x_20; +goto block_18; } } else { if (x_12 == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___lambda__1___closed__3; -x_18 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__1(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_18; +uint8_t x_21; +x_21 = 0; +x_13 = x_21; +goto block_18; } else { -lean_object* x_19; lean_object* x_20; +uint8_t x_22; +x_22 = 1; +x_13 = x_22; +goto block_18; +} +} +block_18: +{ +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___lambda__1___closed__3; +x_15 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__1(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_dec(x_4); -x_19 = lean_box(0); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_10); -return x_20; +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_10); +return x_17; } } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c index 771e6b7129..7798ff4ab5 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c @@ -15,7 +15,6 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__8___lambda__1(lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__6; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_SCC_scc___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__5(lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); @@ -65,7 +64,6 @@ lean_object* l_Lean_Elab_addAndCompileUnsafe(lean_object*, lean_object*, lean_ob lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__8___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__5; lean_object* l_Lean_Expr_FoldConstsImpl_fold_visit___rarg(lean_object*, size_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_getMVarsAtPreDef_match__1(lean_object*); lean_object* l_Lean_Elab_mkInhabitantFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -88,7 +86,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__8 uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__5(lean_object*, size_t, size_t); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_Lean_Name_hash(lean_object*); @@ -103,7 +101,7 @@ lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l_Lean_SCC_scc___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__5___closed__2; lean_object* l_List_map___at_Lean_Elab_addPreDefinitions___spec__7(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_collectMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__15; @@ -153,7 +151,6 @@ lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_getDataOf___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__6(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__4(lean_object*, size_t, size_t); -extern lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__1; extern lean_object* l_Lean_Expr_FoldConstsImpl_initCache; lean_object* l_Lean_Elab_WFRecursion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); @@ -161,14 +158,14 @@ lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___at___private_Lean_El lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*); extern lean_object* l_Lean_CollectMVars_instInhabitedState___closed__1; extern lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_getDataOf___rarg___closed__1; -extern lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_addSCC___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__20___boxed(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__2; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_getMVarsAtPreDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3(lean_object*, size_t, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__8___lambda__3___closed__1; lean_object* l_List_forM___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__19(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive___boxed(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -506,103 +503,91 @@ goto block_24; } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -if (lean_obj_tag(x_9) == 0) +if (lean_obj_tag(x_6) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_4); lean_dec(x_3); -x_17 = lean_ctor_get(x_9, 0); -lean_inc(x_17); -lean_dec(x_9); -x_18 = lean_ctor_get(x_1, 0); -lean_inc(x_18); +x_14 = lean_ctor_get(x_6, 0); +lean_inc(x_14); +lean_dec(x_6); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); lean_dec(x_1); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_apply_9(x_19, lean_box(0), x_17, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_20; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_apply_9(x_16, lean_box(0), x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_17; } else { -lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_9, 0); -lean_inc(x_21); -lean_dec(x_9); -x_22 = 1; -x_23 = x_2 + x_22; -x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1(x_3, x_4, x_5, x_6, x_1, x_7, x_8, x_23, x_21, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_24; +lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +lean_inc(x_18); +lean_dec(x_6); +x_19 = 1; +x_20 = x_2 + x_19; +x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1(x_3, x_1, x_4, x_5, x_20, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_21; } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_17; -x_17 = x_8 < x_7; -if (x_17 == 0) +uint8_t x_14; +x_14 = x_5 < x_4; +if (x_14 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_6); -lean_dec(x_4); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_3); +lean_dec(x_1); +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); lean_dec(x_2); -lean_dec(x_1); -x_18 = lean_ctor_get(x_5, 0); -lean_inc(x_18); -lean_dec(x_5); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_apply_9(x_19, lean_box(0), x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_20; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_apply_9(x_16, lean_box(0), x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_17; } 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_dec(x_9); -x_21 = lean_array_uget(x_6, x_8); -x_22 = lean_ctor_get(x_5, 1); -lean_inc(x_22); -x_23 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2), 8, 1); -lean_closure_set(x_23, 0, x_21); -x_24 = lean_box_usize(x_8); -x_25 = lean_box_usize(x_7); -x_26 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___boxed), 16, 8); -lean_closure_set(x_26, 0, x_5); -lean_closure_set(x_26, 1, x_24); -lean_closure_set(x_26, 2, x_1); -lean_closure_set(x_26, 3, x_2); -lean_closure_set(x_26, 4, x_3); -lean_closure_set(x_26, 5, x_4); -lean_closure_set(x_26, 6, x_6); -lean_closure_set(x_26, 7, x_25); -x_27 = lean_apply_11(x_22, lean_box(0), lean_box(0), x_23, x_26, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_27; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_6); +x_18 = lean_array_uget(x_3, x_5); +x_19 = lean_ctor_get(x_2, 1); +lean_inc(x_19); +x_20 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2), 8, 1); +lean_closure_set(x_20, 0, x_18); +x_21 = lean_box_usize(x_5); +x_22 = lean_box_usize(x_4); +x_23 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___boxed), 13, 5); +lean_closure_set(x_23, 0, x_2); +lean_closure_set(x_23, 1, x_21); +lean_closure_set(x_23, 2, x_1); +lean_closure_set(x_23, 3, x_3); +lean_closure_set(x_23, 4, x_22); +x_24 = lean_apply_11(x_19, lean_box(0), lean_box(0), x_20, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_24; } } } lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_9 = lean_array_get_size(x_1); x_10 = lean_usize_of_nat(x_9); lean_dec(x_9); x_11 = 0; -x_12 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__1; -x_13 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; -x_14 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; -x_15 = l_Lean_Elab_Term_quoteAutoTactic___closed__5; -x_16 = l_Lean_Elab_Term_quoteAutoTactic___closed__6; -x_17 = lean_box(0); +x_12 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5; +x_13 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; +x_14 = lean_box(0); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -610,22 +595,22 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1(x_12, x_13, x_14, x_15, x_16, x_1, x_10, x_11, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_18) == 0) +x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1(x_12, x_13, x_1, x_10, x_11, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = l_Lean_Elab_addAndCompileUnsafeRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_19); +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_addAndCompileUnsafeRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_20; +return x_17; } else { -uint8_t x_21; +uint8_t x_18; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -633,23 +618,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_21 = !lean_is_exclusive(x_18); -if (x_21 == 0) +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) { -return x_18; +return x_15; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_18, 0); -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_18); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; +lean_object* 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; } } } @@ -663,28 +648,28 @@ lean_dec(x_7); return x_13; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_2); +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_2); lean_dec(x_2); -x_18 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_19; +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3(x_1, x_14, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_18 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_19; +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -4134,7 +4119,7 @@ x_17 = l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs(x_ x_18 = lean_array_get_size(x_17); x_19 = lean_usize_of_nat(x_18); lean_dec(x_18); -x_20 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; +x_20 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5; x_21 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__8(x_20, x_11, x_17, x_19, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_16); if (lean_obj_tag(x_21) == 0) { diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index b39419813e..5015fc9f7f 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -16,13 +16,13 @@ extern "C" { lean_object* l_List_reverse___rarg(lean_object*); uint8_t l_Lean_Syntax_isQuot(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__15; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__19; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18___boxed(lean_object**); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_getQuotContent___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__5; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___boxed(lean_object**); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12721____closed__16; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; extern lean_object* l_termIf_____x3a__Then__Else_____closed__5; lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___boxed(lean_object*, lean_object*); @@ -31,25 +31,25 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_8179____closed__4; uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__4; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__2; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__2(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__17; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51; size_t l_USize_add(size_t, size_t); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__3; extern lean_object* l_Lean_fieldIdxKind; extern lean_object* l_Array_term_____x5b___x3a___x5d___closed__2; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__2; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__6; lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__8; extern lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173____closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__3; lean_object* l_List_tail_x21___rarg(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11623____closed__6; extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__9; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); @@ -59,300 +59,313 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lea lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_isQuot_match__1___rarg___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__40; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__27; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__12; lean_object* lean_mk_empty_array_with_capacity(lean_object*); extern lean_object* l_termIf__Then__Else_____closed__2; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__27; lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__13; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_10971____closed__6; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__9; extern lean_object* l_Lean_nullKind; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__1; lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5918____closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__14; +lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__26; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__17; extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__2; extern lean_object* l_Lean_identKind___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__4; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__2; lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__4; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__19; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44; +extern lean_object* l_term___x2d_____closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__9; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__4(size_t, size_t, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__8; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_termIf_____x3a__Then__Else_____closed__3; lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___boxed__const__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__11___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__31; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__9; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__17; extern lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__59; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__2; lean_object* l_Lean_Syntax_antiquotSuffixSplice_x3f(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__2; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__5___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_mkTuple_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__18; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__12; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__2; extern lean_object* l_Lean_identKind___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__5; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__8; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__7; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_unexpand____x40_Init_Notation___hyg_4127____closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___boxed(lean_object**); extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178____closed__1; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_948____closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__24; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__1; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__16; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___boxed(lean_object**); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__17; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__6; extern lean_object* l_Array_empty___closed__1; extern lean_object* l_instReprProd___rarg___closed__2; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__13; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__24; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__8; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___boxed(lean_object**); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__2; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__8; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1202____closed__23; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__5; lean_object* lean_st_ref_get(lean_object*, lean_object*); extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__6; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__2; lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__12; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__26; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___boxed(lean_object**); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__6; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__7; extern lean_object* l_myMacro____x40_Init_Notation___hyg_9943____closed__9; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__7; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10(lean_object*, size_t, lean_object*, size_t, size_t); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__18; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__31; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__17; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__8; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__4; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__1; +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs_match__1___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__7; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21____; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5; lean_object* l_Lean_Elab_Term_Quotation_mkTuple_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__3; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3476____closed__36; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__5(lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__21; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__2(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__4; +lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__23; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__19; extern lean_object* l_Array_getEvenElems___rarg___closed__1; lean_object* l_List_range(lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7___boxed(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__15; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__15; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__26; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1(lean_object*); -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__4; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5; lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__15; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__3; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__11; +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_sbracket___closed__4; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__19; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___boxed(lean_object**); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__11; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3(size_t, size_t, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__5; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__1; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__21; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__3; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__13; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_paren___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__22; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__6; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_mkAtom(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss_match__1(lean_object*); extern lean_object* l_instReprProd___rarg___closed__1; lean_object* l_Lean_Elab_Term_Quotation_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__7; lean_object* l_Lean_Elab_Term_Quotation_mkTuple(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__14; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5156____closed__3; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__13; lean_object* l_ReaderT_pure___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__14; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__15; uint8_t l_USize_decLt(size_t, size_t); extern lean_object* l_Lean_instToMessageDataOption___rarg___closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__12; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__28; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17___boxed(lean_object**); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__14; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__2; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__5; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__15; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__11; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__13; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___boxed(lean_object**); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9(lean_object*, lean_object*, size_t, size_t); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__7; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_9943____closed__7; lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__18; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___boxed(lean_object**); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__6; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__23; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__1; +lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__30; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__11; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__6(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__26; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__1; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__5; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__31; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__46; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__2; lean_object* l_List_replicate___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__25; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__52; extern lean_object* l_myMacro____x40_Init_Notation___hyg_9172____closed__7; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__12; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__2; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__16; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__24; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__1; extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__6; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1057____closed__7; extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__5; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__13; extern lean_object* l_Lean_instQuoteBool___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11___boxed(lean_object**); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__29; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__17; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__4; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___boxed__const__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__8; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__4; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__16; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3476____closed__43; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__9; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__3; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9(lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; +lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__6; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__11; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__2___rarg(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__11; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__16; extern lean_object* l_Lean_instQuoteProd___rarg___closed__2; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__10; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__8; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__17; lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__2; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__29; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__4; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_905____closed__4; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__17; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__1; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__7; extern lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__12; extern lean_object* l_Lean_Parser_Syntax_addPrio___closed__3; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1; +lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__8; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__7; extern lean_object* l_Lean_instQuoteProd___rarg___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__7; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__3; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__2; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__11; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__12; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__8; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7; @@ -360,16 +373,13 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy extern lean_object* l_Lean_Meta_mkArrow___closed__2; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__13; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193____closed__1; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__3; lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__22; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__9; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__6; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__8; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__9; extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__5; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__2; lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -377,64 +387,64 @@ extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____close lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__38; extern lean_object* l_instReprBool___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__6; -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1202____closed__11; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__18; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__21; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__14; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__3(lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__29; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__1(lean_object*); lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__6; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__10; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__17; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__4; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__48; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_sepByElemParser___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__1; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__1; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__20; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__3(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__1; extern lean_object* l_Lean_MessageData_instCoeOptionExprMessageData___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__3; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__5; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__4; extern lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__41; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__2; lean_object* l_Nat_repr(lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__15; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__4; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__6; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__34; lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__4; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___boxed(lean_object**); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1202____closed__1; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_6172____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__19; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__39; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__13; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__4; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168____closed__1; +lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12721____closed__11; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__6; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__14; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8; lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___boxed(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__1; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__8; @@ -442,38 +452,36 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lea lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2982____closed__6; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__4; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__7; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163____closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__13; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__16; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11623____closed__4; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__20; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__19; -extern lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__17; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteName(lean_object*); lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__15; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__2(lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__22; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__6; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__7; extern lean_object* l_Std_Format_paren___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__11; -lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_10794_(lean_object*); -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_11728_(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__38; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -486,45 +494,50 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__26; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__3(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__50; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__7; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__1___closed__4; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__4; lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__49; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__25; extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__5; extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instReprList___rarg___closed__2; extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__10; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__16___boxed(lean_object**); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__4; lean_object* l_String_dropRight(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_9943____closed__3; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_13581____closed__10; extern lean_object* l_Lean_Parser_Tactic_match___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__10; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__2; extern lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__8; extern lean_object* l_Lean_KernelException_toMessageData___closed__3; size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__4; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__3; extern lean_object* l_Lean_nullKind___closed__1; uint8_t l_Lean_Syntax_isAntiquot(lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__6; lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__16; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_sbracket___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__56; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__16; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__2; lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -533,20 +546,21 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_E lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__36; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkArrow___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__12; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__2; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__8; extern lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__1; extern lean_object* l_Lean_instToExprUnit___lambda__1___closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__6; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3; extern lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__22; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__12___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__26; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__7; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__24; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_DiscrTree_Trie_format___rarg___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -554,6 +568,7 @@ uint8_t l_Lean_Syntax_isAtom(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__35; extern lean_object* l_Lean_nullKind___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__9; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__7; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3___rarg(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__5(lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; @@ -562,11 +577,15 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMat lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__4(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms_match__1(lean_object*); extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__8; +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___boxed(lean_object**); +lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___boxed__const__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10___rarg(lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__11; extern lean_object* l_Lean_instToMessageDataOption___rarg___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__45; @@ -574,52 +593,60 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead extern lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__18; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__19; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_getQuotContent(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__5(size_t, size_t, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__20; +lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__32; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10; extern lean_object* l_Option_get_x21___rarg___closed__4; extern lean_object* l_Lean_Syntax_mkApp___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__6; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__16; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11623____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9(lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__13___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16505____closed__5; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__4; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___boxed(lean_object**); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__15; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__6; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__10; extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__8; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__11(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__27; +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__20; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__7; +lean_object* l_Lean_Syntax_getNumArgs(lean_object*); extern lean_object* l_Lean_Expr_ctorName___closed__10; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178_(lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__5; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232_(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__5; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_2094____closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__1(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__18; @@ -629,165 +656,183 @@ lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__9; extern lean_object* l_stx___x3c_x7c_x3e_____closed__5; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207____closed__1; extern lean_object* l_Id_instMonadId; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__22; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__53; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__15; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1057____closed__8; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__36; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__42; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__4(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice_match__1(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__1(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__13; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7(lean_object*); lean_object* l_Lean_Syntax_getAntiquotSpliceSuffix(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208____closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__15___boxed(lean_object**); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__14; lean_object* lean_panic_fn(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__10; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__14; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__2; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___boxed(lean_object**); extern lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5918____closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__50; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__18; extern lean_object* l_Lean_instQuoteSubstring___closed__4; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__29; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__5; extern lean_object* l_myMacro____x40_Init_Notation___hyg_2094____closed__2; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__28; lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__34; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__1___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__54; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___boxed(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__11; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__5; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__11; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__7; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__15; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__6; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__15; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__25; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__11; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__2; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__14; extern lean_object* l_List_head_x21___rarg___closed__3; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__1; lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__28; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss_match__2(lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__13; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__5; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__5; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__28; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__7; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__20; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__2; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__3; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__13(lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__2; lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__18; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__2; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__14; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__12(lean_object*); lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__25; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__16; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__19; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__22; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__30; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__27; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__12; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__2___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__1___closed__2; lean_object* l_Lean_Syntax_getAntiquotSpliceContents(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__2; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__9; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5156____closed__4; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__3; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__1; lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_2982____spec__1(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__33; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1; +lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; lean_object* l_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3476____closed__2; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__16; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__14; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__10; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__18; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__13; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__2; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__8; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13; lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___boxed(lean_object**); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__17; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_prec_x28___x29___closed__7; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__32; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14___boxed(lean_object**); extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2982____closed__1; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_905____closed__10; extern lean_object* l_Lean_Parser_Tactic_changeWith___closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__6; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__17; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_730____closed__8; uint8_t l_Lean_Syntax_isEscapedAntiquot(lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__9; extern lean_object* l_Std_Format_sbracket___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__8___rarg(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__5___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_prec_x28___x29___closed__3; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__4; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3476____closed__46; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__1; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__15; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___boxed(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__14; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___boxed(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__1; +lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__24; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8179____closed__6; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__29; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__25; extern lean_object* l_Lean_mkOptionalNode___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6172____closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__4___rarg(lean_object*, lean_object*, lean_object*); @@ -797,25 +842,28 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOu extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__5; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__23; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__13; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8179____closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__25; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___boxed(lean_object**); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16; +lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__31; lean_object* l_Lean_Syntax_antiquotSpliceKind_x3f(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__41; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__16; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__10; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__14; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__7; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(lean_object*, lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__22; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__27; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__16; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___boxed(lean_object**); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__16; @@ -824,56 +872,69 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lea extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3476____closed__44; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722_(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__6; lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1; extern lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__10; +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__2(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__11; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__18; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_905____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___boxed(lean_object**); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__15; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__1; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__18; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__22; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242____closed__1; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__6___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__1; extern lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__6(lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__23; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__8; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__19; lean_object* l_Lean_Syntax_antiquotKind_x3f(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__13; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_839____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__42; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_setOptionFromString___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__13; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__1___closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___boxed(lean_object**); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__11; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__10; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__2; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__3; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__21; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__2; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__1; extern lean_object* l_Std_Format_paren___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__37; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__43; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__1(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__3; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -881,9 +942,9 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_ uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__8; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__5; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__17; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__23; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__8; @@ -7795,7 +7856,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; -x_1 = lean_mk_string("SourceInfo.mk"); +x_1 = lean_mk_string("info"); return x_1; } } @@ -7825,47 +7886,50 @@ return x_4; static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__31() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("SourceInfo"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__28; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__32() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__31; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("Syntax.ident"); +return x_1; } } static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__32; -x_2 = l_Lean_instQuoteProd___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__34() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__31; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__32; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__34; -x_2 = l_Lean_instQuoteProd___rarg___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; +x_2 = l_Lean_identKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -7874,11 +7938,9 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__35; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; +x_2 = l_Lean_identKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -7888,7 +7950,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__36; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -7899,6 +7961,121 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("SourceInfo.mk"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__40() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__40; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__42() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("SourceInfo"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__42; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__43; +x_2 = l_Lean_instQuoteProd___rarg___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__42; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__46() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__45; +x_2 = l_Lean_instQuoteProd___rarg___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__46; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__48() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__49() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); x_2 = l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__3; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); @@ -7906,94 +8083,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__38; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__49; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__40() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Syntax.ident"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__41() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__40; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__40; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__41; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__43() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; -x_2 = l_Lean_identKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; -x_2 = l_Lean_identKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__45; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51() { _start: { lean_object* x_1; @@ -8001,97 +8103,22 @@ x_1 = lean_mk_string("addMacroScope"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__48() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__49() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__48; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__50() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__52() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__53() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__52; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__54() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("mainModule"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__54; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__56() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__54; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__52; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -8099,13 +8126,47 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__54() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__56() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__54; -x_3 = lean_name_mk_string(x_1, x_2); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__56; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -8113,7 +8174,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; -x_1 = lean_mk_string("scp"); +x_1 = lean_mk_string("mainModule"); return x_1; } } @@ -8150,6 +8211,47 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("scp"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -8498,831 +8600,717 @@ lean_dec(x_7); x_113 = !lean_is_exclusive(x_112); if (x_113 == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; x_114 = lean_ctor_get(x_112, 0); x_115 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24; lean_inc(x_110); lean_inc(x_114); x_116 = l_Lean_addMacroScope(x_114, x_115, x_110); -x_117 = l_Lean_instInhabitedSourceInfo___closed__1; -x_118 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__23; -x_119 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__27; -x_120 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_120, 0, x_117); -lean_ctor_set(x_120, 1, x_118); -lean_ctor_set(x_120, 2, x_116); -lean_ctor_set(x_120, 3, x_119); -x_121 = l_Array_empty___closed__1; -x_122 = lean_array_push(x_121, x_120); -x_123 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; -lean_inc(x_110); -lean_inc(x_114); -x_124 = l_Lean_addMacroScope(x_114, x_123, x_110); -x_125 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; -x_126 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; +x_117 = lean_box(0); +x_118 = l_Lean_instInhabitedSourceInfo___closed__1; +x_119 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__23; +x_120 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__27; +x_121 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_121, 0, x_118); +lean_ctor_set(x_121, 1, x_119); +lean_ctor_set(x_121, 2, x_116); +lean_ctor_set(x_121, 3, x_120); +x_122 = l_Array_empty___closed__1; +x_123 = lean_array_push(x_122, x_121); +x_124 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__31; +x_125 = l_Lean_addMacroScope(x_114, x_124, x_110); +x_126 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; x_127 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_127, 0, x_117); -lean_ctor_set(x_127, 1, x_125); -lean_ctor_set(x_127, 2, x_124); -lean_ctor_set(x_127, 3, x_126); -x_128 = lean_array_push(x_121, x_127); -x_129 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; -x_130 = l_Lean_addMacroScope(x_114, x_129, x_110); -x_131 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; -x_132 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39; -x_133 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_133, 0, x_117); -lean_ctor_set(x_133, 1, x_131); -lean_ctor_set(x_133, 2, x_130); -lean_ctor_set(x_133, 3, x_132); -lean_inc(x_133); -x_134 = lean_array_push(x_121, x_133); -lean_inc(x_133); -x_135 = lean_array_push(x_134, x_133); -x_136 = lean_array_push(x_135, x_133); -x_137 = l_Lean_nullKind___closed__2; -lean_ctor_set_tag(x_1, 1); -lean_ctor_set(x_1, 1, x_136); -lean_ctor_set(x_1, 0, x_137); -x_138 = lean_array_push(x_128, x_1); -x_139 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_141 = lean_array_push(x_121, x_140); -x_142 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_143 = lean_array_push(x_141, x_142); -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_137); -lean_ctor_set(x_144, 1, x_143); -x_145 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_146 = lean_array_push(x_145, x_144); -x_147 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_148 = lean_array_push(x_146, x_147); -x_149 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -x_151 = lean_array_push(x_121, x_150); -x_152 = l_Lean_Syntax_mkStrLit(x_107, x_117); +lean_ctor_set(x_127, 0, x_118); +lean_ctor_set(x_127, 1, x_126); +lean_ctor_set(x_127, 2, x_125); +lean_ctor_set(x_127, 3, x_117); +x_128 = lean_array_push(x_122, x_127); +x_129 = l_Lean_Syntax_mkStrLit(x_107, x_118); lean_dec(x_107); -x_153 = lean_array_push(x_151, x_152); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_137); -lean_ctor_set(x_154, 1, x_153); -x_155 = lean_array_push(x_122, x_154); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_139); -lean_ctor_set(x_156, 1, x_155); -lean_ctor_set(x_112, 0, x_156); +x_130 = lean_array_push(x_128, x_129); +x_131 = l_Lean_nullKind___closed__2; +lean_ctor_set_tag(x_1, 1); +lean_ctor_set(x_1, 1, x_130); +lean_ctor_set(x_1, 0, x_131); +x_132 = lean_array_push(x_123, x_1); +x_133 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_132); +lean_ctor_set(x_112, 0, x_134); return x_112; } 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; -x_157 = lean_ctor_get(x_112, 0); -x_158 = lean_ctor_get(x_112, 1); -lean_inc(x_158); -lean_inc(x_157); +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; +x_135 = lean_ctor_get(x_112, 0); +x_136 = lean_ctor_get(x_112, 1); +lean_inc(x_136); +lean_inc(x_135); lean_dec(x_112); -x_159 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24; +x_137 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24; lean_inc(x_110); -lean_inc(x_157); -x_160 = l_Lean_addMacroScope(x_157, x_159, x_110); -x_161 = l_Lean_instInhabitedSourceInfo___closed__1; -x_162 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__23; -x_163 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__27; -x_164 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_164, 0, x_161); -lean_ctor_set(x_164, 1, x_162); -lean_ctor_set(x_164, 2, x_160); -lean_ctor_set(x_164, 3, x_163); -x_165 = l_Array_empty___closed__1; -x_166 = lean_array_push(x_165, x_164); -x_167 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; -lean_inc(x_110); -lean_inc(x_157); -x_168 = l_Lean_addMacroScope(x_157, x_167, x_110); -x_169 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; -x_170 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; -x_171 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_171, 0, x_161); -lean_ctor_set(x_171, 1, x_169); -lean_ctor_set(x_171, 2, x_168); -lean_ctor_set(x_171, 3, x_170); -x_172 = lean_array_push(x_165, x_171); -x_173 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; -x_174 = l_Lean_addMacroScope(x_157, x_173, x_110); -x_175 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; -x_176 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39; -x_177 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_177, 0, x_161); -lean_ctor_set(x_177, 1, x_175); -lean_ctor_set(x_177, 2, x_174); -lean_ctor_set(x_177, 3, x_176); -lean_inc(x_177); -x_178 = lean_array_push(x_165, x_177); -lean_inc(x_177); -x_179 = lean_array_push(x_178, x_177); -x_180 = lean_array_push(x_179, x_177); -x_181 = l_Lean_nullKind___closed__2; -lean_ctor_set_tag(x_1, 1); -lean_ctor_set(x_1, 1, x_180); -lean_ctor_set(x_1, 0, x_181); -x_182 = lean_array_push(x_172, x_1); -x_183 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -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_165, x_184); -x_186 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_187 = lean_array_push(x_185, x_186); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_181); -lean_ctor_set(x_188, 1, x_187); -x_189 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_190 = lean_array_push(x_189, x_188); -x_191 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_192 = lean_array_push(x_190, x_191); -x_193 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_192); -x_195 = lean_array_push(x_165, x_194); -x_196 = l_Lean_Syntax_mkStrLit(x_107, x_161); +lean_inc(x_135); +x_138 = l_Lean_addMacroScope(x_135, x_137, x_110); +x_139 = lean_box(0); +x_140 = l_Lean_instInhabitedSourceInfo___closed__1; +x_141 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__23; +x_142 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__27; +x_143 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_143, 0, x_140); +lean_ctor_set(x_143, 1, x_141); +lean_ctor_set(x_143, 2, x_138); +lean_ctor_set(x_143, 3, x_142); +x_144 = l_Array_empty___closed__1; +x_145 = lean_array_push(x_144, x_143); +x_146 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__31; +x_147 = l_Lean_addMacroScope(x_135, x_146, x_110); +x_148 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; +x_149 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_149, 0, x_140); +lean_ctor_set(x_149, 1, x_148); +lean_ctor_set(x_149, 2, x_147); +lean_ctor_set(x_149, 3, x_139); +x_150 = lean_array_push(x_144, x_149); +x_151 = l_Lean_Syntax_mkStrLit(x_107, x_140); lean_dec(x_107); -x_197 = lean_array_push(x_195, x_196); -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_181); -lean_ctor_set(x_198, 1, x_197); -x_199 = lean_array_push(x_166, x_198); -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_183); -lean_ctor_set(x_200, 1, x_199); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_158); -return x_201; +x_152 = lean_array_push(x_150, x_151); +x_153 = l_Lean_nullKind___closed__2; +lean_ctor_set_tag(x_1, 1); +lean_ctor_set(x_1, 1, x_152); +lean_ctor_set(x_1, 0, x_153); +x_154 = lean_array_push(x_145, x_1); +x_155 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_154); +x_157 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_136); +return x_157; } } else { -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_202 = lean_ctor_get(x_1, 1); -lean_inc(x_202); +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_158 = lean_ctor_get(x_1, 1); +lean_inc(x_158); lean_dec(x_1); -x_203 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_159 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_204 = lean_ctor_get(x_203, 0); -lean_inc(x_204); -x_205 = lean_ctor_get(x_203, 1); -lean_inc(x_205); -lean_dec(x_203); -x_206 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_205); +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec(x_159); +x_162 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_161); lean_dec(x_7); -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - x_209 = x_206; +x_163 = lean_ctor_get(x_162, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_165 = x_162; } else { - lean_dec_ref(x_206); - x_209 = lean_box(0); + lean_dec_ref(x_162); + x_165 = lean_box(0); } -x_210 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24; -lean_inc(x_204); -lean_inc(x_207); -x_211 = l_Lean_addMacroScope(x_207, x_210, x_204); -x_212 = l_Lean_instInhabitedSourceInfo___closed__1; -x_213 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__23; -x_214 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__27; -x_215 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_215, 0, x_212); -lean_ctor_set(x_215, 1, x_213); -lean_ctor_set(x_215, 2, x_211); -lean_ctor_set(x_215, 3, x_214); -x_216 = l_Array_empty___closed__1; -x_217 = lean_array_push(x_216, x_215); -x_218 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; -lean_inc(x_204); -lean_inc(x_207); -x_219 = l_Lean_addMacroScope(x_207, x_218, x_204); -x_220 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; -x_221 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; -x_222 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_222, 0, x_212); -lean_ctor_set(x_222, 1, x_220); -lean_ctor_set(x_222, 2, x_219); -lean_ctor_set(x_222, 3, x_221); -x_223 = lean_array_push(x_216, x_222); -x_224 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; -x_225 = l_Lean_addMacroScope(x_207, x_224, x_204); -x_226 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; -x_227 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39; -x_228 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_228, 0, x_212); -lean_ctor_set(x_228, 1, x_226); -lean_ctor_set(x_228, 2, x_225); -lean_ctor_set(x_228, 3, x_227); -lean_inc(x_228); -x_229 = lean_array_push(x_216, x_228); -lean_inc(x_228); -x_230 = lean_array_push(x_229, x_228); -x_231 = lean_array_push(x_230, x_228); -x_232 = l_Lean_nullKind___closed__2; -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_231); -x_234 = lean_array_push(x_223, x_233); -x_235 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_234); -x_237 = lean_array_push(x_216, x_236); -x_238 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_239 = lean_array_push(x_237, x_238); -x_240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_240, 0, x_232); -lean_ctor_set(x_240, 1, x_239); -x_241 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_242 = lean_array_push(x_241, x_240); -x_243 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_244 = lean_array_push(x_242, x_243); -x_245 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_244); -x_247 = lean_array_push(x_216, x_246); -x_248 = l_Lean_Syntax_mkStrLit(x_202, x_212); -lean_dec(x_202); -x_249 = lean_array_push(x_247, x_248); -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_232); -lean_ctor_set(x_250, 1, x_249); -x_251 = lean_array_push(x_217, x_250); -x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_235); -lean_ctor_set(x_252, 1, x_251); -if (lean_is_scalar(x_209)) { - x_253 = lean_alloc_ctor(0, 2, 0); +x_166 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24; +lean_inc(x_160); +lean_inc(x_163); +x_167 = l_Lean_addMacroScope(x_163, x_166, x_160); +x_168 = lean_box(0); +x_169 = l_Lean_instInhabitedSourceInfo___closed__1; +x_170 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__23; +x_171 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__27; +x_172 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_172, 0, x_169); +lean_ctor_set(x_172, 1, x_170); +lean_ctor_set(x_172, 2, x_167); +lean_ctor_set(x_172, 3, x_171); +x_173 = l_Array_empty___closed__1; +x_174 = lean_array_push(x_173, x_172); +x_175 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__31; +x_176 = l_Lean_addMacroScope(x_163, x_175, x_160); +x_177 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; +x_178 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_178, 0, x_169); +lean_ctor_set(x_178, 1, x_177); +lean_ctor_set(x_178, 2, x_176); +lean_ctor_set(x_178, 3, x_168); +x_179 = lean_array_push(x_173, x_178); +x_180 = l_Lean_Syntax_mkStrLit(x_158, x_169); +lean_dec(x_158); +x_181 = lean_array_push(x_179, 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 = lean_array_push(x_174, x_183); +x_185 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_184); +if (lean_is_scalar(x_165)) { + x_187 = lean_alloc_ctor(0, 2, 0); } else { - x_253 = x_209; + x_187 = x_165; } -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_208); -return x_253; +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_164); +return x_187; } } default: { -uint8_t x_254; -x_254 = !lean_is_exclusive(x_1); -if (x_254 == 0) +uint8_t x_188; +x_188 = !lean_is_exclusive(x_1); +if (x_188 == 0) { -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; uint8_t x_268; -x_255 = lean_ctor_get(x_1, 1); -x_256 = lean_ctor_get(x_1, 2); -x_257 = lean_ctor_get(x_1, 3); -x_258 = lean_ctor_get(x_1, 0); -lean_dec(x_258); +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; uint8_t x_202; +x_189 = lean_ctor_get(x_1, 1); +x_190 = lean_ctor_get(x_1, 2); +x_191 = lean_ctor_get(x_1, 3); +x_192 = lean_ctor_get(x_1, 0); +lean_dec(x_192); lean_inc(x_6); -lean_inc(x_256); -x_259 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_256, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_260 = lean_ctor_get(x_259, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_259, 1); -lean_inc(x_261); -lean_dec(x_259); -x_262 = l_List_append___rarg(x_260, x_257); -x_263 = l___private_Init_Meta_0__Lean_quoteName(x_256); -x_264 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_261); +lean_inc(x_190); +x_193 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_190, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_193, 1); +lean_inc(x_195); +lean_dec(x_193); +x_196 = l_List_append___rarg(x_194, x_191); +x_197 = l___private_Init_Meta_0__Lean_quoteName(x_190); +x_198 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_195); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_265 = lean_ctor_get(x_264, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_264, 1); -lean_inc(x_266); -lean_dec(x_264); -x_267 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_266); +x_199 = lean_ctor_get(x_198, 0); +lean_inc(x_199); +x_200 = lean_ctor_get(x_198, 1); +lean_inc(x_200); +lean_dec(x_198); +x_201 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_200); lean_dec(x_7); -x_268 = !lean_is_exclusive(x_267); -if (x_268 == 0) +x_202 = !lean_is_exclusive(x_201); +if (x_202 == 0) { -lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; -x_269 = lean_ctor_get(x_267, 0); -x_270 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__43; -lean_inc(x_265); +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; +x_203 = lean_ctor_get(x_201, 0); +x_204 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__35; +lean_inc(x_199); +lean_inc(x_203); +x_205 = l_Lean_addMacroScope(x_203, x_204, x_199); +x_206 = lean_box(0); +x_207 = l_Lean_instInhabitedSourceInfo___closed__1; +x_208 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__34; +x_209 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__38; +lean_ctor_set(x_1, 3, x_209); +lean_ctor_set(x_1, 2, x_205); +lean_ctor_set(x_1, 1, x_208); +lean_ctor_set(x_1, 0, x_207); +x_210 = l_Array_empty___closed__1; +x_211 = lean_array_push(x_210, x_1); +x_212 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44; +lean_inc(x_199); +lean_inc(x_203); +x_213 = l_Lean_addMacroScope(x_203, x_212, x_199); +x_214 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__41; +x_215 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__48; +x_216 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_216, 0, x_207); +lean_ctor_set(x_216, 1, x_214); +lean_ctor_set(x_216, 2, x_213); +lean_ctor_set(x_216, 3, x_215); +x_217 = lean_array_push(x_210, x_216); +x_218 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; +lean_inc(x_199); +lean_inc(x_203); +x_219 = l_Lean_addMacroScope(x_203, x_218, x_199); +x_220 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; +x_221 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__50; +x_222 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_222, 0, x_207); +lean_ctor_set(x_222, 1, x_220); +lean_ctor_set(x_222, 2, x_219); +lean_ctor_set(x_222, 3, x_221); +lean_inc(x_222); +x_223 = lean_array_push(x_210, x_222); +lean_inc(x_222); +x_224 = lean_array_push(x_223, x_222); +x_225 = lean_array_push(x_224, x_222); +x_226 = l_Lean_nullKind___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_217, x_227); +x_229 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_228); +x_231 = lean_array_push(x_210, x_230); +x_232 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_233 = lean_array_push(x_231, x_232); +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_226); +lean_ctor_set(x_234, 1, x_233); +x_235 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; +x_236 = lean_array_push(x_235, x_234); +x_237 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; +x_238 = lean_array_push(x_236, x_237); +x_239 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; +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_210, x_240); +x_242 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__54; +lean_inc(x_199); +lean_inc(x_203); +x_243 = l_Lean_addMacroScope(x_203, x_242, x_199); +x_244 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__53; +x_245 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57; +x_246 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_246, 0, x_207); +lean_ctor_set(x_246, 1, x_244); +lean_ctor_set(x_246, 2, x_243); +lean_ctor_set(x_246, 3, x_245); +x_247 = lean_array_push(x_210, x_246); +x_248 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; +lean_inc(x_199); +lean_inc(x_203); +x_249 = l_Lean_addMacroScope(x_203, x_248, x_199); +x_250 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; +x_251 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_251, 0, x_207); +lean_ctor_set(x_251, 1, x_250); +lean_ctor_set(x_251, 2, x_249); +lean_ctor_set(x_251, 3, x_206); +x_252 = lean_array_push(x_210, x_251); +x_253 = lean_array_push(x_252, x_197); +x_254 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; +x_255 = l_Lean_addMacroScope(x_203, x_254, x_199); +x_256 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64; +x_257 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_257, 0, x_207); +lean_ctor_set(x_257, 1, x_256); +lean_ctor_set(x_257, 2, x_255); +lean_ctor_set(x_257, 3, x_206); +x_258 = lean_array_push(x_253, x_257); +x_259 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_259, 0, x_226); +lean_ctor_set(x_259, 1, x_258); +x_260 = lean_array_push(x_247, x_259); +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_229); +lean_ctor_set(x_261, 1, x_260); +x_262 = lean_array_push(x_210, x_261); +x_263 = lean_array_push(x_262, x_232); +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_226); +lean_ctor_set(x_264, 1, x_263); +x_265 = lean_array_push(x_235, x_264); +x_266 = lean_array_push(x_265, x_237); +x_267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_267, 0, x_239); +lean_ctor_set(x_267, 1, x_266); +x_268 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(x_196); +x_269 = lean_ctor_get(x_189, 0); lean_inc(x_269); -x_271 = l_Lean_addMacroScope(x_269, x_270, x_265); -x_272 = lean_box(0); -x_273 = l_Lean_instInhabitedSourceInfo___closed__1; -x_274 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__42; -x_275 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__46; -lean_ctor_set(x_1, 3, x_275); -lean_ctor_set(x_1, 2, x_271); -lean_ctor_set(x_1, 1, x_274); -lean_ctor_set(x_1, 0, x_273); -x_276 = l_Array_empty___closed__1; -x_277 = lean_array_push(x_276, x_1); -x_278 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; -lean_inc(x_265); -lean_inc(x_269); -x_279 = l_Lean_addMacroScope(x_269, x_278, x_265); -x_280 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; -x_281 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; -x_282 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_282, 0, x_273); -lean_ctor_set(x_282, 1, x_280); -lean_ctor_set(x_282, 2, x_279); -lean_ctor_set(x_282, 3, x_281); -x_283 = lean_array_push(x_276, x_282); -x_284 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; -lean_inc(x_265); -lean_inc(x_269); -x_285 = l_Lean_addMacroScope(x_269, x_284, x_265); -x_286 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; -x_287 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39; -x_288 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_288, 0, x_273); -lean_ctor_set(x_288, 1, x_286); -lean_ctor_set(x_288, 2, x_285); -lean_ctor_set(x_288, 3, x_287); -lean_inc(x_288); -x_289 = lean_array_push(x_276, x_288); -lean_inc(x_288); -x_290 = lean_array_push(x_289, x_288); -x_291 = lean_array_push(x_290, x_288); -x_292 = l_Lean_nullKind___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 = lean_array_push(x_283, x_293); -x_295 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_294); -x_297 = lean_array_push(x_276, x_296); -x_298 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_299 = lean_array_push(x_297, x_298); -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_292); -lean_ctor_set(x_300, 1, x_299); -x_301 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_302 = lean_array_push(x_301, x_300); -x_303 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_304 = lean_array_push(x_302, x_303); -x_305 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_306, 0, x_305); -lean_ctor_set(x_306, 1, x_304); -x_307 = lean_array_push(x_276, x_306); -x_308 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__50; -lean_inc(x_265); -lean_inc(x_269); -x_309 = l_Lean_addMacroScope(x_269, x_308, x_265); -x_310 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__49; -x_311 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__53; -x_312 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_312, 0, x_273); +x_270 = lean_ctor_get(x_189, 1); +lean_inc(x_270); +x_271 = lean_ctor_get(x_189, 2); +lean_inc(x_271); +lean_dec(x_189); +x_272 = lean_string_utf8_extract(x_269, x_270, x_271); +lean_dec(x_271); +lean_dec(x_270); +lean_dec(x_269); +x_273 = l_Lean_Syntax_mkStrLit(x_272, x_207); +lean_dec(x_272); +x_274 = l_Lean_mkOptionalNode___closed__2; +x_275 = lean_array_push(x_274, x_273); +x_276 = l_Lean_instQuoteSubstring___closed__4; +x_277 = l_Lean_Syntax_mkCApp(x_276, x_275); +x_278 = lean_array_push(x_241, x_277); +x_279 = lean_array_push(x_278, x_267); +x_280 = lean_array_push(x_279, x_268); +x_281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_281, 0, x_226); +lean_ctor_set(x_281, 1, x_280); +x_282 = lean_array_push(x_211, x_281); +x_283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_283, 0, x_229); +lean_ctor_set(x_283, 1, x_282); +lean_ctor_set(x_201, 0, x_283); +return x_201; +} +else +{ +lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; +x_284 = lean_ctor_get(x_201, 0); +x_285 = lean_ctor_get(x_201, 1); +lean_inc(x_285); +lean_inc(x_284); +lean_dec(x_201); +x_286 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__35; +lean_inc(x_199); +lean_inc(x_284); +x_287 = l_Lean_addMacroScope(x_284, x_286, x_199); +x_288 = lean_box(0); +x_289 = l_Lean_instInhabitedSourceInfo___closed__1; +x_290 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__34; +x_291 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__38; +lean_ctor_set(x_1, 3, x_291); +lean_ctor_set(x_1, 2, x_287); +lean_ctor_set(x_1, 1, x_290); +lean_ctor_set(x_1, 0, x_289); +x_292 = l_Array_empty___closed__1; +x_293 = lean_array_push(x_292, x_1); +x_294 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44; +lean_inc(x_199); +lean_inc(x_284); +x_295 = l_Lean_addMacroScope(x_284, x_294, x_199); +x_296 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__41; +x_297 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__48; +x_298 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_298, 0, x_289); +lean_ctor_set(x_298, 1, x_296); +lean_ctor_set(x_298, 2, x_295); +lean_ctor_set(x_298, 3, x_297); +x_299 = lean_array_push(x_292, x_298); +x_300 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; +lean_inc(x_199); +lean_inc(x_284); +x_301 = l_Lean_addMacroScope(x_284, x_300, x_199); +x_302 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; +x_303 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__50; +x_304 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_304, 0, x_289); +lean_ctor_set(x_304, 1, x_302); +lean_ctor_set(x_304, 2, x_301); +lean_ctor_set(x_304, 3, x_303); +lean_inc(x_304); +x_305 = lean_array_push(x_292, x_304); +lean_inc(x_304); +x_306 = lean_array_push(x_305, x_304); +x_307 = lean_array_push(x_306, x_304); +x_308 = l_Lean_nullKind___closed__2; +x_309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_307); +x_310 = lean_array_push(x_299, x_309); +x_311 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_312 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_312, 0, x_311); lean_ctor_set(x_312, 1, x_310); -lean_ctor_set(x_312, 2, x_309); -lean_ctor_set(x_312, 3, x_311); -x_313 = lean_array_push(x_276, x_312); -x_314 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57; -lean_inc(x_265); -lean_inc(x_269); -x_315 = l_Lean_addMacroScope(x_269, x_314, x_265); -x_316 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__56; -x_317 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_317, 0, x_273); -lean_ctor_set(x_317, 1, x_316); -lean_ctor_set(x_317, 2, x_315); -lean_ctor_set(x_317, 3, x_272); -x_318 = lean_array_push(x_276, x_317); -x_319 = lean_array_push(x_318, x_263); -x_320 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; -x_321 = l_Lean_addMacroScope(x_269, x_320, x_265); -x_322 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; -x_323 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_323, 0, x_273); -lean_ctor_set(x_323, 1, x_322); -lean_ctor_set(x_323, 2, x_321); -lean_ctor_set(x_323, 3, x_272); -x_324 = lean_array_push(x_319, x_323); -x_325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_325, 0, x_292); -lean_ctor_set(x_325, 1, x_324); -x_326 = lean_array_push(x_313, x_325); -x_327 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_327, 0, x_295); -lean_ctor_set(x_327, 1, x_326); -x_328 = lean_array_push(x_276, x_327); -x_329 = lean_array_push(x_328, x_298); -x_330 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_330, 0, x_292); -lean_ctor_set(x_330, 1, x_329); -x_331 = lean_array_push(x_301, x_330); -x_332 = lean_array_push(x_331, x_303); -x_333 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_333, 0, x_305); +x_313 = lean_array_push(x_292, x_312); +x_314 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_315 = lean_array_push(x_313, x_314); +x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_316, 0, x_308); +lean_ctor_set(x_316, 1, x_315); +x_317 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; +x_318 = lean_array_push(x_317, x_316); +x_319 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; +x_320 = lean_array_push(x_318, x_319); +x_321 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; +x_322 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_322, 0, x_321); +lean_ctor_set(x_322, 1, x_320); +x_323 = lean_array_push(x_292, x_322); +x_324 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__54; +lean_inc(x_199); +lean_inc(x_284); +x_325 = l_Lean_addMacroScope(x_284, x_324, x_199); +x_326 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__53; +x_327 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57; +x_328 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_328, 0, x_289); +lean_ctor_set(x_328, 1, x_326); +lean_ctor_set(x_328, 2, x_325); +lean_ctor_set(x_328, 3, x_327); +x_329 = lean_array_push(x_292, x_328); +x_330 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; +lean_inc(x_199); +lean_inc(x_284); +x_331 = l_Lean_addMacroScope(x_284, x_330, x_199); +x_332 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; +x_333 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_333, 0, x_289); lean_ctor_set(x_333, 1, x_332); -x_334 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(x_262); -x_335 = lean_ctor_get(x_255, 0); -lean_inc(x_335); -x_336 = lean_ctor_get(x_255, 1); -lean_inc(x_336); -x_337 = lean_ctor_get(x_255, 2); -lean_inc(x_337); -lean_dec(x_255); -x_338 = lean_string_utf8_extract(x_335, x_336, x_337); -lean_dec(x_337); -lean_dec(x_336); -lean_dec(x_335); -x_339 = l_Lean_Syntax_mkStrLit(x_338, x_273); -lean_dec(x_338); -x_340 = l_Lean_mkOptionalNode___closed__2; -x_341 = lean_array_push(x_340, x_339); -x_342 = l_Lean_instQuoteSubstring___closed__4; -x_343 = l_Lean_Syntax_mkCApp(x_342, x_341); -x_344 = lean_array_push(x_307, x_343); -x_345 = lean_array_push(x_344, x_333); -x_346 = lean_array_push(x_345, x_334); -x_347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_347, 0, x_292); -lean_ctor_set(x_347, 1, x_346); -x_348 = lean_array_push(x_277, x_347); +lean_ctor_set(x_333, 2, x_331); +lean_ctor_set(x_333, 3, x_288); +x_334 = lean_array_push(x_292, x_333); +x_335 = lean_array_push(x_334, x_197); +x_336 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; +x_337 = l_Lean_addMacroScope(x_284, x_336, x_199); +x_338 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64; +x_339 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_339, 0, x_289); +lean_ctor_set(x_339, 1, x_338); +lean_ctor_set(x_339, 2, x_337); +lean_ctor_set(x_339, 3, x_288); +x_340 = lean_array_push(x_335, x_339); +x_341 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_341, 0, x_308); +lean_ctor_set(x_341, 1, x_340); +x_342 = lean_array_push(x_329, x_341); +x_343 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_343, 0, x_311); +lean_ctor_set(x_343, 1, x_342); +x_344 = lean_array_push(x_292, x_343); +x_345 = lean_array_push(x_344, x_314); +x_346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_346, 0, x_308); +lean_ctor_set(x_346, 1, x_345); +x_347 = lean_array_push(x_317, x_346); +x_348 = lean_array_push(x_347, x_319); x_349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_349, 0, x_295); +lean_ctor_set(x_349, 0, x_321); lean_ctor_set(x_349, 1, x_348); -lean_ctor_set(x_267, 0, x_349); -return x_267; -} -else -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; -x_350 = lean_ctor_get(x_267, 0); -x_351 = lean_ctor_get(x_267, 1); +x_350 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(x_196); +x_351 = lean_ctor_get(x_189, 0); lean_inc(x_351); -lean_inc(x_350); -lean_dec(x_267); -x_352 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__43; -lean_inc(x_265); -lean_inc(x_350); -x_353 = l_Lean_addMacroScope(x_350, x_352, x_265); -x_354 = lean_box(0); -x_355 = l_Lean_instInhabitedSourceInfo___closed__1; -x_356 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__42; -x_357 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__46; -lean_ctor_set(x_1, 3, x_357); -lean_ctor_set(x_1, 2, x_353); -lean_ctor_set(x_1, 1, x_356); -lean_ctor_set(x_1, 0, x_355); -x_358 = l_Array_empty___closed__1; -x_359 = lean_array_push(x_358, x_1); -x_360 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; -lean_inc(x_265); -lean_inc(x_350); -x_361 = l_Lean_addMacroScope(x_350, x_360, x_265); -x_362 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; -x_363 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; -x_364 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_364, 0, x_355); -lean_ctor_set(x_364, 1, x_362); -lean_ctor_set(x_364, 2, x_361); -lean_ctor_set(x_364, 3, x_363); -x_365 = lean_array_push(x_358, x_364); -x_366 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; -lean_inc(x_265); -lean_inc(x_350); -x_367 = l_Lean_addMacroScope(x_350, x_366, x_265); -x_368 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; -x_369 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39; -x_370 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_370, 0, x_355); -lean_ctor_set(x_370, 1, x_368); -lean_ctor_set(x_370, 2, x_367); -lean_ctor_set(x_370, 3, x_369); -lean_inc(x_370); -x_371 = lean_array_push(x_358, x_370); -lean_inc(x_370); -x_372 = lean_array_push(x_371, x_370); -x_373 = lean_array_push(x_372, x_370); -x_374 = l_Lean_nullKind___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 = lean_array_push(x_365, x_375); -x_377 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_378 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_376); -x_379 = lean_array_push(x_358, x_378); -x_380 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_381 = lean_array_push(x_379, x_380); -x_382 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_382, 0, x_374); -lean_ctor_set(x_382, 1, x_381); -x_383 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_384 = lean_array_push(x_383, x_382); -x_385 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_386 = lean_array_push(x_384, x_385); -x_387 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_386); -x_389 = lean_array_push(x_358, x_388); -x_390 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__50; -lean_inc(x_265); -lean_inc(x_350); -x_391 = l_Lean_addMacroScope(x_350, x_390, x_265); -x_392 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__49; -x_393 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__53; -x_394 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_394, 0, x_355); -lean_ctor_set(x_394, 1, x_392); -lean_ctor_set(x_394, 2, x_391); -lean_ctor_set(x_394, 3, x_393); -x_395 = lean_array_push(x_358, x_394); -x_396 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57; -lean_inc(x_265); -lean_inc(x_350); -x_397 = l_Lean_addMacroScope(x_350, x_396, x_265); -x_398 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__56; -x_399 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_399, 0, x_355); -lean_ctor_set(x_399, 1, x_398); -lean_ctor_set(x_399, 2, x_397); -lean_ctor_set(x_399, 3, x_354); -x_400 = lean_array_push(x_358, x_399); -x_401 = lean_array_push(x_400, x_263); -x_402 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; -x_403 = l_Lean_addMacroScope(x_350, x_402, x_265); -x_404 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; -x_405 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_405, 0, x_355); -lean_ctor_set(x_405, 1, x_404); -lean_ctor_set(x_405, 2, x_403); -lean_ctor_set(x_405, 3, x_354); -x_406 = lean_array_push(x_401, x_405); -x_407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_407, 0, x_374); -lean_ctor_set(x_407, 1, x_406); -x_408 = lean_array_push(x_395, x_407); -x_409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_409, 0, x_377); -lean_ctor_set(x_409, 1, x_408); -x_410 = lean_array_push(x_358, x_409); -x_411 = lean_array_push(x_410, x_380); -x_412 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_412, 0, x_374); -lean_ctor_set(x_412, 1, x_411); -x_413 = lean_array_push(x_383, x_412); -x_414 = lean_array_push(x_413, x_385); -x_415 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_415, 0, x_387); -lean_ctor_set(x_415, 1, x_414); -x_416 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(x_262); -x_417 = lean_ctor_get(x_255, 0); -lean_inc(x_417); -x_418 = lean_ctor_get(x_255, 1); -lean_inc(x_418); -x_419 = lean_ctor_get(x_255, 2); -lean_inc(x_419); -lean_dec(x_255); -x_420 = lean_string_utf8_extract(x_417, x_418, x_419); -lean_dec(x_419); -lean_dec(x_418); -lean_dec(x_417); -x_421 = l_Lean_Syntax_mkStrLit(x_420, x_355); -lean_dec(x_420); -x_422 = l_Lean_mkOptionalNode___closed__2; -x_423 = lean_array_push(x_422, x_421); -x_424 = l_Lean_instQuoteSubstring___closed__4; -x_425 = l_Lean_Syntax_mkCApp(x_424, x_423); -x_426 = lean_array_push(x_389, x_425); -x_427 = lean_array_push(x_426, x_415); -x_428 = lean_array_push(x_427, x_416); -x_429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_429, 0, x_374); -lean_ctor_set(x_429, 1, x_428); -x_430 = lean_array_push(x_359, x_429); -x_431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_431, 0, x_377); -lean_ctor_set(x_431, 1, x_430); -x_432 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_432, 0, x_431); -lean_ctor_set(x_432, 1, x_351); -return x_432; +x_352 = lean_ctor_get(x_189, 1); +lean_inc(x_352); +x_353 = lean_ctor_get(x_189, 2); +lean_inc(x_353); +lean_dec(x_189); +x_354 = lean_string_utf8_extract(x_351, x_352, x_353); +lean_dec(x_353); +lean_dec(x_352); +lean_dec(x_351); +x_355 = l_Lean_Syntax_mkStrLit(x_354, x_289); +lean_dec(x_354); +x_356 = l_Lean_mkOptionalNode___closed__2; +x_357 = lean_array_push(x_356, x_355); +x_358 = l_Lean_instQuoteSubstring___closed__4; +x_359 = l_Lean_Syntax_mkCApp(x_358, x_357); +x_360 = lean_array_push(x_323, x_359); +x_361 = lean_array_push(x_360, x_349); +x_362 = lean_array_push(x_361, x_350); +x_363 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_363, 0, x_308); +lean_ctor_set(x_363, 1, x_362); +x_364 = lean_array_push(x_293, x_363); +x_365 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_365, 0, x_311); +lean_ctor_set(x_365, 1, x_364); +x_366 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_285); +return x_366; } } else { -lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; -x_433 = lean_ctor_get(x_1, 1); -x_434 = lean_ctor_get(x_1, 2); -x_435 = lean_ctor_get(x_1, 3); -lean_inc(x_435); -lean_inc(x_434); -lean_inc(x_433); +lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; +x_367 = lean_ctor_get(x_1, 1); +x_368 = lean_ctor_get(x_1, 2); +x_369 = lean_ctor_get(x_1, 3); +lean_inc(x_369); +lean_inc(x_368); +lean_inc(x_367); lean_dec(x_1); lean_inc(x_6); -lean_inc(x_434); -x_436 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_434, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -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_List_append___rarg(x_437, x_435); -x_440 = l___private_Init_Meta_0__Lean_quoteName(x_434); -x_441 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_438); +lean_inc(x_368); +x_370 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_368, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_371 = lean_ctor_get(x_370, 0); +lean_inc(x_371); +x_372 = lean_ctor_get(x_370, 1); +lean_inc(x_372); +lean_dec(x_370); +x_373 = l_List_append___rarg(x_371, x_369); +x_374 = l___private_Init_Meta_0__Lean_quoteName(x_368); +x_375 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_372); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_442 = lean_ctor_get(x_441, 0); -lean_inc(x_442); -x_443 = lean_ctor_get(x_441, 1); -lean_inc(x_443); -lean_dec(x_441); -x_444 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_443); +x_376 = lean_ctor_get(x_375, 0); +lean_inc(x_376); +x_377 = lean_ctor_get(x_375, 1); +lean_inc(x_377); +lean_dec(x_375); +x_378 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_377); lean_dec(x_7); -x_445 = lean_ctor_get(x_444, 0); -lean_inc(x_445); -x_446 = lean_ctor_get(x_444, 1); -lean_inc(x_446); -if (lean_is_exclusive(x_444)) { - lean_ctor_release(x_444, 0); - lean_ctor_release(x_444, 1); - x_447 = x_444; +x_379 = lean_ctor_get(x_378, 0); +lean_inc(x_379); +x_380 = lean_ctor_get(x_378, 1); +lean_inc(x_380); +if (lean_is_exclusive(x_378)) { + lean_ctor_release(x_378, 0); + lean_ctor_release(x_378, 1); + x_381 = x_378; } else { - lean_dec_ref(x_444); - x_447 = lean_box(0); + lean_dec_ref(x_378); + x_381 = lean_box(0); } -x_448 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__43; -lean_inc(x_442); -lean_inc(x_445); -x_449 = l_Lean_addMacroScope(x_445, x_448, x_442); -x_450 = lean_box(0); -x_451 = l_Lean_instInhabitedSourceInfo___closed__1; -x_452 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__42; -x_453 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__46; -x_454 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_454, 0, x_451); -lean_ctor_set(x_454, 1, x_452); -lean_ctor_set(x_454, 2, x_449); -lean_ctor_set(x_454, 3, x_453); -x_455 = l_Array_empty___closed__1; -x_456 = lean_array_push(x_455, x_454); -x_457 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; -lean_inc(x_442); -lean_inc(x_445); -x_458 = l_Lean_addMacroScope(x_445, x_457, x_442); -x_459 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; -x_460 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; -x_461 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_461, 0, x_451); -lean_ctor_set(x_461, 1, x_459); -lean_ctor_set(x_461, 2, x_458); -lean_ctor_set(x_461, 3, x_460); -x_462 = lean_array_push(x_455, x_461); -x_463 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; -lean_inc(x_442); -lean_inc(x_445); -x_464 = l_Lean_addMacroScope(x_445, x_463, x_442); -x_465 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; -x_466 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39; -x_467 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_467, 0, x_451); -lean_ctor_set(x_467, 1, x_465); -lean_ctor_set(x_467, 2, x_464); -lean_ctor_set(x_467, 3, x_466); -lean_inc(x_467); -x_468 = lean_array_push(x_455, x_467); -lean_inc(x_467); -x_469 = lean_array_push(x_468, x_467); -x_470 = lean_array_push(x_469, x_467); -x_471 = l_Lean_nullKind___closed__2; -x_472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_472, 0, x_471); -lean_ctor_set(x_472, 1, x_470); -x_473 = lean_array_push(x_462, x_472); -x_474 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -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 = lean_array_push(x_455, x_475); -x_477 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_478 = lean_array_push(x_476, x_477); -x_479 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_479, 0, x_471); -lean_ctor_set(x_479, 1, x_478); -x_480 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_481 = lean_array_push(x_480, x_479); -x_482 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_483 = lean_array_push(x_481, x_482); -x_484 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_485 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_485, 0, x_484); -lean_ctor_set(x_485, 1, x_483); -x_486 = lean_array_push(x_455, x_485); -x_487 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__50; -lean_inc(x_442); -lean_inc(x_445); -x_488 = l_Lean_addMacroScope(x_445, x_487, x_442); -x_489 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__49; -x_490 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__53; -x_491 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_491, 0, x_451); -lean_ctor_set(x_491, 1, x_489); -lean_ctor_set(x_491, 2, x_488); -lean_ctor_set(x_491, 3, x_490); -x_492 = lean_array_push(x_455, x_491); -x_493 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57; -lean_inc(x_442); -lean_inc(x_445); -x_494 = l_Lean_addMacroScope(x_445, x_493, x_442); -x_495 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__56; -x_496 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_496, 0, x_451); -lean_ctor_set(x_496, 1, x_495); -lean_ctor_set(x_496, 2, x_494); -lean_ctor_set(x_496, 3, x_450); -x_497 = lean_array_push(x_455, x_496); -x_498 = lean_array_push(x_497, x_440); -x_499 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; -x_500 = l_Lean_addMacroScope(x_445, x_499, x_442); -x_501 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; -x_502 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_502, 0, x_451); -lean_ctor_set(x_502, 1, x_501); -lean_ctor_set(x_502, 2, x_500); -lean_ctor_set(x_502, 3, x_450); -x_503 = lean_array_push(x_498, x_502); -x_504 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_504, 0, x_471); -lean_ctor_set(x_504, 1, x_503); -x_505 = lean_array_push(x_492, x_504); -x_506 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_506, 0, x_474); -lean_ctor_set(x_506, 1, x_505); -x_507 = lean_array_push(x_455, x_506); -x_508 = lean_array_push(x_507, x_477); -x_509 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_509, 0, x_471); -lean_ctor_set(x_509, 1, x_508); -x_510 = lean_array_push(x_480, x_509); -x_511 = lean_array_push(x_510, x_482); -x_512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_512, 0, x_484); -lean_ctor_set(x_512, 1, x_511); -x_513 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(x_439); -x_514 = lean_ctor_get(x_433, 0); -lean_inc(x_514); -x_515 = lean_ctor_get(x_433, 1); -lean_inc(x_515); -x_516 = lean_ctor_get(x_433, 2); -lean_inc(x_516); -lean_dec(x_433); -x_517 = lean_string_utf8_extract(x_514, x_515, x_516); -lean_dec(x_516); -lean_dec(x_515); -lean_dec(x_514); -x_518 = l_Lean_Syntax_mkStrLit(x_517, x_451); -lean_dec(x_517); -x_519 = l_Lean_mkOptionalNode___closed__2; -x_520 = lean_array_push(x_519, x_518); -x_521 = l_Lean_instQuoteSubstring___closed__4; -x_522 = l_Lean_Syntax_mkCApp(x_521, x_520); -x_523 = lean_array_push(x_486, x_522); -x_524 = lean_array_push(x_523, x_512); -x_525 = lean_array_push(x_524, x_513); -x_526 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_526, 0, x_471); -lean_ctor_set(x_526, 1, x_525); -x_527 = lean_array_push(x_456, x_526); -x_528 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_528, 0, x_474); -lean_ctor_set(x_528, 1, x_527); -if (lean_is_scalar(x_447)) { - x_529 = lean_alloc_ctor(0, 2, 0); +x_382 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__35; +lean_inc(x_376); +lean_inc(x_379); +x_383 = l_Lean_addMacroScope(x_379, x_382, x_376); +x_384 = lean_box(0); +x_385 = l_Lean_instInhabitedSourceInfo___closed__1; +x_386 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__34; +x_387 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__38; +x_388 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_388, 0, x_385); +lean_ctor_set(x_388, 1, x_386); +lean_ctor_set(x_388, 2, x_383); +lean_ctor_set(x_388, 3, x_387); +x_389 = l_Array_empty___closed__1; +x_390 = lean_array_push(x_389, x_388); +x_391 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44; +lean_inc(x_376); +lean_inc(x_379); +x_392 = l_Lean_addMacroScope(x_379, x_391, x_376); +x_393 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__41; +x_394 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__48; +x_395 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_395, 0, x_385); +lean_ctor_set(x_395, 1, x_393); +lean_ctor_set(x_395, 2, x_392); +lean_ctor_set(x_395, 3, x_394); +x_396 = lean_array_push(x_389, x_395); +x_397 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; +lean_inc(x_376); +lean_inc(x_379); +x_398 = l_Lean_addMacroScope(x_379, x_397, x_376); +x_399 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; +x_400 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__50; +x_401 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_401, 0, x_385); +lean_ctor_set(x_401, 1, x_399); +lean_ctor_set(x_401, 2, x_398); +lean_ctor_set(x_401, 3, x_400); +lean_inc(x_401); +x_402 = lean_array_push(x_389, x_401); +lean_inc(x_401); +x_403 = lean_array_push(x_402, x_401); +x_404 = lean_array_push(x_403, x_401); +x_405 = l_Lean_nullKind___closed__2; +x_406 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_406, 0, x_405); +lean_ctor_set(x_406, 1, x_404); +x_407 = lean_array_push(x_396, x_406); +x_408 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_409 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_409, 0, x_408); +lean_ctor_set(x_409, 1, x_407); +x_410 = lean_array_push(x_389, x_409); +x_411 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_412 = lean_array_push(x_410, x_411); +x_413 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_413, 0, x_405); +lean_ctor_set(x_413, 1, x_412); +x_414 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; +x_415 = lean_array_push(x_414, x_413); +x_416 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; +x_417 = lean_array_push(x_415, x_416); +x_418 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; +x_419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_419, 0, x_418); +lean_ctor_set(x_419, 1, x_417); +x_420 = lean_array_push(x_389, x_419); +x_421 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__54; +lean_inc(x_376); +lean_inc(x_379); +x_422 = l_Lean_addMacroScope(x_379, x_421, x_376); +x_423 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__53; +x_424 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57; +x_425 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_425, 0, x_385); +lean_ctor_set(x_425, 1, x_423); +lean_ctor_set(x_425, 2, x_422); +lean_ctor_set(x_425, 3, x_424); +x_426 = lean_array_push(x_389, x_425); +x_427 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; +lean_inc(x_376); +lean_inc(x_379); +x_428 = l_Lean_addMacroScope(x_379, x_427, x_376); +x_429 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; +x_430 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_430, 0, x_385); +lean_ctor_set(x_430, 1, x_429); +lean_ctor_set(x_430, 2, x_428); +lean_ctor_set(x_430, 3, x_384); +x_431 = lean_array_push(x_389, x_430); +x_432 = lean_array_push(x_431, x_374); +x_433 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; +x_434 = l_Lean_addMacroScope(x_379, x_433, x_376); +x_435 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64; +x_436 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_436, 0, x_385); +lean_ctor_set(x_436, 1, x_435); +lean_ctor_set(x_436, 2, x_434); +lean_ctor_set(x_436, 3, x_384); +x_437 = lean_array_push(x_432, x_436); +x_438 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_438, 0, x_405); +lean_ctor_set(x_438, 1, x_437); +x_439 = lean_array_push(x_426, x_438); +x_440 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_440, 0, x_408); +lean_ctor_set(x_440, 1, x_439); +x_441 = lean_array_push(x_389, x_440); +x_442 = lean_array_push(x_441, x_411); +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_405); +lean_ctor_set(x_443, 1, x_442); +x_444 = lean_array_push(x_414, x_443); +x_445 = lean_array_push(x_444, x_416); +x_446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_446, 0, x_418); +lean_ctor_set(x_446, 1, x_445); +x_447 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(x_373); +x_448 = lean_ctor_get(x_367, 0); +lean_inc(x_448); +x_449 = lean_ctor_get(x_367, 1); +lean_inc(x_449); +x_450 = lean_ctor_get(x_367, 2); +lean_inc(x_450); +lean_dec(x_367); +x_451 = lean_string_utf8_extract(x_448, x_449, x_450); +lean_dec(x_450); +lean_dec(x_449); +lean_dec(x_448); +x_452 = l_Lean_Syntax_mkStrLit(x_451, x_385); +lean_dec(x_451); +x_453 = l_Lean_mkOptionalNode___closed__2; +x_454 = lean_array_push(x_453, x_452); +x_455 = l_Lean_instQuoteSubstring___closed__4; +x_456 = l_Lean_Syntax_mkCApp(x_455, x_454); +x_457 = lean_array_push(x_420, x_456); +x_458 = lean_array_push(x_457, x_446); +x_459 = lean_array_push(x_458, x_447); +x_460 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_460, 0, x_405); +lean_ctor_set(x_460, 1, x_459); +x_461 = lean_array_push(x_390, x_460); +x_462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_462, 0, x_408); +lean_ctor_set(x_462, 1, x_461); +if (lean_is_scalar(x_381)) { + x_463 = lean_alloc_ctor(0, 2, 0); } else { - x_529 = x_447; + x_463 = x_381; } -lean_ctor_set(x_529, 0, x_528); -lean_ctor_set(x_529, 1, x_446); -return x_529; +lean_ctor_set(x_463, 0, x_462); +lean_ctor_set(x_463, 1, x_380); +return x_463; } } } @@ -9423,7 +9411,7 @@ static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1( _start: { lean_object* x_1; -x_1 = lean_mk_string("getCurrMacroScope"); +x_1 = lean_mk_string("MonadRef.mkInfoFromRefPos"); return x_1; } } @@ -9453,37 +9441,35 @@ return x_4; static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("MonadRef"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__5() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("MonadQuotation"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; -x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("mkInfoFromRefPos"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__6; -x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1; +x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__5; +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -9492,11 +9478,9 @@ static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__7; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -9504,63 +9488,65 @@ static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8; +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("getMainModule"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__12() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__11; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; +x_1 = lean_mk_string("getCurrMacroScope"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__12; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__6; -x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__12; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__13; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__15() { @@ -9568,49 +9554,87 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__14; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__16() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("MonadQuotation"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__16; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__17; +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__15; +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__18; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__17() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21() { _start: { lean_object* x_1; -x_1 = lean_mk_string("Pure.pure"); +x_1 = lean_mk_string("getMainModule"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__18() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__17; +x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__17; +x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__18; +x_3 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9618,7 +9642,82 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__17; +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__26; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Pure.pure"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9630,12 +9729,12 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20; +x_2 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__31; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -9678,7 +9777,7 @@ lean_dec(x_7); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; 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_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; x_18 = lean_ctor_get(x_16, 0); x_19 = l_myMacro____x40_Init_Notation___hyg_9943____closed__7; lean_inc(x_14); @@ -9695,23 +9794,23 @@ lean_ctor_set(x_25, 2, x_20); lean_ctor_set(x_25, 3, x_24); x_26 = l_Array_empty___closed__1; x_27 = lean_array_push(x_26, x_25); -x_28 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; +x_28 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__7; lean_inc(x_14); lean_inc(x_18); x_29 = l_Lean_addMacroScope(x_18, x_28, x_14); x_30 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__3; -x_31 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; +x_31 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__11; x_32 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_32, 0, x_22); lean_ctor_set(x_32, 1, x_30); lean_ctor_set(x_32, 2, x_29); lean_ctor_set(x_32, 3, x_31); x_33 = lean_array_push(x_26, x_32); -x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; +x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__31; lean_inc(x_14); lean_inc(x_18); x_35 = l_Lean_addMacroScope(x_18, x_34, x_14); -x_36 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; +x_36 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; x_37 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_37, 0, x_22); lean_ctor_set(x_37, 1, x_36); @@ -9725,23 +9824,23 @@ lean_ctor_set(x_40, 1, x_38); x_41 = lean_array_push(x_26, x_40); x_42 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; x_43 = lean_array_push(x_41, x_42); -x_44 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__13; +x_44 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__15; lean_inc(x_14); lean_inc(x_18); x_45 = l_Lean_addMacroScope(x_18, x_44, x_14); -x_46 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__12; -x_47 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__16; +x_46 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__14; +x_47 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20; x_48 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_48, 0, x_22); lean_ctor_set(x_48, 1, x_46); lean_ctor_set(x_48, 2, x_45); lean_ctor_set(x_48, 3, x_47); x_49 = lean_array_push(x_26, x_48); -x_50 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57; +x_50 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; lean_inc(x_14); lean_inc(x_18); x_51 = l_Lean_addMacroScope(x_18, x_50, x_14); -x_52 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__56; +x_52 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64; x_53 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_53, 0, x_22); lean_ctor_set(x_53, 1, x_52); @@ -9753,280 +9852,390 @@ lean_ctor_set(x_55, 0, x_39); lean_ctor_set(x_55, 1, x_54); x_56 = lean_array_push(x_26, x_55); x_57 = lean_array_push(x_56, x_42); -x_58 = l_Lean_Meta_mkPure___rarg___closed__4; +x_58 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__24; +lean_inc(x_14); +lean_inc(x_18); x_59 = l_Lean_addMacroScope(x_18, x_58, x_14); -x_60 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; -x_61 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; +x_60 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__23; +x_61 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27; x_62 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_62, 0, x_22); lean_ctor_set(x_62, 1, x_60); lean_ctor_set(x_62, 2, x_59); lean_ctor_set(x_62, 3, x_61); x_63 = lean_array_push(x_26, x_62); -x_64 = lean_array_push(x_26, x_11); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_39); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_array_push(x_63, x_65); -x_67 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = lean_array_push(x_57, x_68); -x_70 = l_myMacro____x40_Init_Notation___hyg_11259____closed__15; -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_72 = l_myMacro____x40_Init_Notation___hyg_11259____closed__13; -x_73 = lean_array_push(x_72, x_71); -x_74 = l_myMacro____x40_Init_Notation___hyg_11259____closed__11; -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = lean_array_push(x_26, x_75); -x_77 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_78 = lean_array_push(x_76, x_77); +x_64 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; +lean_inc(x_14); +lean_inc(x_18); +x_65 = l_Lean_addMacroScope(x_18, x_64, x_14); +x_66 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; +x_67 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_67, 0, x_22); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set(x_67, 2, x_65); +lean_ctor_set(x_67, 3, x_21); +x_68 = lean_array_push(x_26, x_67); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_39); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_array_push(x_26, x_69); +x_71 = lean_array_push(x_70, x_42); +x_72 = l_Lean_Meta_mkPure___rarg___closed__4; +x_73 = l_Lean_addMacroScope(x_18, x_72, x_14); +x_74 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__30; +x_75 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__32; +x_76 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_76, 0, x_22); +lean_ctor_set(x_76, 1, x_74); +lean_ctor_set(x_76, 2, x_73); +lean_ctor_set(x_76, 3, x_75); +x_77 = lean_array_push(x_26, x_76); +x_78 = lean_array_push(x_26, x_11); x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_39); lean_ctor_set(x_79, 1, x_78); -x_80 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_81 = lean_array_push(x_80, x_79); -x_82 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_83 = lean_array_push(x_81, x_82); -x_84 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; +x_80 = lean_array_push(x_77, x_79); +x_81 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +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_71, x_82); +x_84 = l_myMacro____x40_Init_Notation___hyg_11259____closed__15; x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_84); lean_ctor_set(x_85, 1, x_83); -x_86 = lean_array_push(x_49, x_85); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_39); -lean_ctor_set(x_87, 1, x_86); -lean_inc(x_27); -x_88 = lean_array_push(x_27, x_87); +x_86 = l_myMacro____x40_Init_Notation___hyg_11259____closed__13; +x_87 = lean_array_push(x_86, x_85); +x_88 = l_myMacro____x40_Init_Notation___hyg_11259____closed__11; x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_67); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_43, x_89); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_70); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_array_push(x_72, x_91); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = lean_array_push(x_26, x_89); +x_91 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_92 = lean_array_push(x_90, x_91); x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_74); +lean_ctor_set(x_93, 0, x_39); lean_ctor_set(x_93, 1, x_92); -x_94 = lean_array_push(x_26, x_93); -x_95 = lean_array_push(x_94, x_77); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_39); -lean_ctor_set(x_96, 1, x_95); -x_97 = lean_array_push(x_80, x_96); -x_98 = lean_array_push(x_97, x_82); +x_94 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; +x_95 = lean_array_push(x_94, x_93); +x_96 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; +x_97 = lean_array_push(x_95, x_96); +x_98 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_84); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_array_push(x_33, x_99); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = lean_array_push(x_63, x_99); x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_39); lean_ctor_set(x_101, 1, x_100); +lean_inc(x_27); x_102 = lean_array_push(x_27, x_101); x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_67); +lean_ctor_set(x_103, 0, x_81); lean_ctor_set(x_103, 1, x_102); -lean_ctor_set(x_16, 0, x_103); +x_104 = lean_array_push(x_57, x_103); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_84); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_array_push(x_86, x_105); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_88); +lean_ctor_set(x_107, 1, x_106); +x_108 = lean_array_push(x_26, x_107); +x_109 = lean_array_push(x_108, x_91); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_39); +lean_ctor_set(x_110, 1, x_109); +x_111 = lean_array_push(x_94, x_110); +x_112 = lean_array_push(x_111, x_96); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_98); +lean_ctor_set(x_113, 1, x_112); +x_114 = lean_array_push(x_49, x_113); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_39); +lean_ctor_set(x_115, 1, x_114); +lean_inc(x_27); +x_116 = lean_array_push(x_27, x_115); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_81); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_array_push(x_43, x_117); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_84); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_array_push(x_86, x_119); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_88); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_array_push(x_26, x_121); +x_123 = lean_array_push(x_122, x_91); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_39); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_array_push(x_94, x_124); +x_126 = lean_array_push(x_125, x_96); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_98); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_33, x_127); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_39); +lean_ctor_set(x_129, 1, x_128); +x_130 = lean_array_push(x_27, x_129); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_81); +lean_ctor_set(x_131, 1, x_130); +lean_ctor_set(x_16, 0, x_131); return x_16; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_104 = lean_ctor_get(x_16, 0); -x_105 = lean_ctor_get(x_16, 1); -lean_inc(x_105); -lean_inc(x_104); +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; +x_132 = lean_ctor_get(x_16, 0); +x_133 = lean_ctor_get(x_16, 1); +lean_inc(x_133); +lean_inc(x_132); lean_dec(x_16); -x_106 = l_myMacro____x40_Init_Notation___hyg_9943____closed__7; +x_134 = l_myMacro____x40_Init_Notation___hyg_9943____closed__7; lean_inc(x_14); -lean_inc(x_104); -x_107 = l_Lean_addMacroScope(x_104, x_106, x_14); -x_108 = lean_box(0); -x_109 = l_Lean_instInhabitedSourceInfo___closed__1; -x_110 = l_myMacro____x40_Init_Notation___hyg_9943____closed__3; -x_111 = l_myMacro____x40_Init_Notation___hyg_9943____closed__9; -x_112 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_112, 0, x_109); -lean_ctor_set(x_112, 1, x_110); -lean_ctor_set(x_112, 2, x_107); -lean_ctor_set(x_112, 3, x_111); -x_113 = l_Array_empty___closed__1; -x_114 = lean_array_push(x_113, x_112); -x_115 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; -lean_inc(x_14); -lean_inc(x_104); -x_116 = l_Lean_addMacroScope(x_104, x_115, x_14); -x_117 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__3; -x_118 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; -x_119 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_119, 0, x_109); -lean_ctor_set(x_119, 1, x_117); -lean_ctor_set(x_119, 2, x_116); -lean_ctor_set(x_119, 3, x_118); -x_120 = lean_array_push(x_113, x_119); -x_121 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; -lean_inc(x_14); -lean_inc(x_104); -x_122 = l_Lean_addMacroScope(x_104, x_121, x_14); -x_123 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; -x_124 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_124, 0, x_109); -lean_ctor_set(x_124, 1, x_123); -lean_ctor_set(x_124, 2, x_122); -lean_ctor_set(x_124, 3, x_108); -x_125 = lean_array_push(x_113, x_124); -x_126 = l_Lean_nullKind___closed__2; -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_125); -x_128 = lean_array_push(x_113, x_127); -x_129 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; -x_130 = lean_array_push(x_128, x_129); -x_131 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__13; -lean_inc(x_14); -lean_inc(x_104); -x_132 = l_Lean_addMacroScope(x_104, x_131, x_14); -x_133 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__12; -x_134 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__16; -x_135 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_135, 0, x_109); -lean_ctor_set(x_135, 1, x_133); -lean_ctor_set(x_135, 2, x_132); -lean_ctor_set(x_135, 3, x_134); -x_136 = lean_array_push(x_113, x_135); -x_137 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57; -lean_inc(x_14); -lean_inc(x_104); -x_138 = l_Lean_addMacroScope(x_104, x_137, x_14); -x_139 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__56; +lean_inc(x_132); +x_135 = l_Lean_addMacroScope(x_132, x_134, x_14); +x_136 = lean_box(0); +x_137 = l_Lean_instInhabitedSourceInfo___closed__1; +x_138 = l_myMacro____x40_Init_Notation___hyg_9943____closed__3; +x_139 = l_myMacro____x40_Init_Notation___hyg_9943____closed__9; x_140 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_140, 0, x_109); -lean_ctor_set(x_140, 1, x_139); -lean_ctor_set(x_140, 2, x_138); -lean_ctor_set(x_140, 3, x_108); -x_141 = lean_array_push(x_113, x_140); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_126); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_array_push(x_113, x_142); -x_144 = lean_array_push(x_143, x_129); -x_145 = l_Lean_Meta_mkPure___rarg___closed__4; -x_146 = l_Lean_addMacroScope(x_104, x_145, x_14); -x_147 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; -x_148 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -x_149 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_149, 0, x_109); -lean_ctor_set(x_149, 1, x_147); -lean_ctor_set(x_149, 2, x_146); -lean_ctor_set(x_149, 3, x_148); -x_150 = lean_array_push(x_113, x_149); -x_151 = lean_array_push(x_113, x_11); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_126); +lean_ctor_set(x_140, 0, x_137); +lean_ctor_set(x_140, 1, x_138); +lean_ctor_set(x_140, 2, x_135); +lean_ctor_set(x_140, 3, x_139); +x_141 = l_Array_empty___closed__1; +x_142 = lean_array_push(x_141, x_140); +x_143 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__7; +lean_inc(x_14); +lean_inc(x_132); +x_144 = l_Lean_addMacroScope(x_132, x_143, x_14); +x_145 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__3; +x_146 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__11; +x_147 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_147, 0, x_137); +lean_ctor_set(x_147, 1, x_145); +lean_ctor_set(x_147, 2, x_144); +lean_ctor_set(x_147, 3, x_146); +x_148 = lean_array_push(x_141, x_147); +x_149 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__31; +lean_inc(x_14); +lean_inc(x_132); +x_150 = l_Lean_addMacroScope(x_132, x_149, x_14); +x_151 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; +x_152 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_152, 0, x_137); lean_ctor_set(x_152, 1, x_151); -x_153 = lean_array_push(x_150, x_152); -x_154 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +lean_ctor_set(x_152, 2, x_150); +lean_ctor_set(x_152, 3, x_136); +x_153 = lean_array_push(x_141, x_152); +x_154 = l_Lean_nullKind___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); -x_156 = lean_array_push(x_144, x_155); -x_157 = l_myMacro____x40_Init_Notation___hyg_11259____closed__15; -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_myMacro____x40_Init_Notation___hyg_11259____closed__13; -x_160 = lean_array_push(x_159, x_158); -x_161 = l_myMacro____x40_Init_Notation___hyg_11259____closed__11; -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_160); -x_163 = lean_array_push(x_113, x_162); -x_164 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_165 = lean_array_push(x_163, x_164); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_126); -lean_ctor_set(x_166, 1, x_165); -x_167 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_168 = lean_array_push(x_167, x_166); -x_169 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_170 = lean_array_push(x_168, x_169); -x_171 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_170); -x_173 = lean_array_push(x_136, x_172); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_126); -lean_ctor_set(x_174, 1, x_173); -lean_inc(x_114); -x_175 = lean_array_push(x_114, x_174); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_154); -lean_ctor_set(x_176, 1, x_175); -x_177 = lean_array_push(x_130, x_176); -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_157); -lean_ctor_set(x_178, 1, x_177); -x_179 = lean_array_push(x_159, x_178); -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_161); -lean_ctor_set(x_180, 1, x_179); -x_181 = lean_array_push(x_113, x_180); -x_182 = lean_array_push(x_181, x_164); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_126); -lean_ctor_set(x_183, 1, x_182); -x_184 = lean_array_push(x_167, x_183); -x_185 = lean_array_push(x_184, x_169); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_171); -lean_ctor_set(x_186, 1, x_185); -x_187 = lean_array_push(x_120, x_186); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_126); -lean_ctor_set(x_188, 1, x_187); -x_189 = lean_array_push(x_114, x_188); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_154); -lean_ctor_set(x_190, 1, x_189); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_105); -return x_191; +x_156 = lean_array_push(x_141, x_155); +x_157 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; +x_158 = lean_array_push(x_156, x_157); +x_159 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__15; +lean_inc(x_14); +lean_inc(x_132); +x_160 = l_Lean_addMacroScope(x_132, x_159, x_14); +x_161 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__14; +x_162 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20; +x_163 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_163, 0, x_137); +lean_ctor_set(x_163, 1, x_161); +lean_ctor_set(x_163, 2, x_160); +lean_ctor_set(x_163, 3, x_162); +x_164 = lean_array_push(x_141, x_163); +x_165 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; +lean_inc(x_14); +lean_inc(x_132); +x_166 = l_Lean_addMacroScope(x_132, x_165, x_14); +x_167 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64; +x_168 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_168, 0, x_137); +lean_ctor_set(x_168, 1, x_167); +lean_ctor_set(x_168, 2, x_166); +lean_ctor_set(x_168, 3, x_136); +x_169 = lean_array_push(x_141, x_168); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_154); +lean_ctor_set(x_170, 1, x_169); +x_171 = lean_array_push(x_141, x_170); +x_172 = lean_array_push(x_171, x_157); +x_173 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__24; +lean_inc(x_14); +lean_inc(x_132); +x_174 = l_Lean_addMacroScope(x_132, x_173, x_14); +x_175 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__23; +x_176 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27; +x_177 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_177, 0, x_137); +lean_ctor_set(x_177, 1, x_175); +lean_ctor_set(x_177, 2, x_174); +lean_ctor_set(x_177, 3, x_176); +x_178 = lean_array_push(x_141, x_177); +x_179 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; +lean_inc(x_14); +lean_inc(x_132); +x_180 = l_Lean_addMacroScope(x_132, x_179, x_14); +x_181 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; +x_182 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_182, 0, x_137); +lean_ctor_set(x_182, 1, x_181); +lean_ctor_set(x_182, 2, x_180); +lean_ctor_set(x_182, 3, x_136); +x_183 = lean_array_push(x_141, x_182); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_154); +lean_ctor_set(x_184, 1, x_183); +x_185 = lean_array_push(x_141, x_184); +x_186 = lean_array_push(x_185, x_157); +x_187 = l_Lean_Meta_mkPure___rarg___closed__4; +x_188 = l_Lean_addMacroScope(x_132, x_187, x_14); +x_189 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__30; +x_190 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__32; +x_191 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_191, 0, x_137); +lean_ctor_set(x_191, 1, x_189); +lean_ctor_set(x_191, 2, x_188); +lean_ctor_set(x_191, 3, x_190); +x_192 = lean_array_push(x_141, x_191); +x_193 = lean_array_push(x_141, x_11); +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_154); +lean_ctor_set(x_194, 1, x_193); +x_195 = lean_array_push(x_192, x_194); +x_196 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_195); +x_198 = lean_array_push(x_186, x_197); +x_199 = l_myMacro____x40_Init_Notation___hyg_11259____closed__15; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = l_myMacro____x40_Init_Notation___hyg_11259____closed__13; +x_202 = lean_array_push(x_201, x_200); +x_203 = l_myMacro____x40_Init_Notation___hyg_11259____closed__11; +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_202); +x_205 = lean_array_push(x_141, x_204); +x_206 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_207 = lean_array_push(x_205, x_206); +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_154); +lean_ctor_set(x_208, 1, x_207); +x_209 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; +x_210 = lean_array_push(x_209, x_208); +x_211 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; +x_212 = lean_array_push(x_210, x_211); +x_213 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; +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_178, x_214); +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_154); +lean_ctor_set(x_216, 1, x_215); +lean_inc(x_142); +x_217 = lean_array_push(x_142, x_216); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_196); +lean_ctor_set(x_218, 1, x_217); +x_219 = lean_array_push(x_172, x_218); +x_220 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_220, 0, x_199); +lean_ctor_set(x_220, 1, x_219); +x_221 = lean_array_push(x_201, x_220); +x_222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_222, 0, x_203); +lean_ctor_set(x_222, 1, x_221); +x_223 = lean_array_push(x_141, x_222); +x_224 = lean_array_push(x_223, x_206); +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_154); +lean_ctor_set(x_225, 1, x_224); +x_226 = lean_array_push(x_209, x_225); +x_227 = lean_array_push(x_226, x_211); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_213); +lean_ctor_set(x_228, 1, x_227); +x_229 = lean_array_push(x_164, x_228); +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_154); +lean_ctor_set(x_230, 1, x_229); +lean_inc(x_142); +x_231 = lean_array_push(x_142, x_230); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_196); +lean_ctor_set(x_232, 1, x_231); +x_233 = lean_array_push(x_158, x_232); +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_199); +lean_ctor_set(x_234, 1, x_233); +x_235 = lean_array_push(x_201, x_234); +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_203); +lean_ctor_set(x_236, 1, x_235); +x_237 = lean_array_push(x_141, x_236); +x_238 = lean_array_push(x_237, x_206); +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_154); +lean_ctor_set(x_239, 1, x_238); +x_240 = lean_array_push(x_209, x_239); +x_241 = lean_array_push(x_240, x_211); +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_213); +lean_ctor_set(x_242, 1, x_241); +x_243 = lean_array_push(x_148, x_242); +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_154); +lean_ctor_set(x_244, 1, x_243); +x_245 = lean_array_push(x_142, x_244); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_196); +lean_ctor_set(x_246, 1, x_245); +x_247 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_133); +return x_247; } } else { -uint8_t x_192; +uint8_t x_248; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_192 = !lean_is_exclusive(x_10); -if (x_192 == 0) +x_248 = !lean_is_exclusive(x_10); +if (x_248 == 0) { return x_10; } else { -lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_193 = lean_ctor_get(x_10, 0); -x_194 = lean_ctor_get(x_10, 1); -lean_inc(x_194); -lean_inc(x_193); +lean_object* x_249; lean_object* x_250; lean_object* x_251; +x_249 = lean_ctor_get(x_10, 0); +x_250 = lean_ctor_get(x_10, 1); +lean_inc(x_250); +lean_inc(x_249); lean_dec(x_10); -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -return x_195; +x_251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_251, 0, x_249); +lean_ctor_set(x_251, 1, x_250); +return x_251; } } } @@ -10121,7 +10330,7 @@ x_1 = l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__8; return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -10130,13 +10339,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__4; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__1; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__1; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -10144,7 +10353,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__3() { _start: { lean_object* x_1; @@ -10152,22 +10361,22 @@ x_1 = lean_mk_string("elabQuot"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__3; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__3; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__4; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -10175,17 +10384,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__6() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__3; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__7() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -10194,13 +10403,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__8() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__8; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__7; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__7; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -10208,7 +10417,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__9() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10218,7 +10427,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__10() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10230,19 +10439,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__11() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__10; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__10; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__12() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__12() { _start: { lean_object* x_1; @@ -10250,22 +10459,22 @@ x_1 = lean_mk_string("adaptExpander"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__13() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__12; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__12; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__14() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__12; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__12; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__13; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__13; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -10273,51 +10482,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__15() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__12; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__16() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__12; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__17() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__16; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__16; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__18() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__17; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__17; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__19() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__19() { _start: { lean_object* x_1; @@ -10325,22 +10534,22 @@ x_1 = lean_mk_string("stxQuot.expand"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__20() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__19; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__19; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__21() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__19; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__19; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__20; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__20; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -10348,7 +10557,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__22() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__22() { _start: { lean_object* x_1; @@ -10356,17 +10565,17 @@ x_1 = lean_mk_string("stxQuot"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__23() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__22; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__24() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__24() { _start: { lean_object* x_1; @@ -10374,61 +10583,61 @@ x_1 = lean_mk_string("expand"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__25() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__23; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__24; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__23; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__24; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__26() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__2; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__22; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__27() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__26; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__24; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__26; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__24; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__28() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__27; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__27; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__29() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__28; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__28; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10463,7 +10672,7 @@ lean_inc(x_11); x_13 = l_Lean_addMacroScope(x_11, x_12, x_10); x_14 = lean_box(0); x_15 = l_Lean_instInhabitedSourceInfo___closed__1; -x_16 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__2; +x_16 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__2; x_17 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); @@ -10515,11 +10724,11 @@ x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); x_49 = lean_array_push(x_18, x_48); -x_50 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__6; +x_50 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__6; lean_inc(x_10); lean_inc(x_11); x_51 = l_Lean_addMacroScope(x_11, x_50, x_10); -x_52 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__5; +x_52 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__5; x_53 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_53, 0, x_15); lean_ctor_set(x_53, 1, x_52); @@ -10533,12 +10742,12 @@ lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_55); x_58 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__27; x_59 = lean_array_push(x_58, x_57); -x_60 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__9; +x_60 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__9; lean_inc(x_10); lean_inc(x_11); x_61 = l_Lean_addMacroScope(x_11, x_60, x_10); -x_62 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__8; -x_63 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__11; +x_62 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__8; +x_63 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__11; x_64 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_64, 0, x_15); lean_ctor_set(x_64, 1, x_62); @@ -10560,22 +10769,22 @@ x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); x_74 = lean_array_push(x_59, x_73); -x_75 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__15; +x_75 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__15; lean_inc(x_10); lean_inc(x_11); x_76 = l_Lean_addMacroScope(x_11, x_75, x_10); -x_77 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__14; -x_78 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__18; +x_77 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__14; +x_78 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__18; x_79 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_79, 0, x_15); lean_ctor_set(x_79, 1, x_77); lean_ctor_set(x_79, 2, x_76); lean_ctor_set(x_79, 3, x_78); x_80 = lean_array_push(x_18, x_79); -x_81 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__25; +x_81 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__25; x_82 = l_Lean_addMacroScope(x_11, x_81, x_10); -x_83 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__21; -x_84 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__29; +x_83 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__21; +x_84 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__29; x_85 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_85, 0, x_15); lean_ctor_set(x_85, 1, x_83); @@ -10614,7 +10823,7 @@ return x_102; } } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1() { _start: { lean_object* x_1; @@ -10622,44 +10831,44 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_stxQuot_expand), 8, return x_1; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182_(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_Term_termElabAttribute; x_3 = l_Lean_Parser_Level_quot___elambda__1___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10669,175 +10878,175 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187_(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_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__2; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192_(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_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__3; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197_(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_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202_(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_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207_(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_Term_termElabAttribute; x_3 = l_Lean_Parser_Tactic_quot___elambda__1___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212_(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_Term_termElabAttribute; x_3 = l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10847,45 +11056,45 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__1; x_2 = l_Lean_Syntax_isQuot_match__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217_(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_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__3; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__3; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10895,73 +11104,73 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__1; x_2 = l_Lean_Syntax_isQuot_match__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222_(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_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__3; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__3; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227_(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_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_attr_quot___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10971,45 +11180,45 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__1; x_2 = l_Lean_Syntax_isQuot_match__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232_(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_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__3; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__3; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__1() { _start: { lean_object* x_1; @@ -11017,69 +11226,69 @@ x_1 = lean_mk_string("doElem"); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__1; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__2; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__2; x_2 = l_Lean_Syntax_isQuot_match__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237_(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_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__3; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__4; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__3; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__4; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242_(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_Term_termElabAttribute; x_3 = l_Lean_Syntax_getQuotContent___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } @@ -11432,54 +11641,76 @@ lean_dec(x_2); return x_9; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -if (lean_obj_tag(x_5) == 0) +switch (lean_obj_tag(x_1)) { +case 1: { lean_object* x_6; -lean_dec(x_3); -x_6 = lean_apply_2(x_4, x_1, x_2); -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_dec(x_4); -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); -lean_dec(x_1); -x_8 = lean_ctor_get(x_5, 0); -lean_inc(x_8); -lean_dec(x_5); -x_9 = lean_ctor_get(x_2, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); -lean_dec(x_2); -x_11 = lean_apply_4(x_3, x_7, x_8, x_9, x_10); -return x_11; -} +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +lean_dec(x_3); +x_7 = lean_apply_2(x_5, x_1, x_2); +return x_7; } else { -lean_object* x_12; -lean_dec(x_3); -x_12 = lean_apply_2(x_4, x_1, x_2); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_5); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_apply_4(x_3, x_8, x_9, x_10, x_11); return x_12; } } +case 2: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_5); +lean_dec(x_3); +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = lean_apply_4(x_4, x_13, x_14, x_15, x_16); +return x_17; +} +default: +{ +lean_object* x_18; +lean_dec(x_4); +lean_dec(x_3); +x_18 = lean_apply_2(x_5, x_1, x_2); +return x_18; +} +} +} } lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1___rarg), 5, 0); return x_2; } } @@ -11506,9 +11737,9 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -11526,7 +11757,8 @@ return x_2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats(lean_object* x_1, lean_object* x_2) { _start: { -if (lean_obj_tag(x_1) == 1) +switch (lean_obj_tag(x_1)) { +case 1: { lean_object* x_3; x_3 = lean_ctor_get(x_1, 1); @@ -11571,13 +11803,62 @@ return x_15; } } } +case 2: +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_1, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +lean_dec(x_1); +x_18 = !lean_is_exclusive(x_2); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_2, 0); +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_16, x_20); +lean_dec(x_16); +x_22 = lean_nat_add(x_21, x_17); +lean_dec(x_17); +lean_dec(x_21); +x_23 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3; +x_24 = l_List_replicate___rarg(x_22, x_23); +x_25 = l_List_append___rarg(x_24, x_19); +lean_ctor_set(x_2, 0, x_25); +return x_2; +} 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; +x_26 = lean_ctor_get(x_2, 0); +x_27 = lean_ctor_get(x_2, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_2); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_16, x_28); +lean_dec(x_16); +x_30 = lean_nat_add(x_29, x_17); +lean_dec(x_17); +lean_dec(x_29); +x_31 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3; +x_32 = l_List_replicate___rarg(x_30, x_31); +x_33 = l_List_append___rarg(x_32, x_26); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_27); +return x_34; +} +} +default: +{ lean_dec(x_1); return x_2; } } } +} lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -11917,7 +12198,7 @@ return x_2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -if (lean_obj_tag(x_1) == 2) +if (lean_obj_tag(x_1) == 3) { lean_object* x_4; lean_object* x_5; lean_dec(x_3); @@ -12055,7 +12336,60 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Te return x_2; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7___rarg), 2, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 2) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_2, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = lean_apply_1(x_3, x_1); +return x_7; +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 1) @@ -12079,15 +12413,15 @@ return x_7; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -12100,15 +12434,15 @@ x_5 = lean_apply_2(x_2, x_3, x_4); return x_5; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10___rarg), 2, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__11___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 1) @@ -12160,15 +12494,45 @@ return x_13; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__11(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__11___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__12(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__12___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__13___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -12192,11 +12556,11 @@ return x_8; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__13(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__13___rarg), 3, 0); return x_2; } } @@ -12345,7 +12709,7 @@ x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Ter x_6 = lean_array_push(x_5, x_1); x_7 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; x_8 = lean_array_push(x_6, x_7); -x_9 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1; +x_9 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__1; x_10 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); @@ -12375,8 +12739,8 @@ x_8 = lean_array_uset(x_3, x_2, x_7); x_9 = x_6; x_10 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___boxed), 4, 1); lean_closure_set(x_10, 0, x_9); -x_11 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_12 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_11 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_12 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_12, 0, x_11); lean_closure_set(x_12, 1, x_10); x_13 = l_Lean_Unhygienic_run___rarg(x_12); @@ -12696,7 +13060,561 @@ return x_85; } } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1() { +lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_4, x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_sub(x_4, x_10); +lean_dec(x_4); +x_12 = lean_array_fget(x_3, x_5); +x_13 = lean_nat_dec_eq(x_5, x_2); +x_14 = lean_nat_add(x_5, x_10); +lean_dec(x_5); +if (x_13 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +x_16 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_17 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); +lean_closure_set(x_17, 0, x_16); +lean_closure_set(x_17, 1, x_15); +x_18 = l_Lean_Unhygienic_run___rarg(x_17); +x_19 = lean_array_push(x_7, x_18); +x_4 = x_11; +x_5 = x_14; +x_6 = lean_box(0); +x_7 = x_19; +goto _start; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_21 = l_Lean_mkOptionalNode___closed__2; +x_22 = lean_array_push(x_21, x_12); +x_23 = l_Lean_nullKind; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___boxed), 4, 1); +lean_closure_set(x_25, 0, x_24); +x_26 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_27 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); +lean_closure_set(x_27, 0, x_26); +lean_closure_set(x_27, 1, x_25); +x_28 = l_Lean_Unhygienic_run___rarg(x_27); +x_29 = lean_array_push(x_7, x_28); +x_4 = x_11; +x_5 = x_14; +x_6 = lean_box(0); +x_7 = x_29; +goto _start; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +return x_7; +} +} +} +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_1); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_12 = lean_ctor_get(x_1, 0); +x_13 = lean_ctor_get(x_1, 1); +x_14 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5; +lean_inc(x_15); +lean_inc(x_18); +x_21 = l_Lean_addMacroScope(x_18, x_20, x_15); +x_22 = lean_box(0); +x_23 = l_Lean_instInhabitedSourceInfo___closed__1; +x_24 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3; +x_25 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__8; +x_26 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_24); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_25); +x_27 = l_Array_empty___closed__1; +x_28 = lean_array_push(x_27, x_26); +x_29 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_30 = l_Lean_addMacroScope(x_18, x_29, x_15); +x_31 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_32 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_32, 0, x_23); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_32, 2, x_30); +lean_ctor_set(x_32, 3, x_22); +x_33 = lean_array_push(x_27, x_32); +x_34 = l_Nat_repr(x_12); +x_35 = l_Lean_numLitKind; +x_36 = l_Lean_Syntax_mkLit(x_35, x_34, x_23); +x_37 = lean_array_push(x_33, x_36); +x_38 = l_Lean_nullKind___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 = lean_array_push(x_28, x_39); +x_41 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_19); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_43, 0); +lean_ctor_set(x_1, 1, x_45); +lean_ctor_set(x_1, 0, x_42); +lean_ctor_set(x_43, 0, x_1); +return x_43; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_43, 0); +x_47 = lean_ctor_get(x_43, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_43); +lean_ctor_set(x_1, 1, x_46); +lean_ctor_set(x_1, 0, x_42); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_1); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; 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_49 = lean_ctor_get(x_1, 0); +x_50 = lean_ctor_get(x_1, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_1); +x_51 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_53); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5; +lean_inc(x_52); +lean_inc(x_55); +x_58 = l_Lean_addMacroScope(x_55, x_57, x_52); +x_59 = lean_box(0); +x_60 = l_Lean_instInhabitedSourceInfo___closed__1; +x_61 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3; +x_62 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__8; +x_63 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +lean_ctor_set(x_63, 2, x_58); +lean_ctor_set(x_63, 3, x_62); +x_64 = l_Array_empty___closed__1; +x_65 = lean_array_push(x_64, x_63); +x_66 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_67 = l_Lean_addMacroScope(x_55, x_66, x_52); +x_68 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_69 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_69, 0, x_60); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_69, 2, x_67); +lean_ctor_set(x_69, 3, x_59); +x_70 = lean_array_push(x_64, x_69); +x_71 = l_Nat_repr(x_49); +x_72 = l_Lean_numLitKind; +x_73 = l_Lean_Syntax_mkLit(x_72, x_71, x_60); +x_74 = lean_array_push(x_70, x_73); +x_75 = l_Lean_nullKind___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_65, x_76); +x_78 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_56); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_83 = x_80; +} else { + lean_dec_ref(x_80); + x_83 = lean_box(0); +} +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_79); +lean_ctor_set(x_84, 1, x_81); +if (lean_is_scalar(x_83)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_83; +} +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); +return x_85; +} +} +} +} +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23, lean_object* x_24, lean_object* x_25) { +_start: +{ +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_18); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 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; uint8_t x_72; +x_29 = lean_ctor_get(x_18, 0); +x_30 = lean_ctor_get(x_18, 1); +x_31 = l_Lean_Elab_Term_getCurrMacroScope(x_19, x_20, x_21, x_22, x_23, x_24, x_25); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_Elab_Term_getMainModule___rarg(x_24, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5; +lean_inc(x_32); +lean_inc(x_35); +x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); +x_39 = l_Lean_Parser_Syntax_addPrec___closed__5; +lean_inc(x_2); +x_40 = lean_name_mk_string(x_2, x_39); +x_41 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; +x_42 = lean_name_mk_string(x_40, x_41); +lean_inc(x_6); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_6); +lean_inc(x_7); +lean_ctor_set(x_18, 1, x_7); +lean_ctor_set(x_18, 0, x_43); +x_44 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3; +lean_inc(x_5); +x_45 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_45, 0, x_5); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_38); +lean_ctor_set(x_45, 3, x_18); +lean_inc(x_4); +x_46 = lean_array_push(x_4, x_45); +lean_inc(x_32); +lean_inc(x_11); +lean_inc(x_35); +x_47 = l_Lean_addMacroScope(x_35, x_11, x_32); +x_48 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +lean_inc(x_7); +lean_inc(x_5); +x_49 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_49, 0, x_5); +lean_ctor_set(x_49, 1, x_48); +lean_ctor_set(x_49, 2, x_47); +lean_ctor_set(x_49, 3, x_7); +lean_inc(x_4); +x_50 = lean_array_push(x_4, x_49); +lean_inc(x_14); +x_51 = l_Lean_addMacroScope(x_35, x_14, x_32); +lean_inc(x_7); +lean_inc(x_13); +lean_inc(x_5); +x_52 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_52, 0, x_5); +lean_ctor_set(x_52, 1, x_13); +lean_ctor_set(x_52, 2, x_51); +lean_ctor_set(x_52, 3, x_7); +lean_inc(x_4); +x_53 = lean_array_push(x_4, x_52); +lean_inc(x_15); +x_54 = lean_array_push(x_53, x_15); +x_55 = lean_nat_sub(x_1, x_29); +lean_dec(x_29); +x_56 = l_Nat_repr(x_55); +x_57 = l_Lean_numLitKind; +lean_inc(x_5); +x_58 = l_Lean_Syntax_mkLit(x_57, x_56, x_5); +x_59 = lean_array_push(x_54, x_58); +lean_inc(x_12); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_12); +lean_ctor_set(x_60, 1, x_59); +lean_inc(x_4); +x_61 = lean_array_push(x_4, x_60); +lean_inc(x_16); +x_62 = lean_array_push(x_61, x_16); +lean_inc(x_8); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_8); +lean_ctor_set(x_63, 1, x_62); +lean_inc(x_10); +x_64 = lean_array_push(x_10, x_63); +lean_inc(x_17); +x_65 = lean_array_push(x_64, x_17); +lean_inc(x_9); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_9); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_array_push(x_50, x_66); +lean_inc(x_8); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_8); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_array_push(x_46, x_68); +lean_inc(x_3); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_3); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_30, x_19, x_20, x_21, x_22, x_23, x_24, x_36); +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_71, 0); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_70); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_71, 0, x_74); +return x_71; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_71, 0); +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_71); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_70); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_76); +return x_78; +} +} +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; 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; +x_79 = lean_ctor_get(x_18, 0); +x_80 = lean_ctor_get(x_18, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_18); +x_81 = l_Lean_Elab_Term_getCurrMacroScope(x_19, x_20, x_21, x_22, x_23, x_24, x_25); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = l_Lean_Elab_Term_getMainModule___rarg(x_24, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5; +lean_inc(x_82); +lean_inc(x_85); +x_88 = l_Lean_addMacroScope(x_85, x_87, x_82); +x_89 = l_Lean_Parser_Syntax_addPrec___closed__5; +lean_inc(x_2); +x_90 = lean_name_mk_string(x_2, x_89); +x_91 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; +x_92 = lean_name_mk_string(x_90, x_91); +lean_inc(x_6); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_6); +lean_inc(x_7); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_7); +x_95 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3; +lean_inc(x_5); +x_96 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_96, 0, x_5); +lean_ctor_set(x_96, 1, x_95); +lean_ctor_set(x_96, 2, x_88); +lean_ctor_set(x_96, 3, x_94); +lean_inc(x_4); +x_97 = lean_array_push(x_4, x_96); +lean_inc(x_82); +lean_inc(x_11); +lean_inc(x_85); +x_98 = l_Lean_addMacroScope(x_85, x_11, x_82); +x_99 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +lean_inc(x_7); +lean_inc(x_5); +x_100 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_100, 0, x_5); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_100, 2, x_98); +lean_ctor_set(x_100, 3, x_7); +lean_inc(x_4); +x_101 = lean_array_push(x_4, x_100); +lean_inc(x_14); +x_102 = l_Lean_addMacroScope(x_85, x_14, x_82); +lean_inc(x_7); +lean_inc(x_13); +lean_inc(x_5); +x_103 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_103, 0, x_5); +lean_ctor_set(x_103, 1, x_13); +lean_ctor_set(x_103, 2, x_102); +lean_ctor_set(x_103, 3, x_7); +lean_inc(x_4); +x_104 = lean_array_push(x_4, x_103); +lean_inc(x_15); +x_105 = lean_array_push(x_104, x_15); +x_106 = lean_nat_sub(x_1, x_79); +lean_dec(x_79); +x_107 = l_Nat_repr(x_106); +x_108 = l_Lean_numLitKind; +lean_inc(x_5); +x_109 = l_Lean_Syntax_mkLit(x_108, x_107, x_5); +x_110 = lean_array_push(x_105, x_109); +lean_inc(x_12); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_12); +lean_ctor_set(x_111, 1, x_110); +lean_inc(x_4); +x_112 = lean_array_push(x_4, x_111); +lean_inc(x_16); +x_113 = lean_array_push(x_112, x_16); +lean_inc(x_8); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_8); +lean_ctor_set(x_114, 1, x_113); +lean_inc(x_10); +x_115 = lean_array_push(x_10, x_114); +lean_inc(x_17); +x_116 = lean_array_push(x_115, x_17); +lean_inc(x_9); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_9); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_array_push(x_101, x_117); +lean_inc(x_8); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_8); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_array_push(x_97, x_119); +lean_inc(x_3); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_3); +lean_ctor_set(x_121, 1, x_120); +x_122 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_80, x_19, x_20, x_21, x_22, x_23, x_24, x_86); +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_125 = x_122; +} else { + lean_dec_ref(x_122); + x_125 = lean_box(0); +} +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_121); +lean_ctor_set(x_126, 1, x_123); +if (lean_is_scalar(x_125)) { + x_127 = lean_alloc_ctor(0, 2, 0); +} else { + x_127 = x_125; +} +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_124); +return x_127; +} +} +} +} +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1() { _start: { lean_object* x_1; @@ -12704,22 +13622,22 @@ x_1 = lean_mk_string("tuples.map"); return x_1; } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__2() { +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__3() { +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__2; +x_3 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -12727,7 +13645,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__4() { +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__4() { _start: { lean_object* x_1; @@ -12735,27 +13653,27 @@ x_1 = lean_mk_string("tuples"); return x_1; } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5() { +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__4; +x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6() { +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5; x_2 = l_myMacro____x40_Init_Notation___hyg_10971____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { lean_object* x_19; uint8_t x_20; @@ -12823,9 +13741,9 @@ x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_5); lean_ctor_set(x_50, 1, x_49); x_51 = lean_array_push(x_48, x_50); -x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6; +x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__6; x_53 = l_Lean_addMacroScope(x_33, x_52, x_30); -x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__3; +x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__3; lean_inc(x_6); lean_inc(x_5); x_55 = lean_alloc_ctor(3, 4, 0); @@ -12971,7 +13889,7 @@ return x_104; } } } -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { lean_object* x_19; uint8_t x_20; @@ -13039,9 +13957,9 @@ x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_5); lean_ctor_set(x_50, 1, x_49); x_51 = lean_array_push(x_48, x_50); -x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6; +x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__6; x_53 = l_Lean_addMacroScope(x_33, x_52, x_30); -x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__3; +x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__3; lean_inc(x_6); lean_inc(x_5); x_55 = lean_alloc_ctor(3, 4, 0); @@ -13187,429 +14105,6 @@ return x_104; } } } -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { -_start: -{ -lean_object* x_19; uint8_t x_20; -x_19 = lean_ctor_get(x_8, 1); -x_20 = lean_nat_dec_le(x_19, x_10); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_nat_dec_eq(x_9, 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; -x_23 = lean_unsigned_to_nat(1u); -x_24 = lean_nat_sub(x_9, x_23); -lean_dec(x_9); -x_25 = lean_nat_add(x_10, x_23); -x_26 = l_Nat_repr(x_25); -x_27 = l_Lean_fieldIdxKind; -lean_inc(x_5); -x_28 = l_Lean_Syntax_mkLit(x_27, x_26, x_5); -x_29 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_18); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Elab_Term_getMainModule___rarg(x_17, x_31); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_myMacro____x40_Init_Notation___hyg_13348____closed__1; -lean_inc(x_2); -x_36 = lean_name_mk_string(x_2, x_35); -lean_inc(x_5); -x_37 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_37, 0, x_5); -lean_ctor_set(x_37, 1, x_35); -lean_inc(x_4); -x_38 = lean_array_push(x_4, x_37); -x_39 = l_myMacro____x40_Init_Notation___hyg_13348____closed__5; -lean_inc(x_2); -x_40 = lean_name_mk_string(x_2, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_13348____closed__7; -lean_inc(x_2); -x_42 = lean_name_mk_string(x_2, x_41); -x_43 = l_Lean_instInhabitedSyntax; -x_44 = lean_array_get(x_43, x_1, x_10); -lean_inc(x_4); -x_45 = lean_array_push(x_4, x_44); -lean_inc(x_4); -lean_inc(x_7); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_7); -lean_ctor_set(x_46, 1, x_4); -lean_inc(x_46); -x_47 = lean_array_push(x_45, x_46); -lean_inc(x_46); -x_48 = lean_array_push(x_47, x_46); -x_49 = l_myMacro____x40_Init_Notation___hyg_13348____closed__13; -lean_inc(x_5); -x_50 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_50, 0, x_5); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_array_push(x_48, x_50); -x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6; -x_53 = l_Lean_addMacroScope(x_33, x_52, x_30); -x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__3; -lean_inc(x_6); -lean_inc(x_5); -x_55 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_55, 0, x_5); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_55, 2, x_53); -lean_ctor_set(x_55, 3, x_6); -lean_inc(x_4); -x_56 = lean_array_push(x_4, x_55); -x_57 = l_myMacro____x40_Init_Notation___hyg_11259____closed__7; -lean_inc(x_2); -x_58 = lean_name_mk_string(x_2, x_57); -x_59 = l_prec_x28___x29___closed__3; -lean_inc(x_5); -x_60 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_60, 0, x_5); -lean_ctor_set(x_60, 1, x_59); -lean_inc(x_4); -x_61 = lean_array_push(x_4, x_60); -x_62 = l_Lean_Expr_ctorName___closed__10; -lean_inc(x_2); -x_63 = lean_name_mk_string(x_2, x_62); -x_64 = l_Lean_Parser_Term_cdot___elambda__1___closed__1; -lean_inc(x_2); -x_65 = lean_name_mk_string(x_2, x_64); -x_66 = l_Lean_Parser_Term_cdot___elambda__1___closed__5; -lean_inc(x_5); -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_5); -lean_ctor_set(x_67, 1, x_66); -lean_inc(x_4); -x_68 = lean_array_push(x_4, x_67); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_65); -lean_ctor_set(x_69, 1, x_68); -lean_inc(x_4); -x_70 = lean_array_push(x_4, x_69); -x_71 = l_Lean_Name_toString___closed__1; -lean_inc(x_5); -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_5); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_array_push(x_70, x_72); -x_74 = lean_array_push(x_73, x_28); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_63); -lean_ctor_set(x_75, 1, x_74); -lean_inc(x_4); -x_76 = lean_array_push(x_4, x_75); -x_77 = lean_array_push(x_76, x_46); -lean_inc(x_7); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_7); -lean_ctor_set(x_78, 1, x_77); -x_79 = lean_array_push(x_61, x_78); -x_80 = l_prec_x28___x29___closed__7; -lean_inc(x_5); -x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_5); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_array_push(x_79, x_81); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_58); -lean_ctor_set(x_83, 1, x_82); -lean_inc(x_4); -x_84 = lean_array_push(x_4, x_83); -lean_inc(x_7); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_7); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_56, x_85); -lean_inc(x_3); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_3); -lean_ctor_set(x_87, 1, x_86); -x_88 = lean_array_push(x_51, x_87); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_42); -lean_ctor_set(x_89, 1, x_88); -lean_inc(x_4); -x_90 = lean_array_push(x_4, x_89); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_40); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_array_push(x_38, x_91); -x_93 = l_myMacro____x40_Init_Notation___hyg_13348____closed__15; -lean_inc(x_5); -x_94 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_94, 0, x_5); -lean_ctor_set(x_94, 1, x_93); -lean_inc(x_4); -x_95 = lean_array_push(x_4, x_94); -lean_inc(x_7); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_7); -lean_ctor_set(x_96, 1, x_95); -x_97 = lean_array_push(x_92, x_96); -x_98 = lean_array_push(x_97, x_11); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_36); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_ctor_get(x_8, 2); -x_101 = lean_nat_add(x_10, x_100); -lean_dec(x_10); -x_9 = x_24; -x_10 = x_101; -x_11 = x_99; -x_18 = x_34; -goto _start; -} -else -{ -lean_object* x_103; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_11); -lean_ctor_set(x_103, 1, x_18); -return x_103; -} -} -else -{ -lean_object* x_104; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_11); -lean_ctor_set(x_104, 1, x_18); -return x_104; -} -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__6; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = x_3 < x_2; -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; size_t x_53; size_t x_54; -x_14 = lean_array_uget(x_1, x_3); -x_15 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Array_empty___closed__1; -x_22 = lean_array_push(x_21, x_14); -x_23 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -lean_inc(x_22); -x_24 = lean_array_push(x_22, x_23); -x_25 = lean_array_push(x_24, x_23); -x_26 = l_myMacro____x40_Init_Notation___hyg_13348____closed__14; -x_27 = lean_array_push(x_25, x_26); -x_28 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__15; -x_29 = l_Lean_addMacroScope(x_19, x_28, x_16); -x_30 = l_Lean_instInhabitedSourceInfo___closed__1; -x_31 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__14; -x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2; -x_33 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_33, 0, x_30); -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 = lean_array_push(x_21, x_33); -x_35 = l_Lean_nullKind___closed__2; -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_22); -x_37 = lean_array_push(x_34, x_36); -x_38 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -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 = lean_array_push(x_27, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_13348____closed__8; -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = lean_array_push(x_21, x_42); -x_44 = l_myMacro____x40_Init_Notation___hyg_13348____closed__6; -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_myMacro____x40_Init_Notation___hyg_13348____closed__4; -x_47 = lean_array_push(x_46, x_45); -x_48 = l_myMacro____x40_Init_Notation___hyg_13348____closed__18; -x_49 = lean_array_push(x_47, x_48); -x_50 = lean_array_push(x_49, x_4); -x_51 = l_myMacro____x40_Init_Notation___hyg_13348____closed__2; -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = 1; -x_54 = x_3 + x_53; -x_3 = x_54; -x_4 = x_52; -x_11 = x_20; -goto _start; -} -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__3; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = x_3 < x_2; -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; size_t x_47; size_t x_48; -x_14 = lean_array_uget(x_1, x_3); -x_15 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Array_empty___closed__1; -x_22 = lean_array_push(x_21, x_14); -x_23 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_24 = lean_array_push(x_22, x_23); -x_25 = lean_array_push(x_24, x_23); -x_26 = l_myMacro____x40_Init_Notation___hyg_13348____closed__14; -x_27 = lean_array_push(x_25, x_26); -x_28 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; -x_29 = l_Lean_addMacroScope(x_19, x_28, x_16); -x_30 = l_Lean_instInhabitedSourceInfo___closed__1; -x_31 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; -x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__2; -x_33 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_33, 0, x_30); -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 = lean_array_push(x_27, x_33); -x_35 = l_myMacro____x40_Init_Notation___hyg_13348____closed__8; -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -x_37 = lean_array_push(x_21, x_36); -x_38 = l_myMacro____x40_Init_Notation___hyg_13348____closed__6; -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -x_40 = l_myMacro____x40_Init_Notation___hyg_13348____closed__4; -x_41 = lean_array_push(x_40, x_39); -x_42 = l_myMacro____x40_Init_Notation___hyg_13348____closed__18; -x_43 = lean_array_push(x_41, x_42); -x_44 = lean_array_push(x_43, x_4); -x_45 = l_myMacro____x40_Init_Notation___hyg_13348____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 = 1; -x_48 = x_3 + x_47; -x_3 = x_48; -x_4 = x_46; -x_11 = x_20; -goto _start; -} -} -} lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { @@ -13678,9 +14173,9 @@ x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_5); lean_ctor_set(x_50, 1, x_49); x_51 = lean_array_push(x_48, x_50); -x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6; +x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__6; x_53 = l_Lean_addMacroScope(x_33, x_52, x_30); -x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__3; +x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__3; lean_inc(x_6); lean_inc(x_5); x_55 = lean_alloc_ctor(3, 4, 0); @@ -13826,7 +14321,214 @@ return x_104; } } } -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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) { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = x_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; size_t x_53; size_t x_54; +x_14 = lean_array_uget(x_1, x_3); +x_15 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Array_empty___closed__1; +x_22 = lean_array_push(x_21, x_14); +x_23 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +lean_inc(x_22); +x_24 = lean_array_push(x_22, x_23); +x_25 = lean_array_push(x_24, x_23); +x_26 = l_myMacro____x40_Init_Notation___hyg_13348____closed__14; +x_27 = lean_array_push(x_25, x_26); +x_28 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__15; +x_29 = l_Lean_addMacroScope(x_19, x_28, x_16); +x_30 = l_Lean_instInhabitedSourceInfo___closed__1; +x_31 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__14; +x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__2; +x_33 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_33, 0, x_30); +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 = lean_array_push(x_21, x_33); +x_35 = l_Lean_nullKind___closed__2; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_22); +x_37 = lean_array_push(x_34, x_36); +x_38 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +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 = lean_array_push(x_27, x_39); +x_41 = l_myMacro____x40_Init_Notation___hyg_13348____closed__8; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = lean_array_push(x_21, x_42); +x_44 = l_myMacro____x40_Init_Notation___hyg_13348____closed__6; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = l_myMacro____x40_Init_Notation___hyg_13348____closed__4; +x_47 = lean_array_push(x_46, x_45); +x_48 = l_myMacro____x40_Init_Notation___hyg_13348____closed__18; +x_49 = lean_array_push(x_47, x_48); +x_50 = lean_array_push(x_49, x_4); +x_51 = l_myMacro____x40_Init_Notation___hyg_13348____closed__2; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = 1; +x_54 = x_3 + x_53; +x_3 = x_54; +x_4 = x_52; +x_11 = x_20; +goto _start; +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__3; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = x_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; size_t x_47; size_t x_48; +x_14 = lean_array_uget(x_1, x_3); +x_15 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Array_empty___closed__1; +x_22 = lean_array_push(x_21, x_14); +x_23 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_24 = lean_array_push(x_22, x_23); +x_25 = lean_array_push(x_24, x_23); +x_26 = l_myMacro____x40_Init_Notation___hyg_13348____closed__14; +x_27 = lean_array_push(x_25, x_26); +x_28 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__21; +x_29 = l_Lean_addMacroScope(x_19, x_28, x_16); +x_30 = l_Lean_instInhabitedSourceInfo___closed__1; +x_31 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; +x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__2; +x_33 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_33, 0, x_30); +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 = lean_array_push(x_27, x_33); +x_35 = l_myMacro____x40_Init_Notation___hyg_13348____closed__8; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = lean_array_push(x_21, x_36); +x_38 = l_myMacro____x40_Init_Notation___hyg_13348____closed__6; +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = l_myMacro____x40_Init_Notation___hyg_13348____closed__4; +x_41 = lean_array_push(x_40, x_39); +x_42 = l_myMacro____x40_Init_Notation___hyg_13348____closed__18; +x_43 = lean_array_push(x_41, x_42); +x_44 = lean_array_push(x_43, x_4); +x_45 = l_myMacro____x40_Init_Notation___hyg_13348____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 = 1; +x_48 = x_3 + x_47; +x_3 = x_48; +x_4 = x_46; +x_11 = x_20; +goto _start; +} +} +} +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { lean_object* x_19; uint8_t x_20; @@ -13894,9 +14596,9 @@ x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_5); lean_ctor_set(x_50, 1, x_49); x_51 = lean_array_push(x_48, x_50); -x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6; +x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__6; x_53 = l_Lean_addMacroScope(x_33, x_52, x_30); -x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__3; +x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__3; lean_inc(x_6); lean_inc(x_5); x_55 = lean_alloc_ctor(3, 4, 0); @@ -14042,7 +14744,7 @@ return x_104; } } } -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { lean_object* x_19; uint8_t x_20; @@ -14110,9 +14812,225 @@ x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_5); lean_ctor_set(x_50, 1, x_49); x_51 = lean_array_push(x_48, x_50); -x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6; +x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__6; x_53 = l_Lean_addMacroScope(x_33, x_52, x_30); -x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__3; +x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__3; +lean_inc(x_6); +lean_inc(x_5); +x_55 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_55, 0, x_5); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_53); +lean_ctor_set(x_55, 3, x_6); +lean_inc(x_4); +x_56 = lean_array_push(x_4, x_55); +x_57 = l_myMacro____x40_Init_Notation___hyg_11259____closed__7; +lean_inc(x_2); +x_58 = lean_name_mk_string(x_2, x_57); +x_59 = l_prec_x28___x29___closed__3; +lean_inc(x_5); +x_60 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_60, 0, x_5); +lean_ctor_set(x_60, 1, x_59); +lean_inc(x_4); +x_61 = lean_array_push(x_4, x_60); +x_62 = l_Lean_Expr_ctorName___closed__10; +lean_inc(x_2); +x_63 = lean_name_mk_string(x_2, x_62); +x_64 = l_Lean_Parser_Term_cdot___elambda__1___closed__1; +lean_inc(x_2); +x_65 = lean_name_mk_string(x_2, x_64); +x_66 = l_Lean_Parser_Term_cdot___elambda__1___closed__5; +lean_inc(x_5); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_5); +lean_ctor_set(x_67, 1, x_66); +lean_inc(x_4); +x_68 = lean_array_push(x_4, x_67); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_65); +lean_ctor_set(x_69, 1, x_68); +lean_inc(x_4); +x_70 = lean_array_push(x_4, x_69); +x_71 = l_Lean_Name_toString___closed__1; +lean_inc(x_5); +x_72 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_72, 0, x_5); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_array_push(x_70, x_72); +x_74 = lean_array_push(x_73, x_28); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_63); +lean_ctor_set(x_75, 1, x_74); +lean_inc(x_4); +x_76 = lean_array_push(x_4, x_75); +x_77 = lean_array_push(x_76, x_46); +lean_inc(x_7); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_7); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_array_push(x_61, x_78); +x_80 = l_prec_x28___x29___closed__7; +lean_inc(x_5); +x_81 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_81, 0, x_5); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_array_push(x_79, x_81); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_58); +lean_ctor_set(x_83, 1, x_82); +lean_inc(x_4); +x_84 = lean_array_push(x_4, x_83); +lean_inc(x_7); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_7); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_array_push(x_56, x_85); +lean_inc(x_3); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_3); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_array_push(x_51, x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_42); +lean_ctor_set(x_89, 1, x_88); +lean_inc(x_4); +x_90 = lean_array_push(x_4, x_89); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_40); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_array_push(x_38, x_91); +x_93 = l_myMacro____x40_Init_Notation___hyg_13348____closed__15; +lean_inc(x_5); +x_94 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_94, 0, x_5); +lean_ctor_set(x_94, 1, x_93); +lean_inc(x_4); +x_95 = lean_array_push(x_4, x_94); +lean_inc(x_7); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_7); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_array_push(x_92, x_96); +x_98 = lean_array_push(x_97, x_11); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_36); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_ctor_get(x_8, 2); +x_101 = lean_nat_add(x_10, x_100); +lean_dec(x_10); +x_9 = x_24; +x_10 = x_101; +x_11 = x_99; +x_18 = x_34; +goto _start; +} +else +{ +lean_object* x_103; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_11); +lean_ctor_set(x_103, 1, x_18); +return x_103; +} +} +else +{ +lean_object* x_104; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_11); +lean_ctor_set(x_104, 1, x_18); +return x_104; +} +} +} +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_8, 1); +x_20 = lean_nat_dec_le(x_19, x_10); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_nat_dec_eq(x_9, 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; +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_sub(x_9, x_23); +lean_dec(x_9); +x_25 = lean_nat_add(x_10, x_23); +x_26 = l_Nat_repr(x_25); +x_27 = l_Lean_fieldIdxKind; +lean_inc(x_5); +x_28 = l_Lean_Syntax_mkLit(x_27, x_26, x_5); +x_29 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_Elab_Term_getMainModule___rarg(x_17, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_myMacro____x40_Init_Notation___hyg_13348____closed__1; +lean_inc(x_2); +x_36 = lean_name_mk_string(x_2, x_35); +lean_inc(x_5); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_5); +lean_ctor_set(x_37, 1, x_35); +lean_inc(x_4); +x_38 = lean_array_push(x_4, x_37); +x_39 = l_myMacro____x40_Init_Notation___hyg_13348____closed__5; +lean_inc(x_2); +x_40 = lean_name_mk_string(x_2, x_39); +x_41 = l_myMacro____x40_Init_Notation___hyg_13348____closed__7; +lean_inc(x_2); +x_42 = lean_name_mk_string(x_2, x_41); +x_43 = l_Lean_instInhabitedSyntax; +x_44 = lean_array_get(x_43, x_1, x_10); +lean_inc(x_4); +x_45 = lean_array_push(x_4, x_44); +lean_inc(x_4); +lean_inc(x_7); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_7); +lean_ctor_set(x_46, 1, x_4); +lean_inc(x_46); +x_47 = lean_array_push(x_45, x_46); +lean_inc(x_46); +x_48 = lean_array_push(x_47, x_46); +x_49 = l_myMacro____x40_Init_Notation___hyg_13348____closed__13; +lean_inc(x_5); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_5); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_array_push(x_48, x_50); +x_52 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__6; +x_53 = l_Lean_addMacroScope(x_33, x_52, x_30); +x_54 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__3; lean_inc(x_6); lean_inc(x_5); x_55 = lean_alloc_ctor(3, 4, 0); @@ -14570,7 +15488,26 @@ return x_8; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +uint8_t l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_Lean_Syntax_isAntiquotSuffixSplice(x_1); +if (x_2 == 0) +{ +uint8_t x_3; +x_3 = l_Lean_Syntax_isAntiquotSplice(x_1); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -14607,7 +15544,7 @@ return x_20; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_4) == 1) @@ -14637,7 +15574,7 @@ return x_10; else { lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7___boxed), 9, 1); +x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed), 9, 1); lean_closure_set(x_11, 0, x_3); x_12 = 1; x_13 = lean_alloc_ctor(0, 1, 1); @@ -14656,7 +15593,7 @@ return x_14; } } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -14668,19 +15605,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__1; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -14689,13 +15626,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_instReprBool___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__3; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -14703,7 +15640,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__5() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -14715,19 +15652,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__6() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__5; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -14805,7 +15742,7 @@ lean_inc(x_23); lean_inc(x_27); x_37 = l_Lean_addMacroScope(x_27, x_36, x_23); x_38 = l_myMacro____x40_Init_Notation___hyg_5918____closed__3; -x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__2; +x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2; x_40 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_40, 0, x_30); lean_ctor_set(x_40, 1, x_38); @@ -14815,8 +15752,8 @@ x_41 = lean_array_push(x_34, x_40); x_42 = lean_array_push(x_34, x_4); x_43 = l_Lean_setOptionFromString___closed__3; x_44 = l_Lean_addMacroScope(x_27, x_43, x_23); -x_45 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__4; -x_46 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__6; +x_45 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4; +x_46 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6; x_47 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_47, 0, x_30); lean_ctor_set(x_47, 1, x_45); @@ -14886,7 +15823,7 @@ lean_inc(x_23); lean_inc(x_70); x_81 = l_Lean_addMacroScope(x_70, x_80, x_23); x_82 = l_myMacro____x40_Init_Notation___hyg_5918____closed__3; -x_83 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__2; +x_83 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2; x_84 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_84, 0, x_74); lean_ctor_set(x_84, 1, x_82); @@ -14896,8 +15833,8 @@ x_85 = lean_array_push(x_78, x_84); x_86 = lean_array_push(x_78, x_4); x_87 = l_Lean_setOptionFromString___closed__3; x_88 = l_Lean_addMacroScope(x_70, x_87, x_23); -x_89 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__4; -x_90 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__6; +x_89 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4; +x_90 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6; x_91 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_91, 0, x_74); lean_ctor_set(x_91, 1, x_89); @@ -15006,7 +15943,7 @@ return x_122; } } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1() { _start: { lean_object* x_1; @@ -15014,22 +15951,22 @@ x_1 = lean_mk_string("Syntax.isOfKind"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -15037,7 +15974,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__4() { _start: { lean_object* x_1; @@ -15045,75 +15982,75 @@ x_1 = lean_mk_string("isOfKind"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__7() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__6; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__7; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__9() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__6; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__10() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__9; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__9; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__11() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -15125,19 +16062,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__12() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__11; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__11; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__13() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__13() { _start: { lean_object* x_1; @@ -15145,22 +16082,22 @@ x_1 = lean_mk_string("Array.size"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__14() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__13; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__13; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__15() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__13; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__13; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__14; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__14; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -15168,7 +16105,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__16() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -15178,31 +16115,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__17() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__16; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__16; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__18() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__17; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__17; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__19() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__19() { _start: { lean_object* x_1; @@ -15210,22 +16147,22 @@ x_1 = lean_mk_string("Syntax.getArgs"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__19; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__19; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__19; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__19; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__20; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -15233,7 +16170,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__22() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__22() { _start: { lean_object* x_1; @@ -15241,51 +16178,51 @@ x_1 = lean_mk_string("getArgs"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__22; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__22; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__25() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__24; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__25; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__25; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_2) == 1) @@ -15316,14 +16253,14 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); lean_dec(x_19); -x_22 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; +x_22 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5; lean_inc(x_17); lean_inc(x_20); x_23 = l_Lean_addMacroScope(x_20, x_22, x_17); x_24 = lean_box(0); x_25 = l_Lean_instInhabitedSourceInfo___closed__1; -x_26 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3; -x_27 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8; +x_26 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3; +x_27 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__8; x_28 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_28, 0, x_25); lean_ctor_set(x_28, 1, x_26); @@ -15351,7 +16288,7 @@ x_41 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; x_42 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); -x_43 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(x_1, x_3, x_4, x_42, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +x_43 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10(x_1, x_3, x_4, x_42, x_5, x_6, x_7, x_8, x_9, x_10, x_21); return x_43; } else @@ -15384,12 +16321,12 @@ lean_ctor_set(x_56, 2, x_51); lean_ctor_set(x_56, 3, x_55); x_57 = l_Array_empty___closed__1; x_58 = lean_array_push(x_57, x_56); -x_59 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; +x_59 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5; lean_inc(x_45); lean_inc(x_48); x_60 = l_Lean_addMacroScope(x_48, x_59, x_45); -x_61 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3; -x_62 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__10; +x_61 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3; +x_62 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__10; x_63 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_63, 0, x_53); lean_ctor_set(x_63, 1, x_61); @@ -15439,29 +16376,29 @@ lean_inc(x_45); lean_inc(x_48); x_89 = l_Lean_addMacroScope(x_48, x_88, x_45); x_90 = l_myMacro____x40_Init_Notation___hyg_6172____closed__3; -x_91 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__12; +x_91 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__12; x_92 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_92, 0, x_53); lean_ctor_set(x_92, 1, x_90); lean_ctor_set(x_92, 2, x_89); lean_ctor_set(x_92, 3, x_91); x_93 = lean_array_push(x_57, x_92); -x_94 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__16; +x_94 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__16; lean_inc(x_45); lean_inc(x_48); x_95 = l_Lean_addMacroScope(x_48, x_94, x_45); -x_96 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__15; -x_97 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__18; +x_96 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__15; +x_97 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__18; x_98 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_98, 0, x_53); lean_ctor_set(x_98, 1, x_96); lean_ctor_set(x_98, 2, x_95); lean_ctor_set(x_98, 3, x_97); x_99 = lean_array_push(x_57, x_98); -x_100 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +x_100 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; x_101 = l_Lean_addMacroScope(x_48, x_100, x_45); -x_102 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -x_103 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26; +x_102 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +x_103 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26; x_104 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_104, 0, x_53); lean_ctor_set(x_104, 1, x_102); @@ -15534,7 +16471,7 @@ x_141 = lean_array_push(x_58, x_140); x_142 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_142, 0, x_75); lean_ctor_set(x_142, 1, x_141); -x_143 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(x_1, x_3, x_4, x_142, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +x_143 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10(x_1, x_3, x_4, x_142, x_5, x_6, x_7, x_8, x_9, x_10, x_49); return x_143; } } @@ -15554,14 +16491,14 @@ lean_inc(x_148); x_149 = lean_ctor_get(x_147, 1); lean_inc(x_149); lean_dec(x_147); -x_150 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; +x_150 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5; lean_inc(x_145); lean_inc(x_148); x_151 = l_Lean_addMacroScope(x_148, x_150, x_145); x_152 = lean_box(0); x_153 = l_Lean_instInhabitedSourceInfo___closed__1; -x_154 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3; -x_155 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8; +x_154 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3; +x_155 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__8; x_156 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_156, 0, x_153); lean_ctor_set(x_156, 1, x_154); @@ -15589,7 +16526,7 @@ x_169 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; x_170 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_170, 0, x_169); lean_ctor_set(x_170, 1, x_168); -x_171 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(x_1, x_3, x_4, x_170, x_5, x_6, x_7, x_8, x_9, x_10, x_149); +x_171 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10(x_1, x_3, x_4, x_170, x_5, x_6, x_7, x_8, x_9, x_10, x_149); return x_171; } } @@ -15608,14 +16545,14 @@ lean_inc(x_176); x_177 = lean_ctor_get(x_175, 1); lean_inc(x_177); lean_dec(x_175); -x_178 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; +x_178 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5; lean_inc(x_173); lean_inc(x_176); x_179 = l_Lean_addMacroScope(x_176, x_178, x_173); x_180 = lean_box(0); x_181 = l_Lean_instInhabitedSourceInfo___closed__1; -x_182 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3; -x_183 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8; +x_182 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3; +x_183 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__8; x_184 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_184, 0, x_181); lean_ctor_set(x_184, 1, x_182); @@ -15643,12 +16580,675 @@ x_197 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; 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 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(x_1, x_3, x_4, x_198, x_5, x_6, x_7, x_8, x_9, x_10, x_177); +x_199 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10(x_1, x_3, x_4, x_198, x_5, x_6, x_7, x_8, x_9, x_10, x_177); return x_199; } } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1() { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +if (lean_obj_tag(x_6) == 2) +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_6, 0); +x_8 = lean_ctor_get(x_6, 1); +x_9 = lean_nat_dec_eq(x_7, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_3); +x_10 = lean_box(1); +return x_10; +} +else +{ +uint8_t x_11; +x_11 = lean_nat_dec_eq(x_8, x_2); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_3); +x_12 = lean_box(1); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_13 = lean_mk_empty_array_with_capacity(x_3); +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(x_4, x_1, x_5, x_3, x_14, lean_box(0), x_13); +x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed), 9, 1); +lean_closure_set(x_16, 0, x_15); +x_17 = 1; +x_18 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set_uint8(x_18, sizeof(void*)*1, x_17); +return x_18; +} +} +} +else +{ +lean_object* x_19; +lean_dec(x_3); +x_19 = lean_box(1); +return x_19; +} +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("mkNullNode"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__6; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("discr.getArgs.extract"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__8; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__8; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__9; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("extract"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__11; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("discr.getNumArgs"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__14; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__14; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__15; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("getNumArgs"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__17; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_myMacro____x40_Init_Notation___hyg_11623____closed__4; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__19; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_myMacro____x40_Init_Notation___hyg_5156____closed__4; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__21; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; 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_inc(x_1); +x_13 = l_List_range(x_1); +x_14 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__4; +lean_inc(x_18); +lean_inc(x_21); +x_24 = l_Lean_addMacroScope(x_21, x_23, x_18); +x_25 = lean_box(0); +x_26 = l_Lean_instInhabitedSourceInfo___closed__1; +x_27 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__3; +x_28 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__7; +x_29 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 2, x_24); +lean_ctor_set(x_29, 3, x_28); +x_30 = l_Array_empty___closed__1; +x_31 = lean_array_push(x_30, x_29); +x_32 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__13; +lean_inc(x_18); +lean_inc(x_21); +x_33 = l_Lean_addMacroScope(x_21, x_32, x_18); +x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__10; +x_35 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_33); +lean_ctor_set(x_35, 3, x_25); +x_36 = lean_array_push(x_30, x_35); +x_37 = l_Nat_repr(x_1); +x_38 = l_Lean_numLitKind; +x_39 = l_Lean_Syntax_mkLit(x_38, x_37, x_26); +x_40 = lean_array_push(x_30, x_39); +x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__18; +x_42 = l_Lean_addMacroScope(x_21, x_41, x_18); +x_43 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__16; +x_44 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_44, 0, x_26); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_42); +lean_ctor_set(x_44, 3, x_25); +x_45 = lean_array_push(x_30, x_44); +x_46 = l_unexpand____x40_Init_Notation___hyg_4127____closed__1; +x_47 = lean_array_push(x_45, x_46); +lean_inc(x_2); +x_48 = l_Nat_repr(x_2); +x_49 = l_Lean_Syntax_mkLit(x_38, x_48, x_26); +x_50 = lean_array_push(x_47, x_49); +x_51 = l_term___x2d_____closed__2; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = lean_array_push(x_30, x_52); +x_54 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_55 = lean_array_push(x_53, x_54); +x_56 = l_Lean_nullKind___closed__2; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; +x_59 = lean_array_push(x_58, x_57); +x_60 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; +x_61 = lean_array_push(x_59, x_60); +x_62 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +x_64 = lean_array_push(x_40, x_63); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_56); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_array_push(x_36, x_65); +x_67 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +x_69 = lean_array_push(x_30, x_68); +x_70 = lean_array_push(x_69, x_54); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_56); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_array_push(x_58, x_71); +x_73 = lean_array_push(x_72, x_60); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_62); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_array_push(x_30, x_74); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_56); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_array_push(x_31, x_76); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_67); +lean_ctor_set(x_78, 1, x_77); +lean_inc(x_2); +x_79 = l_List_range(x_2); +x_80 = l_Lean_Parser_Syntax_addPrec___closed__2; +x_81 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_82 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(x_2, x_80, x_67, x_30, x_26, x_25, x_25, x_56, x_62, x_58, x_81, x_51, x_43, x_41, x_46, x_54, x_60, x_79, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +lean_dec(x_2); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_78); +lean_ctor_set(x_85, 1, x_83); +x_86 = l_List_append___rarg(x_15, x_85); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_87 = lean_apply_8(x_4, x_86, x_6, x_7, x_8, x_9, x_10, x_11, x_84); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_90 = lean_apply_7(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_89); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_92); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_95); +lean_dec(x_11); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; 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_98 = lean_ctor_get(x_96, 0); +x_99 = l_myMacro____x40_Init_Notation___hyg_11623____closed__4; +lean_inc(x_94); +lean_inc(x_98); +x_100 = l_Lean_addMacroScope(x_98, x_99, x_94); +x_101 = l_myMacro____x40_Init_Notation___hyg_11623____closed__3; +x_102 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__20; +x_103 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_103, 0, x_26); +lean_ctor_set(x_103, 1, x_101); +lean_ctor_set(x_103, 2, x_100); +lean_ctor_set(x_103, 3, x_102); +x_104 = lean_array_push(x_30, x_103); +x_105 = l_myMacro____x40_Init_Notation___hyg_5156____closed__4; +lean_inc(x_94); +lean_inc(x_98); +x_106 = l_Lean_addMacroScope(x_98, x_105, x_94); +x_107 = l_myMacro____x40_Init_Notation___hyg_5156____closed__3; +x_108 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__22; +x_109 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_109, 0, x_26); +lean_ctor_set(x_109, 1, x_107); +lean_ctor_set(x_109, 2, x_106); +lean_ctor_set(x_109, 3, x_108); +x_110 = lean_array_push(x_30, x_109); +x_111 = l_Lean_addMacroScope(x_98, x_41, x_94); +x_112 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_112, 0, x_26); +lean_ctor_set(x_112, 1, x_43); +lean_ctor_set(x_112, 2, x_111); +lean_ctor_set(x_112, 3, x_25); +x_113 = lean_array_push(x_30, x_112); +x_114 = l_Nat_repr(x_3); +x_115 = l_Lean_Syntax_mkLit(x_38, x_114, x_26); +x_116 = lean_array_push(x_113, x_115); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_56); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_array_push(x_110, x_117); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_67); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_array_push(x_30, x_119); +x_121 = lean_array_push(x_120, x_54); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_56); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_58, x_122); +x_124 = lean_array_push(x_123, x_60); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_62); +lean_ctor_set(x_125, 1, x_124); +x_126 = lean_array_push(x_30, x_125); +x_127 = lean_array_push(x_126, x_88); +x_128 = lean_array_push(x_127, x_91); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_56); +lean_ctor_set(x_129, 1, x_128); +x_130 = lean_array_push(x_104, x_129); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_67); +lean_ctor_set(x_131, 1, x_130); +lean_ctor_set(x_96, 0, x_131); +return x_96; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_132 = lean_ctor_get(x_96, 0); +x_133 = lean_ctor_get(x_96, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_96); +x_134 = l_myMacro____x40_Init_Notation___hyg_11623____closed__4; +lean_inc(x_94); +lean_inc(x_132); +x_135 = l_Lean_addMacroScope(x_132, x_134, x_94); +x_136 = l_myMacro____x40_Init_Notation___hyg_11623____closed__3; +x_137 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__20; +x_138 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_138, 0, x_26); +lean_ctor_set(x_138, 1, x_136); +lean_ctor_set(x_138, 2, x_135); +lean_ctor_set(x_138, 3, x_137); +x_139 = lean_array_push(x_30, x_138); +x_140 = l_myMacro____x40_Init_Notation___hyg_5156____closed__4; +lean_inc(x_94); +lean_inc(x_132); +x_141 = l_Lean_addMacroScope(x_132, x_140, x_94); +x_142 = l_myMacro____x40_Init_Notation___hyg_5156____closed__3; +x_143 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__22; +x_144 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_144, 0, x_26); +lean_ctor_set(x_144, 1, x_142); +lean_ctor_set(x_144, 2, x_141); +lean_ctor_set(x_144, 3, x_143); +x_145 = lean_array_push(x_30, x_144); +x_146 = l_Lean_addMacroScope(x_132, x_41, x_94); +x_147 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_147, 0, x_26); +lean_ctor_set(x_147, 1, x_43); +lean_ctor_set(x_147, 2, x_146); +lean_ctor_set(x_147, 3, x_25); +x_148 = lean_array_push(x_30, x_147); +x_149 = l_Nat_repr(x_3); +x_150 = l_Lean_Syntax_mkLit(x_38, x_149, x_26); +x_151 = lean_array_push(x_148, x_150); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_56); +lean_ctor_set(x_152, 1, x_151); +x_153 = lean_array_push(x_145, x_152); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_67); +lean_ctor_set(x_154, 1, x_153); +x_155 = lean_array_push(x_30, x_154); +x_156 = lean_array_push(x_155, x_54); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_56); +lean_ctor_set(x_157, 1, x_156); +x_158 = lean_array_push(x_58, x_157); +x_159 = lean_array_push(x_158, x_60); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_62); +lean_ctor_set(x_160, 1, x_159); +x_161 = lean_array_push(x_30, x_160); +x_162 = lean_array_push(x_161, x_88); +x_163 = lean_array_push(x_162, x_91); +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_56); +lean_ctor_set(x_164, 1, x_163); +x_165 = lean_array_push(x_139, x_164); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_67); +lean_ctor_set(x_166, 1, x_165); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_133); +return x_167; +} +} +else +{ +uint8_t x_168; +lean_dec(x_88); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_168 = !lean_is_exclusive(x_90); +if (x_168 == 0) +{ +return x_90; +} +else +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_90, 0); +x_170 = lean_ctor_get(x_90, 1); +lean_inc(x_170); +lean_inc(x_169); +lean_dec(x_90); +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_169); +lean_ctor_set(x_171, 1, x_170); +return x_171; +} +} +} +else +{ +uint8_t x_172; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_172 = !lean_is_exclusive(x_87); +if (x_172 == 0) +{ +return x_87; +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_173 = lean_ctor_get(x_87, 0); +x_174 = lean_ctor_get(x_87, 1); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_87); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +return x_175; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__1() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; @@ -15660,10 +17260,10 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(lean_object* x_1, lean_object* x_2) { _start: { -if (lean_obj_tag(x_2) == 2) +if (lean_obj_tag(x_2) == 3) { lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); @@ -15677,7 +17277,7 @@ return x_5; else { lean_object* x_6; -x_6 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1; +x_6 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__1; return x_6; } } @@ -15689,7 +17289,7 @@ return x_7; } } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__1() { _start: { lean_object* x_1; @@ -15697,22 +17297,22 @@ x_1 = lean_mk_string("sequenceMap"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__2; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -15720,17 +17320,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { _start: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; @@ -15787,11 +17387,11 @@ x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_2); lean_ctor_set(x_43, 1, x_42); x_44 = lean_array_push(x_41, x_43); -x_45 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__4; +x_45 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__4; lean_inc(x_21); lean_inc(x_25); x_46 = l_Lean_addMacroScope(x_25, x_45, x_21); -x_47 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__3; +x_47 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__3; lean_inc(x_6); lean_inc(x_2); x_48 = lean_alloc_ctor(3, 4, 0); @@ -16111,11 +17711,11 @@ x_183 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_183, 0, x_2); lean_ctor_set(x_183, 1, x_182); x_184 = lean_array_push(x_181, x_183); -x_185 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__4; +x_185 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__4; lean_inc(x_21); lean_inc(x_164); x_186 = l_Lean_addMacroScope(x_164, x_185, x_21); -x_187 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__3; +x_187 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__3; lean_inc(x_6); lean_inc(x_2); x_188 = lean_alloc_ctor(3, 4, 0); @@ -16390,22 +17990,22 @@ return x_304; } } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__4; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__4; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__4; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__4; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__1; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -16413,228 +18013,6 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { -_start: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -lean_inc(x_1); -x_20 = l_Lean_Elab_Term_Quotation_mkTuple(x_1, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_array_get_size(x_1); -x_24 = lean_unsigned_to_nat(1u); -x_25 = lean_nat_dec_eq(x_23, x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_26 = lean_unsigned_to_nat(0u); -lean_inc(x_23); -x_27 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_23); -lean_ctor_set(x_27, 2, x_24); -lean_inc(x_5); -lean_inc(x_6); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_8); -lean_inc(x_2); -x_28 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(x_1, x_2, x_8, x_4, x_3, x_6, x_5, x_27, x_23, x_26, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); -lean_dec(x_27); -lean_dec(x_1); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_Elab_Term_getCurrMacroScope(x_13, x_14, x_15, x_16, x_17, x_18, x_30); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Elab_Term_getMainModule___rarg(x_18, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5; -x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); -x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2; -lean_inc(x_6); -lean_inc(x_3); -x_40 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_40, 0, x_3); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_40, 2, x_38); -lean_ctor_set(x_40, 3, x_6); -x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); -return x_41; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_23); -x_42 = lean_unsigned_to_nat(0u); -x_43 = lean_array_fget(x_1, x_42); -lean_dec(x_1); -x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); -return x_44; -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { -_start: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -lean_inc(x_1); -x_20 = l_Lean_Elab_Term_Quotation_mkTuple(x_1, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_array_get_size(x_1); -x_24 = lean_unsigned_to_nat(1u); -x_25 = lean_nat_dec_eq(x_23, x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_26 = lean_unsigned_to_nat(0u); -lean_inc(x_23); -x_27 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_23); -lean_ctor_set(x_27, 2, x_24); -lean_inc(x_5); -lean_inc(x_6); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_8); -lean_inc(x_2); -x_28 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(x_1, x_2, x_8, x_4, x_3, x_6, x_5, x_27, x_23, x_26, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); -lean_dec(x_27); -lean_dec(x_1); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_Elab_Term_getCurrMacroScope(x_13, x_14, x_15, x_16, x_17, x_18, x_30); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Elab_Term_getMainModule___rarg(x_18, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5; -x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); -x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2; -lean_inc(x_6); -lean_inc(x_3); -x_40 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_40, 0, x_3); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_40, 2, x_38); -lean_ctor_set(x_40, 3, x_6); -x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); -return x_41; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_23); -x_42 = lean_unsigned_to_nat(0u); -x_43 = lean_array_fget(x_1, x_42); -lean_dec(x_1); -x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); -return x_44; -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { -_start: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -lean_inc(x_1); -x_20 = l_Lean_Elab_Term_Quotation_mkTuple(x_1, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_array_get_size(x_1); -x_24 = lean_unsigned_to_nat(1u); -x_25 = lean_nat_dec_eq(x_23, x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_26 = lean_unsigned_to_nat(0u); -lean_inc(x_23); -x_27 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_23); -lean_ctor_set(x_27, 2, x_24); -lean_inc(x_5); -lean_inc(x_6); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_8); -lean_inc(x_2); -x_28 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(x_1, x_2, x_8, x_4, x_3, x_6, x_5, x_27, x_23, x_26, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); -lean_dec(x_27); -lean_dec(x_1); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_Elab_Term_getCurrMacroScope(x_13, x_14, x_15, x_16, x_17, x_18, x_30); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Elab_Term_getMainModule___rarg(x_18, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5; -x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); -x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2; -lean_inc(x_6); -lean_inc(x_3); -x_40 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_40, 0, x_3); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_40, 2, x_38); -lean_ctor_set(x_40, 3, x_6); -x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); -return x_41; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_23); -x_42 = lean_unsigned_to_nat(0u); -x_43 = lean_array_fget(x_1, x_42); -lean_dec(x_1); -x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); -return x_44; -} -} -} lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { _start: { @@ -16664,6 +18042,154 @@ lean_inc(x_3); lean_inc(x_4); lean_inc(x_8); lean_inc(x_2); +x_28 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9(x_1, x_2, x_8, x_4, x_3, x_6, x_5, x_27, x_23, x_26, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +lean_dec(x_27); +lean_dec(x_1); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_Elab_Term_getCurrMacroScope(x_13, x_14, x_15, x_16, x_17, x_18, x_30); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_Elab_Term_getMainModule___rarg(x_18, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5; +x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); +x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__2; +lean_inc(x_6); +lean_inc(x_3); +x_40 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_40, 0, x_3); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +lean_ctor_set(x_40, 3, x_6); +x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_23); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_array_fget(x_1, x_42); +lean_dec(x_1); +x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +return x_44; +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_inc(x_1); +x_20 = l_Lean_Elab_Term_Quotation_mkTuple(x_1, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_array_get_size(x_1); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_dec_eq(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_26 = lean_unsigned_to_nat(0u); +lean_inc(x_23); +x_27 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +lean_ctor_set(x_27, 2, x_24); +lean_inc(x_5); +lean_inc(x_6); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_8); +lean_inc(x_2); +x_28 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(x_1, x_2, x_8, x_4, x_3, x_6, x_5, x_27, x_23, x_26, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +lean_dec(x_27); +lean_dec(x_1); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_Elab_Term_getCurrMacroScope(x_13, x_14, x_15, x_16, x_17, x_18, x_30); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_Elab_Term_getMainModule___rarg(x_18, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5; +x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); +x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__2; +lean_inc(x_6); +lean_inc(x_3); +x_40 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_40, 0, x_3); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +lean_ctor_set(x_40, 3, x_6); +x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_23); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_array_fget(x_1, x_42); +lean_dec(x_1); +x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +return x_44; +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_inc(x_1); +x_20 = l_Lean_Elab_Term_Quotation_mkTuple(x_1, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_array_get_size(x_1); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_dec_eq(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_26 = lean_unsigned_to_nat(0u); +lean_inc(x_23); +x_27 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +lean_ctor_set(x_27, 2, x_24); +lean_inc(x_5); +lean_inc(x_6); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_8); +lean_inc(x_2); x_28 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(x_1, x_2, x_8, x_4, x_3, x_6, x_5, x_27, x_23, x_26, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); lean_dec(x_27); lean_dec(x_1); @@ -16684,9 +18210,9 @@ lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); lean_dec(x_34); -x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5; +x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5; x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); -x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2; +x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__2; lean_inc(x_6); lean_inc(x_3); x_40 = lean_alloc_ctor(3, 4, 0); @@ -16694,7 +18220,7 @@ lean_ctor_set(x_40, 0, x_3); lean_ctor_set(x_40, 1, x_39); lean_ctor_set(x_40, 2, x_38); lean_ctor_set(x_40, 3, x_6); -x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); +x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); return x_41; } else @@ -16704,12 +18230,12 @@ lean_dec(x_23); x_42 = lean_unsigned_to_nat(0u); x_43 = lean_array_fget(x_1, x_42); lean_dec(x_1); -x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); return x_44; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { _start: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; @@ -16738,7 +18264,7 @@ lean_inc(x_3); lean_inc(x_4); lean_inc(x_8); lean_inc(x_2); -x_28 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(x_1, x_2, x_8, x_4, x_3, x_6, x_5, x_27, x_23, x_26, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +x_28 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14(x_1, x_2, x_8, x_4, x_3, x_6, x_5, x_27, x_23, x_26, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); lean_dec(x_27); lean_dec(x_1); x_29 = lean_ctor_get(x_28, 0); @@ -16758,9 +18284,9 @@ lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); lean_dec(x_34); -x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5; +x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5; x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); -x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2; +x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__2; lean_inc(x_6); lean_inc(x_3); x_40 = lean_alloc_ctor(3, 4, 0); @@ -16768,7 +18294,7 @@ lean_ctor_set(x_40, 0, x_3); lean_ctor_set(x_40, 1, x_39); lean_ctor_set(x_40, 2, x_38); lean_ctor_set(x_40, 3, x_6); -x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); +x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); return x_41; } else @@ -16778,12 +18304,12 @@ lean_dec(x_23); x_42 = lean_unsigned_to_nat(0u); x_43 = lean_array_fget(x_1, x_42); lean_dec(x_1); -x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); return x_44; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { _start: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; @@ -16812,7 +18338,7 @@ lean_inc(x_3); lean_inc(x_4); lean_inc(x_8); lean_inc(x_2); -x_28 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(x_1, x_2, x_8, x_4, x_3, x_6, x_5, x_27, x_23, x_26, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +x_28 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__15(x_1, x_2, x_8, x_4, x_3, x_6, x_5, x_27, x_23, x_26, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); lean_dec(x_27); lean_dec(x_1); x_29 = lean_ctor_get(x_28, 0); @@ -16832,9 +18358,9 @@ lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); lean_dec(x_34); -x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5; +x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5; x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); -x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2; +x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__2; lean_inc(x_6); lean_inc(x_3); x_40 = lean_alloc_ctor(3, 4, 0); @@ -16842,7 +18368,7 @@ lean_ctor_set(x_40, 0, x_3); lean_ctor_set(x_40, 1, x_39); lean_ctor_set(x_40, 2, x_38); lean_ctor_set(x_40, 3, x_6); -x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); +x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); return x_41; } else @@ -16852,12 +18378,86 @@ lean_dec(x_23); x_42 = lean_unsigned_to_nat(0u); x_43 = lean_array_fget(x_1, x_42); lean_dec(x_1); -x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); return x_44; } } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__1() { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_inc(x_1); +x_20 = l_Lean_Elab_Term_Quotation_mkTuple(x_1, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_array_get_size(x_1); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_dec_eq(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_26 = lean_unsigned_to_nat(0u); +lean_inc(x_23); +x_27 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +lean_ctor_set(x_27, 2, x_24); +lean_inc(x_5); +lean_inc(x_6); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_8); +lean_inc(x_2); +x_28 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__16(x_1, x_2, x_8, x_4, x_3, x_6, x_5, x_27, x_23, x_26, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +lean_dec(x_27); +lean_dec(x_1); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_Elab_Term_getCurrMacroScope(x_13, x_14, x_15, x_16, x_17, x_18, x_30); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_Elab_Term_getMainModule___rarg(x_18, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5; +x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); +x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__2; +lean_inc(x_6); +lean_inc(x_3); +x_40 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_40, 0, x_3); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +lean_ctor_set(x_40, 3, x_6); +x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_29, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_36); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_23); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_array_fget(x_1, x_42); +lean_dec(x_1); +x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_2, x_3, x_4, x_5, x_11, x_6, x_7, x_21, x_8, x_9, x_10, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +return x_44; +} +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__1() { _start: { lean_object* x_1; @@ -16865,22 +18465,22 @@ x_1 = lean_mk_string("Array.getSepElems"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__2; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -16888,7 +18488,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__4() { _start: { lean_object* x_1; @@ -16896,41 +18496,41 @@ x_1 = lean_mk_string("getSepElems"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_term_____x5b___x3a___x5d___closed__2; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__4; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__6() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__7() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__6; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__8() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -16942,17 +18542,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__9() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__8; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__10() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10() { _start: { lean_object* x_1; @@ -16960,22 +18560,22 @@ x_1 = lean_mk_string("discr.isNone"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__11() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__10; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__12() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__10; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__11; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -16983,7 +18583,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__13() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13() { _start: { lean_object* x_1; @@ -16991,17 +18591,17 @@ x_1 = lean_mk_string("isNone"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__14() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__13; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__15() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15() { _start: { lean_object* x_1; @@ -17009,19 +18609,19 @@ x_1 = lean_mk_string("then"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__16() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__15; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__17() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17() { _start: { lean_object* x_1; @@ -17029,19 +18629,19 @@ x_1 = lean_mk_string("else"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__18() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__17; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -17103,13 +18703,13 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +x_29 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_inc(x_24); lean_inc(x_27); x_30 = l_Lean_addMacroScope(x_27, x_29, x_24); x_31 = l_Lean_instInhabitedSourceInfo___closed__1; -x_32 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -x_33 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26; +x_32 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +x_33 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26; x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_31); lean_ctor_set(x_34, 1, x_32); @@ -17142,7 +18742,7 @@ if (x_48 == 0) lean_object* x_49; lean_object* x_50; lean_object* x_51; x_49 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_50 = lean_box(0); -x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13(x_14, x_49, x_31, x_35, x_42, x_16, x_12, x_45, x_21, x_18, x_46, x_50, x_4, x_5, x_6, x_7, x_8, x_9, x_28); +x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16(x_14, x_49, x_31, x_35, x_42, x_16, x_12, x_45, x_21, x_18, x_46, x_50, x_4, x_5, x_6, x_7, x_8, x_9, x_28); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17167,10 +18767,10 @@ lean_inc(x_56); x_57 = lean_ctor_get(x_55, 1); lean_inc(x_57); lean_dec(x_55); -x_58 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5; +x_58 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5; x_59 = l_Lean_addMacroScope(x_56, x_58, x_53); -x_60 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__3; -x_61 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__7; +x_60 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3; +x_61 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7; x_62 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_62, 0, x_31); lean_ctor_set(x_62, 1, x_60); @@ -17187,7 +18787,7 @@ lean_ctor_set(x_67, 0, x_45); lean_ctor_set(x_67, 1, x_66); x_68 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_69 = lean_box(0); -x_70 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13(x_14, x_68, x_31, x_35, x_42, x_16, x_12, x_45, x_21, x_18, x_67, x_69, x_4, x_5, x_6, x_7, x_8, x_9, x_57); +x_70 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16(x_14, x_68, x_31, x_35, x_42, x_16, x_12, x_45, x_21, x_18, x_67, x_69, x_4, x_5, x_6, x_7, x_8, x_9, x_57); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17224,13 +18824,13 @@ lean_inc(x_78); x_79 = lean_ctor_get(x_77, 1); lean_inc(x_79); lean_dec(x_77); -x_80 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +x_80 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_inc(x_75); lean_inc(x_78); x_81 = l_Lean_addMacroScope(x_78, x_80, x_75); x_82 = l_Lean_instInhabitedSourceInfo___closed__1; -x_83 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -x_84 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26; +x_83 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +x_84 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26; x_85 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_85, 0, x_82); lean_ctor_set(x_85, 1, x_83); @@ -17264,7 +18864,7 @@ if (x_99 == 0) lean_object* x_100; lean_object* x_101; lean_object* x_102; x_100 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_101 = lean_box(0); -x_102 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(x_14, x_100, x_82, x_86, x_93, x_16, x_12, x_96, x_72, x_18, x_97, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_79); +x_102 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17(x_14, x_100, x_82, x_86, x_93, x_16, x_12, x_96, x_72, x_18, x_97, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_79); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17289,10 +18889,10 @@ lean_inc(x_107); x_108 = lean_ctor_get(x_106, 1); lean_inc(x_108); lean_dec(x_106); -x_109 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5; +x_109 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5; x_110 = l_Lean_addMacroScope(x_107, x_109, x_104); -x_111 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__3; -x_112 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__7; +x_111 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3; +x_112 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7; x_113 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_113, 0, x_82); lean_ctor_set(x_113, 1, x_111); @@ -17309,7 +18909,7 @@ lean_ctor_set(x_118, 0, x_96); lean_ctor_set(x_118, 1, x_117); x_119 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_120 = lean_box(0); -x_121 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(x_14, x_119, x_82, x_86, x_93, x_16, x_12, x_96, x_72, x_18, x_118, x_120, x_4, x_5, x_6, x_7, x_8, x_9, x_108); +x_121 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17(x_14, x_119, x_82, x_86, x_93, x_16, x_12, x_96, x_72, x_18, x_118, x_120, x_4, x_5, x_6, x_7, x_8, x_9, x_108); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17355,13 +18955,13 @@ lean_inc(x_132); x_133 = lean_ctor_get(x_131, 1); lean_inc(x_133); lean_dec(x_131); -x_134 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +x_134 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_inc(x_129); lean_inc(x_132); x_135 = l_Lean_addMacroScope(x_132, x_134, x_129); x_136 = l_Lean_instInhabitedSourceInfo___closed__1; -x_137 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -x_138 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26; +x_137 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +x_138 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26; x_139 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_139, 0, x_136); lean_ctor_set(x_139, 1, x_137); @@ -17395,7 +18995,7 @@ if (x_153 == 0) lean_object* x_154; lean_object* x_155; lean_object* x_156; x_154 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_155 = lean_box(0); -x_156 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_14, x_154, x_136, x_140, x_147, x_16, x_12, x_150, x_123, x_18, x_151, x_155, x_4, x_5, x_6, x_7, x_8, x_9, x_133); +x_156 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18(x_14, x_154, x_136, x_140, x_147, x_16, x_12, x_150, x_123, x_18, x_151, x_155, x_4, x_5, x_6, x_7, x_8, x_9, x_133); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17420,10 +19020,10 @@ lean_inc(x_161); x_162 = lean_ctor_get(x_160, 1); lean_inc(x_162); lean_dec(x_160); -x_163 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5; +x_163 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5; x_164 = l_Lean_addMacroScope(x_161, x_163, x_158); -x_165 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__3; -x_166 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__7; +x_165 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3; +x_166 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7; x_167 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_167, 0, x_136); lean_ctor_set(x_167, 1, x_165); @@ -17440,7 +19040,7 @@ lean_ctor_set(x_172, 0, x_150); lean_ctor_set(x_172, 1, x_171); x_173 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_174 = lean_box(0); -x_175 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(x_14, x_173, x_136, x_140, x_147, x_16, x_12, x_150, x_123, x_18, x_172, x_174, x_4, x_5, x_6, x_7, x_8, x_9, x_162); +x_175 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18(x_14, x_173, x_136, x_140, x_147, x_16, x_12, x_150, x_123, x_18, x_172, x_174, x_4, x_5, x_6, x_7, x_8, x_9, x_162); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17460,13 +19060,13 @@ x_177 = lean_usize_of_nat(x_176); lean_dec(x_176); x_178 = 0; lean_inc(x_18); -x_179 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9(x_14, x_177, x_178, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_124); +x_179 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(x_14, x_177, x_178, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_124); x_180 = lean_ctor_get(x_179, 0); lean_inc(x_180); x_181 = lean_ctor_get(x_179, 1); lean_inc(x_181); lean_dec(x_179); -x_182 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(x_14, x_177, x_178, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_181); +x_182 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(x_14, x_177, x_178, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_181); lean_dec(x_14); x_183 = lean_ctor_get(x_182, 0); lean_inc(x_183); @@ -17491,23 +19091,23 @@ if (x_189 == 0) { lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; x_190 = lean_ctor_get(x_188, 0); -x_191 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__14; +x_191 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14; lean_inc(x_186); lean_inc(x_190); x_192 = l_Lean_addMacroScope(x_190, x_191, x_186); x_193 = l_Lean_instInhabitedSourceInfo___closed__1; -x_194 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__12; +x_194 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12; x_195 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_195, 0, x_193); lean_ctor_set(x_195, 1, x_194); lean_ctor_set(x_195, 2, x_192); lean_ctor_set(x_195, 3, x_16); -x_196 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__9; +x_196 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9; x_197 = lean_array_push(x_196, x_195); -x_198 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__16; +x_198 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16; x_199 = lean_array_push(x_197, x_198); x_200 = lean_array_push(x_199, x_183); -x_201 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__18; +x_201 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18; x_202 = lean_array_push(x_200, x_201); x_203 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; x_204 = l_Lean_addMacroScope(x_190, x_203, x_186); @@ -17543,7 +19143,7 @@ x_223 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_T x_224 = lean_array_push(x_223, x_222); x_225 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; x_226 = lean_array_push(x_224, x_225); -x_227 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1; +x_227 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__1; x_228 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_228, 0, x_227); lean_ctor_set(x_228, 1, x_226); @@ -17596,23 +19196,23 @@ x_254 = lean_ctor_get(x_188, 1); lean_inc(x_254); lean_inc(x_253); lean_dec(x_188); -x_255 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__14; +x_255 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14; lean_inc(x_186); lean_inc(x_253); x_256 = l_Lean_addMacroScope(x_253, x_255, x_186); x_257 = l_Lean_instInhabitedSourceInfo___closed__1; -x_258 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__12; +x_258 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12; x_259 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_259, 0, x_257); lean_ctor_set(x_259, 1, x_258); lean_ctor_set(x_259, 2, x_256); lean_ctor_set(x_259, 3, x_16); -x_260 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__9; +x_260 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9; x_261 = lean_array_push(x_260, x_259); -x_262 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__16; +x_262 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16; x_263 = lean_array_push(x_261, x_262); x_264 = lean_array_push(x_263, x_183); -x_265 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__18; +x_265 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18; x_266 = lean_array_push(x_264, x_265); x_267 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; x_268 = l_Lean_addMacroScope(x_253, x_267, x_186); @@ -17648,7 +19248,7 @@ x_287 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_T x_288 = lean_array_push(x_287, x_286); x_289 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; x_290 = lean_array_push(x_288, x_289); -x_291 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1; +x_291 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__1; x_292 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_292, 0, x_291); lean_ctor_set(x_292, 1, x_290); @@ -17719,13 +19319,13 @@ lean_inc(x_324); x_325 = lean_ctor_get(x_323, 1); lean_inc(x_325); lean_dec(x_323); -x_326 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +x_326 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_inc(x_321); lean_inc(x_324); x_327 = l_Lean_addMacroScope(x_324, x_326, x_321); x_328 = l_Lean_instInhabitedSourceInfo___closed__1; -x_329 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -x_330 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26; +x_329 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +x_330 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26; x_331 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_331, 0, x_328); lean_ctor_set(x_331, 1, x_329); @@ -17759,7 +19359,7 @@ if (x_345 == 0) lean_object* x_346; lean_object* x_347; lean_object* x_348; x_346 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_347 = lean_box(0); -x_348 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16(x_14, x_346, x_328, x_332, x_339, x_16, x_12, x_342, x_318, x_18, x_343, x_347, x_4, x_5, x_6, x_7, x_8, x_9, x_325); +x_348 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(x_14, x_346, x_328, x_332, x_339, x_16, x_12, x_342, x_318, x_18, x_343, x_347, x_4, x_5, x_6, x_7, x_8, x_9, x_325); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17784,10 +19384,10 @@ lean_inc(x_353); x_354 = lean_ctor_get(x_352, 1); lean_inc(x_354); lean_dec(x_352); -x_355 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5; +x_355 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5; x_356 = l_Lean_addMacroScope(x_353, x_355, x_350); -x_357 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__3; -x_358 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__7; +x_357 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3; +x_358 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7; x_359 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_359, 0, x_328); lean_ctor_set(x_359, 1, x_357); @@ -17804,7 +19404,7 @@ lean_ctor_set(x_364, 0, x_342); lean_ctor_set(x_364, 1, x_363); x_365 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_366 = lean_box(0); -x_367 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16(x_14, x_365, x_328, x_332, x_339, x_16, x_12, x_342, x_318, x_18, x_364, x_366, x_4, x_5, x_6, x_7, x_8, x_9, x_354); +x_367 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(x_14, x_365, x_328, x_332, x_339, x_16, x_12, x_342, x_318, x_18, x_364, x_366, x_4, x_5, x_6, x_7, x_8, x_9, x_354); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17837,13 +19437,13 @@ lean_inc(x_374); x_375 = lean_ctor_get(x_373, 1); lean_inc(x_375); lean_dec(x_373); -x_376 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +x_376 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_inc(x_371); lean_inc(x_374); x_377 = l_Lean_addMacroScope(x_374, x_376, x_371); x_378 = l_Lean_instInhabitedSourceInfo___closed__1; -x_379 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -x_380 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26; +x_379 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +x_380 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26; x_381 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_381, 0, x_378); lean_ctor_set(x_381, 1, x_379); @@ -17877,7 +19477,7 @@ if (x_395 == 0) lean_object* x_396; lean_object* x_397; lean_object* x_398; x_396 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_397 = lean_box(0); -x_398 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17(x_14, x_396, x_378, x_382, x_389, x_16, x_12, x_392, x_368, x_18, x_393, x_397, x_4, x_5, x_6, x_7, x_8, x_9, x_375); +x_398 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(x_14, x_396, x_378, x_382, x_389, x_16, x_12, x_392, x_368, x_18, x_393, x_397, x_4, x_5, x_6, x_7, x_8, x_9, x_375); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17902,10 +19502,10 @@ lean_inc(x_403); x_404 = lean_ctor_get(x_402, 1); lean_inc(x_404); lean_dec(x_402); -x_405 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5; +x_405 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5; x_406 = l_Lean_addMacroScope(x_403, x_405, x_400); -x_407 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__3; -x_408 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__7; +x_407 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3; +x_408 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7; x_409 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_409, 0, x_378); lean_ctor_set(x_409, 1, x_407); @@ -17922,7 +19522,7 @@ lean_ctor_set(x_414, 0, x_392); lean_ctor_set(x_414, 1, x_413); x_415 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_416 = lean_box(0); -x_417 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17(x_14, x_415, x_378, x_382, x_389, x_16, x_12, x_392, x_368, x_18, x_414, x_416, x_4, x_5, x_6, x_7, x_8, x_9, x_404); +x_417 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(x_14, x_415, x_378, x_382, x_389, x_16, x_12, x_392, x_368, x_18, x_414, x_416, x_4, x_5, x_6, x_7, x_8, x_9, x_404); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17956,13 +19556,13 @@ lean_inc(x_424); x_425 = lean_ctor_get(x_423, 1); lean_inc(x_425); lean_dec(x_423); -x_426 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +x_426 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_inc(x_421); lean_inc(x_424); x_427 = l_Lean_addMacroScope(x_424, x_426, x_421); x_428 = l_Lean_instInhabitedSourceInfo___closed__1; -x_429 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -x_430 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26; +x_429 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +x_430 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26; x_431 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_431, 0, x_428); lean_ctor_set(x_431, 1, x_429); @@ -17996,7 +19596,7 @@ if (x_445 == 0) lean_object* x_446; lean_object* x_447; lean_object* x_448; x_446 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_447 = lean_box(0); -x_448 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18(x_14, x_446, x_428, x_432, x_439, x_16, x_12, x_442, x_418, x_18, x_443, x_447, x_4, x_5, x_6, x_7, x_8, x_9, x_425); +x_448 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(x_14, x_446, x_428, x_432, x_439, x_16, x_12, x_442, x_418, x_18, x_443, x_447, x_4, x_5, x_6, x_7, x_8, x_9, x_425); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -18021,10 +19621,10 @@ lean_inc(x_453); x_454 = lean_ctor_get(x_452, 1); lean_inc(x_454); lean_dec(x_452); -x_455 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5; +x_455 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5; x_456 = l_Lean_addMacroScope(x_453, x_455, x_450); -x_457 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__3; -x_458 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__7; +x_457 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3; +x_458 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7; x_459 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_459, 0, x_428); lean_ctor_set(x_459, 1, x_457); @@ -18041,7 +19641,7 @@ lean_ctor_set(x_464, 0, x_442); lean_ctor_set(x_464, 1, x_463); x_465 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; x_466 = lean_box(0); -x_467 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18(x_14, x_465, x_428, x_432, x_439, x_16, x_12, x_442, x_418, x_18, x_464, x_466, x_4, x_5, x_6, x_7, x_8, x_9, x_454); +x_467 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(x_14, x_465, x_428, x_432, x_439, x_16, x_12, x_442, x_418, x_18, x_464, x_466, x_4, x_5, x_6, x_7, x_8, x_9, x_454); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -18155,7 +19755,7 @@ return x_479; } } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__1() { _start: { lean_object* x_1; @@ -18163,22 +19763,22 @@ x_1 = lean_mk_string("SepArray.mk"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__2; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18186,7 +19786,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -18196,7 +19796,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__5() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -18206,55 +19806,55 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__6() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__5; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__7() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__6; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__8() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__24; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__9() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__8; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__10() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__10() { _start: { lean_object* x_1; @@ -18262,22 +19862,22 @@ x_1 = lean_mk_string("Syntax.getOptional?"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__11() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__10; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__10; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__12() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__10; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__10; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__11; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__11; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18285,7 +19885,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__13() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__13() { _start: { lean_object* x_1; @@ -18293,51 +19893,51 @@ x_1 = lean_mk_string("getOptional?"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__14() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__13; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__15() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__13; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__16() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__15; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__15; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__17() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__16; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__16; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -18431,14 +20031,14 @@ x_43 = lean_array_push(x_41, x_42); x_44 = lean_array_push(x_43, x_42); x_45 = l_myMacro____x40_Init_Notation___hyg_13348____closed__14; x_46 = lean_array_push(x_44, x_45); -x_47 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__4; +x_47 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__4; lean_inc(x_35); lean_inc(x_39); x_48 = l_Lean_addMacroScope(x_39, x_47, x_35); x_49 = lean_box(0); x_50 = l_Lean_instInhabitedSourceInfo___closed__1; -x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__3; -x_52 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__7; +x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__3; +x_52 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__7; x_53 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_53, 0, x_50); lean_ctor_set(x_53, 1, x_51); @@ -18453,12 +20053,12 @@ lean_ctor_set(x_57, 1, x_55); x_58 = lean_array_push(x_40, x_57); x_59 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice(x_1); x_60 = lean_array_push(x_40, x_59); -x_61 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +x_61 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_inc(x_35); lean_inc(x_39); x_62 = l_Lean_addMacroScope(x_39, x_61, x_35); -x_63 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -x_64 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26; +x_63 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +x_64 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26; x_65 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_65, 0, x_50); lean_ctor_set(x_65, 1, x_63); @@ -18541,14 +20141,14 @@ x_108 = lean_array_push(x_106, x_107); x_109 = lean_array_push(x_108, x_107); x_110 = l_myMacro____x40_Init_Notation___hyg_13348____closed__14; x_111 = lean_array_push(x_109, x_110); -x_112 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__4; +x_112 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__4; lean_inc(x_35); lean_inc(x_103); x_113 = l_Lean_addMacroScope(x_103, x_112, x_35); x_114 = lean_box(0); x_115 = l_Lean_instInhabitedSourceInfo___closed__1; -x_116 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__3; -x_117 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__7; +x_116 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__3; +x_117 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__7; x_118 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_118, 0, x_115); lean_ctor_set(x_118, 1, x_116); @@ -18563,12 +20163,12 @@ lean_ctor_set(x_122, 1, x_120); x_123 = lean_array_push(x_105, x_122); x_124 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice(x_1); x_125 = lean_array_push(x_105, x_124); -x_126 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +x_126 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_inc(x_35); lean_inc(x_103); x_127 = l_Lean_addMacroScope(x_103, x_126, x_35); -x_128 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -x_129 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26; +x_128 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +x_129 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26; x_130 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_130, 0, x_115); lean_ctor_set(x_130, 1, x_128); @@ -18666,14 +20266,14 @@ x_178 = lean_array_push(x_176, x_177); x_179 = lean_array_push(x_178, x_177); x_180 = l_myMacro____x40_Init_Notation___hyg_13348____closed__14; x_181 = lean_array_push(x_179, x_180); -x_182 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +x_182 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_inc(x_170); lean_inc(x_174); x_183 = l_Lean_addMacroScope(x_174, x_182, x_170); x_184 = lean_box(0); x_185 = l_Lean_instInhabitedSourceInfo___closed__1; -x_186 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -x_187 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__9; +x_186 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +x_187 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__9; x_188 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_188, 0, x_185); lean_ctor_set(x_188, 1, x_186); @@ -18735,14 +20335,14 @@ x_218 = lean_array_push(x_216, x_217); x_219 = lean_array_push(x_218, x_217); x_220 = l_myMacro____x40_Init_Notation___hyg_13348____closed__14; x_221 = lean_array_push(x_219, x_220); -x_222 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; +x_222 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_inc(x_170); lean_inc(x_213); x_223 = l_Lean_addMacroScope(x_213, x_222, x_170); x_224 = lean_box(0); x_225 = l_Lean_instInhabitedSourceInfo___closed__1; -x_226 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -x_227 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__9; +x_226 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21; +x_227 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__9; x_228 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_228, 0, x_225); lean_ctor_set(x_228, 1, x_226); @@ -18819,14 +20419,14 @@ x_263 = lean_array_push(x_261, x_262); x_264 = lean_array_push(x_263, x_262); x_265 = l_myMacro____x40_Init_Notation___hyg_13348____closed__14; x_266 = lean_array_push(x_264, x_265); -x_267 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__14; +x_267 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__14; lean_inc(x_255); lean_inc(x_259); x_268 = l_Lean_addMacroScope(x_259, x_267, x_255); x_269 = lean_box(0); x_270 = l_Lean_instInhabitedSourceInfo___closed__1; -x_271 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__12; -x_272 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__17; +x_271 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__12; +x_272 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__17; x_273 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_273, 0, x_270); lean_ctor_set(x_273, 1, x_271); @@ -18888,14 +20488,14 @@ x_303 = lean_array_push(x_301, x_302); x_304 = lean_array_push(x_303, x_302); x_305 = l_myMacro____x40_Init_Notation___hyg_13348____closed__14; x_306 = lean_array_push(x_304, x_305); -x_307 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__14; +x_307 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__14; lean_inc(x_255); lean_inc(x_298); x_308 = l_Lean_addMacroScope(x_298, x_307, x_255); x_309 = lean_box(0); x_310 = l_Lean_instInhabitedSourceInfo___closed__1; -x_311 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__12; -x_312 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__17; +x_311 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__12; +x_312 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__17; x_313 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_313, 0, x_310); lean_ctor_set(x_313, 1, x_311); @@ -19003,7 +20603,7 @@ return x_358; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -19109,7 +20709,7 @@ return x_70; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 1) @@ -19171,7 +20771,7 @@ return x_15; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; @@ -19236,12 +20836,12 @@ lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); x_28 = l_Array_empty___closed__1; x_29 = lean_array_push(x_28, x_27); -x_30 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; +x_30 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5; lean_inc(x_20); lean_inc(x_24); x_31 = l_Lean_addMacroScope(x_24, x_30, x_20); -x_32 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3; -x_33 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__10; +x_32 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3; +x_33 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__10; lean_inc(x_25); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_25); @@ -19271,14 +20871,14 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); x_48 = lean_array_push(x_29, x_47); -x_49 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__15; +x_49 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15; lean_inc(x_25); x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_25); lean_ctor_set(x_50, 1, x_49); x_51 = lean_array_push(x_48, x_50); x_52 = lean_array_push(x_51, x_14); -x_53 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__17; +x_53 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17; x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_25); lean_ctor_set(x_54, 1, x_53); @@ -19311,12 +20911,12 @@ lean_ctor_set(x_63, 0, x_61); lean_ctor_set(x_63, 1, x_62); x_64 = l_Array_empty___closed__1; x_65 = lean_array_push(x_64, x_63); -x_66 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; +x_66 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5; lean_inc(x_20); lean_inc(x_59); x_67 = l_Lean_addMacroScope(x_59, x_66, x_20); -x_68 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3; -x_69 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__10; +x_68 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3; +x_69 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__10; lean_inc(x_61); x_70 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_70, 0, x_61); @@ -19346,14 +20946,14 @@ 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_65, x_83); -x_85 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__15; +x_85 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15; lean_inc(x_61); x_86 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_86, 0, x_61); lean_ctor_set(x_86, 1, x_85); x_87 = lean_array_push(x_84, x_86); x_88 = lean_array_push(x_87, x_14); -x_89 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__17; +x_89 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17; x_90 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_90, 0, x_61); lean_ctor_set(x_90, 1, x_89); @@ -19485,15 +21085,23 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; -x_1 = lean_mk_string("match_syntax: antiquotation must be variable "); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7___boxed), 1, 0); return x_1; } } static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("match_syntax: antiquotation must be variable "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__6; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -19501,201 +21109,207 @@ return x_2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; -x_9 = !lean_is_exclusive(x_1); -if (x_9 == 0) +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +x_11 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_9); +x_12 = l_Lean_Syntax_isQuot(x_11); +if (x_12 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_ctor_get(x_1, 0); -x_11 = lean_ctor_get(x_1, 1); -x_12 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_10); -x_13 = l_Lean_Syntax_isQuot(x_12); +uint8_t x_13; +x_13 = !lean_is_exclusive(x_1); if (x_13 == 0) { -lean_object* x_14; uint8_t x_15; -x_14 = l_myMacro____x40_Init_Notation___hyg_11811____closed__18; -lean_inc(x_12); -x_15 = l_Lean_Syntax_isOfKind(x_12, x_14); -if (x_15 == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = l_Lean_identKind___closed__2; -lean_inc(x_12); -x_17 = l_Lean_Syntax_isOfKind(x_12, x_16); +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_1, 1); +lean_dec(x_14); +x_15 = lean_ctor_get(x_1, 0); +lean_dec(x_15); +x_16 = l_myMacro____x40_Init_Notation___hyg_11811____closed__18; +lean_inc(x_11); +x_17 = l_Lean_Syntax_isOfKind(x_11, x_16); if (x_17 == 0) { lean_object* x_18; uint8_t x_19; -x_18 = l_Lean_Parser_Term_namedPattern___elambda__1___closed__2; -lean_inc(x_12); -x_19 = l_Lean_Syntax_isOfKind(x_12, x_18); +x_18 = l_Lean_identKind___closed__2; +lean_inc(x_11); +x_19 = l_Lean_Syntax_isOfKind(x_11, x_18); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_object* x_20; uint8_t x_21; +x_20 = l_Lean_Parser_Term_namedPattern___elambda__1___closed__2; +lean_inc(x_11); +x_21 = l_Lean_Syntax_isOfKind(x_11, 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_free_object(x_1); -lean_dec(x_11); lean_dec(x_10); -lean_inc(x_12); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_12); -x_21 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_KernelException_toMessageData___closed__15; +lean_dec(x_9); +lean_inc(x_11); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_11); +x_23 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_12, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_12); -return x_25; +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_Lean_KernelException_toMessageData___closed__15; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_11, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_11); +return x_27; } else { -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_unsigned_to_nat(0u); -x_27 = l_Lean_Syntax_getArg(x_12, x_26); -lean_inc(x_27); -x_28 = l_Lean_Syntax_isOfKind(x_27, x_16); -if (x_28 == 0) +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_unsigned_to_nat(0u); +x_29 = l_Lean_Syntax_getArg(x_11, x_28); +lean_inc(x_29); +x_30 = l_Lean_Syntax_isOfKind(x_29, x_18); +if (x_30 == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_27); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_29); lean_free_object(x_1); -lean_dec(x_11); lean_dec(x_10); -lean_inc(x_12); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_12); -x_30 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; -x_31 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = l_Lean_KernelException_toMessageData___closed__15; +lean_dec(x_9); +lean_inc(x_11); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_11); +x_32 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; x_33 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_12, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_12); -return x_34; +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l_Lean_KernelException_toMessageData___closed__15; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_11, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_11); +return x_36; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_35 = lean_unsigned_to_nat(2u); -x_36 = l_Lean_Syntax_getArg(x_12, x_35); -lean_dec(x_12); -x_37 = l_List_tail_x21___rarg(x_10); -lean_dec(x_10); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_1, 0, x_38); -x_39 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_39) == 0) +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_37 = lean_unsigned_to_nat(2u); +x_38 = l_Lean_Syntax_getArg(x_11, x_37); +lean_dec(x_11); +x_39 = l_List_tail_x21___rarg(x_9); +lean_dec(x_9); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_1, 0, x_40); +x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_41) == 0) { -uint8_t x_40; -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) +uint8_t x_42; +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_41 = lean_ctor_get(x_39, 0); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 2); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_43 = lean_ctor_get(x_41, 0); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 2); +lean_inc(x_45); +x_46 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; lean_inc(x_43); -x_44 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -lean_inc(x_41); -x_45 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3), 4, 3); -lean_closure_set(x_45, 0, x_41); -lean_closure_set(x_45, 1, x_44); -lean_closure_set(x_45, 2, x_27); -x_46 = !lean_is_exclusive(x_41); -if (x_46 == 0) +x_47 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3), 4, 3); +lean_closure_set(x_47, 0, x_43); +lean_closure_set(x_47, 1, x_46); +lean_closure_set(x_47, 2, x_29); +x_48 = !lean_is_exclusive(x_43); +if (x_48 == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_41, 2); -lean_dec(x_47); -x_48 = lean_ctor_get(x_41, 1); -lean_dec(x_48); -x_49 = lean_ctor_get(x_41, 0); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_43, 2); lean_dec(x_49); -lean_ctor_set(x_41, 1, x_45); -return x_39; +x_50 = lean_ctor_get(x_43, 1); +lean_dec(x_50); +x_51 = lean_ctor_get(x_43, 0); +lean_dec(x_51); +lean_ctor_set(x_43, 1, x_47); +return x_41; } else { -lean_object* x_50; -lean_dec(x_41); -x_50 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_50, 0, x_42); -lean_ctor_set(x_50, 1, x_45); -lean_ctor_set(x_50, 2, x_43); -lean_ctor_set(x_39, 0, x_50); -return x_39; +lean_object* x_52; +lean_dec(x_43); +x_52 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_52, 0, x_44); +lean_ctor_set(x_52, 1, x_47); +lean_ctor_set(x_52, 2, x_45); +lean_ctor_set(x_41, 0, x_52); +return x_41; } } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_51 = lean_ctor_get(x_39, 0); -x_52 = lean_ctor_get(x_39, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_39); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_51, 2); +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_53 = lean_ctor_get(x_41, 0); +x_54 = lean_ctor_get(x_41, 1); lean_inc(x_54); -x_55 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -lean_inc(x_51); -x_56 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3), 4, 3); -lean_closure_set(x_56, 0, x_51); -lean_closure_set(x_56, 1, x_55); -lean_closure_set(x_56, 2, x_27); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - lean_ctor_release(x_51, 2); - x_57 = x_51; +lean_inc(x_53); +lean_dec(x_41); +x_55 = lean_ctor_get(x_53, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_53, 2); +lean_inc(x_56); +x_57 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; +lean_inc(x_53); +x_58 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3), 4, 3); +lean_closure_set(x_58, 0, x_53); +lean_closure_set(x_58, 1, x_57); +lean_closure_set(x_58, 2, x_29); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + lean_ctor_release(x_53, 2); + x_59 = x_53; } else { - lean_dec_ref(x_51); - x_57 = lean_box(0); + lean_dec_ref(x_53); + x_59 = lean_box(0); } -if (lean_is_scalar(x_57)) { - x_58 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(0, 3, 0); } else { - x_58 = x_57; + x_60 = x_59; } -lean_ctor_set(x_58, 0, x_53); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_58, 2, x_54); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_52); -return x_59; +lean_ctor_set(x_60, 0, x_55); +lean_ctor_set(x_60, 1, x_58); +lean_ctor_set(x_60, 2, x_56); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_54); +return x_61; } } else { -uint8_t x_60; -lean_dec(x_27); -x_60 = !lean_is_exclusive(x_39); -if (x_60 == 0) +uint8_t x_62; +lean_dec(x_29); +x_62 = !lean_is_exclusive(x_41); +if (x_62 == 0) { -return x_39; +return x_41; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_39, 0); -x_62 = lean_ctor_get(x_39, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_39); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_41, 0); +x_64 = lean_ctor_get(x_41, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_41); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } } @@ -19703,40 +21317,24 @@ return x_63; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_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_free_object(x_1); -lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_6); lean_dec(x_2); -x_64 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_65 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed), 10, 2); -lean_closure_set(x_65, 0, x_64); -lean_closure_set(x_65, 1, x_12); -x_66 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4), 2, 1); -lean_closure_set(x_66, 0, x_65); -x_67 = lean_box(0); -x_68 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; -x_69 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_66); -lean_ctor_set(x_69, 2, x_68); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_8); -return x_70; -} -} -else -{ -lean_object* x_71; lean_object* x_72; -lean_dec(x_12); -lean_free_object(x_1); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_2); -x_71 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; +x_66 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; +x_67 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed), 10, 2); +lean_closure_set(x_67, 0, x_66); +lean_closure_set(x_67, 1, x_11); +x_68 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4), 2, 1); +lean_closure_set(x_68, 0, x_67); +x_69 = lean_box(0); +x_70 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; +x_71 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_68); +lean_ctor_set(x_71, 2, x_70); x_72 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_8); @@ -19745,521 +21343,332 @@ return x_72; } else { -lean_object* x_73; lean_object* x_74; uint8_t x_117; +lean_object* x_73; lean_object* x_74; lean_free_object(x_1); lean_dec(x_11); lean_dec(x_10); -lean_inc(x_12); -x_73 = l_Lean_Syntax_getQuotContent(x_12); -x_117 = l_Lean_Syntax_isAtom(x_73); -if (x_117 == 0) -{ -uint8_t x_118; -x_118 = l_Lean_Syntax_isAntiquot(x_73); -if (x_118 == 0) -{ -uint8_t x_119; -x_119 = l_Lean_Syntax_isAntiquotSuffixSplice(x_73); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = l_Lean_Syntax_isAntiquotSplice(x_73); -if (x_120 == 0) -{ -lean_object* x_121; +lean_dec(x_9); lean_dec(x_6); lean_dec(x_2); -x_121 = lean_box(0); -x_74 = x_121; -goto block_116; -} -else -{ -lean_object* x_122; lean_object* x_123; -lean_dec(x_12); -x_122 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; -x_123 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_73, x_122, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_73); -return x_123; +x_73 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_8); +return x_74; } } else { -lean_object* x_124; lean_object* x_125; -lean_dec(x_12); -x_124 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; -x_125 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_73, x_124, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_73); -return x_125; -} +lean_object* x_75; uint8_t x_76; +lean_dec(x_1); +x_75 = l_myMacro____x40_Init_Notation___hyg_11811____closed__18; +lean_inc(x_11); +x_76 = l_Lean_Syntax_isOfKind(x_11, x_75); +if (x_76 == 0) +{ +lean_object* x_77; uint8_t x_78; +x_77 = l_Lean_identKind___closed__2; +lean_inc(x_11); +x_78 = l_Lean_Syntax_isOfKind(x_11, x_77); +if (x_78 == 0) +{ +lean_object* x_79; uint8_t x_80; +x_79 = l_Lean_Parser_Term_namedPattern___elambda__1___closed__2; +lean_inc(x_11); +x_80 = l_Lean_Syntax_isOfKind(x_11, x_79); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_10); +lean_dec(x_9); +lean_inc(x_11); +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_11); +x_82 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; +x_83 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +x_84 = l_Lean_KernelException_toMessageData___closed__15; +x_85 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_11, x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_11); +return x_86; } else { -uint8_t x_126; -x_126 = l_Lean_Syntax_isEscapedAntiquot(x_73); -if (x_126 == 0) +lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_87 = lean_unsigned_to_nat(0u); +x_88 = l_Lean_Syntax_getArg(x_11, x_87); +lean_inc(x_88); +x_89 = l_Lean_Syntax_isOfKind(x_88, x_77); +if (x_89 == 0) { -lean_object* x_127; lean_object* x_128; uint8_t x_129; lean_object* x_130; -lean_dec(x_12); -x_127 = l_Lean_Syntax_antiquotKind_x3f(x_73); -x_128 = l_Lean_Syntax_getAntiquotTerm(x_73); -lean_dec(x_73); -x_129 = l_Lean_Syntax_isIdent(x_128); -if (lean_obj_tag(x_127) == 0) -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = l_Lean_instInhabitedName; -x_153 = l_Option_get_x21___rarg___closed__4; -x_154 = lean_panic_fn(x_152, x_153); -x_130 = x_154; -goto block_151; +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_88); +lean_dec(x_10); +lean_dec(x_9); +lean_inc(x_11); +x_90 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_90, 0, x_11); +x_91 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; +x_92 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +x_93 = l_Lean_KernelException_toMessageData___closed__15; +x_94 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +x_95 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_11, x_94, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_11); +return x_95; } else { -lean_object* x_155; -x_155 = lean_ctor_get(x_127, 0); -lean_inc(x_155); -lean_dec(x_127); -x_130 = x_155; -goto block_151; +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_96 = lean_unsigned_to_nat(2u); +x_97 = l_Lean_Syntax_getArg(x_11, x_96); +lean_dec(x_11); +x_98 = l_List_tail_x21___rarg(x_9); +lean_dec(x_9); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_10); +x_101 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_100, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_104 = x_101; +} else { + lean_dec_ref(x_101); + x_104 = lean_box(0); } -block_151: -{ -if (x_129 == 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_dec(x_130); -lean_inc(x_128); -x_131 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_131, 0, x_128); -x_132 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7; -x_133 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -x_134 = l_Lean_KernelException_toMessageData___closed__15; -x_135 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -x_136 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_128, x_135, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_128); -return x_136; +x_105 = lean_ctor_get(x_102, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_102, 2); +lean_inc(x_106); +x_107 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; +lean_inc(x_102); +x_108 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3), 4, 3); +lean_closure_set(x_108, 0, x_102); +lean_closure_set(x_108, 1, x_107); +lean_closure_set(x_108, 2, x_88); +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_109 = x_102; +} else { + lean_dec_ref(x_102); + x_109 = lean_box(0); +} +if (lean_is_scalar(x_109)) { + x_110 = lean_alloc_ctor(0, 3, 0); +} else { + x_110 = x_109; +} +lean_ctor_set(x_110, 0, x_105); +lean_ctor_set(x_110, 1, x_108); +lean_ctor_set(x_110, 2, x_106); +if (lean_is_scalar(x_104)) { + x_111 = lean_alloc_ctor(0, 2, 0); +} else { + x_111 = x_104; +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_103); +return x_111; } else { -lean_object* x_137; lean_object* x_138; uint8_t x_139; -lean_dec(x_6); -lean_dec(x_2); -x_137 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___boxed), 9, 1); -lean_closure_set(x_137, 0, x_128); -x_138 = lean_box(0); -x_139 = lean_name_eq(x_130, x_138); -if (x_139 == 0) -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_140 = lean_box(0); -lean_inc(x_130); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_130); -lean_ctor_set(x_141, 1, x_140); -lean_inc(x_130); -x_142 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed), 3, 2); -lean_closure_set(x_142, 0, x_130); -lean_closure_set(x_142, 1, x_137); -x_143 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23), 11, 2); -lean_closure_set(x_143, 0, x_140); -lean_closure_set(x_143, 1, x_130); -x_144 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_144, 0, x_141); -lean_ctor_set(x_144, 1, x_142); -lean_ctor_set(x_144, 2, x_143); -x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_8); -return x_145; +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_88); +x_112 = lean_ctor_get(x_101, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_101, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_114 = x_101; +} else { + lean_dec_ref(x_101); + x_114 = lean_box(0); } -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -lean_dec(x_130); -x_146 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4), 2, 1); -lean_closure_set(x_146, 0, x_137); -x_147 = lean_box(0); -x_148 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; -x_149 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_146); -lean_ctor_set(x_149, 2, x_148); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_8); -return x_150; +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; } -} -} -} -else -{ -uint8_t x_156; -x_156 = l_Lean_Syntax_isAntiquotSuffixSplice(x_73); -if (x_156 == 0) -{ -uint8_t x_157; -x_157 = l_Lean_Syntax_isAntiquotSplice(x_73); -if (x_157 == 0) -{ -lean_object* x_158; -lean_dec(x_6); -lean_dec(x_2); -x_158 = lean_box(0); -x_74 = x_158; -goto block_116; -} -else -{ -lean_object* x_159; lean_object* x_160; -lean_dec(x_12); -x_159 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; -x_160 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_73, x_159, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_73); -return x_160; -} -} -else -{ -lean_object* x_161; lean_object* x_162; -lean_dec(x_12); -x_161 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; -x_162 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_73, x_161, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_73); -return x_162; -} -} -} -} -else -{ -lean_object* x_163; lean_object* x_164; -lean_dec(x_73); -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_2); -x_163 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_8); -return x_164; -} -block_116: -{ -lean_object* x_75; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -lean_dec(x_74); -x_93 = l_Lean_Syntax_getArgs(x_73); -x_94 = lean_array_get_size(x_93); -lean_dec(x_93); -x_95 = lean_unsigned_to_nat(1u); -x_96 = lean_nat_dec_eq(x_94, x_95); -lean_dec(x_94); -if (x_96 == 0) -{ -lean_object* x_97; -lean_dec(x_12); -x_97 = lean_box(0); -x_75 = x_97; -goto block_92; -} -else -{ -lean_object* x_98; lean_object* x_99; uint8_t x_100; -x_98 = lean_unsigned_to_nat(0u); -x_99 = l_Lean_Syntax_getArg(x_73, x_98); -x_100 = l_Lean_Syntax_isAntiquotSuffixSplice(x_99); -if (x_100 == 0) -{ -uint8_t x_101; -x_101 = l_Lean_Syntax_isAntiquotSplice(x_99); -if (x_101 == 0) -{ -lean_object* x_102; -lean_dec(x_99); -lean_dec(x_12); -x_102 = lean_box(0); -x_75 = x_102; -goto block_92; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -lean_dec(x_73); -lean_inc(x_12); -x_103 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_103, 0, x_12); -x_104 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___boxed), 2, 1); -lean_closure_set(x_104, 0, x_12); -x_105 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___boxed), 10, 1); -lean_closure_set(x_105, 0, x_99); -x_106 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_106, 0, x_103); -lean_ctor_set(x_106, 1, x_104); -lean_ctor_set(x_106, 2, x_105); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_8); -return x_107; -} -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_12); -x_108 = l_Lean_Syntax_getArg(x_99, x_98); -x_109 = l_Lean_Syntax_getAntiquotTerm(x_108); -lean_dec(x_108); -x_110 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___boxed), 11, 3); -lean_closure_set(x_110, 0, x_99); -lean_closure_set(x_110, 1, x_73); -lean_closure_set(x_110, 2, x_109); -x_111 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4), 2, 1); -lean_closure_set(x_111, 0, x_110); -x_112 = lean_box(0); -x_113 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; -x_114 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_111); -lean_ctor_set(x_114, 2, x_113); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_8); +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); return x_115; } } -block_92: -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; size_t x_80; size_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_75); -x_76 = l_Lean_Syntax_unescapeAntiquot(x_73); -lean_inc(x_76); -x_77 = l_Lean_Syntax_getKind(x_76); -x_78 = l_Lean_Syntax_getArgs(x_76); -lean_dec(x_76); -x_79 = lean_array_get_size(x_78); -x_80 = lean_usize_of_nat(x_79); -lean_dec(x_79); -x_81 = 0; -x_82 = x_78; -x_83 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(x_80, x_81, x_82); -x_84 = x_83; -x_85 = lean_array_get_size(x_84); -lean_inc(x_85); -x_86 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_86, 0, x_85); -lean_inc(x_86); -lean_inc(x_77); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_77); -lean_ctor_set(x_87, 1, x_86); -lean_inc(x_77); -x_88 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed), 4, 3); -lean_closure_set(x_88, 0, x_77); -lean_closure_set(x_88, 1, x_86); -lean_closure_set(x_88, 2, x_84); -x_89 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10), 11, 2); -lean_closure_set(x_89, 0, x_85); -lean_closure_set(x_89, 1, x_77); -x_90 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_90, 0, x_87); -lean_ctor_set(x_90, 1, x_88); -lean_ctor_set(x_90, 2, x_89); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_8); -return x_91; -} -} } } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; -x_165 = lean_ctor_get(x_1, 0); -x_166 = lean_ctor_get(x_1, 1); -lean_inc(x_166); -lean_inc(x_165); -lean_dec(x_1); -x_167 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_165); -x_168 = l_Lean_Syntax_isQuot(x_167); -if (x_168 == 0) -{ -lean_object* x_169; uint8_t x_170; -x_169 = l_myMacro____x40_Init_Notation___hyg_11811____closed__18; -lean_inc(x_167); -x_170 = l_Lean_Syntax_isOfKind(x_167, x_169); -if (x_170 == 0) -{ -lean_object* x_171; uint8_t x_172; -x_171 = l_Lean_identKind___closed__2; -lean_inc(x_167); -x_172 = l_Lean_Syntax_isOfKind(x_167, x_171); -if (x_172 == 0) -{ -lean_object* x_173; uint8_t x_174; -x_173 = l_Lean_Parser_Term_namedPattern___elambda__1___closed__2; -lean_inc(x_167); -x_174 = l_Lean_Syntax_isOfKind(x_167, x_173); -if (x_174 == 0) -{ -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_dec(x_166); -lean_dec(x_165); -lean_inc(x_167); -x_175 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_175, 0, x_167); -x_176 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; -x_177 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_175); -x_178 = l_Lean_KernelException_toMessageData___closed__15; -x_179 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_178); -x_180 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_167, x_179, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_167); -return x_180; -} -else -{ -lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_181 = lean_unsigned_to_nat(0u); -x_182 = l_Lean_Syntax_getArg(x_167, x_181); -lean_inc(x_182); -x_183 = l_Lean_Syntax_isOfKind(x_182, x_171); -if (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_dec(x_182); -lean_dec(x_166); -lean_dec(x_165); -lean_inc(x_167); -x_184 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_184, 0, x_167); -x_185 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; -x_186 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_184); -x_187 = l_Lean_KernelException_toMessageData___closed__15; -x_188 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_188, 0, x_186); -lean_ctor_set(x_188, 1, x_187); -x_189 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_167, x_188, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_167); -return x_189; -} -else -{ -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_190 = lean_unsigned_to_nat(2u); -x_191 = l_Lean_Syntax_getArg(x_167, x_190); -lean_dec(x_167); -x_192 = l_List_tail_x21___rarg(x_165); -lean_dec(x_165); -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_191); -lean_ctor_set(x_193, 1, x_192); -x_194 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_166); -x_195 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_194, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -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_object* x_205; -x_196 = lean_ctor_get(x_195, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_195, 1); -lean_inc(x_197); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - lean_ctor_release(x_195, 1); - x_198 = x_195; -} else { - lean_dec_ref(x_195); - x_198 = lean_box(0); -} -x_199 = lean_ctor_get(x_196, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_196, 2); -lean_inc(x_200); -x_201 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -lean_inc(x_196); -x_202 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3), 4, 3); -lean_closure_set(x_202, 0, x_196); -lean_closure_set(x_202, 1, x_201); -lean_closure_set(x_202, 2, x_182); -if (lean_is_exclusive(x_196)) { - lean_ctor_release(x_196, 0); - lean_ctor_release(x_196, 1); - lean_ctor_release(x_196, 2); - x_203 = x_196; -} else { - lean_dec_ref(x_196); - x_203 = lean_box(0); -} -if (lean_is_scalar(x_203)) { - x_204 = lean_alloc_ctor(0, 3, 0); -} else { - x_204 = x_203; -} -lean_ctor_set(x_204, 0, x_199); -lean_ctor_set(x_204, 1, x_202); -lean_ctor_set(x_204, 2, x_200); -if (lean_is_scalar(x_198)) { - x_205 = lean_alloc_ctor(0, 2, 0); -} else { - x_205 = x_198; -} -lean_ctor_set(x_205, 0, x_204); -lean_ctor_set(x_205, 1, x_197); -return x_205; -} -else -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; -lean_dec(x_182); -x_206 = lean_ctor_get(x_195, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_195, 1); -lean_inc(x_207); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - lean_ctor_release(x_195, 1); - x_208 = x_195; -} else { - lean_dec_ref(x_195); - x_208 = lean_box(0); -} -if (lean_is_scalar(x_208)) { - x_209 = lean_alloc_ctor(1, 2, 0); -} else { - x_209 = x_208; -} -lean_ctor_set(x_209, 0, x_206); -lean_ctor_set(x_209, 1, x_207); -return x_209; -} -} -} -} -else -{ -lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -lean_dec(x_166); -lean_dec(x_165); +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_dec(x_10); +lean_dec(x_9); lean_dec(x_6); lean_dec(x_2); -x_210 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_211 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed), 10, 2); -lean_closure_set(x_211, 0, x_210); -lean_closure_set(x_211, 1, x_167); +x_116 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; +x_117 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed), 10, 2); +lean_closure_set(x_117, 0, x_116); +lean_closure_set(x_117, 1, x_11); +x_118 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4), 2, 1); +lean_closure_set(x_118, 0, x_117); +x_119 = lean_box(0); +x_120 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; +x_121 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_118); +lean_ctor_set(x_121, 2, x_120); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_8); +return x_122; +} +} +else +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_2); +x_123 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_8); +return x_124; +} +} +} +else +{ +lean_object* x_125; lean_object* x_126; uint8_t x_189; +lean_dec(x_10); +lean_dec(x_9); +lean_inc(x_11); +x_125 = l_Lean_Syntax_getQuotContent(x_11); +x_189 = l_Lean_Syntax_isAtom(x_125); +if (x_189 == 0) +{ +uint8_t x_190; +x_190 = l_Lean_Syntax_isAntiquot(x_125); +if (x_190 == 0) +{ +lean_object* x_191; +x_191 = lean_box(0); +x_126 = x_191; +goto block_188; +} +else +{ +uint8_t x_192; +x_192 = l_Lean_Syntax_isEscapedAntiquot(x_125); +if (x_192 == 0) +{ +lean_object* x_193; lean_object* x_194; uint8_t x_195; lean_object* x_196; +lean_dec(x_11); +lean_dec(x_1); +x_193 = l_Lean_Syntax_antiquotKind_x3f(x_125); +x_194 = l_Lean_Syntax_getAntiquotTerm(x_125); +lean_dec(x_125); +x_195 = l_Lean_Syntax_isIdent(x_194); +if (lean_obj_tag(x_193) == 0) +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_218 = l_Lean_instInhabitedName; +x_219 = l_Option_get_x21___rarg___closed__4; +x_220 = lean_panic_fn(x_218, x_219); +x_196 = x_220; +goto block_217; +} +else +{ +lean_object* x_221; +x_221 = lean_ctor_get(x_193, 0); +lean_inc(x_221); +lean_dec(x_193); +x_196 = x_221; +goto block_217; +} +block_217: +{ +if (x_195 == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_196); +lean_inc(x_194); +x_197 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_197, 0, x_194); +x_198 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__8; +x_199 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_197); +x_200 = l_Lean_KernelException_toMessageData___closed__15; +x_201 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_200); +x_202 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_194, x_201, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_194); +return x_202; +} +else +{ +lean_object* x_203; lean_object* x_204; uint8_t x_205; +lean_dec(x_6); +lean_dec(x_2); +x_203 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___boxed), 9, 1); +lean_closure_set(x_203, 0, x_194); +x_204 = lean_box(0); +x_205 = lean_name_eq(x_196, x_204); +if (x_205 == 0) +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_206 = lean_box(0); +lean_inc(x_196); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_196); +lean_ctor_set(x_207, 1, x_206); +lean_inc(x_196); +x_208 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25___boxed), 3, 2); +lean_closure_set(x_208, 0, x_196); +lean_closure_set(x_208, 1, x_203); +x_209 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26), 11, 2); +lean_closure_set(x_209, 0, x_206); +lean_closure_set(x_209, 1, x_196); +x_210 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_210, 0, x_207); +lean_ctor_set(x_210, 1, x_208); +lean_ctor_set(x_210, 2, x_209); +x_211 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_8); +return x_211; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +lean_dec(x_196); x_212 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4), 2, 1); -lean_closure_set(x_212, 0, x_211); +lean_closure_set(x_212, 0, x_203); x_213 = lean_box(0); x_214 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; x_215 = lean_alloc_ctor(0, 3, 0); @@ -20272,351 +21681,240 @@ lean_ctor_set(x_216, 1, x_8); return x_216; } } +} +} else { -lean_object* x_217; lean_object* x_218; -lean_dec(x_167); -lean_dec(x_166); -lean_dec(x_165); +lean_object* x_222; +x_222 = lean_box(0); +x_126 = x_222; +goto block_188; +} +} +} +else +{ +lean_object* x_223; lean_object* x_224; +lean_dec(x_125); +lean_dec(x_11); lean_dec(x_6); lean_dec(x_2); -x_217 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_8); -return x_218; +lean_dec(x_1); +x_223 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; +x_224 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_8); +return x_224; } -} -else +block_188: { -lean_object* x_219; lean_object* x_220; uint8_t x_263; -lean_dec(x_166); -lean_dec(x_165); -lean_inc(x_167); -x_219 = l_Lean_Syntax_getQuotContent(x_167); -x_263 = l_Lean_Syntax_isAtom(x_219); -if (x_263 == 0) +uint8_t x_127; +lean_dec(x_126); +x_127 = l_Lean_Syntax_isAntiquotSuffixSplice(x_125); +if (x_127 == 0) { -uint8_t x_264; -x_264 = l_Lean_Syntax_isAntiquot(x_219); -if (x_264 == 0) +uint8_t x_128; +x_128 = l_Lean_Syntax_isAntiquotSplice(x_125); +if (x_128 == 0) { -uint8_t x_265; -x_265 = l_Lean_Syntax_isAntiquotSuffixSplice(x_219); -if (x_265 == 0) -{ -uint8_t x_266; -x_266 = l_Lean_Syntax_isAntiquotSplice(x_219); -if (x_266 == 0) -{ -lean_object* x_267; +lean_object* x_129; lean_object* x_130; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_dec(x_6); lean_dec(x_2); -x_267 = lean_box(0); -x_220 = x_267; -goto block_262; +x_129 = l_Lean_Syntax_getArgs(x_125); +x_162 = lean_array_get_size(x_129); +x_163 = lean_unsigned_to_nat(1u); +x_164 = lean_nat_dec_eq(x_162, x_163); +lean_dec(x_162); +if (x_164 == 0) +{ +lean_object* x_165; +lean_dec(x_11); +x_165 = lean_box(0); +x_130 = x_165; +goto block_161; } else { -lean_object* x_268; lean_object* x_269; +lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_166 = lean_unsigned_to_nat(0u); +x_167 = l_Lean_Syntax_getArg(x_125, x_166); +x_168 = l_Lean_Syntax_isAntiquotSuffixSplice(x_167); +if (x_168 == 0) +{ +uint8_t x_169; +x_169 = l_Lean_Syntax_isAntiquotSplice(x_167); +if (x_169 == 0) +{ +lean_object* x_170; lean_dec(x_167); -x_268 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; -x_269 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_219, x_268, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_219); -return x_269; +lean_dec(x_11); +x_170 = lean_box(0); +x_130 = x_170; +goto block_161; +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_dec(x_129); +lean_dec(x_125); +lean_dec(x_1); +lean_inc(x_11); +x_171 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_171, 0, x_11); +x_172 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___boxed), 2, 1); +lean_closure_set(x_172, 0, x_11); +x_173 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed), 10, 1); +lean_closure_set(x_173, 0, x_167); +x_174 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_174, 0, x_171); +lean_ctor_set(x_174, 1, x_172); +lean_ctor_set(x_174, 2, x_173); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_8); +return x_175; } } else { -lean_object* x_270; lean_object* x_271; -lean_dec(x_167); -x_270 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; -x_271 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_219, x_270, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_219); -return x_271; +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_dec(x_129); +lean_dec(x_11); +lean_dec(x_1); +x_176 = l_Lean_Syntax_getArg(x_167, x_166); +x_177 = l_Lean_Syntax_getAntiquotTerm(x_176); +lean_dec(x_176); +x_178 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___boxed), 11, 3); +lean_closure_set(x_178, 0, x_167); +lean_closure_set(x_178, 1, x_125); +lean_closure_set(x_178, 2, x_177); +x_179 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4), 2, 1); +lean_closure_set(x_179, 0, x_178); +x_180 = lean_box(0); +x_181 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; +x_182 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_179); +lean_ctor_set(x_182, 2, x_181); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_8); +return x_183; } } +block_161: +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_130); +x_131 = lean_array_get_size(x_129); +x_132 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__6; +x_133 = lean_unsigned_to_nat(0u); +lean_inc(x_131); +x_134 = l_Array_findIdx_x3f_loop___rarg(x_129, x_132, x_131, x_133, lean_box(0)); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; size_t x_139; size_t x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +lean_dec(x_131); +lean_dec(x_129); +lean_dec(x_1); +x_135 = l_Lean_Syntax_unescapeAntiquot(x_125); +lean_inc(x_135); +x_136 = l_Lean_Syntax_getKind(x_135); +x_137 = l_Lean_Syntax_getArgs(x_135); +lean_dec(x_135); +x_138 = lean_array_get_size(x_137); +x_139 = lean_usize_of_nat(x_138); +lean_dec(x_138); +x_140 = 0; +x_141 = x_137; +x_142 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(x_139, x_140, x_141); +x_143 = x_142; +x_144 = lean_array_get_size(x_143); +lean_inc(x_144); +x_145 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_145, 0, x_144); +lean_inc(x_145); +lean_inc(x_136); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_136); +lean_ctor_set(x_146, 1, x_145); +lean_inc(x_136); +x_147 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___boxed), 4, 3); +lean_closure_set(x_147, 0, x_136); +lean_closure_set(x_147, 1, x_145); +lean_closure_set(x_147, 2, x_143); +x_148 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11), 11, 2); +lean_closure_set(x_148, 0, x_144); +lean_closure_set(x_148, 1, x_136); +x_149 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_149, 0, x_146); +lean_ctor_set(x_149, 1, x_147); +lean_ctor_set(x_149, 2, x_148); +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_8); +return x_150; +} else { -uint8_t x_272; -x_272 = l_Lean_Syntax_isEscapedAntiquot(x_219); -if (x_272 == 0) -{ -lean_object* x_273; lean_object* x_274; uint8_t x_275; lean_object* x_276; -lean_dec(x_167); -x_273 = l_Lean_Syntax_antiquotKind_x3f(x_219); -x_274 = l_Lean_Syntax_getAntiquotTerm(x_219); -lean_dec(x_219); -x_275 = l_Lean_Syntax_isIdent(x_274); -if (lean_obj_tag(x_273) == 0) -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_298 = l_Lean_instInhabitedName; -x_299 = l_Option_get_x21___rarg___closed__4; -x_300 = lean_panic_fn(x_298, x_299); -x_276 = x_300; -goto block_297; -} -else -{ -lean_object* x_301; -x_301 = lean_ctor_get(x_273, 0); -lean_inc(x_301); -lean_dec(x_273); -x_276 = x_301; -goto block_297; -} -block_297: -{ -if (x_275 == 0) -{ -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_dec(x_276); -lean_inc(x_274); -x_277 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_277, 0, x_274); -x_278 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7; -x_279 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_277); -x_280 = l_Lean_KernelException_toMessageData___closed__15; -x_281 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_281, 0, x_279); -lean_ctor_set(x_281, 1, x_280); -x_282 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_274, x_281, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_274); -return x_282; -} -else -{ -lean_object* x_283; lean_object* x_284; uint8_t x_285; -lean_dec(x_6); -lean_dec(x_2); -x_283 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___boxed), 9, 1); -lean_closure_set(x_283, 0, x_274); -x_284 = lean_box(0); -x_285 = lean_name_eq(x_276, x_284); -if (x_285 == 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; -x_286 = lean_box(0); -lean_inc(x_276); -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_276); -lean_ctor_set(x_287, 1, x_286); -lean_inc(x_276); -x_288 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed), 3, 2); -lean_closure_set(x_288, 0, x_276); -lean_closure_set(x_288, 1, x_283); -x_289 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23), 11, 2); -lean_closure_set(x_289, 0, x_286); -lean_closure_set(x_289, 1, x_276); -x_290 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_290, 0, x_287); -lean_ctor_set(x_290, 1, x_288); -lean_ctor_set(x_290, 2, x_289); -x_291 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_8); -return x_291; -} -else -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; -lean_dec(x_276); -x_292 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4), 2, 1); -lean_closure_set(x_292, 0, x_283); -x_293 = lean_box(0); -x_294 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; -x_295 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_295, 0, x_293); -lean_ctor_set(x_295, 1, x_292); -lean_ctor_set(x_295, 2, x_294); -x_296 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_8); -return x_296; -} +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_151 = lean_ctor_get(x_134, 0); +lean_inc(x_151); +lean_dec(x_134); +x_152 = l_Lean_Syntax_getNumArgs(x_125); +lean_dec(x_125); +x_153 = lean_unsigned_to_nat(1u); +x_154 = lean_nat_sub(x_152, x_153); +lean_dec(x_152); +x_155 = lean_nat_sub(x_154, x_151); +lean_inc(x_155); +lean_inc(x_151); +x_156 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_156, 0, x_151); +lean_ctor_set(x_156, 1, x_155); +lean_inc(x_155); +lean_inc(x_151); +x_157 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___boxed), 6, 5); +lean_closure_set(x_157, 0, x_151); +lean_closure_set(x_157, 1, x_155); +lean_closure_set(x_157, 2, x_131); +lean_closure_set(x_157, 3, x_1); +lean_closure_set(x_157, 4, x_129); +x_158 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13), 12, 3); +lean_closure_set(x_158, 0, x_151); +lean_closure_set(x_158, 1, x_155); +lean_closure_set(x_158, 2, x_154); +x_159 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_159, 0, x_156); +lean_ctor_set(x_159, 1, x_157); +lean_ctor_set(x_159, 2, x_158); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_8); +return x_160; } } } else { -uint8_t x_302; -x_302 = l_Lean_Syntax_isAntiquotSuffixSplice(x_219); -if (x_302 == 0) -{ -uint8_t x_303; -x_303 = l_Lean_Syntax_isAntiquotSplice(x_219); -if (x_303 == 0) -{ -lean_object* x_304; -lean_dec(x_6); -lean_dec(x_2); -x_304 = lean_box(0); -x_220 = x_304; -goto block_262; -} -else -{ -lean_object* x_305; lean_object* x_306; -lean_dec(x_167); -x_305 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; -x_306 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_219, x_305, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_219); -return x_306; +lean_object* x_184; lean_object* x_185; +lean_dec(x_11); +lean_dec(x_1); +x_184 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; +x_185 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_125, x_184, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_125); +return x_185; } } else { -lean_object* x_307; lean_object* x_308; -lean_dec(x_167); -x_307 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; -x_308 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_219, x_307, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_219); -return x_308; -} -} -} -} -else -{ -lean_object* x_309; lean_object* x_310; -lean_dec(x_219); -lean_dec(x_167); -lean_dec(x_6); -lean_dec(x_2); -x_309 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; -x_310 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_310, 0, x_309); -lean_ctor_set(x_310, 1, x_8); -return x_310; -} -block_262: -{ -lean_object* x_221; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; -lean_dec(x_220); -x_239 = l_Lean_Syntax_getArgs(x_219); -x_240 = lean_array_get_size(x_239); -lean_dec(x_239); -x_241 = lean_unsigned_to_nat(1u); -x_242 = lean_nat_dec_eq(x_240, x_241); -lean_dec(x_240); -if (x_242 == 0) -{ -lean_object* x_243; -lean_dec(x_167); -x_243 = lean_box(0); -x_221 = x_243; -goto block_238; -} -else -{ -lean_object* x_244; lean_object* x_245; uint8_t x_246; -x_244 = lean_unsigned_to_nat(0u); -x_245 = l_Lean_Syntax_getArg(x_219, x_244); -x_246 = l_Lean_Syntax_isAntiquotSuffixSplice(x_245); -if (x_246 == 0) -{ -uint8_t x_247; -x_247 = l_Lean_Syntax_isAntiquotSplice(x_245); -if (x_247 == 0) -{ -lean_object* x_248; -lean_dec(x_245); -lean_dec(x_167); -x_248 = lean_box(0); -x_221 = x_248; -goto block_238; -} -else -{ -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -lean_dec(x_219); -lean_inc(x_167); -x_249 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_249, 0, x_167); -x_250 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___boxed), 2, 1); -lean_closure_set(x_250, 0, x_167); -x_251 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___boxed), 10, 1); -lean_closure_set(x_251, 0, x_245); -x_252 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_252, 0, x_249); -lean_ctor_set(x_252, 1, x_250); -lean_ctor_set(x_252, 2, x_251); -x_253 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_8); -return x_253; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -lean_dec(x_167); -x_254 = l_Lean_Syntax_getArg(x_245, x_244); -x_255 = l_Lean_Syntax_getAntiquotTerm(x_254); -lean_dec(x_254); -x_256 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___boxed), 11, 3); -lean_closure_set(x_256, 0, x_245); -lean_closure_set(x_256, 1, x_219); -lean_closure_set(x_256, 2, x_255); -x_257 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4), 2, 1); -lean_closure_set(x_257, 0, x_256); -x_258 = lean_box(0); -x_259 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; -x_260 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_260, 0, x_258); -lean_ctor_set(x_260, 1, x_257); -lean_ctor_set(x_260, 2, x_259); -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_8); -return x_261; -} -} -block_238: -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; size_t x_226; size_t 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_dec(x_221); -x_222 = l_Lean_Syntax_unescapeAntiquot(x_219); -lean_inc(x_222); -x_223 = l_Lean_Syntax_getKind(x_222); -x_224 = l_Lean_Syntax_getArgs(x_222); -lean_dec(x_222); -x_225 = lean_array_get_size(x_224); -x_226 = lean_usize_of_nat(x_225); -lean_dec(x_225); -x_227 = 0; -x_228 = x_224; -x_229 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(x_226, x_227, x_228); -x_230 = x_229; -x_231 = lean_array_get_size(x_230); -lean_inc(x_231); -x_232 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_232, 0, x_231); -lean_inc(x_232); -lean_inc(x_223); -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_223); -lean_ctor_set(x_233, 1, x_232); -lean_inc(x_223); -x_234 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed), 4, 3); -lean_closure_set(x_234, 0, x_223); -lean_closure_set(x_234, 1, x_232); -lean_closure_set(x_234, 2, x_230); -x_235 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10), 11, 2); -lean_closure_set(x_235, 0, x_231); -lean_closure_set(x_235, 1, x_223); -x_236 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_236, 0, x_233); -lean_ctor_set(x_236, 1, x_234); -lean_ctor_set(x_236, 2, x_235); -x_237 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_237, 0, x_236); -lean_ctor_set(x_237, 1, x_8); -return x_237; -} +lean_object* x_186; lean_object* x_187; +lean_dec(x_11); +lean_dec(x_1); +x_186 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; +x_187 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_125, x_186, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_125); +return x_187; } } } @@ -20693,144 +21991,137 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; +lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_19; -x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, 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_8); -lean_dec(x_1); -return x_19; -} -} -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -_start: -{ -lean_object* x_19; -x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_1); -return x_19; -} -} -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -_start: -{ -lean_object* x_19; -x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, 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_8); -lean_dec(x_1); -return x_19; -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); +lean_object* x_8; +x_8 = l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_3); -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_1); -return x_14; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +lean_object* x_24 = _args[23]; +lean_object* x_25 = _args[24]; _start: { -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +lean_object* x_26; +x_26 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_1); -return x_14; +return x_26; +} +} +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +lean_object* x_19; +x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_1); +return x_19; +} +} +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +lean_object* x_19; +x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_1); +return x_19; } } lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11___boxed(lean_object** _args) { @@ -20867,7 +22158,45 @@ lean_dec(x_1); return x_19; } } -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___boxed(lean_object** _args) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -20889,7 +22218,7 @@ lean_object* x_18 = _args[17]; _start: { lean_object* x_19; -x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); @@ -20901,7 +22230,7 @@ lean_dec(x_1); return x_19; } } -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___boxed(lean_object** _args) { +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__15___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -20923,7 +22252,41 @@ lean_object* x_18 = _args[17]; _start: { lean_object* x_19; -x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_1); +return x_19; +} +} +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__16___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +lean_object* x_19; +x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); @@ -20958,11 +22321,21 @@ lean_dec(x_2); return x_10; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -20972,131 +22345,40 @@ lean_dec(x_3); return x_10; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(x_1, x_2, x_3, x_4); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); return x_5; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11(x_1, x_2); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -_start: -{ -lean_object* x_20; -x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_7); -return x_20; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -_start: -{ -lean_object* x_20; -x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, 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); -return x_20; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -_start: -{ -lean_object* x_20; -x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_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); -return x_20; -} -} lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; @@ -21127,7 +22409,6 @@ lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); lean_dec(x_7); return x_20; } @@ -21237,20 +22518,125 @@ lean_dec(x_7); return x_20; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_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); +return x_20; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_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); +return x_20; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_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); +return x_20; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_11; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -21260,11 +22646,11 @@ lean_dec(x_1); return x_12; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -21274,11 +22660,11 @@ lean_dec(x_3); return x_10; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22(x_1, x_2, x_3); +x_4 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25(x_1, x_2, x_3); lean_dec(x_1); return x_4; } @@ -23304,8 +24690,8 @@ x_18 = l_List_lengthAux___rarg(x_5, x_17); lean_inc(x_3); x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed), 4, 1); lean_closure_set(x_19, 0, x_3); -x_20 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_21 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_20 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_21 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_21, 0, x_20); lean_closure_set(x_21, 1, x_19); x_22 = l_Lean_Unhygienic_run___rarg(x_21); @@ -23646,7 +25032,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__2; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__4; -x_3 = lean_unsigned_to_nat(370u); +x_3 = lean_unsigned_to_nat(406u); x_4 = lean_unsigned_to_nat(12u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -28555,7 +29941,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_10794_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_11728_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -28872,6 +30258,14 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65); l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1); l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__2 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__2(); @@ -28914,6 +30308,28 @@ l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20 = _init_l_Lean_Elab_Term_ lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20); l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21); +l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22); +l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__23 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__23(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__23); +l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__24 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__24(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__24); +l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25); +l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__26 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__26(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__26); +l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27); +l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28); +l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29); +l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__30 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__30(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__30); +l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__31 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__31(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__31); +l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__32 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__32(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__32); l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__1 = _init_l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__1); l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__2 = _init_l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__2(); @@ -28932,149 +30348,149 @@ l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__8 = _init_l_Lean lean_mark_persistent(l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__8); l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21____ = _init_l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21____(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21____); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__1 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__1); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__2 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__2); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__3 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__3); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__4 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__4); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__5 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__5); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__6 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__6); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__7 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__7); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__8 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__8); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__9 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__9); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__10 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__10); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__11 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__11); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__12 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__12); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__13 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__13); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__14 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__14); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__15 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__15); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__16 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__16(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__16); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__17 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__17(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__17); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__18 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__18(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__18); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__19 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__19(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__19); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__20 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__20(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__20); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__21 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__21(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__21); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__22 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__22(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__22); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__23 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__23(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__23); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__24 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__24(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__24); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__25 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__25(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__25); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__26 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__26(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__26); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__27 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__27(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__27); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__28 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__28(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__28); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__29 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__29(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__29); -l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1 = _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_(lean_io_mk_world()); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__1 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__1); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__2 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__2); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__3 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__3); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__4 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__4); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__5 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__5); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__6 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__6); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__7 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__7); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__8 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__8); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__9 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__9); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__10 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__10); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__11 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__11); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__12 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__12); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__13 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__13); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__14 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__14); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__15 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__15); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__16 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__16(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__16); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__17 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__17(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__17); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__18 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__18(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__18); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__19 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__19(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__19); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__20 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__20(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__20); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__21 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__21(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__21); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__22 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__22(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__22); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__23 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__23(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__23); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__24 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__24(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__24); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__25 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__25(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__25); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__26 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__26(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__26); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__27 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__27(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__27); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__28 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__28(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__28); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__29 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__29(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3722____closed__29); +l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1 = _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__2); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__2); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4212_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__3); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217____closed__3); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4217_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__3); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222____closed__3); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4222_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4227_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__3); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232____closed__3); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4232_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237____closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4237_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4242_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_Quotation_mkTuple___closed__1 = _init_l_Lean_Elab_Term_Quotation_mkTuple___closed__1(); @@ -29131,42 +30547,30 @@ l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHe lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11); l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12(); lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__2 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__2(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__2); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__3 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__3(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__3); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__4 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__4(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__4); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__5); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___closed__2); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__3 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__3); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__4 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__4(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__4); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__6 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__6(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__6); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___closed__2); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__3); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__4); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__5); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__6); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2(); @@ -29179,130 +30583,186 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__7); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__9 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__9); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__10); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__11 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__11); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__12); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__13); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__14 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__14); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__15 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__15); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__16 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__16); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__17); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__18 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__18(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__18); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__19 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__19(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__19); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__22 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__22(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__22); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__25 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__25(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__25); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__3); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__4); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__2); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__4); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__6); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__7); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__8); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__9 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__9); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__10); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__11 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__11); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__12); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__13); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__14 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__14); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__15 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__15); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__16 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__16); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__17(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__17); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__18 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__18(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__18); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__19 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__19(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__19); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__20 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__20(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__20); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__21); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__22 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__22(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__22); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__24 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__24(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__24); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__25 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__25(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__25); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__3); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__4); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__6); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__7); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__8); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__9 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__9); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__10); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__11 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__11); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__12); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__13); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__14 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__14); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__15 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__15); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__16 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__16); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__17); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__18 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__18(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__18); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__3); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__4); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__5); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__6); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__7); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__8); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__9 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__9); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__10); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__11 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__11); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__12); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__13); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__14 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__14); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__15 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__15); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__16 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__16); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__17); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__3); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__4); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__5); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__6); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__7); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__8); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__9 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__9); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__10); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__11 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__11); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__12); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__13); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__14 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__14); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__15 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__15); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__16 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__16); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__17(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__17); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__18 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__18(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__18); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__19 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__19(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__19); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__20 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__20(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__20); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__21 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__21(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__21); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__22 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__22(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__22); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__1); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__1); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__3); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__4); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__1); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__2); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__1); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__2); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__4); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__6); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__1); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__2); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__3); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__4); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__5); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__6); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__7); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__8); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__9 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__9); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__10); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__11 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__11); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__12); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__13); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__14 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__14); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__15 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__15); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__16 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__16); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__17(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__17); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2(); @@ -29317,6 +30777,8 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__6); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__8); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___boxed__const__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___boxed__const__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1(); @@ -29376,7 +30838,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___c res = l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_10794_(lean_io_mk_world()); +res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_11728_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index 7d60dfe0a3..6283549105 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -70,16 +70,16 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f_ma lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6; lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__6___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___closed__2; lean_object* l_Lean_Elab_Term_StructInst_instToFormatStruct; +lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__7(lean_object*, lean_object*); uint8_t l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___lambda__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields_match__1(lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce_match__3(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_formatStruct_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___lambda__1___closed__2; -lean_object* l_Std_HashMapImp_expand___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__7(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkProjStx(lean_object*, lean_object*); @@ -136,6 +136,7 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFie uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeader___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst(lean_object*); +lean_object* l_Std_HashMapImp_expand___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkStructView___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); @@ -158,6 +159,7 @@ lean_object* l_Lean_Elab_Term_StructInst_Struct_setFields(lean_object*, lean_obj lean_object* l_Std_HashMap_toList___rarg(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__18; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__1(lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_max(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getAppArgs___closed__1; lean_object* l_Lean_Elab_Term_StructInst_formatField(lean_object*, lean_object*); @@ -165,6 +167,7 @@ lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_o lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__1(lean_object*); extern lean_object* l_Std_Format_sbracket___closed__4; lean_object* l_Std_Format_joinSep___at_instReprProd___spec__1(lean_object*, lean_object*); +lean_object* l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeAppInstMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType(lean_object*); @@ -174,7 +177,6 @@ lean_object* l_Lean_Expr_appArg_x21(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -232,7 +234,6 @@ lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__5; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_defaultMissing_x3f___boxed(lean_object*); -lean_object* l_Std_HashMapImp_moveEntries___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_StructInst_throwFailedToElabField___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -250,6 +251,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax___closed__1; lean_object* l_Lean_Elab_Term_StructInst_instToStringStruct; +lean_object* l_Std_HashMapImp_moveEntries___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM_match__1(lean_object*); lean_object* l_Lean_Meta_lambdaLetTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -289,7 +291,6 @@ lean_object* l_Lean_Elab_Term_StructInst_Struct_fields___boxed(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__1; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_Context_structs___default; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkStructView___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_toFieldLHS___closed__2; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f(lean_object*, lean_object*); @@ -368,7 +369,6 @@ lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax___closed__2; lean_object* lean_array_to_list(lean_object*, lean_object*); -uint8_t l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__6(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldName_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_instToStringStruct___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields_match__2(lean_object*); @@ -377,6 +377,7 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMi lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_instInhabitedFieldVal___closed__1; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_findField_x3f(lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop_match__3___rarg(lean_object*, lean_object*, lean_object*); @@ -407,7 +408,6 @@ lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term lean_object* l_Std_mkHashMap___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__11(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_elabStructInst___closed__1; lean_object* l_Lean_Elab_Term_StructInst_formatStruct_match__2(lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_step_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_instInhabitedFieldLHS; extern lean_object* l_Lean_instInhabitedSyntax; @@ -488,7 +488,6 @@ uint8_t l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop___ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_findField_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS(lean_object*); -lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_FindImpl_initCache; lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce_match__3___rarg(lean_object*, lean_object*, lean_object*); @@ -503,6 +502,7 @@ extern lean_object* l_Lean_Syntax_instToStringSyntax___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); +lean_object* l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_Field_toSyntax___spec__1(size_t, size_t, lean_object*); lean_object* l_Std_fmt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__2(lean_object*); @@ -540,7 +540,6 @@ lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__1___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_source___boxed(lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__2; @@ -563,10 +562,12 @@ lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Te lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldName(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__3(lean_object*); +lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Level_LevelToFormat_toResult___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_ref___boxed(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f___lambda__1___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux_match__2(lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__7(lean_object*, lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_match__3___rarg(lean_object*, lean_object*, lean_object*); @@ -637,8 +638,10 @@ uint8_t l_Lean_Elab_Term_StructInst_Source_isNone(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__14; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13348____closed__18; lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__5; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__7; +lean_object* l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__3; @@ -648,7 +651,6 @@ extern lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkIdImp___clos lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName(lean_object*); extern lean_object* l_Lean_Parser_Tactic_changeWith___closed__3; lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__7___boxed(lean_object*, lean_object*); -lean_object* l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findField_x3f(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_730____closed__8; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__5; @@ -657,6 +659,7 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldName_match__1(lea lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_toFieldLHS(lean_object*); +lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -687,7 +690,6 @@ lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_S lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_match__3(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f___boxed(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS_match__1(lean_object*); @@ -695,7 +697,6 @@ lean_object* l_List_foldl___at_Lean_Elab_Term_StructInst_DefaultFields_getHierar lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_source_match__1___rarg(lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_StructInst_DefaultFields_State_progress___default; -lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_structName_match__1(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField(lean_object*); @@ -721,7 +722,6 @@ lean_object* l_Lean_Elab_Term_StructInst_Source_isNone_match__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Field_toSyntax(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__4; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___closed__3; @@ -729,8 +729,8 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Le lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax(lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields_match__1(lean_object*); -lean_object* l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__2; @@ -744,7 +744,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Le extern lean_object* l_instInhabitedPUnit; lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__6; extern lean_object* l_addParenHeuristic___closed__1; @@ -770,6 +769,7 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldValue_x3f___boxed lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___closed__3; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__2; +uint8_t l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Term_StructInst_throwFailedToElabField___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -9929,102 +9929,7 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_T return x_2; } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 3); -x_10 = lean_ctor_get(x_2, 3); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 3); -x_12 = l_Lean_replaceRef(x_1, x_11); -lean_dec(x_11); -lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_7); -x_20 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -x_21 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_21, 0, x_14); -lean_ctor_set(x_21, 1, x_15); -lean_ctor_set(x_21, 2, x_16); -lean_ctor_set(x_21, 3, x_20); -lean_ctor_set(x_21, 4, x_18); -lean_ctor_set(x_21, 5, x_19); -x_22 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2(x_2, x_3, x_4, x_5, x_6, x_21, x_8, x_9); -lean_dec(x_21); -return x_22; -} -} -} -lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -10056,7 +9961,7 @@ return x_9; } } } -lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; @@ -10066,12 +9971,12 @@ x_5 = l_Lean_Name_hash(x_2); x_6 = lean_usize_modn(x_5, x_4); lean_dec(x_4); x_7 = lean_array_uget(x_3, x_6); -x_8 = l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4(x_2, x_7); +x_8 = l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2(x_2, x_7); lean_dec(x_7); return x_8; } } -uint8_t l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__6(lean_object* x_1, lean_object* x_2) { +uint8_t l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -10100,7 +10005,7 @@ return x_8; } } } -lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__7(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -10154,7 +10059,7 @@ goto _start; } } } -lean_object* l_Std_HashMapImp_moveEntries___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_HashMapImp_moveEntries___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10173,7 +10078,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_obj x_6 = lean_array_fget(x_2, x_1); x_7 = lean_box(0); x_8 = lean_array_fset(x_2, x_1, x_7); -x_9 = l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(x_3, x_6); +x_9 = l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__7(x_3, x_6); x_10 = lean_unsigned_to_nat(1u); x_11 = lean_nat_add(x_1, x_10); lean_dec(x_1); @@ -10184,7 +10089,7 @@ goto _start; } } } -lean_object* l_Std_HashMapImp_expand___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__7(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_HashMapImp_expand___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -10195,14 +10100,14 @@ lean_dec(x_3); x_6 = lean_box(0); x_7 = lean_mk_array(x_5, x_6); x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Std_HashMapImp_moveEntries___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__8(x_8, x_2, x_7); +x_9 = l_Std_HashMapImp_moveEntries___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__6(x_8, x_2, x_7); x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_1); lean_ctor_set(x_10, 1, x_9); return x_10; } } -lean_object* l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -10227,7 +10132,7 @@ x_9 = lean_name_eq(x_6, x_1); if (x_9 == 0) { lean_object* x_10; -x_10 = l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(x_1, x_2, x_8); +x_10 = l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__8(x_1, x_2, x_8); lean_ctor_set(x_3, 2, x_10); return x_3; } @@ -10254,7 +10159,7 @@ x_14 = lean_name_eq(x_11, x_1); if (x_14 == 0) { lean_object* x_15; lean_object* x_16; -x_15 = l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(x_1, x_2, x_13); +x_15 = l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__8(x_1, x_2, x_13); x_16 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_16, 0, x_11); lean_ctor_set(x_16, 1, x_12); @@ -10276,7 +10181,7 @@ return x_17; } } } -lean_object* l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -10290,7 +10195,7 @@ x_7 = lean_array_get_size(x_6); x_8 = l_Lean_Name_hash(x_2); x_9 = lean_usize_modn(x_8, x_7); x_10 = lean_array_uget(x_6, x_9); -x_11 = l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__6(x_2, x_10); +x_11 = l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4(x_2, x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -10308,7 +10213,7 @@ if (x_16 == 0) { lean_object* x_17; lean_free_object(x_1); -x_17 = l_Std_HashMapImp_expand___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__7(x_13, x_15); +x_17 = l_Std_HashMapImp_expand___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(x_13, x_15); return x_17; } else @@ -10322,7 +10227,7 @@ else { lean_object* x_18; lean_object* x_19; lean_dec(x_7); -x_18 = l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(x_2, x_3, x_10); +x_18 = l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__8(x_2, x_3, x_10); x_19 = lean_array_uset(x_6, x_9, x_18); lean_ctor_set(x_1, 1, x_19); return x_1; @@ -10340,7 +10245,7 @@ x_22 = lean_array_get_size(x_21); x_23 = l_Lean_Name_hash(x_2); x_24 = lean_usize_modn(x_23, x_22); x_25 = lean_array_uget(x_21, x_24); -x_26 = l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__6(x_2, x_25); +x_26 = l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4(x_2, x_25); if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; @@ -10357,7 +10262,7 @@ lean_dec(x_22); if (x_31 == 0) { lean_object* x_32; -x_32 = l_Std_HashMapImp_expand___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__7(x_28, x_30); +x_32 = l_Std_HashMapImp_expand___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(x_28, x_30); return x_32; } else @@ -10373,7 +10278,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_dec(x_22); -x_34 = l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(x_2, x_3, x_25); +x_34 = l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__8(x_2, x_3, x_25); x_35 = lean_array_uset(x_21, x_24, x_34); x_36 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_36, 0, x_20); @@ -10383,6 +10288,101 @@ return x_36; } } } +lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_20 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_21 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_15); +lean_ctor_set(x_21, 2, x_16); +lean_ctor_set(x_21, 3, x_20); +lean_ctor_set(x_21, 4, x_18); +lean_ctor_set(x_21, 5, x_19); +x_22 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(x_2, x_3, x_4, x_5, x_6, x_21, x_8, x_9); +lean_dec(x_21); +return x_22; +} +} +} lean_object* l_Std_mkHashMap___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__11(lean_object* x_1) { _start: { @@ -10543,375 +10543,250 @@ x_27 = lean_ctor_get(x_12, 1); lean_dec(x_27); if (lean_obj_tag(x_26) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_43; +lean_object* x_28; lean_object* x_29; lean_object* x_30; x_28 = lean_ctor_get(x_2, 1); lean_inc(x_28); lean_dec(x_2); x_29 = lean_ctor_get(x_26, 1); lean_inc(x_29); lean_dec(x_26); -x_43 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(x_1, x_29); -if (lean_obj_tag(x_43) == 0) +x_30 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(x_1, x_29); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_box(0); -lean_ctor_set(x_12, 1, x_44); +lean_object* x_31; lean_object* x_32; +x_31 = lean_box(0); +lean_ctor_set(x_12, 1, x_31); lean_ctor_set(x_12, 0, x_11); -x_45 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(x_1, x_29, x_12); -x_1 = x_45; +x_32 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(x_1, x_29, x_12); +x_1 = x_32; x_2 = x_28; goto _start; } else { -lean_object* x_47; -x_47 = lean_ctor_get(x_43, 0); -lean_inc(x_47); -lean_dec(x_43); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_box(0); -lean_ctor_set(x_12, 1, x_48); -lean_ctor_set(x_12, 0, x_11); -x_49 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(x_1, x_29, x_12); -x_1 = x_49; -x_2 = x_28; -goto _start; -} -else -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_47); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_52 = lean_ctor_get(x_47, 0); -x_53 = lean_ctor_get(x_47, 1); -x_54 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_11); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_52); -if (x_55 == 0) -{ -lean_object* x_56; -lean_ctor_set(x_12, 1, x_47); -lean_ctor_set(x_12, 0, x_11); -x_56 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(x_1, x_29, x_12); -x_1 = x_56; -x_2 = x_28; -goto _start; -} -else -{ -lean_object* x_58; -lean_free_object(x_47); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_28); -lean_free_object(x_12); -lean_dec(x_1); -x_58 = lean_box(0); -x_30 = x_58; -goto block_42; -} -} -else -{ -lean_object* x_59; -lean_free_object(x_47); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_28); -lean_free_object(x_12); -lean_dec(x_1); -x_59 = lean_box(0); -x_30 = x_59; -goto block_42; -} -} -else -{ -lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_60 = lean_ctor_get(x_47, 0); -x_61 = lean_ctor_get(x_47, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_47); -x_62 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_11); -if (x_62 == 0) -{ -uint8_t x_63; -x_63 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_60); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_60); -lean_ctor_set(x_64, 1, x_61); -lean_ctor_set(x_12, 1, x_64); -lean_ctor_set(x_12, 0, x_11); -x_65 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(x_1, x_29, x_12); -x_1 = x_65; -x_2 = x_28; -goto _start; -} -else -{ -lean_object* x_67; -lean_dec(x_61); -lean_dec(x_60); -lean_dec(x_28); -lean_free_object(x_12); -lean_dec(x_1); -x_67 = lean_box(0); -x_30 = x_67; -goto block_42; -} -} -else -{ -lean_object* x_68; -lean_dec(x_61); -lean_dec(x_60); -lean_dec(x_28); -lean_free_object(x_12); -lean_dec(x_1); -x_68 = lean_box(0); -x_30 = x_68; -goto block_42; -} -} -} -} -block_42: -{ -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_34; +x_34 = lean_ctor_get(x_30, 0); +lean_inc(x_34); lean_dec(x_30); -x_31 = lean_ctor_get(x_11, 0); -lean_inc(x_31); -lean_dec(x_11); -x_32 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_32, 0, x_29); -x_33 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__4; -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__6; -x_36 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(x_31, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_31); -x_38 = !lean_is_exclusive(x_37); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_box(0); +lean_ctor_set(x_12, 1, x_35); +lean_ctor_set(x_12, 0, x_11); +x_36 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(x_1, x_29, x_12); +x_1 = x_36; +x_2 = x_28; +goto _start; +} +else +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_34); if (x_38 == 0) { -return x_37; -} -else +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_34, 0); +x_40 = lean_ctor_get(x_34, 1); +x_41 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_11); +if (x_41 == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_37, 0); -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_37); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else +uint8_t x_42; +x_42 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_39); +if (x_42 == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_free_object(x_12); -lean_dec(x_26); -lean_dec(x_11); -lean_dec(x_1); -x_69 = lean_ctor_get(x_2, 1); -lean_inc(x_69); -lean_dec(x_2); -x_70 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -x_71 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__2; -x_72 = lean_panic_fn(x_70, x_71); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_73 = lean_apply_7(x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_73) == 0) -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_1 = x_74; -x_2 = x_69; -x_9 = x_75; +lean_object* x_43; +lean_ctor_set(x_12, 1, x_34); +lean_ctor_set(x_12, 0, x_11); +x_43 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(x_1, x_29, x_12); +x_1 = x_43; +x_2 = x_28; goto _start; } else { -uint8_t x_77; -lean_dec(x_69); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_free_object(x_34); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_28); +lean_free_object(x_12); +lean_dec(x_1); +x_45 = lean_ctor_get(x_11, 0); +lean_inc(x_45); +lean_dec(x_11); +x_46 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_46, 0, x_29); +x_47 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__4; +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__6; +x_50 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(x_45, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); -lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_77 = !lean_is_exclusive(x_73); -if (x_77 == 0) +lean_dec(x_45); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) { -return x_73; +return x_51; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_73, 0); -x_79 = lean_ctor_get(x_73, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_73); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; -} +lean_object* 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; } } } else { -lean_object* x_81; -x_81 = lean_ctor_get(x_12, 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; uint8_t x_63; +lean_free_object(x_34); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_28); +lean_free_object(x_12); +lean_dec(x_1); +x_56 = lean_ctor_get(x_11, 0); +lean_inc(x_56); +lean_dec(x_11); +x_57 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_57, 0, x_29); +x_58 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__4; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__6; +x_61 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(x_56, x_61, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_56); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) +{ +return x_62; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +x_65 = lean_ctor_get(x_62, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_62); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +else +{ +lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_67 = lean_ctor_get(x_34, 0); +x_68 = lean_ctor_get(x_34, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_34); +x_69 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_11); +if (x_69 == 0) +{ +uint8_t x_70; +x_70 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_67); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_67); +lean_ctor_set(x_71, 1, x_68); +lean_ctor_set(x_12, 1, x_71); +lean_ctor_set(x_12, 0, x_11); +x_72 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(x_1, x_29, x_12); +x_1 = x_72; +x_2 = x_28; +goto _start; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_68); +lean_dec(x_67); +lean_dec(x_28); +lean_free_object(x_12); +lean_dec(x_1); +x_74 = lean_ctor_get(x_11, 0); +lean_inc(x_74); +lean_dec(x_11); +x_75 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_75, 0, x_29); +x_76 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__4; +x_77 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__6; +x_79 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(x_74, x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_74); +x_81 = lean_ctor_get(x_80, 0); lean_inc(x_81); -lean_dec(x_12); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_97; -x_82 = lean_ctor_get(x_2, 1); +x_82 = lean_ctor_get(x_80, 1); lean_inc(x_82); -lean_dec(x_2); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_97 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(x_1, x_83); -if (lean_obj_tag(x_97) == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_box(0); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_11); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(x_1, x_83, x_99); -x_1 = x_100; -x_2 = x_82; -goto _start; -} -else -{ -lean_object* x_102; -x_102 = lean_ctor_get(x_97, 0); -lean_inc(x_102); -lean_dec(x_97); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_box(0); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_11); -lean_ctor_set(x_104, 1, x_103); -x_105 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(x_1, x_83, x_104); -x_1 = x_105; -x_2 = x_82; -goto _start; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_107 = lean_ctor_get(x_102, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_102, 1); -lean_inc(x_108); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_109 = x_102; +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_83 = x_80; } else { - lean_dec_ref(x_102); - x_109 = lean_box(0); + lean_dec_ref(x_80); + x_83 = lean_box(0); } -x_110 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_11); -if (x_110 == 0) -{ -uint8_t x_111; -x_111 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_107); -if (x_111 == 0) -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -if (lean_is_scalar(x_109)) { - x_112 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(1, 2, 0); } else { - x_112 = x_109; + x_84 = x_83; } -lean_ctor_set(x_112, 0, x_107); -lean_ctor_set(x_112, 1, x_108); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_11); -lean_ctor_set(x_113, 1, x_112); -x_114 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__5(x_1, x_83, x_113); -x_1 = x_114; -x_2 = x_82; -goto _start; -} -else -{ -lean_object* x_116; -lean_dec(x_109); -lean_dec(x_108); -lean_dec(x_107); -lean_dec(x_82); -lean_dec(x_1); -x_116 = lean_box(0); -x_84 = x_116; -goto block_96; +lean_ctor_set(x_84, 0, x_81); +lean_ctor_set(x_84, 1, x_82); +return x_84; } } else { -lean_object* x_117; -lean_dec(x_109); -lean_dec(x_108); -lean_dec(x_107); -lean_dec(x_82); -lean_dec(x_1); -x_117 = lean_box(0); -x_84 = x_117; -goto block_96; -} -} -} -block_96: -{ 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_dec(x_84); +lean_dec(x_68); +lean_dec(x_67); +lean_dec(x_28); +lean_free_object(x_12); +lean_dec(x_1); x_85 = lean_ctor_get(x_11, 0); lean_inc(x_85); lean_dec(x_11); x_86 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 0, x_29); x_87 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__4; x_88 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_88, 0, x_87); @@ -10920,7 +10795,7 @@ x_89 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Struc x_90 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_90, 0, x_88); lean_ctor_set(x_90, 1, x_89); -x_91 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(x_85, x_90, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_91 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(x_85, x_90, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -10948,68 +10823,319 @@ lean_ctor_set(x_95, 1, x_93); return x_95; } } +} +} +} else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -lean_dec(x_81); +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_free_object(x_12); +lean_dec(x_26); lean_dec(x_11); lean_dec(x_1); -x_118 = lean_ctor_get(x_2, 1); -lean_inc(x_118); +x_96 = lean_ctor_get(x_2, 1); +lean_inc(x_96); lean_dec(x_2); -x_119 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -x_120 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__2; -x_121 = lean_panic_fn(x_119, x_120); +x_97 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; +x_98 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__2; +x_99 = lean_panic_fn(x_97, x_98); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_122 = lean_apply_7(x_121, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_122) == 0) +x_100 = lean_apply_7(x_99, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_100) == 0) { -lean_object* x_123; lean_object* x_124; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_1 = x_123; -x_2 = x_118; -x_9 = x_124; +lean_object* x_101; lean_object* x_102; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +x_1 = x_101; +x_2 = x_96; +x_9 = x_102; goto _start; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -lean_dec(x_118); +uint8_t x_104; +lean_dec(x_96); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_126 = lean_ctor_get(x_122, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_122, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_122)) { - lean_ctor_release(x_122, 0); - lean_ctor_release(x_122, 1); - x_128 = x_122; -} else { - lean_dec_ref(x_122); - x_128 = lean_box(0); +x_104 = !lean_is_exclusive(x_100); +if (x_104 == 0) +{ +return x_100; } -if (lean_is_scalar(x_128)) { - x_129 = lean_alloc_ctor(1, 2, 0); -} else { - x_129 = x_128; +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_100, 0); +x_106 = lean_ctor_get(x_100, 1); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_100); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +return x_107; } -lean_ctor_set(x_129, 0, x_126); -lean_ctor_set(x_129, 1, x_127); -return x_129; +} +} +} +else +{ +lean_object* x_108; +x_108 = lean_ctor_get(x_12, 0); +lean_inc(x_108); +lean_dec(x_12); +if (lean_obj_tag(x_108) == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_2, 1); +lean_inc(x_109); +lean_dec(x_2); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); +x_111 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(x_1, x_110); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_box(0); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_11); +lean_ctor_set(x_113, 1, x_112); +x_114 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(x_1, x_110, x_113); +x_1 = x_114; +x_2 = x_109; +goto _start; +} +else +{ +lean_object* x_116; +x_116 = lean_ctor_get(x_111, 0); +lean_inc(x_116); +lean_dec(x_111); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_box(0); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_11); +lean_ctor_set(x_118, 1, x_117); +x_119 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(x_1, x_110, x_118); +x_1 = x_119; +x_2 = x_109; +goto _start; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +x_121 = lean_ctor_get(x_116, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_116, 1); +lean_inc(x_122); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_123 = x_116; +} else { + lean_dec_ref(x_116); + x_123 = lean_box(0); +} +x_124 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_11); +if (x_124 == 0) +{ +uint8_t x_125; +x_125 = l_Lean_Elab_Term_StructInst_Field_isSimple___rarg(x_121); +if (x_125 == 0) +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +if (lean_is_scalar(x_123)) { + x_126 = lean_alloc_ctor(1, 2, 0); +} else { + x_126 = x_123; +} +lean_ctor_set(x_126, 0, x_121); +lean_ctor_set(x_126, 1, x_122); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_11); +lean_ctor_set(x_127, 1, x_126); +x_128 = l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(x_1, x_110, x_127); +x_1 = x_128; +x_2 = x_109; +goto _start; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +lean_dec(x_123); +lean_dec(x_122); +lean_dec(x_121); +lean_dec(x_109); +lean_dec(x_1); +x_130 = lean_ctor_get(x_11, 0); +lean_inc(x_130); +lean_dec(x_11); +x_131 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_131, 0, x_110); +x_132 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__4; +x_133 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__6; +x_135 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +x_136 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(x_130, x_135, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_130); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + x_139 = x_136; +} else { + lean_dec_ref(x_136); + x_139 = lean_box(0); +} +if (lean_is_scalar(x_139)) { + x_140 = lean_alloc_ctor(1, 2, 0); +} else { + x_140 = x_139; +} +lean_ctor_set(x_140, 0, x_137); +lean_ctor_set(x_140, 1, x_138); +return x_140; +} +} +else +{ +lean_object* x_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_dec(x_123); +lean_dec(x_122); +lean_dec(x_121); +lean_dec(x_109); +lean_dec(x_1); +x_141 = lean_ctor_get(x_11, 0); +lean_inc(x_141); +lean_dec(x_11); +x_142 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_142, 0, x_110); +x_143 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__4; +x_144 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_142); +x_145 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__6; +x_146 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +x_147 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(x_141, x_146, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_141); +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_150 = x_147; +} else { + lean_dec_ref(x_147); + x_150 = lean_box(0); +} +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(1, 2, 0); +} else { + x_151 = x_150; +} +lean_ctor_set(x_151, 0, x_148); +lean_ctor_set(x_151, 1, x_149); +return x_151; +} +} +} +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +lean_dec(x_108); +lean_dec(x_11); +lean_dec(x_1); +x_152 = lean_ctor_get(x_2, 1); +lean_inc(x_152); +lean_dec(x_2); +x_153 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; +x_154 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__12___closed__2; +x_155 = lean_panic_fn(x_153, x_154); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_156 = lean_apply_7(x_155, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_156) == 0) +{ +lean_object* x_157; lean_object* x_158; +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); +x_1 = x_157; +x_2 = x_152; +x_9 = x_158; +goto _start; +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_152); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_160 = lean_ctor_get(x_156, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_156, 1); +lean_inc(x_161); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_162 = x_156; +} else { + lean_dec_ref(x_156); + x_162 = lean_box(0); +} +if (lean_is_scalar(x_162)) { + x_163 = lean_alloc_ctor(1, 2, 0); +} else { + x_163 = x_162; +} +lean_ctor_set(x_163, 0, x_160); +lean_ctor_set(x_163, 1, x_161); +return x_163; } } } @@ -11035,11 +11161,42 @@ x_10 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Struc return x_10; } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -11048,11 +11205,11 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -11061,37 +11218,6 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__6___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__6(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index 035043be1b..5d6f5385b6 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -124,7 +124,6 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecIn lean_object* l_Lean_Elab_Tactic_ElimApp_setMotiveArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__2___boxed(lean_object**); lean_object* l_Lean_Elab_Tactic_evalAlt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__3; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getInductiveValFromMajor___lambda__1___closed__2; lean_object* lean_array_push(lean_object*, lean_object*); @@ -199,7 +198,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lambda__1___closed__1; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltRHS___boxed(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_evalInduction___lambda__4___closed__1; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); @@ -276,7 +275,6 @@ lean_object* l_Lean_Elab_Tactic_ElimApp_State_targetPos___default; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_getRecFromUsing___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfoDefault___spec__1___lambda__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames___boxed(lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__21; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__4___closed__3; lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -305,7 +303,6 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGener lean_object* l_Lean_Meta_generalize(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_revert(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__2; lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltRHS(lean_object*); @@ -331,7 +328,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabTargets___spec__1( extern lean_object* l_Lean_KernelException_toMessageData___closed__15; uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTerm_match__2(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkCasesResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -421,6 +418,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabTargets___spec__1_ lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__8(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfo_match__5(lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19; lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecFromUsingLoop_match__2___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__2; @@ -497,7 +495,6 @@ lean_object* l_Lean_Elab_Tactic_elabTerm(lean_object*, lean_object*, uint8_t, le lean_object* l_Lean_Elab_Tactic_evalCasesUsing___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalCasesOn___closed__4; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts___lambda__2___closed__3; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -557,7 +554,6 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName___boxed(lean_object*); lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4203,97 +4199,85 @@ return x_23; } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__2(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__2(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -if (lean_obj_tag(x_12) == 0) +if (lean_obj_tag(x_8) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_22 = lean_ctor_get(x_12, 0); -lean_inc(x_22); -lean_dec(x_12); -x_23 = lean_ctor_get(x_1, 0); -lean_inc(x_23); +x_18 = lean_ctor_get(x_8, 0); +lean_inc(x_18); +lean_dec(x_8); +x_19 = lean_ctor_get(x_1, 0); +lean_inc(x_19); lean_dec(x_1); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_apply_11(x_24, lean_box(0), x_22, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_25; +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_apply_11(x_20, lean_box(0), x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_21; } else { -lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_12, 0); -lean_inc(x_26); -lean_dec(x_12); -x_27 = 1; -x_28 = x_2 + x_27; -x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1, x_10, x_11, x_28, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_29; +lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_8, 0); +lean_inc(x_22); +lean_dec(x_8); +x_23 = 1; +x_24 = x_2 + x_23; +x_25 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3(x_3, x_4, x_5, x_1, x_6, x_7, x_24, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_25; } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -uint8_t x_22; -x_22 = x_11 < x_10; -if (x_22 == 0) +uint8_t x_18; +x_18 = x_7 < x_6; +if (x_18 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_5); -lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_23 = lean_ctor_get(x_8, 0); -lean_inc(x_23); -lean_dec(x_8); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_apply_11(x_24, lean_box(0), x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_25; +x_19 = lean_ctor_get(x_4, 0); +lean_inc(x_19); +lean_dec(x_4); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_apply_11(x_20, lean_box(0), x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_21; } 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_dec(x_12); -x_26 = lean_array_uget(x_9, x_11); -x_27 = lean_ctor_get(x_8, 1); -lean_inc(x_27); +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_dec(x_8); +x_22 = lean_array_uget(x_5, x_7); +x_23 = lean_ctor_get(x_4, 1); +lean_inc(x_23); lean_inc(x_1); -x_28 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___boxed), 11, 2); -lean_closure_set(x_28, 0, x_26); -lean_closure_set(x_28, 1, x_1); -x_29 = lean_box_usize(x_11); -x_30 = lean_box_usize(x_10); -x_31 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__2___boxed), 21, 11); -lean_closure_set(x_31, 0, x_8); -lean_closure_set(x_31, 1, x_29); -lean_closure_set(x_31, 2, x_1); -lean_closure_set(x_31, 3, x_2); -lean_closure_set(x_31, 4, x_3); -lean_closure_set(x_31, 5, x_4); -lean_closure_set(x_31, 6, x_5); -lean_closure_set(x_31, 7, x_6); -lean_closure_set(x_31, 8, x_7); -lean_closure_set(x_31, 9, x_9); -lean_closure_set(x_31, 10, x_30); -x_32 = lean_apply_13(x_27, lean_box(0), lean_box(0), x_28, x_31, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_32; +x_24 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___boxed), 11, 2); +lean_closure_set(x_24, 0, x_22); +lean_closure_set(x_24, 1, x_1); +x_25 = lean_box_usize(x_7); +x_26 = lean_box_usize(x_6); +x_27 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__2___boxed), 17, 7); +lean_closure_set(x_27, 0, x_4); +lean_closure_set(x_27, 1, x_25); +lean_closure_set(x_27, 2, x_1); +lean_closure_set(x_27, 3, x_2); +lean_closure_set(x_27, 4, x_3); +lean_closure_set(x_27, 5, x_5); +lean_closure_set(x_27, 6, x_26); +x_28 = lean_apply_13(x_23, lean_box(0), lean_box(0), x_24, x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_28; } } } @@ -4318,64 +4302,60 @@ return x_2; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; 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_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_12 = lean_array_get_size(x_2); x_13 = lean_usize_of_nat(x_12); lean_dec(x_12); x_14 = 0; -x_15 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1; -x_16 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__2; -x_17 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__3; -x_18 = l_Lean_Meta_CheckAssignment_checkFVar___closed__1; -x_19 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; -x_20 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___closed__1; -x_21 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___closed__2; -x_22 = lean_box(0); -x_23 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3(x_1, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_2, x_13, x_14, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_23) == 0) +x_15 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; +x_16 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___closed__1; +x_17 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___closed__2; +x_18 = lean_box(0); +x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3(x_1, x_15, x_16, x_17, x_2, x_13, x_14, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +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(0, 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; -x_24 = !lean_is_exclusive(x_23); +x_24 = !lean_is_exclusive(x_19); if (x_24 == 0) { -return x_23; +return x_19; } else { lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_23, 1); +x_25 = lean_ctor_get(x_19, 0); +x_26 = lean_ctor_get(x_19, 1); lean_inc(x_26); lean_inc(x_25); -lean_dec(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_19); +x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); return x_27; } } -else -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_23); -if (x_28 == 0) -{ -return x_23; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_23, 0); -x_30 = lean_ctor_get(x_23, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_23); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} } } lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -4444,19 +4424,15 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; -lean_object* x_21 = _args[20]; _start: { -size_t x_22; size_t x_23; lean_object* x_24; -x_22 = lean_unbox_usize(x_2); +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_2); lean_dec(x_2); -x_23 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__2(x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_24; +x_19 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_20 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__2(x_1, x_18, x_3, x_4, x_5, x_6, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___boxed(lean_object** _args) { @@ -4477,19 +4453,15 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; -lean_object* x_21 = _args[20]; _start: { -size_t x_22; size_t x_23; lean_object* x_24; -x_22 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_23 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22, x_23, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_24; +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_19 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_20 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -14745,7 +14717,7 @@ lean_ctor_set(x_24, 0, x_23); x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__21; +x_26 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19; x_27 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index d86e481d74..3557e8286e 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -32,6 +32,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe(lean_obj lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__6; +lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__9; lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit(lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__1; lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar_match__1(lean_object*); @@ -98,6 +99,7 @@ extern lean_object* l_Lean_MessageData_ofList___closed__3; uint8_t l_USize_decEq(size_t, size_t); extern lean_object* l_Lean_InternalExceptionId_toString___closed__1; lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__8; lean_object* l_Lean_Elab_Term_tryPostpone___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -140,8 +142,10 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_11811____closed__18; lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkFreshTypeMVarFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__11; lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1; lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_StateRefT_x27_instMonadLiftStateRefT_x27___closed__1; lean_object* l_Lean_Elab_Term_isMonadApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf(lean_object*); lean_object* l_Lean_Elab_Term_elabQuotedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -235,6 +239,7 @@ lean_object* l_Lean_MessageData_ofList(lean_object*); extern lean_object* l_Lean_Elab_logException___rarg___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_liftLevelM_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__13; lean_object* l_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__3; @@ -332,6 +337,7 @@ lean_object* l_Lean_Elab_Term_saveAllState___boxed(lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___closed__1; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Term_addAutoBoundImplicits___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__3; +lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__12; lean_object* l_List_foldlM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -369,6 +375,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___boxed(lean_ lean_object* l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName_loop(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__10; lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_withNestedTraces___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -406,6 +413,7 @@ lean_object* l_Lean_Elab_Term_mkConst___boxed(lean_object*, lean_object*, lean_o lean_object* l_Lean_Elab_Term_resolveName_match__1(lean_object*); lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instToStringLVal(lean_object*); +extern lean_object* l_Lean_Core_instMonadRefCoreM; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run(lean_object*); @@ -419,6 +427,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux_ lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_905____closed__4; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6; lean_object* l_Lean_Elab_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__1; @@ -474,6 +483,7 @@ lean_object* l_Lean_MessageLog_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___ extern lean_object* l_Lean_MetavarContext_instInhabitedMetavarContext___closed__1; lean_object* l_Lean_Elab_Term_levelMVarToParam_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Term_addAutoBoundImplicits___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -602,6 +612,7 @@ lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__5; lean_object* l_Lean_LocalDecl_toExpr(lean_object*); extern lean_object* l_Lean_firstFrontendMacroScope; lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3; +extern lean_object* l_Lean_Unhygienic_run___rarg___closed__2; lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit(lean_object*); lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -685,6 +696,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isMonad_x3f_match__1__ extern lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__3; lean_object* l_Lean_Elab_throwAbort___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__2; +lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__14; lean_object* l_Lean_Elab_Term_getDeclName_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_setAppPPExplicit(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -820,6 +832,7 @@ lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_ extern lean_object* l_myMacro____x40_Init_Notation___hyg_2094____closed__2; lean_object* l_Lean_Elab_Term_Context_autoBoundImplicits___default; lean_object* l_Lean_Elab_Term_observing___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__7; lean_object* l_Lean_Elab_Term_liftLevelM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__5; @@ -946,6 +959,7 @@ lean_object* l_List_foldr___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1___boxed( lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult_match__1(lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__1; lean_object* l_Lean_Elab_Term_elabByTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__2; lean_object* l_Lean_Elab_Term_elabSyntheticHole(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -964,6 +978,7 @@ lean_object* l_Lean_Meta_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, le lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isMonad_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__10; +lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkConst___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3; @@ -977,6 +992,7 @@ lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos_match__2___rarg(lean_ lean_object* l_Lean_Elab_Term_throwErrorIfErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7573_(lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; lean_object* l_Lean_Elab_Term_elabByTactic_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -999,7 +1015,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f_match__2(lean_object*); lean_object* l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___spec__1(lean_object*, lean_object*); -extern lean_object* l_Lean_Unhygienic_run___rarg___closed__1; lean_object* l_Lean_mkNatLit(lean_object*); lean_object* l_Lean_mkStrLit(lean_object*); lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___closed__2; @@ -1022,6 +1037,7 @@ lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_0__Lean_Ela lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar_match__1(lean_object*); uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp(lean_object*); +lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedSavedState; @@ -1106,6 +1122,7 @@ lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_match__1___rarg(lean_object lean_object* l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM(lean_object*); lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__5; +lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__6; lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSyntheticHole_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1124,6 +1141,7 @@ extern lean_object* l_term_x5b___x5d___closed__3; lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__7; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__5___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instMonadRef___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_observing___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_toIO(lean_object*); lean_object* l_Lean_Elab_Term_applyAttributes___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3501,12 +3519,122 @@ return x_51; static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__1() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__1; +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctorReaderT___boxed), 4, 3); +lean_closure_set(x_2, 0, lean_box(0)); +lean_closure_set(x_2, 1, lean_box(0)); +lean_closure_set(x_2, 2, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Core_instMonadRefCoreM; +x_2 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__1; +x_3 = l_StateRefT_x27_instMonadLiftStateRefT_x27___closed__1; +x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctorReaderT___boxed), 4, 3); +lean_closure_set(x_2, 0, lean_box(0)); +lean_closure_set(x_2, 1, lean_box(0)); +lean_closure_set(x_2, 2, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__2; +x_2 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__3; +x_3 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6; +x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; +x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5; +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctorReaderT___boxed), 4, 3); +lean_closure_set(x_2, 0, lean_box(0)); +lean_closure_set(x_2, 1, lean_box(0)); +lean_closure_set(x_2, 2, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__4; +x_2 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__6; +x_3 = l_StateRefT_x27_instMonadLiftStateRefT_x27___closed__1; +x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5; +x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__8; +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctorReaderT___boxed), 4, 3); +lean_closure_set(x_2, 0, lean_box(0)); +lean_closure_set(x_2, 1, lean_box(0)); +lean_closure_set(x_2, 2, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__7; +x_2 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__9; +x_3 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6; +x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__11() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getCurrMacroScope___boxed), 7, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__2() { +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__12() { _start: { lean_object* x_1; @@ -3514,7 +3642,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getMainModule___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__3() { +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__13() { _start: { lean_object* x_1; @@ -3522,25 +3650,27 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instMonadQuotationTermElabM___ return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__4() { +static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__1; -x_2 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__2; -x_3 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__3; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__10; +x_2 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__11; +x_3 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__12; +x_4 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__13; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; } } static lean_object* _init_l_Lean_Elab_Term_instMonadQuotationTermElabM() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__4; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__14; return x_1; } } @@ -20200,7 +20330,7 @@ static lean_object* _init_l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__1; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__11; x_2 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__3; x_3 = l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__4; x_4 = lean_alloc_ctor(0, 3, 0); @@ -31568,60 +31698,13 @@ return x_20; } else { -lean_object* x_21; uint8_t x_35; +uint8_t x_21; lean_dec(x_17); lean_dec(x_3); -x_35 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 2); -if (x_35 == 0) -{ -lean_object* x_36; -x_36 = lean_box(0); -x_21 = x_36; -goto block_34; -} -else -{ -uint8_t x_37; -lean_inc(x_1); -x_37 = l_Lean_Elab_isValidAutoBoundImplicitName(x_1); -if (x_37 == 0) -{ -lean_object* x_38; -x_38 = lean_box(0); -x_21 = x_38; -goto block_34; -} -else -{ -lean_object* x_39; uint8_t x_40; -x_39 = l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName___spec__2(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_18); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -return x_39; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_39, 0); -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_39); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -block_34: +x_21 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 2); +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; uint8_t x_30; -lean_dec(x_21); x_22 = lean_box(0); x_23 = l_Lean_mkConst(x_1, x_22); x_24 = lean_alloc_ctor(2, 1, 0); @@ -31656,72 +31739,141 @@ lean_ctor_set(x_33, 1, x_32); return x_33; } } -} -} -} else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -lean_dec(x_2); -lean_dec(x_1); -x_44 = lean_ctor_get(x_12, 0); -lean_inc(x_44); -lean_dec(x_12); -x_45 = lean_ctor_get(x_11, 1); -lean_inc(x_45); -lean_dec(x_11); -x_46 = lean_ctor_get(x_44, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_48 = l_List_isEmpty___rarg(x_3); -lean_dec(x_3); -if (x_48 == 0) +uint8_t x_34; +lean_inc(x_1); +x_34 = l_Lean_Elab_isValidAutoBoundImplicitName(x_1); +if (x_34 == 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; uint8_t x_55; -lean_dec(x_47); -x_49 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_49, 0, x_46); -x_50 = l_Lean_Elab_Term_resolveName___closed__4; -x_51 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = l_Lean_Elab_Term_resolveName___closed__6; -x_53 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_53, x_4, x_5, x_6, x_7, x_8, x_9, x_45); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_35 = lean_box(0); +x_36 = l_Lean_mkConst(x_1, x_35); +x_37 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_37, 0, x_36); +x_38 = l_Lean_Elab_Term_resolveName___closed__2; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = l_Lean_KernelException_toMessageData___closed__3; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_41, x_4, x_5, x_6, x_7, x_8, x_9, x_18); lean_dec(x_8); lean_dec(x_6); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) { -return x_54; +return x_42; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_54, 0); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_54); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +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 { -lean_object* x_59; lean_object* x_60; -x_59 = lean_box(0); -x_60 = l_Lean_Elab_Term_resolveName___lambda__2(x_46, x_47, x_59, x_4, x_5, x_6, x_7, x_8, x_9, x_45); +lean_object* x_47; uint8_t x_48; +x_47 = l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName___spec__2(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_18); lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); -return x_60; +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +return x_47; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_47, 0); +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_47); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_dec(x_2); +lean_dec(x_1); +x_52 = lean_ctor_get(x_12, 0); +lean_inc(x_52); +lean_dec(x_12); +x_53 = lean_ctor_get(x_11, 1); +lean_inc(x_53); +lean_dec(x_11); +x_54 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); +lean_dec(x_52); +x_56 = l_List_isEmpty___rarg(x_3); +lean_dec(x_3); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +lean_dec(x_55); +x_57 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_57, 0, x_54); +x_58 = l_Lean_Elab_Term_resolveName___closed__4; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = l_Lean_Elab_Term_resolveName___closed__6; +x_61 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_61, x_4, x_5, x_6, x_7, x_8, x_9, x_53); +lean_dec(x_8); +lean_dec(x_6); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) +{ +return x_62; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +x_65 = lean_ctor_get(x_62, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_62); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_box(0); +x_68 = l_Lean_Elab_Term_resolveName___lambda__2(x_54, x_55, x_67, x_4, x_5, x_6, x_7, x_8, x_9, x_53); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +return x_68; } } } @@ -36563,7 +36715,7 @@ lean_ctor_set(x_34, 2, x_30); lean_ctor_set(x_34, 3, x_32); lean_ctor_set(x_34, 4, x_33); lean_ctor_set(x_34, 5, x_7); -x_35 = l_Lean_Unhygienic_run___rarg___closed__1; +x_35 = l_Lean_Unhygienic_run___rarg___closed__2; x_36 = l_Lean_Core_State_ngen___default___closed__1; x_37 = l_Lean_resetTraceState___rarg___lambda__1___closed__1; x_38 = lean_alloc_ctor(0, 4, 0); @@ -37343,6 +37495,26 @@ l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__3 = _init_l_Lean_Elab_Ter lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__3); l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__4 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__4(); lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__4); +l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__5); +l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__6 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__6); +l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__7 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__7); +l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__8 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__8); +l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__9 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__9); +l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__10 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__10); +l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__11 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__11); +l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__12 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__12); +l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__13 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__13); +l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__14 = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__14); l_Lean_Elab_Term_instMonadQuotationTermElabM = _init_l_Lean_Elab_Term_instMonadQuotationTermElabM(); lean_mark_persistent(l_Lean_Elab_Term_instMonadQuotationTermElabM); l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1 = _init_l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1(); diff --git a/stage0/stdlib/Lean/Environment.c b/stage0/stdlib/Lean/Environment.c index c390b13202..ee07b9ccb7 100644 --- a/stage0/stdlib/Lean/Environment.c +++ b/stage0/stdlib/Lean/Environment.c @@ -19,6 +19,7 @@ extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l___private_Lean_Environment_0__Lean_Environment_throwUnexpectedType___rarg___closed__2; lean_object* l_Lean_Environment_hasUnsafe___boxed(lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__8; lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__2(lean_object*); lean_object* l___private_Lean_Environment_0__Lean_Environment_isNamespaceName___boxed(lean_object*); size_t l_USize_add(size_t, size_t); @@ -587,7 +588,6 @@ lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(lean_object*, le lean_object* l_Std_PersistentHashMap_contains___at_Lean_Environment_contains___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Environment_addAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__5; lean_object* l_Lean_importModules_match__4(lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Environment_find_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkTagDeclarationExtension___lambda__3(lean_object*); @@ -2969,7 +2969,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Id_instMonadId___closed__4; -x_2 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__5; +x_2 = l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__8; x_3 = l_Lean_instInhabitedEnvExtensionInterface___closed__2; x_4 = l_Id_instMonadId___closed__5; x_5 = l_Lean_instInhabitedEnvExtensionInterface___closed__1; diff --git a/stage0/stdlib/Lean/Hygiene.c b/stage0/stdlib/Lean/Hygiene.c index c6b90153c2..5a6ed147e5 100644 --- a/stage0/stdlib/Lean/Hygiene.c +++ b/stage0/stdlib/Lean/Hygiene.c @@ -18,6 +18,7 @@ lean_object* l_Lean_isInaccessibleUserName_match__1___rarg(lean_object*, lean_ob size_t l_USize_add(size_t, size_t); lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Lean_NameSanitizerState_userName2Sanitized___default; +lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__2; lean_object* l_Lean_getSanitizeNames___closed__4; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); @@ -28,47 +29,58 @@ lean_object* l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserName(uint8_t, le uint8_t l_Lean_getSanitizeNames(lean_object*); lean_object* l_Lean_isInaccessibleUserName___boxed(lean_object*); lean_object* l_Lean_sanitizeName(lean_object*, lean_object*); +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__11; lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Unhygienic_run(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__3(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__1; lean_object* l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserNameAux(uint8_t, lean_object*, lean_object*); lean_object* l___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux_match__1(lean_object*); uint8_t l_USize_decLt(size_t, size_t); uint8_t l_Lean_NameMap_contains___rarg(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__1(size_t, size_t, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__3___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Std_Format_getUnicode(lean_object*); uint8_t l_Lean_Name_hasMacroScopes(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t l_String_contains(lean_object*, uint32_t); +lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2(lean_object*, lean_object*); uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__3; -lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__3; +lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserNameAux___closed__3; lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); lean_object* l___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux_match__2(lean_object*); lean_object* l_Lean_getSanitizeNames___closed__3; lean_object* l_Std_RBNode_find___at_Lean_sanitizeName___spec__1(lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_238_(lean_object*); +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__10; +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__8; +lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_291_(lean_object*); lean_object* l___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux(lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_sanitizeName___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Nat_toSuperscriptString(lean_object*); lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; lean_object* l_Std_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__7; extern lean_object* l_Lean_firstFrontendMacroScope; +lean_object* l_Lean_Unhygienic_run___rarg___closed__2; uint8_t lean_is_inaccessible_user_name(lean_object*); size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Hygiene_0__Lean_mkFreshInaccessibleUserName(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserName___closed__1; lean_object* l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserName___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_appendAfter(lean_object*, lean_object*); lean_object* l_Lean_getSanitizeNames___boxed(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__3; lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__5; lean_object* l_Std_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__2___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserName_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -79,24 +91,25 @@ lean_object* l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserNameAux___boxed( lean_object* l_Lean_getSanitizeNames___closed__1; lean_object* l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserNameAux___closed__2; lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__12; lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__6; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_NameSanitizerState_nameStem2Idx___default; uint8_t l_Lean_sanitizeNamesDefault; +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__9; lean_object* l___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__2; lean_object* l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserName_match__1(lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); -lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2(lean_object*); +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Unhygienic_run___rarg___closed__1; lean_object* l___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___boxed__const__1; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isInaccessibleUserName_match__1(lean_object*); lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__1; lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__2; +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic; -lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__1; uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_ReaderT_read___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__1(lean_object* x_1, lean_object* x_2) { _start: @@ -108,7 +121,30 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___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_inc(x_3); +x_5 = lean_apply_2(x_1, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_apply_3(x_2, x_6, x_3, x_7); +return x_8; +} +} +lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 0); +return x_3; +} +} +lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -118,112 +154,269 @@ lean_ctor_set(x_4, 1, x_3); return x_4; } } -lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2(lean_object* x_1) { +lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__3___rarg___boxed), 3, 0); return x_2; } } -lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +} +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_4, 0); +lean_dec(x_7); +lean_ctor_set(x_4, 0, x_2); +x_8 = lean_apply_2(x_3, x_4, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_apply_2(x_3, x_10, x_5); +return x_11; +} +} +} +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +} +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_unsigned_to_nat(1u); x_6 = lean_nat_add(x_4, x_5); -x_7 = lean_apply_2(x_2, x_4, x_6); -return x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 1); +lean_dec(x_8); +lean_ctor_set(x_3, 1, x_4); +x_9 = lean_apply_2(x_2, x_3, x_6); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec(x_3); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_4); +x_12 = lean_apply_2(x_2, x_11, x_6); +return x_12; +} } } static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("UnhygienicMain"); -return x_1; -} -} -static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4() { -_start: -{ -lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_ReaderT_read___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__5() { +static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1___boxed), 3, 0); return x_1; } } +static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__1; +x_2 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__2), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__3; +x_2 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_2 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__3; -x_3 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__5; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__3___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__1; +x_2 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__6; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("UnhygienicMain"); +return x_1; +} +} +static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__9; +x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__3___rarg___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__4), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__5; +x_2 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__7; +x_3 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__10; +x_4 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__11; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; } } static lean_object* _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic() { _start: { lean_object* x_1; -x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__6; +x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__12; return x_1; } } -lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg(x_1, x_2, x_3); +x_4 = l_ReaderT_pure___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__3___rarg(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_5; -x_5 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; +lean_object* x_4; +x_4 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__3(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; } } static lean_object* _init_l_Lean_Unhygienic_run___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_firstFrontendMacroScope; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Unhygienic_run___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_firstFrontendMacroScope; x_2 = lean_unsigned_to_nat(1u); x_3 = lean_nat_add(x_1, x_2); @@ -234,8 +427,8 @@ lean_object* l_Lean_Unhygienic_run___rarg(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_firstFrontendMacroScope; -x_3 = l_Lean_Unhygienic_run___rarg___closed__1; +x_2 = l_Lean_Unhygienic_run___rarg___closed__1; +x_3 = l_Lean_Unhygienic_run___rarg___closed__2; x_4 = lean_apply_2(x_1, x_2, x_3); x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); @@ -654,7 +847,7 @@ x_3 = lean_box(x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__1() { _start: { uint8_t x_1; lean_object* x_2; @@ -664,7 +857,7 @@ lean_ctor_set_uint8(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__2() { _start: { lean_object* x_1; @@ -672,13 +865,13 @@ x_1 = lean_mk_string("add suffix '_{}' to shadowed/inaccessible variables w return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__1; +x_1 = l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__1; x_2 = l_Lean_getSanitizeNames___closed__1; -x_3 = l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__2; +x_3 = l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -686,12 +879,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_238_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_291_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_getSanitizeNames___closed__4; -x_3 = l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__3; +x_3 = l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__3; x_4 = lean_register_option(x_2, x_3, x_1); return x_4; } @@ -1428,10 +1621,24 @@ l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__5 = _init_l_Lean_Unhygi lean_mark_persistent(l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__5); l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__6 = _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__6(); lean_mark_persistent(l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__6); +l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__7 = _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__7(); +lean_mark_persistent(l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__7); +l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__8 = _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__8(); +lean_mark_persistent(l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__8); +l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__9 = _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__9(); +lean_mark_persistent(l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__9); +l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__10 = _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__10(); +lean_mark_persistent(l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__10); +l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__11 = _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__11(); +lean_mark_persistent(l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__11); +l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__12 = _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__12(); +lean_mark_persistent(l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__12); l_Lean_Unhygienic_instMonadQuotationUnhygienic = _init_l_Lean_Unhygienic_instMonadQuotationUnhygienic(); lean_mark_persistent(l_Lean_Unhygienic_instMonadQuotationUnhygienic); l_Lean_Unhygienic_run___rarg___closed__1 = _init_l_Lean_Unhygienic_run___rarg___closed__1(); lean_mark_persistent(l_Lean_Unhygienic_run___rarg___closed__1); +l_Lean_Unhygienic_run___rarg___closed__2 = _init_l_Lean_Unhygienic_run___rarg___closed__2(); +lean_mark_persistent(l_Lean_Unhygienic_run___rarg___closed__2); l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserNameAux___closed__1 = _init_l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserNameAux___closed__1(); lean_mark_persistent(l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserNameAux___closed__1); l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserNameAux___closed__2 = _init_l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserNameAux___closed__2(); @@ -1449,13 +1656,13 @@ l_Lean_getSanitizeNames___closed__3 = _init_l_Lean_getSanitizeNames___closed__3( lean_mark_persistent(l_Lean_getSanitizeNames___closed__3); l_Lean_getSanitizeNames___closed__4 = _init_l_Lean_getSanitizeNames___closed__4(); lean_mark_persistent(l_Lean_getSanitizeNames___closed__4); -l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__1 = _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__1); -l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__2 = _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__2); -l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__3 = _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Hygiene___hyg_238____closed__3); -res = l_Lean_initFn____x40_Lean_Hygiene___hyg_238_(lean_io_mk_world()); +l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__1 = _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__1); +l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__2 = _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__2); +l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__3 = _init_l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Hygiene___hyg_291____closed__3); +res = l_Lean_initFn____x40_Lean_Hygiene___hyg_291_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_NameSanitizerState_nameStem2Idx___default = _init_l_Lean_NameSanitizerState_nameStem2Idx___default(); diff --git a/stage0/stdlib/Lean/Meta/Basic.c b/stage0/stdlib/Lean/Meta/Basic.c index bbd692f720..c6933614f9 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -427,6 +427,7 @@ lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Meta_commitWhenSome_x3f(lean_object*); lean_object* l_Lean_Meta_instMonadLCtxMetaM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___rarg___closed__3; +extern lean_object* l_Lean_Unhygienic_run___rarg___closed__2; lean_object* l_Lean_Meta_ParamInfo_backDeps___default; uint8_t l_Lean_Meta_Config_quasiPatternApprox___default; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstanceImp_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -707,7 +708,6 @@ extern lean_object* l_Lean_Core_State_ngen___default___closed__1; lean_object* l_Lean_Meta_getLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Context_localInstances___default; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Unhygienic_run___rarg___closed__1; lean_object* l_Lean_Meta_getTheoremInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_Lean_Meta_Cache_funInfo___default___closed__2; @@ -2394,7 +2394,7 @@ lean_ctor_set(x_34, 2, x_29); lean_ctor_set(x_34, 3, x_32); lean_ctor_set(x_34, 4, x_33); lean_ctor_set(x_34, 5, x_30); -x_35 = l_Lean_Unhygienic_run___rarg___closed__1; +x_35 = l_Lean_Unhygienic_run___rarg___closed__2; x_36 = l_Lean_Core_State_ngen___default___closed__1; x_37 = l_Lean_resetTraceState___rarg___lambda__1___closed__1; x_38 = lean_alloc_ctor(0, 4, 0); diff --git a/stage0/stdlib/Lean/Parser/Transform.c b/stage0/stdlib/Lean/Parser/Transform.c deleted file mode 100644 index b5d3b54998..0000000000 --- a/stage0/stdlib/Lean/Parser/Transform.c +++ /dev/null @@ -1,1586 +0,0 @@ -// Lean compiler output -// Module: Lean.Parser.Transform -// Imports: Init Lean.Parser.Basic -#include -#if defined(__clang__) -#pragma clang diagnostic ignored "-Wunused-parameter" -#pragma clang diagnostic ignored "-Wunused-label" -#elif defined(__GNUC__) && !defined(__CLANG__) -#pragma GCC diagnostic ignored "-Wunused-parameter" -#pragma GCC diagnostic ignored "-Wunused-label" -#pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#endif -#ifdef __cplusplus -extern "C" { -#endif -lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* lean_array_push(lean_object*, lean_object*); -lean_object* lean_array_get_size(lean_object*); -lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); -lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); -lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_removeParen_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__1(lean_object*); -uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_instInhabitedSyntax; -lean_object* l_Lean_Syntax_manyToSepBy(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -lean_object* l_Lean_Syntax_getNumArgs(lean_object*); -uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__2(lean_object*); -extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; -lean_object* l_Lean_Syntax_removeParen(lean_object*); -uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_Syntax_getTailInfo(lean_object*); -extern lean_object* l_prec_x28___x29___closed__7; -lean_object* l_Lean_Syntax_manyToSepBy_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -extern lean_object* l_Lean_mkOptionalNode___closed__2; -lean_object* l_Lean_Syntax_removeParen_match__1(lean_object*); -lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__2___rarg(lean_object*, lean_object*, lean_object*); -uint8_t lean_string_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Syntax_manyToSepBy_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_manyToSepBy_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Syntax_manyToSepBy_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_2(x_2, x_4, x_5); -return x_6; -} -else -{ -lean_object* x_7; -lean_dec(x_2); -x_7 = lean_apply_1(x_3, x_1); -return x_7; -} -} -} -lean_object* l_Lean_Syntax_manyToSepBy_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_manyToSepBy_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_ctor_get(x_3, 1); -x_8 = lean_nat_dec_le(x_7, x_5); -if (x_8 == 0) -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_eq(x_4, x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_sub(x_4, x_11); -lean_dec(x_4); -x_13 = l_Lean_instInhabitedSyntax; -x_14 = lean_array_get(x_13, x_2, x_5); -x_15 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_6); -x_16 = l_Lean_Syntax_getTailInfo(x_15); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_15); -x_17 = l_Lean_instInhabitedSourceInfo___closed__1; -lean_inc(x_1); -x_18 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_1); -x_19 = lean_array_push(x_6, x_18); -x_20 = lean_array_push(x_19, x_14); -x_21 = lean_ctor_get(x_3, 2); -x_22 = lean_nat_add(x_5, x_21); -lean_dec(x_5); -x_4 = x_12; -x_5 = x_22; -x_6 = x_20; -goto _start; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_24 = lean_ctor_get(x_16, 0); -lean_inc(x_24); -lean_dec(x_16); -x_25 = lean_array_get_size(x_6); -x_26 = lean_nat_sub(x_25, x_11); -lean_dec(x_25); -x_27 = lean_array_set(x_6, x_26, x_15); -lean_dec(x_26); -lean_inc(x_1); -x_28 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_28, 0, x_24); -lean_ctor_set(x_28, 1, x_1); -x_29 = lean_array_push(x_27, x_28); -x_30 = lean_array_push(x_29, x_14); -x_31 = lean_ctor_get(x_3, 2); -x_32 = lean_nat_add(x_5, x_31); -lean_dec(x_5); -x_4 = x_12; -x_5 = x_32; -x_6 = x_30; -goto _start; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -} -lean_object* l_Lean_Syntax_manyToSepBy(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -x_5 = lean_array_get_size(x_4); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_nat_dec_eq(x_5, x_6); -if (x_7 == 0) -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_1); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_9 = lean_ctor_get(x_1, 1); -lean_dec(x_9); -x_10 = lean_ctor_get(x_1, 0); -lean_dec(x_10); -x_11 = l_Lean_instInhabitedSyntax; -x_12 = lean_array_get(x_11, x_4, x_6); -x_13 = l_Lean_mkOptionalNode___closed__2; -x_14 = lean_array_push(x_13, x_12); -x_15 = lean_unsigned_to_nat(1u); -lean_inc(x_5); -x_16 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_5); -lean_ctor_set(x_16, 2, x_15); -x_17 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_2, x_4, x_16, x_5, x_15, x_14); -lean_dec(x_16); -lean_dec(x_4); -lean_ctor_set(x_1, 1, x_17); -return x_1; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_1); -x_18 = l_Lean_instInhabitedSyntax; -x_19 = lean_array_get(x_18, x_4, x_6); -x_20 = l_Lean_mkOptionalNode___closed__2; -x_21 = lean_array_push(x_20, x_19); -x_22 = lean_unsigned_to_nat(1u); -lean_inc(x_5); -x_23 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_5); -lean_ctor_set(x_23, 2, x_22); -x_24 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_2, x_4, x_23, x_5, x_22, x_21); -lean_dec(x_23); -lean_dec(x_4); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_3); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_1; -} -} -else -{ -lean_dec(x_2); -return x_1; -} -} -} -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Syntax_removeParen_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_1) == 2) -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_5, 2); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 0) -{ -uint8_t x_9; -lean_dec(x_3); -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_ctor_get(x_5, 2); -lean_dec(x_10); -x_11 = lean_ctor_get(x_5, 1); -lean_dec(x_11); -x_12 = lean_ctor_get(x_5, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_1); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_1, 0); -lean_dec(x_14); -lean_ctor_set(x_5, 0, x_8); -x_15 = lean_apply_2(x_4, x_1, x_2); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_1, 1); -lean_inc(x_16); -lean_dec(x_1); -lean_ctor_set(x_5, 0, x_8); -x_17 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_apply_2(x_4, x_17, x_2); -return x_18; -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_5); -x_19 = lean_ctor_get(x_1, 1); -lean_inc(x_19); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_20 = x_1; -} else { - lean_dec_ref(x_1); - x_20 = lean_box(0); -} -x_21 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_21, 0, x_8); -lean_ctor_set(x_21, 1, x_7); -lean_ctor_set(x_21, 2, x_8); -if (lean_is_scalar(x_20)) { - x_22 = lean_alloc_ctor(2, 2, 0); -} else { - x_22 = x_20; -} -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_19); -x_23 = lean_apply_2(x_4, x_22, x_2); -return x_23; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_ctor_get(x_1, 1); -lean_inc(x_24); -x_25 = lean_ctor_get(x_8, 0); -lean_inc(x_25); -x_26 = l_prec_x28___x29___closed__7; -x_27 = lean_string_dec_eq(x_24, x_26); -lean_dec(x_24); -if (x_27 == 0) -{ -lean_object* x_28; -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -x_28 = lean_apply_2(x_4, x_1, x_2); -return x_28; -} -else -{ -uint8_t x_29; -x_29 = !lean_is_exclusive(x_1); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_1, 1); -lean_dec(x_30); -x_31 = lean_ctor_get(x_1, 0); -lean_dec(x_31); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_32; -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -lean_ctor_set(x_1, 1, x_26); -x_32 = lean_apply_2(x_4, x_1, x_2); -return x_32; -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_2, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -if (lean_obj_tag(x_34) == 0) -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_5); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_36 = lean_ctor_get(x_5, 2); -lean_dec(x_36); -x_37 = lean_ctor_get(x_5, 1); -lean_dec(x_37); -x_38 = lean_ctor_get(x_5, 0); -lean_dec(x_38); -x_39 = lean_ctor_get(x_33, 1); -lean_inc(x_39); -if (lean_obj_tag(x_39) == 0) -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_2); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_2, 0); -lean_dec(x_41); -x_42 = lean_ctor_get(x_33, 2); -lean_inc(x_42); -if (lean_obj_tag(x_42) == 0) -{ -uint8_t x_43; -lean_dec(x_25); -lean_dec(x_3); -x_43 = !lean_is_exclusive(x_33); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_44 = lean_ctor_get(x_33, 2); -lean_dec(x_44); -x_45 = lean_ctor_get(x_33, 1); -lean_dec(x_45); -x_46 = lean_ctor_get(x_33, 0); -lean_dec(x_46); -lean_ctor_set(x_33, 2, x_8); -lean_ctor_set(x_33, 0, x_42); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_33); -lean_ctor_set(x_5, 2, x_42); -lean_ctor_set(x_5, 1, x_39); -lean_ctor_set(x_5, 0, x_42); -lean_ctor_set(x_2, 0, x_5); -x_47 = lean_apply_2(x_4, x_1, x_2); -return x_47; -} -else -{ -lean_object* x_48; lean_object* x_49; -lean_dec(x_33); -x_48 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_48, 0, x_42); -lean_ctor_set(x_48, 1, x_39); -lean_ctor_set(x_48, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_48); -lean_ctor_set(x_5, 2, x_42); -lean_ctor_set(x_5, 1, x_39); -lean_ctor_set(x_5, 0, x_42); -lean_ctor_set(x_2, 0, x_5); -x_49 = lean_apply_2(x_4, x_1, x_2); -return x_49; -} -} -else -{ -lean_object* x_50; lean_object* x_51; -lean_free_object(x_2); -lean_free_object(x_5); -lean_free_object(x_1); -lean_dec(x_8); -lean_dec(x_4); -x_50 = lean_ctor_get(x_42, 0); -lean_inc(x_50); -lean_dec(x_42); -x_51 = lean_apply_3(x_3, x_25, x_33, x_50); -return x_51; -} -} -else -{ -lean_object* x_52; -lean_dec(x_2); -x_52 = lean_ctor_get(x_33, 2); -lean_inc(x_52); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_53 = x_33; -} else { - lean_dec_ref(x_33); - x_53 = lean_box(0); -} -if (lean_is_scalar(x_53)) { - x_54 = lean_alloc_ctor(0, 3, 0); -} else { - x_54 = x_53; -} -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_39); -lean_ctor_set(x_54, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_54); -lean_ctor_set(x_5, 2, x_52); -lean_ctor_set(x_5, 1, x_39); -lean_ctor_set(x_5, 0, x_52); -x_55 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_55, 0, x_5); -x_56 = lean_apply_2(x_4, x_1, x_55); -return x_56; -} -else -{ -lean_object* x_57; lean_object* x_58; -lean_free_object(x_5); -lean_free_object(x_1); -lean_dec(x_8); -lean_dec(x_4); -x_57 = lean_ctor_get(x_52, 0); -lean_inc(x_57); -lean_dec(x_52); -x_58 = lean_apply_3(x_3, x_25, x_33, x_57); -return x_58; -} -} -} -else -{ -uint8_t x_59; -lean_dec(x_39); -lean_free_object(x_5); -lean_dec(x_25); -lean_dec(x_3); -x_59 = !lean_is_exclusive(x_33); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_33, 2); -lean_dec(x_60); -x_61 = lean_ctor_get(x_33, 1); -lean_dec(x_61); -x_62 = lean_ctor_get(x_33, 0); -lean_dec(x_62); -lean_ctor_set(x_33, 2, x_8); -lean_ctor_set(x_33, 1, x_7); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_33); -x_63 = lean_apply_2(x_4, x_1, x_2); -return x_63; -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_33); -x_64 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_64, 0, x_34); -lean_ctor_set(x_64, 1, x_7); -lean_ctor_set(x_64, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_64); -x_65 = lean_apply_2(x_4, x_1, x_2); -return x_65; -} -} -} -else -{ -lean_object* x_66; -lean_dec(x_5); -x_66 = lean_ctor_get(x_33, 1); -lean_inc(x_66); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; lean_object* x_68; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - x_67 = x_2; -} else { - lean_dec_ref(x_2); - x_67 = lean_box(0); -} -x_68 = lean_ctor_get(x_33, 2); -lean_inc(x_68); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_69 = x_33; -} else { - lean_dec_ref(x_33); - x_69 = lean_box(0); -} -if (lean_is_scalar(x_69)) { - x_70 = lean_alloc_ctor(0, 3, 0); -} else { - x_70 = x_69; -} -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_66); -lean_ctor_set(x_70, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_70); -x_71 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_66); -lean_ctor_set(x_71, 2, x_68); -if (lean_is_scalar(x_67)) { - x_72 = lean_alloc_ctor(1, 1, 0); -} else { - x_72 = x_67; -} -lean_ctor_set(x_72, 0, x_71); -x_73 = lean_apply_2(x_4, x_1, x_72); -return x_73; -} -else -{ -lean_object* x_74; lean_object* x_75; -lean_dec(x_67); -lean_free_object(x_1); -lean_dec(x_8); -lean_dec(x_4); -x_74 = lean_ctor_get(x_68, 0); -lean_inc(x_74); -lean_dec(x_68); -x_75 = lean_apply_3(x_3, x_25, x_33, x_74); -return x_75; -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_66); -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_76 = x_33; -} else { - lean_dec_ref(x_33); - x_76 = lean_box(0); -} -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(0, 3, 0); -} else { - x_77 = x_76; -} -lean_ctor_set(x_77, 0, x_34); -lean_ctor_set(x_77, 1, x_7); -lean_ctor_set(x_77, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_77); -x_78 = lean_apply_2(x_4, x_1, x_2); -return x_78; -} -} -} -else -{ -lean_object* x_79; -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -lean_ctor_set(x_1, 1, x_26); -x_79 = lean_apply_2(x_4, x_1, x_2); -return x_79; -} -} -} -else -{ -lean_dec(x_1); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_80; lean_object* x_81; -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -x_80 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_80, 0, x_5); -lean_ctor_set(x_80, 1, x_26); -x_81 = lean_apply_2(x_4, x_80, x_2); -return x_81; -} -else -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_2, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; lean_object* x_85; -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - lean_ctor_release(x_5, 2); - x_84 = x_5; -} else { - lean_dec_ref(x_5); - x_84 = lean_box(0); -} -x_85 = lean_ctor_get(x_82, 1); -lean_inc(x_85); -if (lean_obj_tag(x_85) == 0) -{ -lean_object* x_86; lean_object* x_87; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - x_86 = x_2; -} else { - lean_dec_ref(x_2); - x_86 = lean_box(0); -} -x_87 = lean_ctor_get(x_82, 2); -lean_inc(x_87); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - lean_ctor_release(x_82, 2); - x_88 = x_82; -} else { - lean_dec_ref(x_82); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 3, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_85); -lean_ctor_set(x_89, 2, x_8); -x_90 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_26); -if (lean_is_scalar(x_84)) { - x_91 = lean_alloc_ctor(0, 3, 0); -} else { - x_91 = x_84; -} -lean_ctor_set(x_91, 0, x_87); -lean_ctor_set(x_91, 1, x_85); -lean_ctor_set(x_91, 2, x_87); -if (lean_is_scalar(x_86)) { - x_92 = lean_alloc_ctor(1, 1, 0); -} else { - x_92 = x_86; -} -lean_ctor_set(x_92, 0, x_91); -x_93 = lean_apply_2(x_4, x_90, x_92); -return x_93; -} -else -{ -lean_object* x_94; lean_object* x_95; -lean_dec(x_86); -lean_dec(x_84); -lean_dec(x_8); -lean_dec(x_4); -x_94 = lean_ctor_get(x_87, 0); -lean_inc(x_94); -lean_dec(x_87); -x_95 = lean_apply_3(x_3, x_25, x_82, x_94); -return x_95; -} -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_85); -lean_dec(x_84); -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - lean_ctor_release(x_82, 2); - x_96 = x_82; -} else { - lean_dec_ref(x_82); - x_96 = lean_box(0); -} -if (lean_is_scalar(x_96)) { - x_97 = lean_alloc_ctor(0, 3, 0); -} else { - x_97 = x_96; -} -lean_ctor_set(x_97, 0, x_83); -lean_ctor_set(x_97, 1, x_7); -lean_ctor_set(x_97, 2, x_8); -x_98 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_26); -x_99 = lean_apply_2(x_4, x_98, x_2); -return x_99; -} -} -else -{ -lean_object* x_100; lean_object* x_101; -lean_dec(x_83); -lean_dec(x_82); -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_5); -lean_ctor_set(x_100, 1, x_26); -x_101 = lean_apply_2(x_4, x_100, x_2); -return x_101; -} -} -} -} -} -} -else -{ -lean_object* x_102; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -x_102 = lean_apply_2(x_4, x_1, x_2); -return x_102; -} -} -else -{ -lean_object* x_103; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_103 = lean_apply_2(x_4, x_1, x_2); -return x_103; -} -} -else -{ -lean_object* x_104; -lean_dec(x_3); -x_104 = lean_apply_2(x_4, x_1, x_2); -return x_104; -} -} -} -lean_object* l_Lean_Syntax_removeParen_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_removeParen_match__1___rarg), 4, 0); -return x_2; -} -} -lean_object* l_Lean_Syntax_removeParen(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_5 = lean_name_eq(x_2, x_4); -if (x_5 == 0) -{ -lean_dec(x_3); -lean_dec(x_2); -return x_1; -} -else -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_1); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_7 = lean_ctor_get(x_1, 1); -lean_dec(x_7); -x_8 = lean_ctor_get(x_1, 0); -lean_dec(x_8); -lean_inc(x_3); -x_9 = l_Lean_instInhabitedSyntax; -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_array_get(x_9, x_3, x_10); -x_12 = l_Lean_Syntax_getNumArgs(x_11); -x_13 = lean_unsigned_to_nat(2u); -x_14 = lean_nat_dec_eq(x_12, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_dec(x_11); -lean_dec(x_3); -return x_1; -} -else -{ -lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_Syntax_getArg(x_11, x_10); -x_16 = l_Lean_Syntax_isNone(x_15); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_dec(x_11); -lean_dec(x_3); -return x_1; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_unsigned_to_nat(0u); -x_18 = l_Lean_Syntax_getArg(x_11, x_17); -lean_dec(x_11); -x_19 = lean_array_get(x_9, x_3, x_13); -lean_dec(x_3); -if (lean_obj_tag(x_19) == 2) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Syntax_getTailInfo(x_18); -x_23 = lean_ctor_get(x_20, 0); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_20, 2); -lean_inc(x_25); -lean_dec(x_20); -if (lean_obj_tag(x_25) == 0) -{ -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_18); -return x_1; -} -else -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -lean_dec(x_25); -x_27 = l_prec_x28___x29___closed__7; -x_28 = lean_string_dec_eq(x_21, x_27); -lean_dec(x_21); -if (x_28 == 0) -{ -lean_dec(x_26); -lean_dec(x_22); -lean_dec(x_18); -return x_1; -} -else -{ -if (lean_obj_tag(x_22) == 0) -{ -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_22, 0); -lean_inc(x_29); -lean_dec(x_22); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_29); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_29, 2); -x_34 = lean_ctor_get(x_29, 1); -lean_dec(x_34); -x_35 = lean_ctor_get(x_29, 0); -lean_dec(x_35); -if (lean_obj_tag(x_33) == 0) -{ -lean_free_object(x_29); -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -else -{ -uint8_t x_36; -lean_dec(x_1); -x_36 = !lean_is_exclusive(x_33); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_37 = lean_ctor_get(x_33, 0); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -x_40 = lean_ctor_get(x_37, 2); -lean_inc(x_40); -lean_dec(x_37); -x_41 = lean_string_utf8_extract(x_38, x_39, x_40); -lean_dec(x_40); -lean_dec(x_39); -lean_dec(x_38); -x_42 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; -x_43 = lean_string_append(x_41, x_42); -x_44 = !lean_is_exclusive(x_26); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_45 = lean_ctor_get(x_26, 0); -x_46 = lean_ctor_get(x_26, 1); -x_47 = lean_ctor_get(x_26, 2); -x_48 = lean_string_utf8_extract(x_45, x_46, x_47); -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_45); -x_49 = lean_string_append(x_43, x_48); -lean_dec(x_48); -x_50 = lean_string_utf8_byte_size(x_49); -lean_ctor_set(x_26, 2, x_50); -lean_ctor_set(x_26, 1, x_17); -lean_ctor_set(x_26, 0, x_49); -lean_ctor_set(x_33, 0, x_26); -x_51 = l_Lean_Syntax_setTailInfo(x_18, x_29); -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; -x_52 = lean_ctor_get(x_26, 0); -x_53 = lean_ctor_get(x_26, 1); -x_54 = lean_ctor_get(x_26, 2); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_26); -x_55 = lean_string_utf8_extract(x_52, x_53, x_54); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -x_56 = lean_string_append(x_43, x_55); -lean_dec(x_55); -x_57 = lean_string_utf8_byte_size(x_56); -x_58 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_17); -lean_ctor_set(x_58, 2, x_57); -lean_ctor_set(x_33, 0, x_58); -x_59 = l_Lean_Syntax_setTailInfo(x_18, x_29); -return x_59; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_60 = lean_ctor_get(x_33, 0); -lean_inc(x_60); -lean_dec(x_33); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -x_63 = lean_ctor_get(x_60, 2); -lean_inc(x_63); -lean_dec(x_60); -x_64 = lean_string_utf8_extract(x_61, x_62, x_63); -lean_dec(x_63); -lean_dec(x_62); -lean_dec(x_61); -x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; -x_66 = lean_string_append(x_64, x_65); -x_67 = lean_ctor_get(x_26, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_26, 1); -lean_inc(x_68); -x_69 = lean_ctor_get(x_26, 2); -lean_inc(x_69); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - x_70 = x_26; -} else { - lean_dec_ref(x_26); - x_70 = lean_box(0); -} -x_71 = lean_string_utf8_extract(x_67, x_68, x_69); -lean_dec(x_69); -lean_dec(x_68); -lean_dec(x_67); -x_72 = lean_string_append(x_66, x_71); -lean_dec(x_71); -x_73 = lean_string_utf8_byte_size(x_72); -if (lean_is_scalar(x_70)) { - x_74 = lean_alloc_ctor(0, 3, 0); -} else { - x_74 = x_70; -} -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_17); -lean_ctor_set(x_74, 2, x_73); -x_75 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_29, 2, x_75); -x_76 = l_Lean_Syntax_setTailInfo(x_18, x_29); -return x_76; -} -} -} -else -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_29, 2); -lean_inc(x_77); -lean_dec(x_29); -if (lean_obj_tag(x_77) == 0) -{ -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 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_dec(x_1); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - x_79 = x_77; -} else { - lean_dec_ref(x_77); - x_79 = lean_box(0); -} -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_78, 2); -lean_inc(x_82); -lean_dec(x_78); -x_83 = lean_string_utf8_extract(x_80, x_81, x_82); -lean_dec(x_82); -lean_dec(x_81); -lean_dec(x_80); -x_84 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; -x_85 = lean_string_append(x_83, x_84); -x_86 = lean_ctor_get(x_26, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_26, 1); -lean_inc(x_87); -x_88 = lean_ctor_get(x_26, 2); -lean_inc(x_88); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - x_89 = x_26; -} else { - lean_dec_ref(x_26); - x_89 = lean_box(0); -} -x_90 = lean_string_utf8_extract(x_86, x_87, x_88); -lean_dec(x_88); -lean_dec(x_87); -lean_dec(x_86); -x_91 = lean_string_append(x_85, x_90); -lean_dec(x_90); -x_92 = lean_string_utf8_byte_size(x_91); -if (lean_is_scalar(x_89)) { - x_93 = lean_alloc_ctor(0, 3, 0); -} else { - x_93 = x_89; -} -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_17); -lean_ctor_set(x_93, 2, x_92); -if (lean_is_scalar(x_79)) { - x_94 = lean_alloc_ctor(1, 1, 0); -} else { - x_94 = x_79; -} -lean_ctor_set(x_94, 0, x_93); -x_95 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_95, 0, x_30); -lean_ctor_set(x_95, 1, x_31); -lean_ctor_set(x_95, 2, x_94); -x_96 = l_Lean_Syntax_setTailInfo(x_18, x_95); -return x_96; -} -} -} -else -{ -lean_dec(x_31); -lean_dec(x_29); -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -} -else -{ -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -} -} -} -} -else -{ -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_18); -return x_1; -} -} -else -{ -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_18); -return x_1; -} -} -else -{ -lean_dec(x_19); -lean_dec(x_18); -return x_1; -} -} -} -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -lean_dec(x_1); -lean_inc(x_3); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_2); -lean_ctor_set(x_97, 1, x_3); -x_98 = l_Lean_instInhabitedSyntax; -x_99 = lean_unsigned_to_nat(1u); -x_100 = lean_array_get(x_98, x_3, x_99); -x_101 = l_Lean_Syntax_getNumArgs(x_100); -x_102 = lean_unsigned_to_nat(2u); -x_103 = lean_nat_dec_eq(x_101, x_102); -lean_dec(x_101); -if (x_103 == 0) -{ -lean_dec(x_100); -lean_dec(x_3); -return x_97; -} -else -{ -lean_object* x_104; uint8_t x_105; -x_104 = l_Lean_Syntax_getArg(x_100, x_99); -x_105 = l_Lean_Syntax_isNone(x_104); -lean_dec(x_104); -if (x_105 == 0) -{ -lean_dec(x_100); -lean_dec(x_3); -return x_97; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_unsigned_to_nat(0u); -x_107 = l_Lean_Syntax_getArg(x_100, x_106); -lean_dec(x_100); -x_108 = lean_array_get(x_98, x_3, x_102); -lean_dec(x_3); -if (lean_obj_tag(x_108) == 2) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_111 = l_Lean_Syntax_getTailInfo(x_107); -x_112 = lean_ctor_get(x_109, 0); -lean_inc(x_112); -if (lean_obj_tag(x_112) == 0) -{ -lean_object* x_113; -x_113 = lean_ctor_get(x_109, 1); -lean_inc(x_113); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; -x_114 = lean_ctor_get(x_109, 2); -lean_inc(x_114); -lean_dec(x_109); -if (lean_obj_tag(x_114) == 0) -{ -lean_dec(x_111); -lean_dec(x_110); -lean_dec(x_107); -return x_97; -} -else -{ -lean_object* x_115; lean_object* x_116; uint8_t x_117; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -lean_dec(x_114); -x_116 = l_prec_x28___x29___closed__7; -x_117 = lean_string_dec_eq(x_110, x_116); -lean_dec(x_110); -if (x_117 == 0) -{ -lean_dec(x_115); -lean_dec(x_111); -lean_dec(x_107); -return x_97; -} -else -{ -if (lean_obj_tag(x_111) == 0) -{ -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -else -{ -lean_object* x_118; lean_object* x_119; -x_118 = lean_ctor_get(x_111, 0); -lean_inc(x_118); -lean_dec(x_111); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -if (lean_obj_tag(x_119) == 0) -{ -lean_object* x_120; -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_118, 2); -lean_inc(x_121); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - lean_ctor_release(x_118, 2); - x_122 = x_118; -} else { - lean_dec_ref(x_118); - x_122 = lean_box(0); -} -if (lean_obj_tag(x_121) == 0) -{ -lean_dec(x_122); -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -lean_dec(x_97); -x_123 = lean_ctor_get(x_121, 0); -lean_inc(x_123); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - x_124 = x_121; -} else { - lean_dec_ref(x_121); - x_124 = lean_box(0); -} -x_125 = lean_ctor_get(x_123, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_123, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_123, 2); -lean_inc(x_127); -lean_dec(x_123); -x_128 = lean_string_utf8_extract(x_125, x_126, x_127); -lean_dec(x_127); -lean_dec(x_126); -lean_dec(x_125); -x_129 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; -x_130 = lean_string_append(x_128, x_129); -x_131 = lean_ctor_get(x_115, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_115, 1); -lean_inc(x_132); -x_133 = lean_ctor_get(x_115, 2); -lean_inc(x_133); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - lean_ctor_release(x_115, 2); - x_134 = x_115; -} else { - lean_dec_ref(x_115); - x_134 = lean_box(0); -} -x_135 = lean_string_utf8_extract(x_131, x_132, x_133); -lean_dec(x_133); -lean_dec(x_132); -lean_dec(x_131); -x_136 = lean_string_append(x_130, x_135); -lean_dec(x_135); -x_137 = lean_string_utf8_byte_size(x_136); -if (lean_is_scalar(x_134)) { - x_138 = lean_alloc_ctor(0, 3, 0); -} else { - x_138 = x_134; -} -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_106); -lean_ctor_set(x_138, 2, x_137); -if (lean_is_scalar(x_124)) { - x_139 = lean_alloc_ctor(1, 1, 0); -} else { - x_139 = x_124; -} -lean_ctor_set(x_139, 0, x_138); -if (lean_is_scalar(x_122)) { - x_140 = lean_alloc_ctor(0, 3, 0); -} else { - x_140 = x_122; -} -lean_ctor_set(x_140, 0, x_119); -lean_ctor_set(x_140, 1, x_120); -lean_ctor_set(x_140, 2, x_139); -x_141 = l_Lean_Syntax_setTailInfo(x_107, x_140); -return x_141; -} -} -else -{ -lean_dec(x_120); -lean_dec(x_118); -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -} -else -{ -lean_dec(x_119); -lean_dec(x_118); -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -} -} -} -} -else -{ -lean_dec(x_113); -lean_dec(x_111); -lean_dec(x_110); -lean_dec(x_109); -lean_dec(x_107); -return x_97; -} -} -else -{ -lean_dec(x_112); -lean_dec(x_111); -lean_dec(x_110); -lean_dec(x_109); -lean_dec(x_107); -return x_97; -} -} -else -{ -lean_dec(x_108); -lean_dec(x_107); -return x_97; -} -} -} -} -} -} -else -{ -return x_1; -} -} -} -lean_object* initialize_Init(lean_object*); -lean_object* initialize_Lean_Parser_Basic(lean_object*); -static bool _G_initialized = false; -lean_object* initialize_Lean_Parser_Transform(lean_object* w) { -lean_object * res; -if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); -_G_initialized = true; -res = initialize_Init(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Parser_Basic(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -return lean_io_result_mk_ok(lean_box(0)); -} -#ifdef __cplusplus -} -#endif diff --git a/stage0/stdlib/Lean/PrettyPrinter.c b/stage0/stdlib/Lean/PrettyPrinter.c index 34c1250c0f..2a50241144 100644 --- a/stage0/stdlib/Lean/PrettyPrinter.c +++ b/stage0/stdlib/Lean/PrettyPrinter.c @@ -71,6 +71,7 @@ extern lean_object* l_Lean_PrettyPrinter_formatterAttribute; lean_object* l___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_withoutContext___at_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter___hyg_304____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter___hyg_304____lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_registerParserCompilers(lean_object*); +extern lean_object* l_Lean_Unhygienic_run___rarg___closed__2; lean_object* l___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_noContext(lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_PrettyPrinter_format(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -96,7 +97,6 @@ lean_object* l_Lean_Meta_withLCtx___at_Lean_Meta_ppGoal___spec__15___rarg(lean_o lean_object* l_Array_mapMUnsafe_map___at___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_noContext___spec__1(size_t, size_t, lean_object*); lean_object* l___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_noContext_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Core_State_ngen___default___closed__1; -extern lean_object* l_Lean_Unhygienic_run___rarg___closed__1; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PPContext_runMetaM(lean_object*); lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter___hyg_304____lambda__2(lean_object*, lean_object*, lean_object*); @@ -123,7 +123,7 @@ lean_ctor_set(x_11, 2, x_9); lean_ctor_set(x_11, 3, x_10); lean_ctor_set(x_11, 4, x_6); lean_ctor_set(x_11, 5, x_7); -x_12 = l_Lean_Unhygienic_run___rarg___closed__1; +x_12 = l_Lean_Unhygienic_run___rarg___closed__2; x_13 = l_Lean_Core_State_ngen___default___closed__1; x_14 = l_Lean_resetTraceState___rarg___lambda__1___closed__1; lean_inc(x_4); @@ -491,7 +491,7 @@ lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_17); lean_ctor_set(x_19, 4, x_18); lean_ctor_set(x_19, 5, x_7); -x_20 = l_Lean_Unhygienic_run___rarg___closed__1; +x_20 = l_Lean_Unhygienic_run___rarg___closed__2; x_21 = l_Lean_Core_State_ngen___default___closed__1; x_22 = l_Lean_resetTraceState___rarg___lambda__1___closed__1; x_23 = lean_alloc_ctor(0, 4, 0); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c index 3445bb9ec7..69f01ce812 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c @@ -34,6 +34,7 @@ lean_object* l_Lean_Level_quote___lambda__2___boxed(lean_object*, lean_object*, lean_object* l_Lean_PrettyPrinter_delab___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); +extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__8; extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__1; lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_554____closed__3; @@ -42,11 +43,13 @@ uint8_t l_Lean_getPPCoercions(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__5; lean_object* l_Lean_Syntax_isAtom___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__8; lean_object* l_Lean_PrettyPrinter_Delaborator_orElse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__5; +extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; lean_object* l_Lean_getPPStructureProjections___closed__1; lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__2___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_getPPExplicit(lean_object*); @@ -93,10 +96,10 @@ lean_object* l_Lean_Level_quote___lambda__7___boxed(lean_object*, lean_object*, lean_object* l_Lean_getPPFullNames___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_annotateCurPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__5___boxed(lean_object*, lean_object*); -extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; lean_object* l_Lean_Level_quote_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_quote___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withProj_match__1(lean_object*); +extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__4; uint8_t l_Lean_getPPUniverses(lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__3(lean_object*, size_t, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); @@ -128,10 +131,12 @@ lean_object* l_Lean_Level_quote___lambda__6(lean_object*, lean_object*, lean_obj extern lean_object* l_Lean_Level_LevelToFormat_Result_format___closed__3; extern lean_object* l_Lean_numLitKind; lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_905____closed__4; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6; lean_object* l_Lean_Level_quote___lambda__9___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getPPUnicode___boxed(lean_object*); lean_object* l_Lean_getPPUnicode___closed__1; @@ -169,7 +174,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM___closed__1; lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2; lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_quote___lambda__2___closed__1; -lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__4; uint8_t l_Lean_getPPStructureInstanceType(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName(lean_object*); extern lean_object* l_Lean_Expr_ctorName___closed__3; @@ -182,7 +186,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(lean_object*, le lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_607____closed__2; lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__3; lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__9; -extern lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; extern lean_object* l_Lean_Meta_addPPExplicitToExposeDiff___closed__3; lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__2(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__2(lean_object*); @@ -234,7 +237,6 @@ lean_object* l_Lean_PrettyPrinter_delab(lean_object*, lean_object*, lean_object* extern lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; extern lean_object* l_Lean_Expr_ctorName___closed__9; uint8_t l_Lean_getPPNotation(lean_object*); -lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__5; lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__3(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr(lean_object*); @@ -273,7 +275,6 @@ extern lean_object* l_Lean_Elab_Level_elabLevel___closed__3; lean_object* l_Lean_getPPAll___boxed(lean_object*); lean_object* l_Lean_Level_quote___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getPPStructureInstances___boxed(lean_object*); lean_object* l_Lean_getPPUniverses___closed__1; @@ -315,9 +316,7 @@ extern lean_object* l_Lean_Expr_ctorName___closed__6; lean_object* l_Lean_Level_quote___closed__5; lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_762____closed__4; -lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_2038_(lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; lean_object* lean_mk_syntax_ident(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed__1; @@ -351,6 +350,7 @@ lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); lean_object* l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed__6; lean_object* l_Lean_getPPPrivateNames___closed__1; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1(lean_object*); lean_object* l_Lean_getPPStructureProjections___closed__2; lean_object* l_Lean_Level_quote(lean_object*); @@ -367,6 +367,7 @@ lean_object* l_Lean_getPPStructureProjections___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_failure___rarg(lean_object*); lean_object* l_Std_RBNode_find___at_Lean_PrettyPrinter_Delaborator_getPPOption___spec__1___boxed(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__6; lean_object* l_Lean_Level_quote___closed__2; lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption_match__1(lean_object*); lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_554____closed__4; @@ -374,6 +375,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_liftMetaM___rarg(lean_object*, lea lean_object* l_Lean_getPPBinderTypes___closed__1; lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed__3; lean_object* l_Lean_PrettyPrinter_Delaborator_descend___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instMonadRef___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__2; uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); @@ -759,9 +761,9 @@ static lean_object* _init_l_Lean_Level_quote___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; x_2 = l_Lean_Level_quote___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -788,9 +790,9 @@ static lean_object* _init_l_Lean_Level_quote___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; x_2 = l_Lean_Level_quote___closed__4; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -825,8 +827,8 @@ if (lean_obj_tag(x_3) == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__2___boxed), 4, 1); lean_closure_set(x_4, 0, x_1); -x_5 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_6 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_5 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_6 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_6, 0, x_5); lean_closure_set(x_6, 1, x_4); x_7 = l_Lean_Unhygienic_run___rarg(x_6); @@ -841,8 +843,8 @@ lean_inc(x_8); lean_dec(x_3); x_9 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__3___boxed), 4, 1); lean_closure_set(x_9, 0, x_8); -x_10 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_11 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_10 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_11 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_11, 0, x_10); lean_closure_set(x_11, 1, x_9); x_12 = l_Lean_Unhygienic_run___rarg(x_11); @@ -868,8 +870,8 @@ x_18 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__4___boxed), 6, 3) lean_closure_set(x_18, 0, x_13); lean_closure_set(x_18, 1, x_15); lean_closure_set(x_18, 2, x_16); -x_19 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_19 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_20, 0, x_19); lean_closure_set(x_20, 1, x_18); x_21 = l_Lean_Unhygienic_run___rarg(x_20); @@ -887,8 +889,8 @@ x_25 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__5___boxed), 6, 3) lean_closure_set(x_25, 0, x_13); lean_closure_set(x_25, 1, x_24); lean_closure_set(x_25, 2, x_16); -x_26 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_27 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_26 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_27 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_27, 0, x_26); lean_closure_set(x_27, 1, x_25); x_28 = l_Lean_Unhygienic_run___rarg(x_27); @@ -914,8 +916,8 @@ x_34 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__6___boxed), 6, 3) lean_closure_set(x_34, 0, x_29); lean_closure_set(x_34, 1, x_31); lean_closure_set(x_34, 2, x_32); -x_35 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_36 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_35 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_36 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_36, 0, x_35); lean_closure_set(x_36, 1, x_34); x_37 = l_Lean_Unhygienic_run___rarg(x_36); @@ -933,8 +935,8 @@ x_41 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__7___boxed), 6, 3) lean_closure_set(x_41, 0, x_29); lean_closure_set(x_41, 1, x_40); lean_closure_set(x_41, 2, x_32); -x_42 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_43 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_42 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_43 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_43, 0, x_42); lean_closure_set(x_43, 1, x_41); x_44 = l_Lean_Unhygienic_run___rarg(x_43); @@ -949,8 +951,8 @@ lean_inc(x_45); lean_dec(x_1); x_46 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__8___boxed), 4, 1); lean_closure_set(x_46, 0, x_45); -x_47 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_48 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_47 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_48 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_48, 0, x_47); lean_closure_set(x_48, 1, x_46); x_49 = l_Lean_Unhygienic_run___rarg(x_48); @@ -1499,7 +1501,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Ba _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; x_2 = l_Lean_getSanitizeNames___closed__1; x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_554____closed__1; x_4 = lean_alloc_ctor(0, 3, 0); @@ -1521,7 +1523,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Ba _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; x_2 = l_Lean_getSanitizeNames___closed__1; x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_554____closed__3; x_4 = lean_alloc_ctor(0, 3, 0); @@ -1962,30 +1964,12 @@ return x_28; static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__1; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___lambda__1___boxed), 7, 0); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2() { _start: { lean_object* x_1; @@ -1993,15 +1977,15 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_instAlternativ return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__8; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3; -x_4 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__4; +x_3 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__1; +x_4 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2; x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_2); lean_ctor_set(x_5, 1, x_3); @@ -2013,7 +1997,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM _start: { lean_object* x_1; -x_1 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__5; +x_1 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3; return x_1; } } @@ -2075,6 +2059,17 @@ return x_9; static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__1() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__4; +x_2 = l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__6; +x_3 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6; +x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__2() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(0u); x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); @@ -2082,7 +2077,7 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -2092,7 +2087,7 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4() { _start: { lean_object* x_1; @@ -2100,25 +2095,27 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_instMonadQuota return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__1; x_2 = l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__2; x_3 = l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +x_4 = l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; } } static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM() { _start: { lean_object* x_1; -x_1 = l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4; +x_1 = l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__5; return x_1; } } @@ -10544,10 +10541,6 @@ l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2 = _init_l_Lea lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2); l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3); -l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__4(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__4); -l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__5(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__5); l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM = _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM); l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM___closed__1(); @@ -10560,6 +10553,8 @@ l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3 = _init_l_ lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3); l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4); +l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__5); l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM = _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM); l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__1(); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c index 57ac67fd8a..1bece4df07 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c @@ -75,13 +75,16 @@ lean_object* l_Lean_Syntax_Traverser_up(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__1___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__7; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__10; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1950____closed__4; lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_parenthesize___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitToken___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_StateRefT_x27_instMonadLiftStateRefT_x27___closed__1; extern lean_object* l_term___u2218_____closed__6; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_join___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_Context_cat___default; @@ -106,7 +109,6 @@ lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthes lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__7; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__20; lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15; lean_object* l_Lean_PrettyPrinter_ParenthesizerM_orelse(lean_object*); @@ -192,6 +194,7 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Pre lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_parenthesize___closed__3; +lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__2(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__4; @@ -213,17 +216,20 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1_ lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2482____closed__4; +lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Core_instMonadRefCoreM; extern lean_object* l_Lean_choiceKind___closed__2; extern lean_object* l_termS_x21_____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_scientificLitNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_suppressInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_ParenthesizerM_orelse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_ite___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesize___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -250,11 +256,11 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM lean_object* l_Lean_PrettyPrinter_Parenthesizer_manyNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__3(lean_object*); +lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_intro___closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___boxed(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__21; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -282,9 +288,10 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLineEq_parenthesizer___boxe lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; -extern lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__11; lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__9; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___closed__1; extern lean_object* l_Std_Format_paren___closed__4; @@ -306,6 +313,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___boxed(l lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbol_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_eoi_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__8; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12; lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__8(lean_object*); @@ -362,7 +370,6 @@ extern lean_object* l_term_x5b___x5d___closed__5; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19; -lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitToken___spec__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquotSuffixSplice_parenthesizer___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_down(lean_object*, lean_object*); @@ -413,7 +420,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer(le lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__1; lean_object* l_Std_fmt___at_Lean_Level_LevelToFormat_Result_format___spec__1(lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesize_match__1(lean_object*); -lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizeCommand___closed__1; @@ -438,6 +444,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer(le lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4(lean_object*); +extern lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -505,6 +512,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_minPrec___default; lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2417____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__5; lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2482____closed__6; @@ -532,6 +540,8 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_left(lean_object*); +extern lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__1; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParserOfStack_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCombinatorParenthesizerAttribute___closed__2; @@ -561,6 +571,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_liftCoreM___rarg(lean_object*, l lean_object* l_Lean_PrettyPrinter_parenthesize___closed__4; extern lean_object* l_Std_Format_paren___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2482____closed__18; +lean_object* l_Lean_instMonadRef___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_antiquot_parenthesizer(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4; lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__5; @@ -3169,13 +3180,87 @@ static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationP _start: { lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; +x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__1; +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctorReaderT___boxed), 4, 3); +lean_closure_set(x_2, 0, lean_box(0)); +lean_closure_set(x_2, 1, lean_box(0)); +lean_closure_set(x_2, 2, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Core_instMonadRefCoreM; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__2; +x_3 = l_StateRefT_x27_instMonadLiftStateRefT_x27___closed__1; +x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__1; +x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__4; +x_2 = lean_alloc_closure((void*)(l_ReaderT_instMonadFunctorReaderT___boxed), 4, 3); +lean_closure_set(x_2, 0, lean_box(0)); +lean_closure_set(x_2, 1, lean_box(0)); +lean_closure_set(x_2, 2, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_ReaderT_instMonadLiftReaderT), 3, 2); +lean_closure_set(x_1, 0, lean_box(0)); +lean_closure_set(x_1, 1, lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__3; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__5; +x_3 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6; +x_4 = l_Lean_instMonadRef___rarg(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(0u); x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___spec__1___rarg___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -3185,7 +3270,7 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__10() { _start: { lean_object* x_1; @@ -3193,25 +3278,27 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuo return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__1; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__2; -x_3 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__3; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__7; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__8; +x_3 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__9; +x_4 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__10; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; } } static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM() { _start: { lean_object* x_1; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__4; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__11; return x_1; } } @@ -4987,24 +5074,6 @@ return x_81; static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__1; -x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__5; @@ -5012,7 +5081,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__2() { _start: { lean_object* x_1; @@ -5020,37 +5089,37 @@ x_1 = lean_mk_string("parenthesize"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__4; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__1; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__4; x_2 = l_instInhabitedPUnit; x_3 = l_instInhabited___rarg(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__4; x_2 = lean_alloc_closure((void*)(l_instInhabitedReaderT___rarg___boxed), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6() { _start: { lean_object* x_1; @@ -5058,7 +5127,7 @@ x_1 = lean_mk_string("maybeParenthesize: visited a syntax tree without precedenc return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7() { _start: { lean_object* x_1; @@ -5066,7 +5135,7 @@ x_1 = lean_mk_string("Lean.PrettyPrinter.Parenthesizer"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8() { _start: { lean_object* x_1; @@ -5074,7 +5143,7 @@ x_1 = lean_mk_string("Lean.PrettyPrinter.Parenthesizer.maybeParenthesize"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9() { _start: { lean_object* x_1; @@ -5082,27 +5151,27 @@ x_1 = lean_mk_string("...precedences are {prec} >? {minPrec}"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -5112,19 +5181,19 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -5133,7 +5202,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__17() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15() { _start: { lean_object* x_1; @@ -5141,6 +5210,23 @@ x_1 = lean_mk_string(" <=? "); return x_1; } } +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("parenthesizing (cont := "); +return x_1; +} +} static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18() { _start: { @@ -5153,23 +5239,6 @@ return x_2; static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("parenthesizing (cont := "); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__21() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = l_prec_x28___x29___closed__7; x_2 = l_Lean_stringToMessageData(x_1); @@ -5253,7 +5322,7 @@ lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; x_175 = lean_ctor_get(x_170, 1); lean_inc(x_175); lean_dec(x_170); -x_176 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_176 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_177 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__9(x_176, x_6, x_7, x_8, x_9, x_175); x_178 = lean_ctor_get(x_177, 0); lean_inc(x_178); @@ -5291,18 +5360,18 @@ lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); x_42 = l_Std_Format_defWidth; x_43 = lean_format_pretty(x_41, x_42); -x_44 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8; +x_44 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6; x_45 = lean_string_append(x_44, x_43); lean_dec(x_43); x_46 = l_Lean_instInhabitedParserDescr___closed__1; x_47 = lean_string_append(x_45, x_46); -x_48 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9; -x_49 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10; +x_48 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7; +x_49 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8; x_50 = lean_unsigned_to_nat(210u); x_51 = lean_unsigned_to_nat(6u); x_52 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_48, x_49, x_50, x_51, x_47); lean_dec(x_47); -x_53 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7; +x_53 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; x_54 = lean_panic_fn(x_53, x_52); x_55 = lean_apply_5(x_54, x_6, x_7, x_8, x_9, x_37); return x_55; @@ -5343,7 +5412,7 @@ lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; x_122 = lean_ctor_get(x_117, 1); lean_inc(x_122); lean_dec(x_117); -x_123 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_123 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_124 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__9(x_123, x_6, x_7, x_8, x_9, x_122); x_125 = lean_ctor_get(x_124, 0); lean_inc(x_125); @@ -5521,7 +5590,7 @@ lean_dec(x_15); if (x_64 == 0) { lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_65 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_66 = lean_box(0); x_67 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(x_1, x_29, x_61, x_65, x_3, x_66, x_6, x_7, x_8, x_9, x_59); return x_67; @@ -5535,7 +5604,7 @@ lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); lean_inc(x_70); lean_dec(x_68); -x_71 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_71 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_72 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(x_1, x_29, x_61, x_71, x_3, x_69, x_6, x_7, x_8, x_9, x_70); lean_dec(x_69); return x_72; @@ -5554,8 +5623,8 @@ else if (x_2 == 0) { lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_94 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; -x_95 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15; +x_94 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; +x_95 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13; x_96 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_94, x_95, x_6, x_7, x_8, x_9, x_93); x_97 = lean_ctor_get(x_96, 1); lean_inc(x_97); @@ -5574,11 +5643,11 @@ lean_ctor_set(x_98, 1, x_57); x_99 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__8(x_98); x_100 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_100, 0, x_99); -x_101 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16; +x_101 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14; x_102 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_102, 0, x_101); lean_ctor_set(x_102, 1, x_100); -x_103 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18; +x_103 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16; x_104 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_104, 0, x_102); lean_ctor_set(x_104, 1, x_103); @@ -5597,11 +5666,11 @@ x_109 = l_Lean_KernelException_toMessageData___closed__15; x_110 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_110, 0, x_108); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13; +x_111 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11; x_112 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_112, 0, x_111); lean_ctor_set(x_112, 1, x_110); -x_113 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_113 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_114 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_113, x_112, x_6, x_7, x_8, x_9, x_93); x_115 = lean_ctor_get(x_114, 1); lean_inc(x_115); @@ -5691,11 +5760,11 @@ lean_ctor_set(x_142, 1, x_24); x_143 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__8(x_142); x_144 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_144, 0, x_143); -x_145 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__20; +x_145 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18; x_146 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_146, 0, x_145); lean_ctor_set(x_146, 1, x_144); -x_147 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__21; +x_147 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19; x_148 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_148, 0, x_146); lean_ctor_set(x_148, 1, x_147); @@ -5711,7 +5780,7 @@ x_153 = l_Lean_KernelException_toMessageData___closed__15; x_154 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_154, 0, x_152); lean_ctor_set(x_154, 1, x_153); -x_155 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_155 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_156 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_155, x_154, x_6, x_7, x_8, x_9, x_130); x_157 = lean_ctor_get(x_156, 1); lean_inc(x_157); @@ -5840,7 +5909,7 @@ lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; x_335 = lean_ctor_get(x_330, 1); lean_inc(x_335); lean_dec(x_330); -x_336 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_336 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_337 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__9(x_336, x_6, x_7, x_8, x_9, x_335); x_338 = lean_ctor_get(x_337, 0); lean_inc(x_338); @@ -5878,18 +5947,18 @@ lean_ctor_set(x_201, 0, x_200); lean_ctor_set(x_201, 1, x_199); x_202 = l_Std_Format_defWidth; x_203 = lean_format_pretty(x_201, x_202); -x_204 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8; +x_204 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6; x_205 = lean_string_append(x_204, x_203); lean_dec(x_203); x_206 = l_Lean_instInhabitedParserDescr___closed__1; x_207 = lean_string_append(x_205, x_206); -x_208 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9; -x_209 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10; +x_208 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7; +x_209 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__8; x_210 = lean_unsigned_to_nat(210u); x_211 = lean_unsigned_to_nat(6u); x_212 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_208, x_209, x_210, x_211, x_207); lean_dec(x_207); -x_213 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7; +x_213 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; x_214 = lean_panic_fn(x_213, x_212); x_215 = lean_apply_5(x_214, x_6, x_7, x_8, x_9, x_197); return x_215; @@ -5930,7 +5999,7 @@ lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; x_282 = lean_ctor_get(x_277, 1); lean_inc(x_282); lean_dec(x_277); -x_283 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_283 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_284 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__9(x_283, x_6, x_7, x_8, x_9, x_282); x_285 = lean_ctor_get(x_284, 0); lean_inc(x_285); @@ -6108,7 +6177,7 @@ lean_dec(x_15); if (x_224 == 0) { lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_225 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_225 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_226 = lean_box(0); x_227 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(x_1, x_188, x_221, x_225, x_3, x_226, x_6, x_7, x_8, x_9, x_219); return x_227; @@ -6122,7 +6191,7 @@ lean_inc(x_229); x_230 = lean_ctor_get(x_228, 1); lean_inc(x_230); lean_dec(x_228); -x_231 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_231 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_232 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4(x_1, x_188, x_221, x_231, x_3, x_229, x_6, x_7, x_8, x_9, x_230); lean_dec(x_229); return x_232; @@ -6141,8 +6210,8 @@ else if (x_2 == 0) { lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_254 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; -x_255 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15; +x_254 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; +x_255 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13; x_256 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_254, x_255, x_6, x_7, x_8, x_9, x_253); x_257 = lean_ctor_get(x_256, 1); lean_inc(x_257); @@ -6161,11 +6230,11 @@ lean_ctor_set(x_258, 1, x_217); x_259 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__8(x_258); x_260 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_260, 0, x_259); -x_261 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16; +x_261 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14; x_262 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_262, 0, x_261); lean_ctor_set(x_262, 1, x_260); -x_263 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18; +x_263 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16; x_264 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_264, 0, x_262); lean_ctor_set(x_264, 1, x_263); @@ -6184,11 +6253,11 @@ x_269 = l_Lean_KernelException_toMessageData___closed__15; x_270 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_270, 0, x_268); lean_ctor_set(x_270, 1, x_269); -x_271 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13; +x_271 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11; x_272 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_272, 0, x_271); lean_ctor_set(x_272, 1, x_270); -x_273 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_273 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_274 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_273, x_272, x_6, x_7, x_8, x_9, x_253); x_275 = lean_ctor_get(x_274, 1); lean_inc(x_275); @@ -6280,11 +6349,11 @@ lean_ctor_set(x_302, 1, x_183); x_303 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__8(x_302); x_304 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_304, 0, x_303); -x_305 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__20; +x_305 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18; x_306 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_306, 0, x_305); lean_ctor_set(x_306, 1, x_304); -x_307 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__21; +x_307 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19; x_308 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_308, 0, x_306); lean_ctor_set(x_308, 1, x_307); @@ -6300,7 +6369,7 @@ x_313 = l_Lean_KernelException_toMessageData___closed__15; x_314 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_314, 0, x_312); lean_ctor_set(x_314, 1, x_313); -x_315 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_315 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_316 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_315, x_314, x_6, x_7, x_8, x_9, x_290); x_317 = lean_ctor_get(x_316, 1); lean_inc(x_317); @@ -7729,29 +7798,6 @@ lean_dec(x_1); return x_8; } } -lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -lean_inc(x_3); -x_5 = lean_apply_2(x_1, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_apply_3(x_2, x_6, x_3, x_7); -return x_8; -} -} -lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 0); -return x_3; -} -} lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -7778,14 +7824,26 @@ lean_ctor_set(x_17, 1, x_4); return x_17; } } +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__1; +x_2 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__6; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___boxed), 4, 1); lean_closure_set(x_2, 0, x_1); -x_3 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_4 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_3 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_4 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_4, 0, x_3); lean_closure_set(x_4, 1, x_2); x_5 = l_Lean_Unhygienic_run___rarg(x_4); @@ -7899,8 +7957,8 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___boxed), 4, 1); lean_closure_set(x_2, 0, x_1); -x_3 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_4 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_3 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_4 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_4, 0, x_3); lean_closure_set(x_4, 1, x_2); x_5 = l_Lean_Unhygienic_run___rarg(x_4); @@ -7993,8 +8051,8 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___boxed), 4, 1); lean_closure_set(x_2, 0, x_1); -x_3 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_4 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); +x_3 = l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1; +x_4 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); lean_closure_set(x_4, 0, x_3); lean_closure_set(x_4, 1, x_2); x_5 = l_Lean_Unhygienic_run___rarg(x_4); @@ -8276,7 +8334,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_2 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -11334,7 +11392,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_parenthesize___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_2 = l_Lean_PrettyPrinter_parenthesize___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -11664,7 +11722,7 @@ lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -11816,6 +11874,20 @@ l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__3 lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__3); l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__4 = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__4(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__4); +l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__5 = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__5); +l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__6); +l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__7); +l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__8 = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__8); +l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__9 = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__9); +l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__10 = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__10); +l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__11 = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__11); l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM = _init_l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM); l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__8___closed__1 = _init_l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__8___closed__1(); @@ -11868,12 +11940,10 @@ l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18 = _init_l_Lean lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18); l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__20 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__20(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__20); -l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__21 = _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__21(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__21); l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__1); +l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2___closed__1); l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1); l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1(); diff --git a/stage0/stdlib/Lean/Server/ServerBin.c b/stage0/stdlib/Lean/Server/ServerBin.c deleted file mode 100644 index edda8e79fa..0000000000 --- a/stage0/stdlib/Lean/Server/ServerBin.c +++ /dev/null @@ -1,330 +0,0 @@ -// Lean compiler output -// Module: Lean.Server.ServerBin -// Imports: Init Init.System.IO Lean.Server -#include -#if defined(__clang__) -#pragma clang diagnostic ignored "-Wunused-parameter" -#pragma clang diagnostic ignored "-Wunused-label" -#elif defined(__GNUC__) && !defined(__CLANG__) -#pragma GCC diagnostic ignored "-Wunused-parameter" -#pragma GCC diagnostic ignored "-Wunused-label" -#pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#endif -#ifdef __cplusplus -extern "C" { -#endif -lean_object* lean_get_stdin(lean_object*); -lean_object* lean_io_error_to_string(lean_object*); -lean_object* _lean_main(lean_object*, lean_object*); -lean_object* lean_get_stderr(lean_object*); -lean_object* l_main___boxed__const__1; -lean_object* l_IO_getStdin___at_main___spec__1(lean_object*); -lean_object* lean_init_search_path(lean_object*, lean_object*); -lean_object* lean_get_stdout(lean_object*); -lean_object* l_IO_FS_Stream_putStrLn___at_Lean_Server_Test_runWithInputFile___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_initAndRunServer(lean_object*, lean_object*, lean_object*); -lean_object* l_IO_getStdin___at_main___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_get_stdin(x_1); -return x_2; -} -} -static lean_object* _init_l_main___boxed__const__1() { -_start: -{ -uint32_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_uint32(x_1); -return x_2; -} -} -lean_object* _lean_main(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -lean_dec(x_1); -x_3 = lean_get_stdin(x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_3, 1); -lean_inc(x_5); -lean_dec(x_3); -x_6 = lean_get_stdout(x_5); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_get_stderr(x_8); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_box(0); -x_13 = lean_init_search_path(x_12, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = l_Lean_Server_initAndRunServer(x_4, x_7, x_14); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = l_main___boxed__const__1; -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = l_main___boxed__const__1; -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_15, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); -lean_dec(x_15); -x_24 = lean_io_error_to_string(x_22); -x_25 = l_IO_FS_Stream_putStrLn___at_Lean_Server_Test_runWithInputFile___spec__1(x_10, x_24, x_23); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -x_28 = l_main___boxed__const__1; -lean_ctor_set(x_25, 0, x_28); -return x_25; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_25, 1); -lean_inc(x_29); -lean_dec(x_25); -x_30 = l_main___boxed__const__1; -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -return x_31; -} -} -else -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_25); -if (x_32 == 0) -{ -return x_25; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_25, 0); -x_34 = lean_ctor_get(x_25, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_25); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -} -else -{ -uint8_t x_36; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_4); -x_36 = !lean_is_exclusive(x_13); -if (x_36 == 0) -{ -return x_13; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_13, 0); -x_38 = lean_ctor_get(x_13, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_13); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} -} -} -else -{ -uint8_t x_40; -lean_dec(x_7); -lean_dec(x_4); -x_40 = !lean_is_exclusive(x_9); -if (x_40 == 0) -{ -return x_9; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_9, 0); -x_42 = lean_ctor_get(x_9, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_9); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -else -{ -uint8_t x_44; -lean_dec(x_4); -x_44 = !lean_is_exclusive(x_6); -if (x_44 == 0) -{ -return x_6; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_6, 0); -x_46 = lean_ctor_get(x_6, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_6); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -} -else -{ -uint8_t x_48; -x_48 = !lean_is_exclusive(x_3); -if (x_48 == 0) -{ -return x_3; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_3, 0); -x_50 = lean_ctor_get(x_3, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_3); -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; -} -} -} -} -lean_object* initialize_Init(lean_object*); -lean_object* initialize_Init_System_IO(lean_object*); -lean_object* initialize_Lean_Server(lean_object*); -static bool _G_initialized = false; -lean_object* initialize_Lean_Server_ServerBin(lean_object* w) { -lean_object * res; -if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); -_G_initialized = true; -res = initialize_Init(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_System_IO(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Server(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_main___boxed__const__1 = _init_l_main___boxed__const__1(); -lean_mark_persistent(l_main___boxed__const__1); -return lean_io_result_mk_ok(lean_box(0)); -} -void lean_initialize(); - - #if defined(WIN32) || defined(_WIN32) - #include - #endif - - int main(int argc, char ** argv) { - #if defined(WIN32) || defined(_WIN32) - SetErrorMode(SEM_FAILCRITICALERRORS); - #endif - lean_object* in; lean_object* res; -lean_initialize(); -res = initialize_Lean_Server_ServerBin(lean_io_mk_world()); -lean_io_mark_end_initialization(); -if (lean_io_result_is_ok(res)) { -lean_dec_ref(res); -lean_init_task_manager(); -in = lean_box(0); -int i = argc; -while (i > 1) { - lean_object* n; - i--; - n = lean_alloc_ctor(1,2,0); lean_ctor_set(n, 0, lean_mk_string(argv[i])); lean_ctor_set(n, 1, in); - in = n; -} -res = _lean_main(in, lean_io_mk_world()); -} -if (lean_io_result_is_ok(res)) { - int ret = lean_unbox(lean_io_result_get_value(res)); - lean_dec_ref(res); - return ret; -} else { - lean_io_result_show_error(res); - lean_dec_ref(res); - return 1; -} -} -#ifdef __cplusplus -} -#endif diff --git a/stage0/stdlib/Lean/Util/PPExt.c b/stage0/stdlib/Lean/Util/PPExt.c index b2ec488503..19c053bd09 100644 --- a/stage0/stdlib/Lean/Util/PPExt.c +++ b/stage0/stdlib/Lean/Util/PPExt.c @@ -15,8 +15,10 @@ extern "C" { #endif lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__5; lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__1; +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__1; lean_object* l_Lean_ppExpr___closed__5; -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PPContext_mctx___default; lean_object* l_Lean_MetavarContext_instantiateMVars(lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -25,8 +27,9 @@ lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__7; lean_object* lean_io_error_to_string(lean_object*); lean_object* l_Std_fmt___at_Lean_ppExpr___spec__4(lean_object*); lean_object* l_Lean_PPContext_opts___default; -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147____lambda__1(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166____lambda__1(lean_object*); lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__2; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(lean_object*, lean_object*); extern lean_object* l_Std_Format_join___closed__1; lean_object* l_Lean_ppTerm___closed__3; @@ -36,68 +39,71 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; lean_object* l_Std_fmt___at_Lean_ppExpr___spec__3(lean_object*); lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__2; -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__1; lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__4; lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; lean_object* l_Std_fmt___at_Lean_ppTerm___spec__1(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__2(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101_(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166_(lean_object*); lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120_(lean_object*); lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__9; extern lean_object* l_Lean_LocalContext_mkEmpty___closed__1; +uint8_t l_Lean_getPPRawShowInfo(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__13; lean_object* l_Lean_getSyntaxMaxDepth___boxed(lean_object*); lean_object* l_Lean_ppTerm___closed__1; lean_object* l_Lean_ppGoal(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166____closed__1; lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__6; -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPRawShowInfo___boxed(lean_object*); uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); lean_object* l_Std_fmt___at_Lean_ppExpr___spec__3___boxed(lean_object*); extern lean_object* l_Lean_MetavarContext_instInhabitedMetavarContext___closed__1; extern lean_object* l_Lean_instInhabitedPersistentEnvExtension___closed__1; +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__12; lean_object* l_Lean_ppFnsRef; lean_object* lean_st_mk_ref(lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147____closed__1; -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__2; -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__11; lean_object* l_Lean_instInhabitedPPFns___closed__1; lean_object* lean_expr_dbg_to_string(lean_object*); lean_object* l_Std_fmt___at_Lean_ppExpr___spec__4___boxed(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__3; lean_object* l_Lean_ppExpr(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PPContext_currNamespace___default; lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__10; uint8_t l_Lean_getPPRaw(lean_object*); lean_object* l_Lean_KVMap_getNat(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instInhabitedPPFns; -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__4; -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__1; +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__1; lean_object* l_Lean_ppTerm___closed__2; lean_object* l_Std_fmt___at_Lean_ppExpr___spec__1(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__4; lean_object* l_Std_fmt___at_Lean_ppExpr___spec__2(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__3; extern lean_object* l_Lean_getSanitizeNames___closed__2; lean_object* l_Lean_ppExpr___closed__6; extern lean_object* l_Lean_getSanitizeNames___closed__1; extern lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___closed__2; lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__2; lean_object* l_Lean_getPPRaw___boxed(lean_object*); lean_object* l_Lean_ppExpr___closed__2; lean_object* l_Lean_ppTerm(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__2; +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ppExt; +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getSyntaxMaxDepth(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____spec__1(lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(lean_object*, lean_object*); lean_object* l_Lean_ppExpr___closed__4; lean_object* l_Lean_ppExpr___closed__1; +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__14; static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("syntaxMaxDepth"); +x_1 = lean_mk_string("raw"); return x_1; } } @@ -105,7 +111,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_getSanitizeNames___closed__2; x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -114,10 +120,10 @@ return x_3; static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2, 0, x_1); +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_2, 0, x_1); return x_2; } } @@ -125,7 +131,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed _start: { lean_object* x_1; -x_1 = lean_mk_string("maximum depth when displaying syntax objects in messages"); +x_1 = lean_mk_string("(pretty printer) print raw expression/syntax tree"); return x_1; } } @@ -134,7 +140,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; -x_2 = l_Lean_instInhabitedParserDescr___closed__1; +x_2 = l_Lean_getSanitizeNames___closed__1; x_3 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -147,7 +153,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed _start: { lean_object* x_1; -x_1 = lean_mk_string("raw"); +x_1 = lean_mk_string("showInfo"); return x_1; } } @@ -155,7 +161,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__2; x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -164,28 +170,68 @@ return x_3; static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8() { _start: { -uint8_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_alloc_ctor(1, 0, 1); -lean_ctor_set_uint8(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("(pretty printer) print `SourceInfo` metadata with raw printer"); +return x_1; } } static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__9() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("(pretty printer) print raw expression/syntax tree"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; +x_2 = l_Lean_getSanitizeNames___closed__1; +x_3 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__10() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("maxDepth"); +return x_1; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__2; +x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("(pretty printer) maximum `Syntax` depth for raw printer"); +return x_1; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__14() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__12; x_2 = l_Lean_getSanitizeNames___closed__1; -x_3 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__9; +x_3 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__13; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -207,30 +253,62 @@ x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); x_6 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__7; -x_7 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__10; +x_7 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__9; x_8 = lean_register_option(x_6, x_7, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__11; +x_11 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__14; +x_12 = lean_register_option(x_10, x_11, x_9); +return x_12; +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_8); +if (x_13 == 0) +{ return x_8; } else { -uint8_t x_9; -x_9 = !lean_is_exclusive(x_4); -if (x_9 == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_8, 0); +x_15 = lean_ctor_get(x_8, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_8); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_4); +if (x_17 == 0) { return x_4; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_4, 0); -x_11 = lean_ctor_get(x_4, 1); -lean_inc(x_11); -lean_inc(x_10); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_4, 0); +x_19 = lean_ctor_get(x_4, 1); +lean_inc(x_19); +lean_inc(x_18); lean_dec(x_4); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; } } } @@ -239,7 +317,7 @@ lean_object* l_Lean_getSyntaxMaxDepth(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__2; +x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__11; x_3 = lean_unsigned_to_nat(2u); x_4 = l_Lean_KVMap_getNat(x_1, x_2, x_3); return x_4; @@ -258,7 +336,7 @@ uint8_t l_Lean_getPPRaw(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__7; +x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__2; x_3 = 0; x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); return x_4; @@ -274,6 +352,26 @@ x_3 = lean_box(x_2); return x_3; } } +uint8_t l_Lean_getPPRawShowInfo(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__7; +x_3 = 0; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPRawShowInfo___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPRawShowInfo(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} static lean_object* _init_l_Lean_PPContext_mctx___default() { _start: { @@ -334,7 +432,7 @@ x_1 = l_Lean_instInhabitedPPFns___closed__1; return x_1; } } -lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -359,7 +457,7 @@ return x_7; } } } -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____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; @@ -372,7 +470,7 @@ lean_ctor_set(x_6, 1, x_3); return x_6; } } -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -390,7 +488,7 @@ lean_ctor_set(x_10, 1, x_3); return x_10; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__1() { _start: { lean_object* x_1; @@ -398,58 +496,58 @@ x_1 = lean_mk_string("goal"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__1; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__2; +x_4 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__2; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); return x_5; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__1___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__1___boxed), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__2___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__2___boxed), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___boxed), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__1; -x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__2; -x_3 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__3; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__2; +x_3 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__3; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -457,45 +555,45 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__4; -x_3 = l_IO_mkRef___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____spec__1(x_2, x_1); +x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__4; +x_3 = l_IO_mkRef___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____spec__1(x_2, x_1); return x_3; } } -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__1(x_1, x_2, x_3); +x_4 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__2(x_1, x_2, x_3); +x_4 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__2(x_1, x_2, x_3); lean_dec(x_1); return x_4; } } -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3(x_1, x_2, x_3); +x_4 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147____lambda__1(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -521,19 +619,19 @@ return x_7; } } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147____lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166____lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166____closed__1; x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1); return x_3; } @@ -915,10 +1013,10 @@ else lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_dec(x_1); x_40 = l_Lean_getSyntaxMaxDepth(x_4); -lean_dec(x_4); x_41 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_41, 0, x_40); -x_42 = 0; +x_42 = l_Lean_getPPRawShowInfo(x_4); +lean_dec(x_4); x_43 = lean_unsigned_to_nat(0u); x_44 = l_Lean_Syntax_formatStxAux(x_41, x_42, x_43, x_2); lean_dec(x_41); @@ -986,6 +1084,14 @@ l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__9 = _init_l_Lean_initFn_ lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__9); l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__10 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__10(); lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__10); +l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__11 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__11(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__11); +l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__12 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__12(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__12); +l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__13 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__13(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__13); +l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__14 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__14(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__14); res = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -1003,26 +1109,26 @@ l_Lean_instInhabitedPPFns___closed__1 = _init_l_Lean_instInhabitedPPFns___closed lean_mark_persistent(l_Lean_instInhabitedPPFns___closed__1); l_Lean_instInhabitedPPFns = _init_l_Lean_instInhabitedPPFns(); lean_mark_persistent(l_Lean_instInhabitedPPFns); -l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__1 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__1); -l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__2 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____lambda__3___closed__2); -l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__1 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__1); -l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__2 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__2); -l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__3 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__3); -l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__4 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101____closed__4); -res = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_101_(lean_io_mk_world()); +l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__1 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__1); +l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__2 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____lambda__3___closed__2); +l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__1 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__1); +l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__2 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__2); +l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__3 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__3); +l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__4 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120____closed__4); +res = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_120_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_ppFnsRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_ppFnsRef); lean_dec_ref(res); -l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147____closed__1 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147____closed__1); -res = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_147_(lean_io_mk_world()); +l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166____closed__1 = _init_l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166____closed__1); +res = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_166_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_ppExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_ppExt); diff --git a/stage0/stdlib/Lean/Util/Trace.c b/stage0/stdlib/Lean/Util/Trace.c index d64a66b042..c0b31794c2 100644 --- a/stage0/stdlib/Lean/Util/Trace.c +++ b/stage0/stdlib/Lean/Util/Trace.c @@ -38,6 +38,7 @@ lean_object* l_Lean_registerTraceClass___closed__1; lean_object* l_Std_PersistentArray_get_x21___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); @@ -73,7 +74,6 @@ lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1271____closed__3; size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__3___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; extern lean_object* l_Std_instInhabitedPersistentArray___closed__1; lean_object* l_Lean_withNestedTraces___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2482,7 +2482,7 @@ static lean_object* _init_l_Lean_registerTraceClass___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; x_2 = l_Lean_checkTraceOption___closed__1; x_3 = l_Lean_registerTraceClass___closed__1; x_4 = lean_alloc_ctor(0, 3, 0);