diff --git a/stage0/src/Init/Data.lean b/stage0/src/Init/Data.lean index 02fe948ce1..ecb12e592a 100644 --- a/stage0/src/Init/Data.lean +++ b/stage0/src/Init/Data.lean @@ -23,3 +23,4 @@ import Init.Data.Range import Init.Data.Hashable import Init.Data.OfScientific import Init.Data.Format +import Init.Data.Stream diff --git a/stage0/src/Init/Data/Stream.lean b/stage0/src/Init/Data/Stream.lean new file mode 100644 index 0000000000..97c874b386 --- /dev/null +++ b/stage0/src/Init/Data/Stream.lean @@ -0,0 +1,100 @@ +/- +Copyright (c) 2020 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Sebastian Ullrich, Andrew Kent, Leonardo de Moura +-/ +prelude +import Init.Data.Array.Subarray +import Init.Data.Range + +/- + Streams are used to implement parallel `for` statements. + Example: + ``` + for x in xs, y in ys do + ... + ``` + is expanded into + ``` + let mut s := toStream ys + for x in xs do + match Stream.next? s with + | none => break + | some (y, s') => + s := s' + ... + ``` +-/ +class ToStream (collection : Type u) (stream : outParam (Type u)) : Type u where + toStream : collection → stream + +export ToStream (toStream) + +class Stream (stream : Type u) (value : outParam (Type v)) : Type (max u v) where + next? : stream → Option (value × stream) + +/- Helper class for using dot-notation with `Stream`s -/ +structure StreamOf (ρ : Type u) where + s : ρ + +abbrev streamOf (s : ρ) := + StreamOf.mk s + +@[inline] partial def StreamOf.forIn [Stream ρ α] [Monad m] [Inhabited (m β)] (s : StreamOf ρ) (b : β) (f : α → β → m (ForInStep β)) : m β := do + let rec @[specialize] visit (s : ρ) (b : β) : m β := do + match Stream.next? s with + | some (a, s) => match (← f a b) with + | ForInStep.done b => return b + | ForInStep.yield b => visit s b + | none => return b + visit s.s b + +instance : ToStream (List α) (List α) where + toStream c := c + +instance : ToStream (Array α) (Subarray α) where + toStream a := a[:a.size] + +instance : ToStream (Subarray α) (Subarray α) where + toStream a := a + +instance : ToStream String Substring where + toStream s := s.toSubstring + +instance : ToStream Std.Range Std.Range where + toStream r := r + +instance [Stream ρ α] [Stream γ β] : Stream (ρ × γ) (α × β) where + next? | (s₁, s₂) => + match Stream.next? s₁ with + | none => none + | some (a, s₁) => match Stream.next? s₂ with + | none => none + | some (b, s₂) => some ((a, b), (s₁, s₂)) + +instance : Stream (List α) α where + next? + | [] => none + | a::as => some (a, as) + +instance : Stream (Subarray α) α where + next? s := + if h : s.start < s.stop then + have s.start + 1 ≤ s.stop from Nat.succLeOfLt h + some (s.as.get ⟨s.start, Nat.ltOfLtOfLe h s.h₂⟩, { s with start := s.start + 1, h₁ := this }) + else + none + +instance : Stream Std.Range Nat where + next? r := + if r.start < r.stop then + some (r.start, { r with start := r.start + r.step }) + else + none + +instance : Stream Substring Char where + next? s := + if s.startPos < s.stopPos then + some (s.str.get s.startPos, { s with startPos := s.str.next s.startPos }) + else + none diff --git a/stage0/src/Init/Data/ToString/Basic.lean b/stage0/src/Init/Data/ToString/Basic.lean index 01b4335bd3..a70a3fbbdd 100644 --- a/stage0/src/Init/Data/ToString/Basic.lean +++ b/stage0/src/Init/Data/ToString/Basic.lean @@ -27,7 +27,6 @@ instance {α} [ToString α] : ToString (id α) := instance {α} [ToString α] : ToString (Id α) := inferInstanceAs (ToString α) -@[defaultInstance low] instance : ToString String := ⟨fun s => s⟩ diff --git a/stage0/src/Init/Meta.lean b/stage0/src/Init/Meta.lean index da95e2a864..a5e9d492dc 100644 --- a/stage0/src/Init/Meta.lean +++ b/stage0/src/Init/Meta.lean @@ -21,8 +21,11 @@ def isLetterLike (c : Char) : Bool := (0x2100 ≤ c.val && c.val ≤ 0x214f) || -- Letter like block (0x1d49c ≤ c.val && c.val ≤ 0x1d59f) -- Latin letters, Script, Double-struck, Fractur +def isNumericSubscript (c : Char) : Bool := + 0x2080 ≤ c.val && c.val ≤ 0x2089 + def isSubScriptAlnum (c : Char) : Bool := - (0x2080 ≤ c.val && c.val ≤ 0x2089) || -- numeric subscripts + isNumericSubscript c || (0x2090 ≤ c.val && c.val ≤ 0x209c) || (0x1d62 ≤ c.val && c.val ≤ 0x1d6a) diff --git a/stage0/src/Lean/Elab/AutoBound.lean b/stage0/src/Lean/Elab/AutoBound.lean new file mode 100644 index 0000000000..d7313ea277 --- /dev/null +++ b/stage0/src/Lean/Elab/AutoBound.lean @@ -0,0 +1,35 @@ +/- +Copyright (c) 2020 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Data.Options + +/- Basic support for auto bound implicit local names -/ + +namespace Lean.Elab + +builtin_initialize + registerOption `autoBoundImplicitLocal { + defValue := true + group := "" + descr := "Unbound local variables in declaration headers become implicit arguments if they are a lower case or greek letter followed by numeric digits. For example, `def f (x : Vector α n) : Vector α n :=` automatically introduces the implicit variables {α n}" + } + +def getAutoBoundImplicitLocalOption (opts : Options) : Bool := + opts.get `autoBoundImplicitLocal true + +private def allNumeral (s : Substring) : Bool := + s.all fun c => c.isDigit || isNumericSubscript c + +def isValidAutoBoundImplicitName (n : Name) : Bool := + match n.eraseMacroScopes with + | Name.str Name.anonymous s _ => s.length > 0 && (isGreek s[0] || s[0].isLower) && allNumeral (s.toSubstring.drop 1) + | _ => false + +def isValidAutoBoundLevelName (n : Name) : Bool := + match n.eraseMacroScopes with + | Name.str Name.anonymous s _ => s.length > 0 && s[0].isLower && allNumeral (s.toSubstring.drop 1) + | _ => false + +end Lean.Elab diff --git a/stage0/src/Lean/Elab/Do.lean b/stage0/src/Lean/Elab/Do.lean index 67c97a58b0..df48ce3f3b 100644 --- a/stage0/src/Lean/Elab/Do.lean +++ b/stage0/src/Lean/Elab/Do.lean @@ -1297,34 +1297,39 @@ def doUnlessToCode (doSeqToCode : List Syntax → M CodeBlock) (doUnless : Synta /- Generate `CodeBlock` for `doFor; doElems` `doFor` is of the form ``` - for " >> termParser >> " in " >> termParser >> "do " >> doSeq + def doForDecl := parser! termParser >> " in " >> withForbidden "do" termParser + def doFor := parser! "for " >> sepBy1 doForDecl ", " >> "do " >> doSeq ``` -/ def doForToCode (doSeqToCode : List Syntax → M CodeBlock) (doFor : Syntax) (doElems : List Syntax) : M CodeBlock := do - let ref := doFor - let x := doFor[1] - let xs := doFor[3] - let forElems := getDoSeqElems doFor[5] - let forInBodyCodeBlock ← withFor (doSeqToCode forElems) - let ⟨uvars, forInBody⟩ ← mkForInBody x forInBodyCodeBlock - let uvarsTuple ← liftMacroM $ mkTuple ref (uvars.map (mkIdentFrom ref)) - if hasReturn forInBodyCodeBlock.code then - let forInTerm ← `($(xs).forIn (MProd.mk none $uvarsTuple) fun $x (MProd.mk _ $uvarsTuple) => $forInBody) - let auxDo ← `(do let r ← $forInTerm:term; - $uvarsTuple:term := r.2; - match r.1 with - | none => Pure.pure (ensureExpectedType! "type mismatch, 'for'" PUnit.unit) - | some a => return ensureExpectedType! "type mismatch, 'for'" a) - doSeqToCode (getDoSeqElems (getDoSeq auxDo) ++ doElems) + let doForDecls := doFor[1].getArgs + if doForDecls.size > 1 then + throwError! "parallel 'do' not implemented yet" else - let forInTerm ← `($(xs).forIn $uvarsTuple fun $x $uvarsTuple => $forInBody) - if doElems.isEmpty then + let ref := doFor + let x := doForDecls[0][0] + let xs := doForDecls[0][2] + let forElems := getDoSeqElems doFor[3] + let forInBodyCodeBlock ← withFor (doSeqToCode forElems) + let ⟨uvars, forInBody⟩ ← mkForInBody x forInBodyCodeBlock + let uvarsTuple ← liftMacroM $ mkTuple ref (uvars.map (mkIdentFrom ref)) + if hasReturn forInBodyCodeBlock.code then + let forInTerm ← `($(xs).forIn (MProd.mk none $uvarsTuple) fun $x (MProd.mk _ $uvarsTuple) => $forInBody) let auxDo ← `(do let r ← $forInTerm:term; - $uvarsTuple:term := r; - Pure.pure (ensureExpectedType! "type mismatch, 'for'" PUnit.unit)) - doSeqToCode $ getDoSeqElems (getDoSeq auxDo) - else - let auxDo ← `(do let r ← $forInTerm:term; $uvarsTuple:term := r) + $uvarsTuple:term := r.2; + match r.1 with + | none => Pure.pure (ensureExpectedType! "type mismatch, 'for'" PUnit.unit) + | some a => return ensureExpectedType! "type mismatch, 'for'" a) doSeqToCode (getDoSeqElems (getDoSeq auxDo) ++ doElems) + else + let forInTerm ← `($(xs).forIn $uvarsTuple fun $x $uvarsTuple => $forInBody) + if doElems.isEmpty then + let auxDo ← `(do let r ← $forInTerm:term; + $uvarsTuple:term := r; + Pure.pure (ensureExpectedType! "type mismatch, 'for'" PUnit.unit)) + doSeqToCode $ getDoSeqElems (getDoSeq auxDo) + else + let auxDo ← `(do let r ← $forInTerm:term; $uvarsTuple:term := r) + doSeqToCode (getDoSeqElems (getDoSeq auxDo) ++ doElems) /-- Generate `CodeBlock` for `doMatch; doElems` -/ def doMatchToCode (doSeqToCode : List Syntax → M CodeBlock) (doMatch : Syntax) (doElems: List Syntax) : M CodeBlock := do diff --git a/stage0/src/Lean/Elab/Level.lean b/stage0/src/Lean/Elab/Level.lean index 0e3cf61bff..6daa79ed3d 100644 --- a/stage0/src/Lean/Elab/Level.lean +++ b/stage0/src/Lean/Elab/Level.lean @@ -6,6 +6,7 @@ Authors: Leonardo de Moura import Lean.Meta.LevelDefEq import Lean.Elab.Exception import Lean.Elab.Log +import Lean.Elab.AutoBound namespace Lean.Elab.Level @@ -33,17 +34,11 @@ instance : MonadNameGenerator LevelElabM where setNGen ngen := modify fun s => { s with ngen := ngen } - def mkFreshLevelMVar : LevelElabM Level := do let mvarId ← mkFreshId modify fun s => { s with mctx := s.mctx.addLevelMVarDecl mvarId } return mkLevelMVar mvarId -private def isValidAutoBoundLevelName (n : Name) : Bool := - match n.eraseMacroScopes with - | Name.str Name.anonymous s _ => s.length == 1 && s[0].isLower - | _ => false - partial def elabLevel (stx : Syntax) : LevelElabM Level := withRef stx do let kind := stx.getKind if kind == `Lean.Parser.Level.paren then diff --git a/stage0/src/Lean/Elab/Quotation.lean b/stage0/src/Lean/Elab/Quotation.lean index 674b7bd8d5..9d83b9032a 100644 --- a/stage0/src/Lean/Elab/Quotation.lean +++ b/stage0/src/Lean/Elab/Quotation.lean @@ -13,7 +13,7 @@ import Lean.Elab.Quotation.Util import Lean.Parser.Term namespace Lean.Elab.Term.Quotation - +open Lean.Parser.Term open Lean.Syntax open Meta @@ -147,38 +147,47 @@ elabStxQuot! Parser.Term.dynamicQuot -- an "alternative" of patterns plus right-hand side private abbrev Alt := List Syntax × Syntax -/-- Information on a pattern's head that influences the compilation of a single - match step. -/ -structure BasicHeadInfo where - -- Node kind to match, if any - kind : Option SyntaxNodeKind := none - -- Nested patterns for each argument, if any. In a single match step, we only - -- check that the arity matches. The arity is usually implied by the node kind, - -- but not in the case of `many` nodes. - argPats : Option (Array Syntax) := none - -- Function to apply to the right-hand side in case the match succeeds. Used to - -- bind pattern variables. - rhsFn : Syntax → TermElabM Syntax := pure +/-- + In a single match step, we match the first discriminant against the "head" of the first pattern of the first + alternative. This datatype describes what kind of check this involves, which helps other patterns decide if + they are covered by the same check and don't have to be check again (see also `MatchResult`). -/ +inductive HeadCheck where + -- match step that always succeeds: _, x, `($x), ... + | unconditional + -- match step based on shape of discriminant + -- If `arity` is given, that amount of new discriminants is introduced. `covered` patterns should then introduce the + -- same amount of new patterns. + -- We actually check the arity at run time only in the case of `null` nodes since it should otherwise by implied by + -- the node kind. + -- without arity: `($x:k) + -- with arity: any quotation without an antiquotation head pattern + | shape (k : SyntaxNodeKind) (arity : Option Nat) + -- other, complicated match step that will probably only cover identical patterns + -- example: antiquotation splices `($[...]*) + | other (pat : Syntax) -inductive HeadInfo where - | basic (bhi : BasicHeadInfo) - | antiquotSplice (stx : Syntax) +open HeadCheck -open HeadInfo +/-- Describe whether a pattern is covered by a head check (induced by the pattern itself or a different pattern). -/ +inductive MatchResult where + -- Pattern agrees with head check, remove and transform remaining alternative. + -- If `exhaustive` is `false`, *also* include unchanged alternative in the "no" branch. + | covered (f : Alt → TermElabM Alt) (exhaustive : Bool) + -- Pattern disagrees with head check, include in "no" branch only + | uncovered + -- Pattern is not quite sure yet; include unchanged in both branches + | undecided -instance : Inhabited HeadInfo := ⟨basic {}⟩ +open MatchResult -/-- `h1.generalizes h2` iff h1 is equal to or more general than h2, i.e. it matches all nodes - h2 matches. This induces a partial ordering. -/ -def HeadInfo.generalizes : HeadInfo → HeadInfo → Bool - | basic { kind := none, .. }, _ => true - | basic { kind := some k1, argPats := none, .. }, - basic { kind := some k2, .. } => k1 == k2 - | basic { kind := some k1, argPats := some ps1, .. }, - basic { kind := some k2, argPats := some ps2, .. } => k1 == k2 && ps1.size == ps2.size - -- roughmost approximation for now - | antiquotSplice stx1, antiquotSplice stx2 => stx1 == stx2 - | _, _ => false +/-- All necessary information on a pattern head. -/ +structure HeadInfo where + -- check induced by the pattern + check : HeadCheck + -- compute compatibility of pattern with given head check + onMatch (taken : HeadCheck) : MatchResult + -- actually run the specified head check, with the discriminant bound to `discr` + doMatch (yes : (newDiscrs : List Syntax) → TermElabM Syntax) (no : TermElabM Syntax) : TermElabM Syntax partial def mkTuple : Array Syntax → TermElabM Syntax | #[] => `(Unit.unit) @@ -187,137 +196,167 @@ partial def mkTuple : Array Syntax → TermElabM Syntax let stx ← mkTuple (es.eraseIdx 0) `(Prod.mk $(es[0]) $stx) -private def getHeadInfo (alt : Alt) : HeadInfo := - let pat := alt.fst.head!; - let unconditional (rhsFn) := basic { rhsFn := rhsFn }; - -- variable pattern - if pat.isIdent then unconditional $ fun rhs => `(let $pat := discr; $rhs) - -- wildcard pattern - else if pat.isOfKind `Lean.Parser.Term.hole then unconditional pure +/-- 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) + | _, alt => alt + +private def adaptRhs (fn : Syntax → TermElabM Syntax) : Alt → TermElabM Alt + | (pats, rhs) => do (pats, ← fn rhs) + +private partial def getHeadInfo (alt : Alt) : TermElabM HeadInfo := + let pat := alt.fst.head! + let unconditionally (rhsFn) := pure { + check := unconditional, + doMatch := fun yes no => yes [], + onMatch := fun taken => covered (adaptRhs rhsFn ∘ noOpMatchAdaptPats taken) (match taken with | unconditional => true | _ => false) + } -- quotation pattern - else if isQuot pat then + if isQuot pat then let quoted := getQuotContent pat if quoted.isAtom then -- We assume that atoms are uniquely determined by the node kind and never have to be checked - unconditional pure + unconditionally pure else if isAntiquot quoted && !isEscapedAntiquot quoted then -- quotation contains a single antiquotation - let k := antiquotKind? quoted; + let k := antiquotKind? quoted |>.get! -- Antiquotation kinds like `$id:ident` influence the parser, but also need to be considered by - -- match (but not by quotation terms). For example, `($id:ident) and `($e) are not + -- `match` (but not by quotation terms). For example, `($id:ident) and `($e) are not -- distinguishable without checking the kind of the node to be captured. Note that some -- antiquotations like the latter one for terms do not correspond to any actual node kind -- (signified by `k == Name.anonymous`), so we would only check for `ident` here. -- -- if stx.isOfKind `ident then - -- let id := stx; ... + -- let id := stx; let e := stx; ... -- else -- let e := stx; ... - let kind := if k == Name.anonymous then none else k let anti := getAntiquotTerm quoted - if anti.isIdent then basic { kind := kind, rhsFn := fun rhs => `(let $anti := discr; $rhs) } - else unconditional fun _ => throwErrorAt! anti "match_syntax: antiquotation must be variable {anti}" - else if isAntiquotSuffixSplice quoted then unconditional $ fun _ => throwErrorAt quoted "unexpected antiquotation splice" - else if isAntiquotSplice quoted then unconditional $ fun _ => throwErrorAt quoted "unexpected antiquotation splice" + if anti.isIdent then + let rhsFn := (`(let $anti := discr; $(·))) + if k == Name.anonymous then unconditionally rhsFn else pure { + check := shape k none, + onMatch := fun + | taken@(shape k' sz) => + if k' == k then + covered (adaptRhs rhsFn ∘ noOpMatchAdaptPats taken) (exhaustive := sz.isNone) + else uncovered + | _ => uncovered, + doMatch := fun yes no => do `(if Syntax.isOfKind discr $(quote k) then $(← yes []) else $(← no)), + } + else throwErrorAt! anti "match_syntax: antiquotation must be variable {anti}" + else if isAntiquotSuffixSplice quoted then throwErrorAt quoted "unexpected antiquotation splice" + else if isAntiquotSplice quoted then throwErrorAt quoted "unexpected antiquotation splice" else if quoted.getArgs.size == 1 && isAntiquotSuffixSplice quoted[0] then let anti := getAntiquotTerm (getAntiquotSuffixSpliceInner quoted[0]) - unconditional fun rhs => match antiquotSuffixSplice? quoted[0] with + unconditionally fun rhs => match antiquotSuffixSplice? quoted[0] with | `optional => `(let $anti := Syntax.getOptional? discr; $rhs) | `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 - antiquotSplice quoted[0] + else if quoted.getArgs.size == 1 && isAntiquotSplice quoted[0] then pure { + check := other pat, + onMatch := fun + | other pat' => if pat' == pat then covered pure (exhaustive := true) else undecided + | _ => undecided, + doMatch := fun yes no => do + let splice := quoted[0] + let k := antiquotSpliceKind? splice + let contents := getAntiquotSpliceContents splice + let ids ← getAntiquotationIds splice + let yes ← yes [] + let no ← no + match k with + | `optional => + let mut yesMatch := yes + for id in ids do + yesMatch ← `(let $id := some $id; $yesMatch) + let mut yesNoMatch := yes + for id in ids do + yesNoMatch ← `(let $id := none; $yesNoMatch) + `(if discr.isNone then $yesNoMatch + else match discr with + | `($(mkNullNode contents)) => $yesMatch + | _ => $no) + | _ => + let mut discrs ← `(Syntax.getArgs discr) + if k == `sepBy then + discrs ← `(Array.getSepElems $discrs) + let tuple ← mkTuple ids + let mut yes := yes + let resId ← match ids with + | #[id] => id + | _ => + for i in [:ids.size] do + let idx := Syntax.mkLit fieldIdxKind (toString (i + 1)); + yes ← `(let $(ids[i]) := tuples.map (·.$idx:fieldIdx); $yes) + `(tuples) + `(match ($(discrs).sequenceMap fun + | `($(contents[0])) => some $tuple + | _ => none) with + | some $resId => $yes + | none => $no) + } else - -- not an antiquotation or escaped antiquotation: match head shape + -- not an antiquotation, or an escaped antiquotation: match head shape let quoted := unescapeAntiquot quoted + let kind := quoted.getKind let argPats := quoted.getArgs.map fun arg => Unhygienic.run `(`($(arg))) - basic { kind := quoted.getKind, argPats := argPats } - else - unconditional $ fun _ => throwErrorAt! pat "match_syntax: unexpected pattern kind {pat}" - --- Assuming that the first pattern of the alternative is taken, replace it with patterns (if any) for its --- child nodes. --- Ex: `($a + (- $b)) => `($a), `(+), `(- $b) --- Note: The atom pattern `(+) will be discarded in a later step -private def explodeHeadPat (numArgs : Nat) : HeadInfo × Alt → TermElabM Alt - | (basic info, (pat::pats, rhs)) => do - let newPats := match info.argPats with - | some argPats => argPats.toList - | none => List.replicate numArgs $ Unhygienic.run `(_) - let rhs ← info.rhsFn rhs - pure (newPats ++ pats, rhs) - | (antiquotSplice _, (pat::pats, rhs)) => (pats, rhs) - | _ => unreachable! + pure { + check := shape kind argPats.size, + onMatch := fun taken => + if (match taken with | shape k' sz => k' == kind && sz == argPats.size | _ => false : Bool) then + covered (fun (pats, rhs) => (argPats.toList ++ pats, rhs)) (exhaustive := true) + else + uncovered, + doMatch := fun yes no => do + let cond ← match kind with + | `null => `(and (Syntax.isOfKind discr $(quote kind)) (BEq.beq (Array.size (Syntax.getArgs discr)) $(quote argPats.size))) + | _ => `(Syntax.isOfKind discr $(quote kind)) + let newDiscrs ← (List.range argPats.size).mapM fun i => `(Syntax.getArg discr $(quote i)) + `(ite (Eq $cond true) $(← yes newDiscrs) $(← no)) + } + else match pat with + | `(_) => unconditionally pure + | `($id:ident) => unconditionally (`(let $id := discr; $(·))) + | `($id:ident@$pat) => do + let info ← getHeadInfo (pat::alt.1.tail!, alt.2) + { info with onMatch := fun taken => match info.onMatch taken with + | covered f exh => covered (fun alt => f alt >>= adaptRhs (`(let $id := discr; $(·)))) exh + | r => r } + | _ => throwErrorAt! pat "match_syntax: unexpected pattern kind {pat}" private partial def compileStxMatch (discrs : List Syntax) (alts : List Alt) : TermElabM Syntax := do trace[Elab.match_syntax]! "match {discrs} with {alts}" match discrs, alts with | [], ([], rhs)::_ => pure rhs -- nothing left to match | _, [] => throwError "non-exhaustive 'match_syntax'" - | discr::discrs, alts => do - let alts := (alts.map getHeadInfo).zip alts; - let (info, alt) := alts.head! - -- introduce pattern matches on the discriminant's children if there are any nested patterns - let newDiscrs ← match info with - | basic { argPats := some pats, .. } => (List.range pats.size).mapM fun i => `(Syntax.getArg discr $(quote i)) - | _ => pure [] - -- collect matching alternatives and explode them - let yesAlts := alts.filter fun (alt : HeadInfo × Alt) => alt.1.generalizes info - let yesAlts ← yesAlts.mapM $ explodeHeadPat newDiscrs.length - -- NOTE: use fresh macro scopes for recursive call so that different `discr`s introduced by the quotations below do not collide - let yes ← withFreshMacroScope $ compileStxMatch (newDiscrs ++ discrs) yesAlts - let mkNo := do - let noAlts := (alts.filter $ fun (alt : HeadInfo × Alt) => !info.generalizes alt.1).map (·.2) - withFreshMacroScope $ compileStxMatch (discr::discrs) noAlts - match info with - -- unconditional match step - | basic { kind := none, .. } => `(let discr := $discr; $yes) - -- conditional match step - | basic { kind := some kind, argPats := pats, .. } => - let cond ← match kind, pats with - | `null, some pats => `(and (Syntax.isOfKind discr $(quote kind)) (BEq.beq (Array.size (Syntax.getArgs discr)) $(quote pats.size))) - | _, _ => `(Syntax.isOfKind discr $(quote kind)) - let no ← mkNo - `(let discr := $discr; ite (Eq $cond true) $yes $no) - -- terrifying match step - | antiquotSplice splice => - let k := antiquotSpliceKind? splice - let contents := getAntiquotSpliceContents splice - let ids ← getAntiquotationIds splice - let no ← mkNo - match k with - | `optional => - let mut yesMatch := yes - for id in ids do - yesMatch ← `(let $id := some $id; $yesMatch) - let mut yesNoMatch := yes - for id in ids do - yesNoMatch ← `(let $id := none; $yesNoMatch) - `(let discr := $discr; - if discr.isNone then $yesNoMatch - else match discr with - | `($(mkNullNode contents)) => $yesMatch - | _ => $no) - | _ => - let mut discrs ← `(Syntax.getArgs $discr) - if k == `sepBy then - discrs ← `(Array.getSepElems $discrs) - let tuple ← mkTuple ids - let mut yes := yes - let resId ← match ids with - | #[id] => id - | _ => - for i in [:ids.size] do - let idx := Syntax.mkLit fieldIdxKind (toString (i + 1)); - yes ← `(let $(ids[i]) := tuples.map (·.$idx:fieldIdx); $yes) - `(tuples) - `(match ($(discrs).sequenceMap fun - | `($(contents[0])) => some $tuple - | _ => none) with - | some $resId => $yes - | none => $no) + | discr::discrs, alt::alts => do + let info ← getHeadInfo alt + let pat := alt.1.head! + let alts ← (alt::alts).mapM fun alt => do ((← getHeadInfo alt).onMatch info.check, alt) + let m ← info.doMatch + (yes := fun newDiscrs => do + let mut yesAlts ← alts.filterMapM fun + | (covered f _, (_::pats, rhs)) => some <$> f (pats, rhs) + | _ => pure none + let undecidedAlts := alts.filterMap fun + | (undecided, alt) => some alt + | _ => none + if !undecidedAlts.isEmpty then + -- group undecided alternatives in a new default case `| discr2, ... => match discr, discr2, ... with ...` + let vars ← discrs.mapM fun _ => withFreshMacroScope `(discr) + let pats := List.replicate newDiscrs.length (Unhygienic.run `(_)) ++ vars + let alts ← undecidedAlts.toArray.mapM fun alt => `(matchAltExpr| | $(alt.1.toArray),* => $(alt.2)) + let rhs ← `(match discr, $[$(vars.toArray):term],* with $alts:matchAlt*) + yesAlts := yesAlts ++ [(pats, rhs)] + withFreshMacroScope $ compileStxMatch (newDiscrs ++ discrs) yesAlts) + (no := do + let nonExhaustiveAlts := alts.filterMap fun + | (covered f (exhaustive := true), alt) => none + | (_, alt) => some alt + withFreshMacroScope $ compileStxMatch (discr::discrs) nonExhaustiveAlts) + `(let discr := $discr; $m) | _, _ => unreachable! -- Transform alternatives by binding all right-hand sides to outside the match in order to prevent @@ -344,7 +383,9 @@ def match_syntax.expand (stx : Syntax) : TermElabM Syntax := do match stx with | `(match $[$discrs:term],* with $[| $[$patss],* => $rhss]*) => do -- letBindRhss ... - if patss.all (·.all (!·.isQuot)) then + if !patss.any (·.any (fun + | `($id@$pat) => pat.isQuot + | pat => pat.isQuot)) then -- no quotations => fall back to regular `match` throwUnsupportedSyntax let stx ← compileStxMatch discrs.toList (patss.map (·.toList) |>.zip rhss).toList diff --git a/stage0/src/Lean/Elab/Quotation/Util.lean b/stage0/src/Lean/Elab/Quotation/Util.lean index d07ba19929..e47a1d76b9 100644 --- a/stage0/src/Lean/Elab/Quotation/Util.lean +++ b/stage0/src/Lean/Elab/Quotation/Util.lean @@ -24,10 +24,10 @@ partial def getAntiquotationIds : Syntax → TermElabM (Array Syntax) := partial def getPatternVars (stx : Syntax) : TermElabM (Array Syntax) := if stx.isQuot then getAntiquotationIds stx - else if stx.isIdent then - #[stx] - else - throwErrorAt stx "unsupported pattern in syntax match" + else match stx with + | `($id:ident) => #[id] + | `($id:ident@$e) => do (← getPatternVars e).push id + | _ => throwErrorAt stx "unsupported pattern in syntax match" partial def getPatternsVars (pats : Array Syntax) : TermElabM (Array Syntax) := pats.foldlM (fun vars pat => do return vars ++ (← getPatternVars pat)) #[] diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index 11d1577e8a..7827c250a4 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -16,6 +16,7 @@ import Lean.Util.RecDepth import Lean.Elab.Log import Lean.Elab.Level import Lean.Elab.Attributes +import Lean.Elab.AutoBound namespace Lean.Elab.Term /- @@ -297,16 +298,6 @@ def withLevelNames {α} (levelNames : List Name) (x : TermElabM α) : TermElabM def withoutErrToSorry {α} (x : TermElabM α) : TermElabM α := withReader (fun ctx => { ctx with errToSorry := false }) x -builtin_initialize - registerOption `autoBoundImplicitLocal { - defValue := true - group := "" - descr := "Unbound local variables in declaration headers become implicit arguments if they are a lower case or greek letter. For example, `def f (x : Vector α n) : Vector α n :=` automatically introduces the implicit variables {α n}" - } - -private def getAutoBoundImplicitLocalOption (opts : Options) : Bool := - opts.get `autoBoundImplicitLocal true - /-- Execute `x` with `autoBoundImplicit = (options.get `autoBoundImplicitLocal) && flag` -/ def withAutoBoundImplicitLocal {α} (x : TermElabM α) (flag := true) : TermElabM α := do let flag := getAutoBoundImplicitLocalOption (← getOptions) && flag @@ -1217,11 +1208,6 @@ private def mkConsts (candidates : List (Name × List String)) (explicitLevels : let const ← mkConst constName explicitLevels pure $ (const, projs) :: result -def isValidAutoBoundImplicitName (n : Name) : Bool := - match n.eraseMacroScopes with - | Name.str Name.anonymous s _ => s.length == 1 && (isGreek s[0] || s[0].isLower) - | _ => false - def resolveName (n : Name) (preresolved : List (Name × List String)) (explicitLevels : List Level) : TermElabM (List (Expr × List String)) := do match (← resolveLocalName n) with | some (e, projs) => diff --git a/stage0/src/Lean/Meta/SynthInstance.lean b/stage0/src/Lean/Meta/SynthInstance.lean index b445b7cd6e..bcabf3619d 100644 --- a/stage0/src/Lean/Meta/SynthInstance.lean +++ b/stage0/src/Lean/Meta/SynthInstance.lean @@ -562,6 +562,7 @@ def synthInstance? (type : Expr) (maxResultSize? : Option Nat := none) : MetaM ( trace[Meta.synthInstance]! "FOUND result {result}" let result ← instantiateMVars result if (← hasAssignableMVar result) then + trace[Meta.synthInstance]! "Failed has assignable mvar {result.setOption `pp.all true}" pure none else pure (some result) @@ -574,6 +575,7 @@ def synthInstance? (type : Expr) (maxResultSize? : Option Nat := none) : MetaM ( let result ← instantiateMVars result pure (some result) else + trace[Meta.synthInstance]! "result type{indentExpr resultType}\nis not definitionally equal to{indentExpr type}" pure none if type.hasMVar then pure result? diff --git a/stage0/src/Lean/Parser/Do.lean b/stage0/src/Lean/Parser/Do.lean index 60e5cb6670..1f63b3ba59 100644 --- a/stage0/src/Lean/Parser/Do.lean +++ b/stage0/src/Lean/Parser/Do.lean @@ -83,7 +83,8 @@ def elseIf := atomic (group (withPosition (" else " >> checkLineEq >> " if "))) >> many (checkColGe "'else if' in 'do' must be indented" >> group (elseIf >> optIdent >> termParser >> " then " >> doSeq)) >> optional (checkColGe "'else' in 'do' must be indented" >> " else " >> doSeq) @[builtinDoElemParser] def doUnless := parser! "unless " >> withForbidden "do" termParser >> "do " >> doSeq -@[builtinDoElemParser] def doFor := parser! "for " >> termParser >> " in " >> withForbidden "do" termParser >> "do " >> doSeq +def doForDecl := parser! termParser >> " in " >> withForbidden "do" termParser +@[builtinDoElemParser] def doFor := parser! "for " >> sepBy1 doForDecl ", " >> "do " >> doSeq def doMatchAlts := matchAlts (rhsParser := doSeq) @[builtinDoElemParser] def doMatch := parser!:leadPrec "match " >> sepBy1 matchDiscr ", " >> optType >> " with " >> doMatchAlts @@ -114,7 +115,7 @@ parser is succeeding. /- macros for using `unless`, `for`, `try`, `return` as terms. They expand into `do unless ...`, `do for ...`, `do try ...`, and `do return ...` -/ @[builtinTermParser] def termUnless := parser! "unless " >> withForbidden "do" termParser >> "do " >> doSeq -@[builtinTermParser] def termFor := parser! "for " >> termParser >> " in " >> withForbidden "do" termParser >> "do " >> doSeq +@[builtinTermParser] def termFor := parser! "for " >> sepBy1 doForDecl ", " >> "do " >> doSeq @[builtinTermParser] def termTry := parser! "try " >> doSeq >> many (doCatch <|> doCatchMatch) >> optional doFinally @[builtinTermParser] def termReturn := parser!:leadPrec withPosition ("return " >> optional (checkLineEq >> termParser)) diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index cb8357f6df..0874918f52 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/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/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/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 ) diff --git a/stage0/stdlib/Init/Data.c b/stage0/stdlib/Init/Data.c index 4c54ea558f..bd129d68d2 100644 --- a/stage0/stdlib/Init/Data.c +++ b/stage0/stdlib/Init/Data.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data -// Imports: Init.Data.Basic Init.Data.Nat Init.Data.Char Init.Data.String Init.Data.List Init.Data.Int Init.Data.Array Init.Data.ByteArray Init.Data.FloatArray Init.Data.Fin Init.Data.UInt Init.Data.Float Init.Data.Option Init.Data.Random Init.Data.ToString Init.Data.Range Init.Data.Hashable Init.Data.OfScientific Init.Data.Format +// Imports: Init.Data.Basic Init.Data.Nat Init.Data.Char Init.Data.String Init.Data.List Init.Data.Int Init.Data.Array Init.Data.ByteArray Init.Data.FloatArray Init.Data.Fin Init.Data.UInt Init.Data.Float Init.Data.Option Init.Data.Random Init.Data.ToString Init.Data.Range Init.Data.Hashable Init.Data.OfScientific Init.Data.Format Init.Data.Stream #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -32,6 +32,7 @@ lean_object* initialize_Init_Data_Range(lean_object*); lean_object* initialize_Init_Data_Hashable(lean_object*); lean_object* initialize_Init_Data_OfScientific(lean_object*); lean_object* initialize_Init_Data_Format(lean_object*); +lean_object* initialize_Init_Data_Stream(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Data(lean_object* w) { lean_object * res; @@ -94,6 +95,9 @@ lean_dec_ref(res); res = initialize_Init_Data_Format(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Data_Stream(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/Stream.c b/stage0/stdlib/Init/Data/Stream.c new file mode 100644 index 0000000000..7c3c581ac1 --- /dev/null +++ b/stage0/stdlib/Init/Data/Stream.c @@ -0,0 +1,1078 @@ +// Lean compiler output +// Module: Init.Data.Stream +// Imports: Init.Data.Array.Subarray Init.Data.Range +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_instStreamList(lean_object*); +lean_object* l_StreamOf_forIn(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_instStreamProdProd_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_instToStreamArraySubarray(lean_object*); +lean_object* l_instToStreamRangeRange(lean_object*); +lean_object* l_instStreamProdProd_match__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +lean_object* l_StreamOf_forIn_visit(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_instStreamProdProd_match__1___rarg(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_StreamOf_forIn_visit_match__1(lean_object*, lean_object*); +lean_object* lean_string_utf8_next(lean_object*, lean_object*); +lean_object* l_instStreamList___rarg(lean_object*); +lean_object* l_streamOf(lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_instStreamSubstringChar(lean_object*); +lean_object* l_instStreamSubarray(lean_object*); +lean_object* l_instStreamSubarray___rarg(lean_object*); +lean_object* l_StreamOf_forIn_visit_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_instToStreamStringSubstring(lean_object*); +lean_object* l_instToStreamSubarraySubarray(lean_object*); +lean_object* l_instStreamList_match__1(lean_object*, lean_object*); +lean_object* l_instToStreamListList___rarg___boxed(lean_object*); +lean_object* l_instStreamRangeNat(lean_object*); +uint32_t lean_string_utf8_get(lean_object*, lean_object*); +lean_object* l_instToStreamSubarraySubarray___rarg(lean_object*); +lean_object* l_instStreamProdProd_match__3___rarg(lean_object*, lean_object*); +lean_object* l_instToStreamListList___rarg(lean_object*); +lean_object* l_instStreamList___rarg___boxed(lean_object*); +lean_object* l_instToStreamListList(lean_object*); +lean_object* l_StreamOf_forIn_visit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_instStreamList_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_StreamOf_forIn_visit_match__2(lean_object*, lean_object*, lean_object*); +lean_object* l_instStreamProdProd_match__3(lean_object*, lean_object*, lean_object*); +lean_object* l_streamOf___rarg(lean_object*); +lean_object* l_instStreamProdProd___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_streamOf___rarg___boxed(lean_object*); +lean_object* l_instToStreamRangeRange___boxed(lean_object*); +lean_object* l_instStreamProdProd_match__1(lean_object*, lean_object*, lean_object*); +lean_object* l_StreamOf_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_StreamOf_forIn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_StreamOf_forIn_visit_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_instToStreamArraySubarray___rarg(lean_object*); +lean_object* l_StreamOf_forIn_visit___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_instToStreamSubarraySubarray___rarg___boxed(lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_instStreamProdProd(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_streamOf___rarg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +lean_object* l_streamOf(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_streamOf___rarg___boxed), 1, 0); +return x_2; +} +} +lean_object* l_streamOf___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_streamOf___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_StreamOf_forIn_visit_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +} +} +lean_object* l_StreamOf_forIn_visit_match__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_StreamOf_forIn_visit_match__1___rarg), 3, 0); +return x_3; +} +} +lean_object* l_StreamOf_forIn_visit_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +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_apply_2(x_2, x_7, x_8); +return x_9; +} +} +} +lean_object* l_StreamOf_forIn_visit_match__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_StreamOf_forIn_visit_match__2___rarg), 3, 0); +return x_4; +} +} +lean_object* l_StreamOf_forIn_visit___rarg___lambda__1(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_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_6); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = l_StreamOf_forIn_visit___rarg(x_2, x_1, x_3, x_4, x_10); +return x_11; +} +} +} +lean_object* l_StreamOf_forIn_visit___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_inc(x_1); +x_6 = lean_apply_1(x_1, x_4); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +lean_dec(x_1); +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +lean_dec(x_2); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_2, 1); +lean_inc(x_13); +lean_inc(x_3); +x_14 = lean_apply_2(x_3, x_11, x_5); +x_15 = lean_alloc_closure((void*)(l_StreamOf_forIn_visit___rarg___lambda__1), 5, 4); +lean_closure_set(x_15, 0, x_2); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_3); +lean_closure_set(x_15, 3, x_12); +x_16 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_14, x_15); +return x_16; +} +} +} +lean_object* l_StreamOf_forIn_visit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_alloc_closure((void*)(l_StreamOf_forIn_visit___rarg), 5, 0); +return x_5; +} +} +lean_object* l_StreamOf_forIn___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_StreamOf_forIn_visit___rarg(x_1, x_2, x_6, x_4, x_5); +return x_7; +} +} +lean_object* l_StreamOf_forIn(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_alloc_closure((void*)(l_StreamOf_forIn___rarg___boxed), 6, 0); +return x_5; +} +} +lean_object* l_StreamOf_forIn___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_StreamOf_forIn___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +return x_7; +} +} +lean_object* l_instToStreamListList___rarg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +lean_object* l_instToStreamListList(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_instToStreamListList___rarg___boxed), 1, 0); +return x_2; +} +} +lean_object* l_instToStreamListList___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_instToStreamListList___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_instToStreamArraySubarray___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Array_toSubarray___rarg(x_1, x_3, x_2); +return x_4; +} +} +lean_object* l_instToStreamArraySubarray(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_instToStreamArraySubarray___rarg), 1, 0); +return x_2; +} +} +lean_object* l_instToStreamSubarraySubarray___rarg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +lean_object* l_instToStreamSubarraySubarray(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_instToStreamSubarraySubarray___rarg___boxed), 1, 0); +return x_2; +} +} +lean_object* l_instToStreamSubarraySubarray___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_instToStreamSubarraySubarray___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_instToStreamStringSubstring(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_string_utf8_byte_size(x_1); +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 2, x_2); +return x_4; +} +} +lean_object* l_instToStreamRangeRange(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +lean_object* l_instToStreamRangeRange___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_instToStreamRangeRange(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_instStreamProdProd_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_apply_2(x_3, x_7, x_8); +return x_9; +} +} +} +lean_object* l_instStreamProdProd_match__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_instStreamProdProd_match__1___rarg), 3, 0); +return x_4; +} +} +lean_object* l_instStreamProdProd_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_apply_2(x_3, x_7, x_8); +return x_9; +} +} +} +lean_object* l_instStreamProdProd_match__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_instStreamProdProd_match__2___rarg), 3, 0); +return x_4; +} +} +lean_object* l_instStreamProdProd_match__3___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_instStreamProdProd_match__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_instStreamProdProd_match__3___rarg), 2, 0); +return x_4; +} +} +lean_object* l_instStreamProdProd___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_apply_1(x_1, x_5); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; +lean_free_object(x_3); +lean_dec(x_6); +lean_dec(x_2); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +x_13 = lean_apply_1(x_2, x_6); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +lean_free_object(x_9); +lean_dec(x_12); +lean_dec(x_11); +lean_free_object(x_3); +x_14 = lean_box(0); +return x_14; +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_13, 0); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +lean_ctor_set(x_16, 1, x_18); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_9, 1, x_19); +lean_ctor_set(x_9, 0, x_12); +lean_ctor_set(x_3, 1, x_9); +lean_ctor_set(x_3, 0, x_16); +lean_ctor_set(x_13, 0, x_3); +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_16, 0); +x_21 = lean_ctor_get(x_16, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_16); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_11); +lean_ctor_set(x_22, 1, x_20); +lean_ctor_set(x_9, 1, x_21); +lean_ctor_set(x_9, 0, x_12); +lean_ctor_set(x_3, 1, x_9); +lean_ctor_set(x_3, 0, x_22); +lean_ctor_set(x_13, 0, x_3); +return x_13; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_13, 0); +lean_inc(x_23); +lean_dec(x_13); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_26 = x_23; +} else { + lean_dec_ref(x_23); + x_26 = lean_box(0); +} +if (lean_is_scalar(x_26)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_26; +} +lean_ctor_set(x_27, 0, x_11); +lean_ctor_set(x_27, 1, x_24); +lean_ctor_set(x_9, 1, x_25); +lean_ctor_set(x_9, 0, x_12); +lean_ctor_set(x_3, 1, x_9); +lean_ctor_set(x_3, 0, x_27); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_3); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_9, 0); +x_30 = lean_ctor_get(x_9, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_9); +x_31 = lean_apply_1(x_2, x_6); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; +lean_dec(x_30); +lean_dec(x_29); +lean_free_object(x_3); +x_32 = lean_box(0); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_33 = lean_ctor_get(x_31, 0); +lean_inc(x_33); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + x_34 = x_31; +} else { + lean_dec_ref(x_31); + x_34 = lean_box(0); +} +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_37 = x_33; +} else { + lean_dec_ref(x_33); + x_37 = lean_box(0); +} +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_37; +} +lean_ctor_set(x_38, 0, x_29); +lean_ctor_set(x_38, 1, x_35); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_30); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_3, 1, x_39); +lean_ctor_set(x_3, 0, x_38); +if (lean_is_scalar(x_34)) { + x_40 = lean_alloc_ctor(1, 1, 0); +} else { + x_40 = x_34; +} +lean_ctor_set(x_40, 0, x_3); +return x_40; +} +} +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_3, 0); +x_42 = lean_ctor_get(x_3, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_3); +x_43 = lean_apply_1(x_1, x_41); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; +lean_dec(x_42); +lean_dec(x_2); +x_44 = lean_box(0); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_43, 0); +lean_inc(x_45); +lean_dec(x_43); +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); +} +x_49 = lean_apply_1(x_2, x_42); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; +lean_dec(x_48); +lean_dec(x_47); +lean_dec(x_46); +x_50 = lean_box(0); +return x_50; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + x_52 = x_49; +} else { + lean_dec_ref(x_49); + x_52 = lean_box(0); +} +x_53 = lean_ctor_get(x_51, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_55 = x_51; +} else { + lean_dec_ref(x_51); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_46); +lean_ctor_set(x_56, 1, x_53); +if (lean_is_scalar(x_48)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_48; +} +lean_ctor_set(x_57, 0, x_47); +lean_ctor_set(x_57, 1, x_54); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +if (lean_is_scalar(x_52)) { + x_59 = lean_alloc_ctor(1, 1, 0); +} else { + x_59 = x_52; +} +lean_ctor_set(x_59, 0, x_58); +return x_59; +} +} +} +} +} +lean_object* l_instStreamProdProd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_alloc_closure((void*)(l_instStreamProdProd___rarg), 3, 0); +return x_5; +} +} +lean_object* l_instStreamList_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_apply_2(x_3, x_6, x_7); +return x_8; +} +} +} +lean_object* l_instStreamList_match__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_instStreamList_match__1___rarg), 3, 0); +return x_3; +} +} +lean_object* l_instStreamList___rarg(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_inc(x_3); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +} +lean_object* l_instStreamList(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_instStreamList___rarg___boxed), 1, 0); +return x_2; +} +} +lean_object* l_instStreamList___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_instStreamList___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_instStreamSubarray___rarg(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = !lean_is_exclusive(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); +x_5 = lean_ctor_get(x_1, 2); +x_6 = lean_nat_dec_lt(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_free_object(x_1); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_7 = lean_box(0); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_array_fget(x_3, x_4); +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_4, x_9); +lean_dec(x_4); +lean_ctor_set(x_1, 1, x_10); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_8); +lean_ctor_set(x_11, 1, x_1); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +x_15 = lean_ctor_get(x_1, 2); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_1); +x_16 = lean_nat_dec_lt(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_17 = lean_box(0); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_array_fget(x_13, x_14); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_14, x_19); +lean_dec(x_14); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_13); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_21, 2, x_15); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_18); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +return x_23; +} +} +} +} +lean_object* l_instStreamSubarray(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_instStreamSubarray___rarg), 1, 0); +return x_2; +} +} +lean_object* l_instStreamRangeNat(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = !lean_is_exclusive(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); +x_5 = lean_ctor_get(x_1, 2); +x_6 = lean_nat_dec_lt(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; +lean_free_object(x_1); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_7 = lean_box(0); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_nat_add(x_3, x_5); +lean_ctor_set(x_1, 0, x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_3); +lean_ctor_set(x_9, 1, x_1); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_1, 0); +x_12 = lean_ctor_get(x_1, 1); +x_13 = lean_ctor_get(x_1, 2); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_1); +x_14 = lean_nat_dec_lt(x_11, x_12); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_15 = lean_box(0); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_nat_add(x_11, x_13); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_12); +lean_ctor_set(x_17, 2, x_13); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +} +} +} +lean_object* l_instStreamSubstringChar(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = !lean_is_exclusive(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); +x_5 = lean_ctor_get(x_1, 2); +x_6 = lean_nat_dec_lt(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_free_object(x_1); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_7 = lean_box(0); +return x_7; +} +else +{ +uint32_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_string_utf8_get(x_3, x_4); +x_9 = lean_string_utf8_next(x_3, x_4); +lean_dec(x_4); +lean_ctor_set(x_1, 1, x_9); +x_10 = lean_box_uint32(x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +x_15 = lean_ctor_get(x_1, 2); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_1); +x_16 = lean_nat_dec_lt(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_17 = lean_box(0); +return x_17; +} +else +{ +uint32_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_string_utf8_get(x_13, x_14); +x_19 = lean_string_utf8_next(x_13, x_14); +lean_dec(x_14); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set(x_20, 2, x_15); +x_21 = lean_box_uint32(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +return x_23; +} +} +} +} +lean_object* initialize_Init_Data_Array_Subarray(lean_object*); +lean_object* initialize_Init_Data_Range(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Init_Data_Stream(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Data_Array_Subarray(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_Range(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/Init/Meta.c b/stage0/stdlib/Init/Meta.c index 06e4d5690a..15894af7fe 100644 --- a/stage0/stdlib/Init/Meta.c +++ b/stage0/stdlib/Init/Meta.c @@ -235,6 +235,7 @@ lean_object* l_Lean_Syntax_copyInfo(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_isNumericSubscript(uint32_t); lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStrChunks_match__1(lean_object*); @@ -325,6 +326,7 @@ lean_object* l_Lean_Syntax_copyTailInfo___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); lean_object* l_Lean_Name_appendBefore_match__1(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isNumericSubscript___boxed(lean_object*); lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptionalIdent_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_termEvalPrec_x21_____closed__5; @@ -542,12 +544,12 @@ lean_object* l___private_Init_Meta_0__Lean_quoteList_match__1___rarg(lean_object lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_monadNameGeneratorLift___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4038_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4157_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4388_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4290_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4507_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_3940_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4042_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4161_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4392_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4294_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4511_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_3944_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__1; lean_object* l_Lean_Syntax_decodeQuotedChar_match__5(lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -881,87 +883,99 @@ x_4 = lean_box(x_3); return x_4; } } +uint8_t l_Lean_isNumericSubscript(uint32_t x_1) { +_start: +{ +uint32_t x_2; uint8_t x_3; +x_2 = 8320; +x_3 = x_2 <= x_1; +if (x_3 == 0) +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +else +{ +uint32_t x_5; uint8_t x_6; +x_5 = 8329; +x_6 = x_1 <= x_5; +return x_6; +} +} +} +lean_object* l_Lean_isNumericSubscript___boxed(lean_object* x_1) { +_start: +{ +uint32_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_3 = l_Lean_isNumericSubscript(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} uint8_t l_Lean_isSubScriptAlnum(uint32_t x_1) { _start: { -uint32_t x_2; lean_object* x_3; uint8_t x_20; -x_2 = 8320; -x_20 = x_2 <= x_1; -if (x_20 == 0) +uint8_t x_2; +x_2 = l_Lean_isNumericSubscript(x_1); +if (x_2 == 0) { -lean_object* x_21; -x_21 = lean_box(0); -x_3 = x_21; -goto block_19; +uint32_t x_3; uint8_t x_4; +x_3 = 8336; +x_4 = x_3 <= x_1; +if (x_4 == 0) +{ +uint32_t x_5; uint8_t x_6; +x_5 = 7522; +x_6 = x_5 <= x_1; +if (x_6 == 0) +{ +uint8_t x_7; +x_7 = 0; +return x_7; } else { -uint32_t x_22; uint8_t x_23; -x_22 = 8329; -x_23 = x_1 <= x_22; -if (x_23 == 0) -{ -lean_object* x_24; -x_24 = lean_box(0); -x_3 = x_24; -goto block_19; -} -else -{ -uint8_t x_25; -x_25 = 1; -return x_25; -} -} -block_19: -{ -uint32_t x_4; uint8_t x_5; -lean_dec(x_3); -x_4 = 8336; -x_5 = x_4 <= x_1; -if (x_5 == 0) -{ -uint32_t x_6; uint8_t x_7; -x_6 = 7522; -x_7 = x_6 <= x_1; -if (x_7 == 0) -{ -uint8_t x_8; -x_8 = 0; -return x_8; -} -else -{ -uint32_t x_9; uint8_t x_10; -x_9 = 7530; -x_10 = x_1 <= x_9; -return x_10; +uint32_t x_8; uint8_t x_9; +x_8 = 7530; +x_9 = x_1 <= x_8; +return x_9; } } else { -uint32_t x_11; uint8_t x_12; -x_11 = 8348; -x_12 = x_1 <= x_11; -if (x_12 == 0) +uint32_t x_10; uint8_t x_11; +x_10 = 8348; +x_11 = x_1 <= x_10; +if (x_11 == 0) { -uint32_t x_13; uint8_t x_14; -x_13 = 7522; -x_14 = x_13 <= x_1; -if (x_14 == 0) +uint32_t x_12; uint8_t x_13; +x_12 = 7522; +x_13 = x_12 <= x_1; +if (x_13 == 0) { -uint8_t x_15; -x_15 = 0; -return x_15; +uint8_t x_14; +x_14 = 0; +return x_14; } else { -uint32_t x_16; uint8_t x_17; -x_16 = 7530; -x_17 = x_1 <= x_16; +uint32_t x_15; uint8_t x_16; +x_15 = 7530; +x_16 = x_1 <= x_15; +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = 1; return x_17; } } +} else { uint8_t x_18; @@ -970,8 +984,6 @@ return x_18; } } } -} -} lean_object* l_Lean_isSubScriptAlnum___boxed(lean_object* x_1) { _start: { @@ -8046,7 +8058,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Syntax_strLitToAtom___closed__1; x_2 = l_Lean_Syntax_strLitToAtom___closed__2; -x_3 = lean_unsigned_to_nat(556u); +x_3 = lean_unsigned_to_nat(559u); x_4 = lean_unsigned_to_nat(14u); 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); @@ -9883,7 +9895,7 @@ return x_75; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_3940_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_3944_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10010,7 +10022,7 @@ return x_38; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4038_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4042_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10221,7 +10233,7 @@ x_1 = l_Lean_termEvalPrec_x21_____closed__7; return x_1; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4157_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4161_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10673,7 +10685,7 @@ return x_75; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4290_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4294_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10800,7 +10812,7 @@ return x_38; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4388_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4392_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -11011,7 +11023,7 @@ x_1 = l_Lean_termEvalPrio_x21_____closed__7; return x_1; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4507_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4511_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; diff --git a/stage0/stdlib/Lean/Elab/AutoBound.c b/stage0/stdlib/Lean/Elab/AutoBound.c new file mode 100644 index 0000000000..42e7e7960d --- /dev/null +++ b/stage0/stdlib/Lean/Elab/AutoBound.c @@ -0,0 +1,532 @@ +// Lean compiler output +// Module: Lean.Elab.AutoBound +// Imports: Init Lean.Data.Options +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +uint8_t l_Lean_Elab_getAutoBoundImplicitLocalOption(lean_object*); +lean_object* lean_erase_macro_scopes(lean_object*); +lean_object* lean_name_mk_string(lean_object*, lean_object*); +uint8_t l_Lean_Elab_isValidAutoBoundImplicitName(lean_object*); +uint8_t l_String_anyAux_loop(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Char_isDigit(uint32_t); +extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; +lean_object* l_Lean_Elab_isValidAutoBoundLevelName_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Lean_Elab_isValidAutoBoundImplicitName_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__3; +uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); +lean_object* l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___lambda__1___boxed(lean_object*); +uint8_t l_Lean_isNumericSubscript(uint32_t); +uint8_t l_Char_isLower(uint32_t); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__1; +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__2; +lean_object* l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___closed__1; +uint32_t lean_string_utf8_get(lean_object*, lean_object*); +extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3; +lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral(lean_object*); +lean_object* l_Lean_Elab_isValidAutoBoundImplicitName_match__1(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__4; +lean_object* l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___boxed(lean_object*); +uint8_t l_Lean_Elab_isValidAutoBoundLevelName(lean_object*); +lean_object* l_Lean_Elab_isValidAutoBoundImplicitName___boxed(lean_object*); +uint8_t l_Lean_isGreek(uint32_t); +uint8_t l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___lambda__1(uint32_t); +lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3_(lean_object*); +lean_object* l_Lean_Elab_isValidAutoBoundLevelName_match__1(lean_object*); +lean_object* lean_string_length(lean_object*); +lean_object* l_Lean_Elab_isValidAutoBoundLevelName___boxed(lean_object*); +lean_object* l_Lean_Elab_getAutoBoundImplicitLocalOption___boxed(lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("autoBoundImplicitLocal"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Unbound local variables in declaration headers become implicit arguments if they are a lower case or greek letter followed by numeric digits. For example, `def f (x : Vector α n) : Vector α n :=` automatically introduces the implicit variables {α n}"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____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_Data_Options___hyg_487____closed__3; +x_2 = l_Lean_instInhabitedParserDescr___closed__1; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____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* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__2; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__4; +x_4 = lean_register_option(x_2, x_3, x_1); +return x_4; +} +} +uint8_t l_Lean_Elab_getAutoBoundImplicitLocalOption(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__2; +x_3 = 1; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_Elab_getAutoBoundImplicitLocalOption___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_getAutoBoundImplicitLocalOption(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +uint8_t l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___lambda__1(uint32_t x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_Char_isDigit(x_1); +if (x_2 == 0) +{ +uint8_t x_3; +x_3 = l_Lean_isNumericSubscript(x_1); +if (x_3 == 0) +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +else +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +} +else +{ +uint8_t x_6; +x_6 = 0; +return x_6; +} +} +} +static lean_object* _init_l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___lambda__1___boxed), 1, 0); +return x_1; +} +} +uint8_t l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 2); +lean_inc(x_4); +lean_dec(x_1); +x_5 = l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___closed__1; +x_6 = l_String_anyAux_loop(x_2, x_4, x_5, x_3); +lean_dec(x_4); +lean_dec(x_2); +if (x_6 == 0) +{ +uint8_t x_7; +x_7 = 1; +return x_7; +} +else +{ +uint8_t x_8; +x_8 = 0; +return x_8; +} +} +} +lean_object* l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___lambda__1___boxed(lean_object* x_1) { +_start: +{ +uint32_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_3 = l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___lambda__1(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_isValidAutoBoundImplicitName_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_usize(x_1, 2); +lean_dec(x_1); +x_7 = lean_box_usize(x_6); +x_8 = lean_apply_2(x_2, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_4); +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +else +{ +lean_object* x_10; +lean_dec(x_2); +x_10 = lean_apply_1(x_3, x_1); +return x_10; +} +} +} +lean_object* l_Lean_Elab_isValidAutoBoundImplicitName_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_isValidAutoBoundImplicitName_match__1___rarg), 3, 0); +return x_2; +} +} +uint8_t l_Lean_Elab_isValidAutoBoundImplicitName(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_erase_macro_scopes(x_1); +if (lean_obj_tag(x_2) == 1) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_string_length(x_4); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_nat_dec_lt(x_6, x_5); +lean_dec(x_5); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec(x_4); +x_8 = 0; +return x_8; +} +else +{ +uint32_t x_9; uint8_t x_10; +x_9 = lean_string_utf8_get(x_4, x_6); +x_10 = l_Lean_isGreek(x_9); +if (x_10 == 0) +{ +uint8_t x_11; +x_11 = l_Char_isLower(x_9); +if (x_11 == 0) +{ +uint8_t x_12; +lean_dec(x_4); +x_12 = 0; +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_13 = lean_string_utf8_byte_size(x_4); +lean_inc(x_13); +lean_inc(x_4); +x_14 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_14, 0, x_4); +lean_ctor_set(x_14, 1, x_6); +lean_ctor_set(x_14, 2, x_13); +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Substring_nextn(x_14, x_15, x_6); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_4); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_13); +x_18 = l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral(x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_19 = lean_string_utf8_byte_size(x_4); +lean_inc(x_19); +lean_inc(x_4); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_4); +lean_ctor_set(x_20, 1, x_6); +lean_ctor_set(x_20, 2, x_19); +x_21 = lean_unsigned_to_nat(1u); +x_22 = l_Substring_nextn(x_20, x_21, x_6); +lean_dec(x_20); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_4); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_19); +x_24 = l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral(x_23); +return x_24; +} +} +} +else +{ +uint8_t x_25; +lean_dec(x_3); +lean_dec(x_2); +x_25 = 0; +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_2); +x_26 = 0; +return x_26; +} +} +} +lean_object* l_Lean_Elab_isValidAutoBoundImplicitName___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_isValidAutoBoundImplicitName(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_isValidAutoBoundLevelName_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_usize(x_1, 2); +lean_dec(x_1); +x_7 = lean_box_usize(x_6); +x_8 = lean_apply_2(x_2, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_4); +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +else +{ +lean_object* x_10; +lean_dec(x_2); +x_10 = lean_apply_1(x_3, x_1); +return x_10; +} +} +} +lean_object* l_Lean_Elab_isValidAutoBoundLevelName_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_isValidAutoBoundLevelName_match__1___rarg), 3, 0); +return x_2; +} +} +uint8_t l_Lean_Elab_isValidAutoBoundLevelName(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_erase_macro_scopes(x_1); +if (lean_obj_tag(x_2) == 1) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_string_length(x_4); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_nat_dec_lt(x_6, x_5); +lean_dec(x_5); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec(x_4); +x_8 = 0; +return x_8; +} +else +{ +uint32_t x_9; uint8_t x_10; +x_9 = lean_string_utf8_get(x_4, x_6); +x_10 = l_Char_isLower(x_9); +if (x_10 == 0) +{ +uint8_t x_11; +lean_dec(x_4); +x_11 = 0; +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = lean_string_utf8_byte_size(x_4); +lean_inc(x_12); +lean_inc(x_4); +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_6); +lean_ctor_set(x_13, 2, x_12); +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Substring_nextn(x_13, x_14, x_6); +lean_dec(x_13); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_4); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set(x_16, 2, x_12); +x_17 = l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral(x_16); +return x_17; +} +} +} +else +{ +uint8_t x_18; +lean_dec(x_3); +lean_dec(x_2); +x_18 = 0; +return x_18; +} +} +else +{ +uint8_t x_19; +lean_dec(x_2); +x_19 = 0; +return x_19; +} +} +} +lean_object* l_Lean_Elab_isValidAutoBoundLevelName___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_isValidAutoBoundLevelName(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Data_Options(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_AutoBound(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_Data_Options(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__4(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__4); +res = l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___closed__1 = _init_l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index a2c5660571..05e69e63b4 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -772,7 +772,7 @@ lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__3(lean_object*, lea lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1___boxed(lean_object*); extern lean_object* l_Lean_Parser_Tactic_match___closed__1; -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24304_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24325_(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS___closed__3; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__3; extern lean_object* l_termIf_____x3a__Then__Else_____closed__12; @@ -848,6 +848,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn_match__1(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13; lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_mkReassignCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1203,6 +1204,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__6; extern lean_object* l_myMacro____x40_Init_Notation___hyg_12387____closed__9; +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_toTerm_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedTerm(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*); @@ -40470,29 +40472,60 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("parallel 'do' not implemented yet"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_12 = lean_unsigned_to_nat(1u); x_13 = l_Lean_Syntax_getArg(x_2, x_12); -x_14 = lean_unsigned_to_nat(3u); -x_15 = l_Lean_Syntax_getArg(x_2, x_14); -x_16 = lean_unsigned_to_nat(5u); -x_17 = l_Lean_Syntax_getArg(x_2, x_16); -x_18 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_17); -x_19 = lean_ctor_get(x_4, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_4, 1); -lean_inc(x_20); -x_21 = lean_ctor_get(x_4, 2); -lean_inc(x_21); -x_22 = 1; -x_23 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_23, 0, x_19); -lean_ctor_set(x_23, 1, x_20); -lean_ctor_set(x_23, 2, x_21); -lean_ctor_set_uint8(x_23, sizeof(void*)*3, x_22); +x_14 = l_Lean_Syntax_getArgs(x_13); +lean_dec(x_13); +x_15 = lean_array_get_size(x_14); +x_16 = lean_nat_dec_lt(x_12, x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; +x_17 = l_Lean_instInhabitedSyntax; +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_array_get(x_17, x_14, x_18); +lean_dec(x_14); +x_20 = l_Lean_Syntax_getArg(x_19, x_18); +x_21 = lean_unsigned_to_nat(2u); +x_22 = l_Lean_Syntax_getArg(x_19, x_21); +lean_dec(x_19); +x_23 = lean_unsigned_to_nat(3u); +x_24 = l_Lean_Syntax_getArg(x_2, x_23); +x_25 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_24); +x_26 = lean_ctor_get(x_4, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_4, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_4, 2); +lean_inc(x_28); +x_29 = 1; +x_30 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_30, 0, x_26); +lean_ctor_set(x_30, 1, x_27); +lean_ctor_set(x_30, 2, x_28); +lean_ctor_set_uint8(x_30, sizeof(void*)*3, x_29); lean_inc(x_1); lean_inc(x_10); lean_inc(x_9); @@ -40500,888 +40533,888 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_24 = lean_apply_9(x_1, x_18, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_24) == 0) +x_31 = lean_apply_9(x_1, x_25, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); lean_inc(x_9); lean_inc(x_4); -lean_inc(x_25); -x_27 = l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); -if (lean_obj_tag(x_27) == 0) +lean_inc(x_32); +x_34 = l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_469; size_t x_470; size_t 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; uint8_t x_499; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_ctor_get(x_28, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_dec(x_28); -x_469 = lean_array_get_size(x_30); -x_470 = lean_usize_of_nat(x_469); -lean_dec(x_469); -x_471 = 0; -x_472 = x_30; -x_473 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___spec__1(x_2, x_470, x_471, x_472); -x_474 = x_473; -x_475 = lean_st_ref_get(x_10, x_29); -x_476 = lean_ctor_get(x_475, 0); -lean_inc(x_476); -x_477 = lean_ctor_get(x_475, 1); -lean_inc(x_477); -lean_dec(x_475); -x_478 = lean_ctor_get(x_476, 0); -lean_inc(x_478); +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_476; size_t x_477; size_t x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; 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; uint8_t x_506; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_476 = lean_array_get_size(x_37); +x_477 = lean_usize_of_nat(x_476); lean_dec(x_476); -x_479 = lean_ctor_get(x_9, 3); -lean_inc(x_479); -x_480 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_477); -x_481 = lean_ctor_get(x_480, 0); -lean_inc(x_481); -x_482 = lean_ctor_get(x_480, 1); -lean_inc(x_482); -lean_dec(x_480); -x_483 = lean_ctor_get(x_9, 1); +x_478 = 0; +x_479 = x_37; +x_480 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___spec__1(x_2, x_477, x_478, x_479); +x_481 = x_480; +x_482 = lean_st_ref_get(x_10, x_36); +x_483 = lean_ctor_get(x_482, 0); lean_inc(x_483); -x_484 = lean_ctor_get(x_9, 2); +x_484 = lean_ctor_get(x_482, 1); lean_inc(x_484); -x_485 = lean_st_ref_get(x_10, x_482); -x_486 = lean_ctor_get(x_485, 0); +lean_dec(x_482); +x_485 = lean_ctor_get(x_483, 0); +lean_inc(x_485); +lean_dec(x_483); +x_486 = lean_ctor_get(x_9, 3); lean_inc(x_486); -x_487 = lean_ctor_get(x_485, 1); -lean_inc(x_487); -lean_dec(x_485); -x_488 = lean_ctor_get(x_486, 1); +x_487 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_484); +x_488 = lean_ctor_get(x_487, 0); lean_inc(x_488); -lean_dec(x_486); -lean_inc(x_478); -x_489 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_489, 0, x_478); -x_490 = x_489; -x_491 = lean_environment_main_module(x_478); -x_492 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_492, 0, x_490); -lean_ctor_set(x_492, 1, x_491); -lean_ctor_set(x_492, 2, x_481); -lean_ctor_set(x_492, 3, x_483); -lean_ctor_set(x_492, 4, x_484); -lean_ctor_set(x_492, 5, x_479); -x_493 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(x_2, x_474, x_492, x_488); -x_494 = lean_ctor_get(x_493, 0); +x_489 = lean_ctor_get(x_487, 1); +lean_inc(x_489); +lean_dec(x_487); +x_490 = lean_ctor_get(x_9, 1); +lean_inc(x_490); +x_491 = lean_ctor_get(x_9, 2); +lean_inc(x_491); +x_492 = lean_st_ref_get(x_10, x_489); +x_493 = lean_ctor_get(x_492, 0); +lean_inc(x_493); +x_494 = lean_ctor_get(x_492, 1); lean_inc(x_494); +lean_dec(x_492); x_495 = lean_ctor_get(x_493, 1); lean_inc(x_495); lean_dec(x_493); -x_496 = lean_st_ref_take(x_10, x_487); -x_497 = lean_ctor_get(x_496, 0); -lean_inc(x_497); -x_498 = lean_ctor_get(x_496, 1); -lean_inc(x_498); -lean_dec(x_496); -x_499 = !lean_is_exclusive(x_497); -if (x_499 == 0) -{ -lean_object* x_500; lean_object* x_501; lean_object* x_502; -x_500 = lean_ctor_get(x_497, 1); -lean_dec(x_500); -lean_ctor_set(x_497, 1, x_495); -x_501 = lean_st_ref_set(x_10, x_497, x_498); -x_502 = lean_ctor_get(x_501, 1); +lean_inc(x_485); +x_496 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_496, 0, x_485); +x_497 = x_496; +x_498 = lean_environment_main_module(x_485); +x_499 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_499, 0, x_497); +lean_ctor_set(x_499, 1, x_498); +lean_ctor_set(x_499, 2, x_488); +lean_ctor_set(x_499, 3, x_490); +lean_ctor_set(x_499, 4, x_491); +lean_ctor_set(x_499, 5, x_486); +x_500 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(x_2, x_481, x_499, x_495); +x_501 = lean_ctor_get(x_500, 0); +lean_inc(x_501); +x_502 = lean_ctor_get(x_500, 1); lean_inc(x_502); -lean_dec(x_501); -x_32 = x_494; -x_33 = x_502; -goto block_468; +lean_dec(x_500); +x_503 = lean_st_ref_take(x_10, x_494); +x_504 = lean_ctor_get(x_503, 0); +lean_inc(x_504); +x_505 = lean_ctor_get(x_503, 1); +lean_inc(x_505); +lean_dec(x_503); +x_506 = !lean_is_exclusive(x_504); +if (x_506 == 0) +{ +lean_object* x_507; lean_object* x_508; lean_object* x_509; +x_507 = lean_ctor_get(x_504, 1); +lean_dec(x_507); +lean_ctor_set(x_504, 1, x_502); +x_508 = lean_st_ref_set(x_10, x_504, x_505); +x_509 = lean_ctor_get(x_508, 1); +lean_inc(x_509); +lean_dec(x_508); +x_39 = x_501; +x_40 = x_509; +goto block_475; } else { -lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; -x_503 = lean_ctor_get(x_497, 0); -x_504 = lean_ctor_get(x_497, 2); -x_505 = lean_ctor_get(x_497, 3); -lean_inc(x_505); -lean_inc(x_504); -lean_inc(x_503); -lean_dec(x_497); -x_506 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_506, 0, x_503); -lean_ctor_set(x_506, 1, x_495); -lean_ctor_set(x_506, 2, x_504); -lean_ctor_set(x_506, 3, x_505); -x_507 = lean_st_ref_set(x_10, x_506, x_498); -x_508 = lean_ctor_get(x_507, 1); -lean_inc(x_508); -lean_dec(x_507); -x_32 = x_494; -x_33 = x_508; -goto block_468; +lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; +x_510 = lean_ctor_get(x_504, 0); +x_511 = lean_ctor_get(x_504, 2); +x_512 = lean_ctor_get(x_504, 3); +lean_inc(x_512); +lean_inc(x_511); +lean_inc(x_510); +lean_dec(x_504); +x_513 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_513, 0, x_510); +lean_ctor_set(x_513, 1, x_502); +lean_ctor_set(x_513, 2, x_511); +lean_ctor_set(x_513, 3, x_512); +x_514 = lean_st_ref_set(x_10, x_513, x_505); +x_515 = lean_ctor_get(x_514, 1); +lean_inc(x_515); +lean_dec(x_514); +x_39 = x_501; +x_40 = x_515; +goto block_475; } -block_468: +block_475: { -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_25, 0); -lean_inc(x_34); -lean_dec(x_25); -x_35 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_34); -lean_dec(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 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; uint8_t x_76; -x_36 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_33); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_38); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_32, 0); lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Array_empty___closed__1; -x_43 = lean_array_push(x_42, x_15); -x_44 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__7; -x_45 = lean_array_push(x_43, x_44); -x_46 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; -x_47 = l_Lean_addMacroScope(x_40, x_46, x_37); -x_48 = lean_box(0); -x_49 = l_Lean_instInhabitedSourceInfo___closed__1; -x_50 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; -x_51 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -lean_ctor_set(x_51, 2, x_47); -lean_ctor_set(x_51, 3, x_48); -x_52 = lean_array_push(x_45, x_51); -x_53 = l_Lean_Parser_Term_proj___elambda__1___closed__1; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_42, x_54); -lean_inc(x_32); -x_56 = lean_array_push(x_42, x_32); -x_57 = lean_array_push(x_42, x_13); -x_58 = lean_array_push(x_57, x_32); -x_59 = l_Lean_nullKind___closed__2; -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = lean_array_push(x_42, x_60); -x_62 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; -x_63 = lean_array_push(x_61, x_62); -x_64 = lean_array_push(x_63, x_31); -x_65 = l_myMacro____x40_Init_Notation___hyg_11259____closed__15; -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = l_myMacro____x40_Init_Notation___hyg_11259____closed__13; -x_68 = lean_array_push(x_67, x_66); -x_69 = l_myMacro____x40_Init_Notation___hyg_11259____closed__11; -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -lean_inc(x_56); -x_71 = lean_array_push(x_56, x_70); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_59); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_array_push(x_55, x_72); -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 = l_List_isEmpty___rarg(x_3); -if (x_76 == 0) +lean_dec(x_32); +x_42 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_41); +lean_dec(x_41); +if (x_42 == 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; 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; -x_77 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_41); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_79); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; -x_84 = l_Lean_addMacroScope(x_81, x_83, x_78); -x_85 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_86 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_86, 0, x_49); -lean_ctor_set(x_86, 1, x_85); -lean_ctor_set(x_86, 2, x_84); -lean_ctor_set(x_86, 3, x_48); +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; uint8_t x_83; +x_43 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_40); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l_Array_empty___closed__1; +x_50 = lean_array_push(x_49, x_22); +x_51 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__7; +x_52 = lean_array_push(x_50, x_51); +x_53 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; +x_54 = l_Lean_addMacroScope(x_47, x_53, x_44); +x_55 = lean_box(0); +x_56 = l_Lean_instInhabitedSourceInfo___closed__1; +x_57 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; +x_58 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_54); +lean_ctor_set(x_58, 3, x_55); +x_59 = lean_array_push(x_52, x_58); +x_60 = l_Lean_Parser_Term_proj___elambda__1___closed__1; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = lean_array_push(x_49, x_61); +lean_inc(x_39); +x_63 = lean_array_push(x_49, x_39); +x_64 = lean_array_push(x_49, x_20); +x_65 = lean_array_push(x_64, x_39); +x_66 = l_Lean_nullKind___closed__2; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = lean_array_push(x_49, x_67); +x_69 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; +x_70 = lean_array_push(x_68, x_69); +x_71 = lean_array_push(x_70, x_38); +x_72 = l_myMacro____x40_Init_Notation___hyg_11259____closed__15; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = l_myMacro____x40_Init_Notation___hyg_11259____closed__13; +x_75 = lean_array_push(x_74, x_73); +x_76 = l_myMacro____x40_Init_Notation___hyg_11259____closed__11; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +lean_inc(x_63); +x_78 = lean_array_push(x_63, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_66); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_array_push(x_62, 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 = l_List_isEmpty___rarg(x_3); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_84 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_48); +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_array_push(x_42, x_86); -x_88 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_89 = lean_array_push(x_87, x_88); -x_90 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_91 = lean_array_push(x_89, x_90); -x_92 = lean_array_push(x_42, x_75); -x_93 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__10; -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_92); -x_95 = lean_array_push(x_91, x_94); -x_96 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -x_98 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__1; -x_99 = lean_array_push(x_98, x_97); -x_100 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +lean_dec(x_84); +x_87 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; +x_91 = l_Lean_addMacroScope(x_88, x_90, x_85); +x_92 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_93 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_93, 0, x_56); +lean_ctor_set(x_93, 1, x_92); +lean_ctor_set(x_93, 2, x_91); +lean_ctor_set(x_93, 3, x_55); +lean_inc(x_93); +x_94 = lean_array_push(x_49, x_93); +x_95 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_96 = lean_array_push(x_94, x_95); +x_97 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_98 = lean_array_push(x_96, x_97); +x_99 = lean_array_push(x_49, x_82); +x_100 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__10; x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_100); lean_ctor_set(x_101, 1, x_99); -x_102 = lean_array_push(x_42, x_101); -x_103 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_104 = lean_array_push(x_102, x_103); -x_105 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__8; -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_104); -x_107 = lean_array_push(x_42, x_106); -x_108 = lean_array_push(x_56, x_88); -x_109 = lean_array_push(x_108, x_88); -x_110 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_102 = lean_array_push(x_98, x_101); +x_103 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__1; +x_106 = lean_array_push(x_105, x_104); +x_107 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_106); +x_109 = lean_array_push(x_49, x_108); +x_110 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; x_111 = lean_array_push(x_109, x_110); -x_112 = lean_array_push(x_111, x_86); -x_113 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__2; -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_112); -x_115 = lean_array_push(x_42, x_114); -x_116 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_115); -x_118 = lean_array_push(x_42, x_117); -x_119 = lean_array_push(x_118, x_88); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_105); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_array_push(x_107, x_120); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_59); -lean_ctor_set(x_122, 1, x_121); -x_123 = lean_array_push(x_42, x_122); -x_124 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__6; -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -x_126 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__4; -x_127 = lean_array_push(x_126, x_125); -x_128 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__2; +x_112 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__8; +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_111); +x_114 = lean_array_push(x_49, x_113); +x_115 = lean_array_push(x_63, x_95); +x_116 = lean_array_push(x_115, x_95); +x_117 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_118 = lean_array_push(x_116, x_117); +x_119 = lean_array_push(x_118, x_93); +x_120 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__2; +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +x_122 = lean_array_push(x_49, x_121); +x_123 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +x_125 = lean_array_push(x_49, x_124); +x_126 = lean_array_push(x_125, x_95); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_112); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_114, x_127); x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = l_Lean_Syntax_getArg(x_129, x_12); -lean_dec(x_129); -x_131 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_130); -x_132 = l_List_append___rarg(x_131, x_3); -x_133 = lean_apply_9(x_1, x_132, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_82); -return x_133; +lean_ctor_set(x_129, 0, x_66); +lean_ctor_set(x_129, 1, x_128); +x_130 = lean_array_push(x_49, x_129); +x_131 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__6; +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +x_133 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__4; +x_134 = lean_array_push(x_133, x_132); +x_135 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__2; +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = l_Lean_Syntax_getArg(x_136, x_12); +lean_dec(x_136); +x_138 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_137); +x_139 = l_List_append___rarg(x_138, x_3); +x_140 = lean_apply_9(x_1, x_139, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_89); +return x_140; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; 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_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_dec(x_3); -x_134 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_41); -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_10, x_136); -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_137, 1); -lean_inc(x_139); -lean_dec(x_137); -x_140 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; -lean_inc(x_135); -lean_inc(x_138); -x_141 = l_Lean_addMacroScope(x_138, x_140, x_135); -x_142 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_143 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_143, 0, x_49); -lean_ctor_set(x_143, 1, x_142); -lean_ctor_set(x_143, 2, x_141); -lean_ctor_set(x_143, 3, x_48); +x_141 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_48); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); lean_inc(x_143); -x_144 = lean_array_push(x_42, x_143); -x_145 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_146 = lean_array_push(x_144, x_145); -x_147 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_148 = lean_array_push(x_146, x_147); -x_149 = lean_array_push(x_42, x_75); -x_150 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__10; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = lean_array_push(x_148, x_151); -x_153 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_152); -x_155 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__1; -x_156 = lean_array_push(x_155, x_154); -x_157 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +lean_dec(x_141); +x_144 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_143); +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +lean_dec(x_144); +x_147 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; +lean_inc(x_142); +lean_inc(x_145); +x_148 = l_Lean_addMacroScope(x_145, x_147, x_142); +x_149 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_150 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_150, 0, x_56); +lean_ctor_set(x_150, 1, x_149); +lean_ctor_set(x_150, 2, x_148); +lean_ctor_set(x_150, 3, x_55); +lean_inc(x_150); +x_151 = lean_array_push(x_49, x_150); +x_152 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_153 = lean_array_push(x_151, x_152); +x_154 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_155 = lean_array_push(x_153, x_154); +x_156 = lean_array_push(x_49, x_82); +x_157 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__10; x_158 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_158, 0, x_157); lean_ctor_set(x_158, 1, x_156); -x_159 = lean_array_push(x_42, x_158); -x_160 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_161 = lean_array_push(x_159, x_160); -x_162 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__8; -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_161); -x_164 = lean_array_push(x_42, x_163); -x_165 = lean_array_push(x_56, x_145); -x_166 = lean_array_push(x_165, x_145); -x_167 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_159 = lean_array_push(x_155, x_158); +x_160 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_159); +x_162 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__1; +x_163 = lean_array_push(x_162, x_161); +x_164 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_163); +x_166 = lean_array_push(x_49, x_165); +x_167 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; x_168 = lean_array_push(x_166, x_167); -x_169 = lean_array_push(x_168, x_143); -x_170 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__2; -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -x_172 = lean_array_push(x_42, x_171); -x_173 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -x_175 = lean_array_push(x_42, x_174); -x_176 = lean_array_push(x_175, x_160); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_162); -lean_ctor_set(x_177, 1, x_176); -x_178 = lean_array_push(x_164, x_177); -x_179 = l_Lean_Meta_mkPure___rarg___closed__4; -lean_inc(x_135); -lean_inc(x_138); -x_180 = l_Lean_addMacroScope(x_138, x_179, x_135); -x_181 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__3; -x_182 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__2; -x_183 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_183, 0, x_49); -lean_ctor_set(x_183, 1, x_181); -lean_ctor_set(x_183, 2, x_180); -lean_ctor_set(x_183, 3, x_182); -x_184 = lean_array_push(x_42, x_183); -x_185 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__5; -x_186 = l_Lean_addMacroScope(x_138, x_185, x_135); -x_187 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_188 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; -x_189 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_189, 0, x_49); -lean_ctor_set(x_189, 1, x_187); -lean_ctor_set(x_189, 2, x_186); -lean_ctor_set(x_189, 3, x_188); -x_190 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; -x_191 = lean_array_push(x_190, x_189); -x_192 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___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_42, x_193); -x_195 = lean_array_push(x_194, x_145); -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_59); -lean_ctor_set(x_196, 1, x_195); -x_197 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; +x_169 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__8; +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_168); +x_171 = lean_array_push(x_49, x_170); +x_172 = lean_array_push(x_63, x_152); +x_173 = lean_array_push(x_172, x_152); +x_174 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_175 = lean_array_push(x_173, x_174); +x_176 = lean_array_push(x_175, x_150); +x_177 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__2; +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_176); +x_179 = lean_array_push(x_49, x_178); +x_180 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_179); +x_182 = lean_array_push(x_49, x_181); +x_183 = lean_array_push(x_182, x_167); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_169); +lean_ctor_set(x_184, 1, x_183); +x_185 = lean_array_push(x_171, x_184); +x_186 = l_Lean_Meta_mkPure___rarg___closed__4; +lean_inc(x_142); +lean_inc(x_145); +x_187 = l_Lean_addMacroScope(x_145, x_186, x_142); +x_188 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__3; +x_189 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__2; +x_190 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_190, 0, x_56); +lean_ctor_set(x_190, 1, x_188); +lean_ctor_set(x_190, 2, x_187); +lean_ctor_set(x_190, 3, x_189); +x_191 = lean_array_push(x_49, x_190); +x_192 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__5; +x_193 = l_Lean_addMacroScope(x_145, x_192, x_142); +x_194 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_195 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; +x_196 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_196, 0, x_56); +lean_ctor_set(x_196, 1, x_194); +lean_ctor_set(x_196, 2, x_193); +lean_ctor_set(x_196, 3, x_195); +x_197 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; x_198 = lean_array_push(x_197, x_196); -x_199 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_200 = lean_array_push(x_198, x_199); -x_201 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_200); -x_203 = lean_array_push(x_42, x_202); -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_59); -lean_ctor_set(x_204, 1, x_203); -x_205 = lean_array_push(x_184, x_204); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_74); -lean_ctor_set(x_206, 1, x_205); -x_207 = lean_array_push(x_42, x_206); -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_150); -lean_ctor_set(x_208, 1, x_207); -x_209 = lean_array_push(x_42, x_208); -x_210 = lean_array_push(x_209, x_145); +x_199 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = lean_array_push(x_49, x_200); +x_202 = lean_array_push(x_201, x_152); +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_66); +lean_ctor_set(x_203, 1, x_202); +x_204 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; +x_205 = lean_array_push(x_204, x_203); +x_206 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; +x_207 = lean_array_push(x_205, x_206); +x_208 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_208); +lean_ctor_set(x_209, 1, x_207); +x_210 = lean_array_push(x_49, x_209); x_211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_211, 0, x_162); +lean_ctor_set(x_211, 0, x_66); lean_ctor_set(x_211, 1, x_210); -x_212 = lean_array_push(x_178, x_211); +x_212 = lean_array_push(x_191, x_211); x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_59); +lean_ctor_set(x_213, 0, x_81); lean_ctor_set(x_213, 1, x_212); -x_214 = lean_array_push(x_42, x_213); -x_215 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__6; -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_215); -lean_ctor_set(x_216, 1, x_214); -x_217 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__4; -x_218 = lean_array_push(x_217, x_216); -x_219 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__2; +x_214 = lean_array_push(x_49, x_213); +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_157); +lean_ctor_set(x_215, 1, x_214); +x_216 = lean_array_push(x_49, x_215); +x_217 = lean_array_push(x_216, x_152); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_169); +lean_ctor_set(x_218, 1, x_217); +x_219 = lean_array_push(x_185, x_218); x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_219); -lean_ctor_set(x_220, 1, x_218); -x_221 = l_Lean_Syntax_getArg(x_220, x_12); -lean_dec(x_220); -x_222 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_221); -x_223 = lean_apply_9(x_1, x_222, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_139); -return x_223; +lean_ctor_set(x_220, 0, x_66); +lean_ctor_set(x_220, 1, x_219); +x_221 = lean_array_push(x_49, x_220); +x_222 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__6; +x_223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_221); +x_224 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__4; +x_225 = lean_array_push(x_224, x_223); +x_226 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____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 = l_Lean_Syntax_getArg(x_227, x_12); +lean_dec(x_227); +x_229 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_228); +x_230 = lean_apply_9(x_1, x_229, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_146); +return x_230; } } else { -lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; -x_224 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_33); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); -x_227 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_226); -x_228 = lean_ctor_get(x_227, 0); -lean_inc(x_228); -x_229 = lean_ctor_get(x_227, 1); -lean_inc(x_229); -lean_dec(x_227); -x_230 = l_Array_empty___closed__1; -x_231 = lean_array_push(x_230, x_15); -x_232 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__7; -x_233 = lean_array_push(x_231, x_232); -x_234 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; -lean_inc(x_225); -lean_inc(x_228); -x_235 = l_Lean_addMacroScope(x_228, x_234, x_225); -x_236 = lean_box(0); -x_237 = l_Lean_instInhabitedSourceInfo___closed__1; -x_238 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; -x_239 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_239, 0, x_237); -lean_ctor_set(x_239, 1, x_238); -lean_ctor_set(x_239, 2, x_235); -lean_ctor_set(x_239, 3, x_236); -x_240 = lean_array_push(x_233, x_239); -x_241 = l_Lean_Parser_Term_proj___elambda__1___closed__1; -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_240); -x_243 = lean_array_push(x_230, x_242); -x_244 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__6; -lean_inc(x_225); -lean_inc(x_228); -x_245 = l_Lean_addMacroScope(x_228, x_244, x_225); -x_246 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_247 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__2; -x_248 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_248, 0, x_237); -lean_ctor_set(x_248, 1, x_246); -lean_ctor_set(x_248, 2, x_245); -lean_ctor_set(x_248, 3, x_247); -x_249 = lean_array_push(x_230, x_248); -x_250 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__12; -x_251 = l_Lean_addMacroScope(x_228, x_250, x_225); -x_252 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__11; -x_253 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__14; -x_254 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_254, 0, x_237); -lean_ctor_set(x_254, 1, x_252); -lean_ctor_set(x_254, 2, x_251); -lean_ctor_set(x_254, 3, x_253); -x_255 = lean_array_push(x_230, x_254); -lean_inc(x_32); -x_256 = lean_array_push(x_255, x_32); -x_257 = l_Lean_nullKind___closed__2; -x_258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_256); -lean_inc(x_249); -x_259 = lean_array_push(x_249, x_258); -x_260 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_260); +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; 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; +x_231 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_40); +x_232 = lean_ctor_get(x_231, 0); +lean_inc(x_232); +x_233 = lean_ctor_get(x_231, 1); +lean_inc(x_233); +lean_dec(x_231); +x_234 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_233); +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_234, 1); +lean_inc(x_236); +lean_dec(x_234); +x_237 = l_Array_empty___closed__1; +x_238 = lean_array_push(x_237, x_22); +x_239 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__7; +x_240 = lean_array_push(x_238, x_239); +x_241 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; +lean_inc(x_232); +lean_inc(x_235); +x_242 = l_Lean_addMacroScope(x_235, x_241, x_232); +x_243 = lean_box(0); +x_244 = l_Lean_instInhabitedSourceInfo___closed__1; +x_245 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; +x_246 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_246, 0, x_244); +lean_ctor_set(x_246, 1, x_245); +lean_ctor_set(x_246, 2, x_242); +lean_ctor_set(x_246, 3, x_243); +x_247 = lean_array_push(x_240, x_246); +x_248 = l_Lean_Parser_Term_proj___elambda__1___closed__1; +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_247); +x_250 = lean_array_push(x_237, x_249); +x_251 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__6; +lean_inc(x_232); +lean_inc(x_235); +x_252 = l_Lean_addMacroScope(x_235, x_251, x_232); +x_253 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; +x_254 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__2; +x_255 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_255, 0, x_244); +lean_ctor_set(x_255, 1, x_253); +lean_ctor_set(x_255, 2, x_252); +lean_ctor_set(x_255, 3, x_254); +x_256 = lean_array_push(x_237, x_255); +x_257 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__12; +x_258 = l_Lean_addMacroScope(x_235, x_257, x_232); +x_259 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__11; +x_260 = l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__14; +x_261 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_261, 0, x_244); lean_ctor_set(x_261, 1, x_259); -x_262 = lean_array_push(x_230, x_261); -x_263 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_264 = lean_array_push(x_262, x_263); +lean_ctor_set(x_261, 2, x_258); +lean_ctor_set(x_261, 3, x_260); +x_262 = lean_array_push(x_237, x_261); +lean_inc(x_39); +x_263 = lean_array_push(x_262, x_39); +x_264 = l_Lean_nullKind___closed__2; x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_257); -lean_ctor_set(x_265, 1, x_264); -x_266 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_267 = lean_array_push(x_266, x_265); -x_268 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_269 = lean_array_push(x_267, x_268); -x_270 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_269); -x_272 = lean_array_push(x_230, x_271); -x_273 = lean_array_push(x_230, x_13); -x_274 = l_Lean_expandExplicitBindersAux_loop___closed__1; -lean_inc(x_32); -x_275 = lean_array_push(x_274, x_32); -x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_257); -lean_ctor_set(x_276, 1, x_275); -x_277 = lean_array_push(x_249, x_276); +lean_ctor_set(x_265, 0, x_264); +lean_ctor_set(x_265, 1, x_263); +lean_inc(x_256); +x_266 = lean_array_push(x_256, x_265); +x_267 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_266); +x_269 = lean_array_push(x_237, x_268); +x_270 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_271 = lean_array_push(x_269, x_270); +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_264); +lean_ctor_set(x_272, 1, x_271); +x_273 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; +x_274 = lean_array_push(x_273, x_272); +x_275 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; +x_276 = lean_array_push(x_274, x_275); +x_277 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; x_278 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_278, 0, x_260); -lean_ctor_set(x_278, 1, x_277); -x_279 = lean_array_push(x_230, x_278); -x_280 = lean_array_push(x_279, x_263); -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_257); -lean_ctor_set(x_281, 1, x_280); -x_282 = lean_array_push(x_266, x_281); -x_283 = lean_array_push(x_282, x_268); -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_270); -lean_ctor_set(x_284, 1, x_283); -x_285 = lean_array_push(x_273, x_284); -x_286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_286, 0, x_257); -lean_ctor_set(x_286, 1, x_285); -x_287 = lean_array_push(x_230, x_286); -x_288 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; -x_289 = lean_array_push(x_287, x_288); -x_290 = lean_array_push(x_289, x_31); -x_291 = l_myMacro____x40_Init_Notation___hyg_11259____closed__15; -x_292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_290); -x_293 = l_myMacro____x40_Init_Notation___hyg_11259____closed__13; -x_294 = lean_array_push(x_293, x_292); -x_295 = l_myMacro____x40_Init_Notation___hyg_11259____closed__11; -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_272, x_296); -x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_257); -lean_ctor_set(x_298, 1, x_297); -x_299 = lean_array_push(x_243, x_298); -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_260); -lean_ctor_set(x_300, 1, x_299); -x_301 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_229); -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_301, 1); -lean_inc(x_303); -lean_dec(x_301); -x_304 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_303); -x_305 = lean_ctor_get(x_304, 0); -lean_inc(x_305); -x_306 = lean_ctor_get(x_304, 1); -lean_inc(x_306); -lean_dec(x_304); -x_307 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; -lean_inc(x_302); -lean_inc(x_305); -x_308 = l_Lean_addMacroScope(x_305, x_307, x_302); -x_309 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_310 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_310, 0, x_237); -lean_ctor_set(x_310, 1, x_309); -lean_ctor_set(x_310, 2, x_308); -lean_ctor_set(x_310, 3, x_236); -x_311 = lean_array_push(x_230, x_310); -lean_inc(x_311); -x_312 = lean_array_push(x_311, x_263); -x_313 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; -x_314 = lean_array_push(x_312, x_313); -x_315 = lean_array_push(x_230, x_300); -x_316 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__10; -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -x_318 = lean_array_push(x_314, x_317); -x_319 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; -x_320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_320, 0, x_319); -lean_ctor_set(x_320, 1, x_318); -x_321 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; -x_322 = lean_array_push(x_321, x_320); -x_323 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +lean_ctor_set(x_278, 0, x_277); +lean_ctor_set(x_278, 1, x_276); +x_279 = lean_array_push(x_237, x_278); +x_280 = lean_array_push(x_237, x_20); +x_281 = l_Lean_expandExplicitBindersAux_loop___closed__1; +lean_inc(x_39); +x_282 = lean_array_push(x_281, x_39); +x_283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_283, 0, x_264); +lean_ctor_set(x_283, 1, x_282); +x_284 = lean_array_push(x_256, x_283); +x_285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_285, 0, x_267); +lean_ctor_set(x_285, 1, x_284); +x_286 = lean_array_push(x_237, x_285); +x_287 = lean_array_push(x_286, x_270); +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_264); +lean_ctor_set(x_288, 1, x_287); +x_289 = lean_array_push(x_273, x_288); +x_290 = lean_array_push(x_289, x_275); +x_291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_291, 0, x_277); +lean_ctor_set(x_291, 1, x_290); +x_292 = lean_array_push(x_280, x_291); +x_293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_293, 0, x_264); +lean_ctor_set(x_293, 1, x_292); +x_294 = lean_array_push(x_237, x_293); +x_295 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; +x_296 = lean_array_push(x_294, x_295); +x_297 = lean_array_push(x_296, x_38); +x_298 = l_myMacro____x40_Init_Notation___hyg_11259____closed__15; +x_299 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_297); +x_300 = l_myMacro____x40_Init_Notation___hyg_11259____closed__13; +x_301 = lean_array_push(x_300, x_299); +x_302 = l_myMacro____x40_Init_Notation___hyg_11259____closed__11; +x_303 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_303, 0, x_302); +lean_ctor_set(x_303, 1, x_301); +x_304 = lean_array_push(x_279, x_303); +x_305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_305, 0, x_264); +lean_ctor_set(x_305, 1, x_304); +x_306 = lean_array_push(x_250, x_305); +x_307 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_307, 0, x_267); +lean_ctor_set(x_307, 1, x_306); +x_308 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_236); +x_309 = lean_ctor_get(x_308, 0); +lean_inc(x_309); +x_310 = lean_ctor_get(x_308, 1); +lean_inc(x_310); +lean_dec(x_308); +x_311 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_310); +x_312 = lean_ctor_get(x_311, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_311, 1); +lean_inc(x_313); +lean_dec(x_311); +x_314 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; +lean_inc(x_309); +lean_inc(x_312); +x_315 = l_Lean_addMacroScope(x_312, x_314, x_309); +x_316 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_317 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_317, 0, x_244); +lean_ctor_set(x_317, 1, x_316); +lean_ctor_set(x_317, 2, x_315); +lean_ctor_set(x_317, 3, x_243); +x_318 = lean_array_push(x_237, x_317); +lean_inc(x_318); +x_319 = lean_array_push(x_318, x_270); +x_320 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +x_321 = lean_array_push(x_319, x_320); +x_322 = lean_array_push(x_237, x_307); +x_323 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__10; x_324 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_324, 0, x_323); lean_ctor_set(x_324, 1, x_322); -x_325 = lean_array_push(x_230, x_324); -x_326 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_327 = lean_array_push(x_325, x_326); -x_328 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__8; -x_329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_327); -x_330 = lean_array_push(x_230, x_329); -x_331 = lean_array_push(x_230, x_32); -x_332 = lean_array_push(x_331, x_263); -x_333 = lean_array_push(x_332, x_263); -x_334 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_335 = lean_array_push(x_333, x_334); -x_336 = lean_array_push(x_311, x_232); -x_337 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_336); -x_338 = lean_array_push(x_336, x_337); -x_339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_339, 0, x_241); -lean_ctor_set(x_339, 1, x_338); -x_340 = lean_array_push(x_335, x_339); -x_341 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__2; -x_342 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_342, 0, x_341); -lean_ctor_set(x_342, 1, x_340); -x_343 = lean_array_push(x_230, x_342); -x_344 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; -x_345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_345, 0, x_344); -lean_ctor_set(x_345, 1, x_343); -x_346 = lean_array_push(x_230, x_345); -x_347 = lean_array_push(x_346, x_326); -x_348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_348, 0, x_328); -lean_ctor_set(x_348, 1, x_347); -x_349 = lean_array_push(x_330, x_348); -x_350 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__31; -x_351 = lean_array_push(x_336, x_350); +x_325 = lean_array_push(x_321, x_324); +x_326 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; +x_327 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_327, 0, x_326); +lean_ctor_set(x_327, 1, x_325); +x_328 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; +x_329 = lean_array_push(x_328, x_327); +x_330 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_329); +x_332 = lean_array_push(x_237, x_331); +x_333 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_334 = lean_array_push(x_332, x_333); +x_335 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__8; +x_336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_336, 0, x_335); +lean_ctor_set(x_336, 1, x_334); +x_337 = lean_array_push(x_237, x_336); +x_338 = lean_array_push(x_237, x_39); +x_339 = lean_array_push(x_338, x_270); +x_340 = lean_array_push(x_339, x_270); +x_341 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_342 = lean_array_push(x_340, x_341); +x_343 = lean_array_push(x_318, x_239); +x_344 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; +lean_inc(x_343); +x_345 = lean_array_push(x_343, x_344); +x_346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_346, 0, x_248); +lean_ctor_set(x_346, 1, x_345); +x_347 = lean_array_push(x_342, x_346); +x_348 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__2; +x_349 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_349, 0, x_348); +lean_ctor_set(x_349, 1, x_347); +x_350 = lean_array_push(x_237, x_349); +x_351 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; x_352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_352, 0, x_241); -lean_ctor_set(x_352, 1, x_351); -x_353 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; -x_354 = lean_array_push(x_353, x_352); -x_355 = l_Lean_Parser_Term_matchDiscr___elambda__1___closed__1; -x_356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_356, 0, x_355); -lean_ctor_set(x_356, 1, x_354); -x_357 = lean_array_push(x_230, x_356); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_257); -lean_ctor_set(x_358, 1, x_357); -x_359 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_360 = lean_array_push(x_359, x_358); -x_361 = lean_array_push(x_360, x_263); -x_362 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -x_363 = lean_array_push(x_361, x_362); -lean_inc(x_302); -lean_inc(x_305); -x_364 = l_Lean_addMacroScope(x_305, x_250, x_302); -x_365 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_365, 0, x_237); -lean_ctor_set(x_365, 1, x_252); -lean_ctor_set(x_365, 2, x_364); -lean_ctor_set(x_365, 3, x_253); -x_366 = lean_array_push(x_230, x_365); -x_367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_367, 0, x_257); -lean_ctor_set(x_367, 1, x_366); -x_368 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_369 = lean_array_push(x_368, x_367); -x_370 = lean_array_push(x_369, x_288); -x_371 = l_Lean_Meta_mkPure___rarg___closed__4; -lean_inc(x_302); -lean_inc(x_305); -x_372 = l_Lean_addMacroScope(x_305, x_371, x_302); -x_373 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__3; -x_374 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__2; -x_375 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_375, 0, x_237); -lean_ctor_set(x_375, 1, x_373); -lean_ctor_set(x_375, 2, x_372); -lean_ctor_set(x_375, 3, x_374); -x_376 = lean_array_push(x_230, x_375); -x_377 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__5; -lean_inc(x_302); -lean_inc(x_305); -x_378 = l_Lean_addMacroScope(x_305, x_377, x_302); -x_379 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_380 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; -x_381 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_381, 0, x_237); -lean_ctor_set(x_381, 1, x_379); -lean_ctor_set(x_381, 2, x_378); -lean_ctor_set(x_381, 3, x_380); -x_382 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; -x_383 = lean_array_push(x_382, x_381); -x_384 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; -x_385 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_385, 0, x_384); -lean_ctor_set(x_385, 1, x_383); -x_386 = lean_array_push(x_230, x_385); -x_387 = lean_array_push(x_386, x_263); -x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_257); -lean_ctor_set(x_388, 1, x_387); -x_389 = lean_array_push(x_266, x_388); -x_390 = lean_array_push(x_389, x_268); -x_391 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_391, 0, x_270); -lean_ctor_set(x_391, 1, x_390); -x_392 = lean_array_push(x_230, x_391); -x_393 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_393, 0, x_257); -lean_ctor_set(x_393, 1, x_392); -x_394 = lean_array_push(x_376, x_393); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_350); +x_353 = lean_array_push(x_237, x_352); +x_354 = lean_array_push(x_353, x_333); +x_355 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_355, 0, x_335); +lean_ctor_set(x_355, 1, x_354); +x_356 = lean_array_push(x_337, x_355); +x_357 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__31; +x_358 = lean_array_push(x_343, x_357); +x_359 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_359, 0, x_248); +lean_ctor_set(x_359, 1, x_358); +x_360 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; +x_361 = lean_array_push(x_360, x_359); +x_362 = l_Lean_Parser_Term_matchDiscr___elambda__1___closed__1; +x_363 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_363, 0, x_362); +lean_ctor_set(x_363, 1, x_361); +x_364 = lean_array_push(x_237, x_363); +x_365 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_365, 0, x_264); +lean_ctor_set(x_365, 1, x_364); +x_366 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_367 = lean_array_push(x_366, x_365); +x_368 = lean_array_push(x_367, x_270); +x_369 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +x_370 = lean_array_push(x_368, x_369); +lean_inc(x_309); +lean_inc(x_312); +x_371 = l_Lean_addMacroScope(x_312, x_257, x_309); +x_372 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_372, 0, x_244); +lean_ctor_set(x_372, 1, x_259); +lean_ctor_set(x_372, 2, x_371); +lean_ctor_set(x_372, 3, x_260); +x_373 = lean_array_push(x_237, x_372); +x_374 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_374, 0, x_264); +lean_ctor_set(x_374, 1, x_373); +x_375 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_376 = lean_array_push(x_375, x_374); +x_377 = lean_array_push(x_376, x_295); +x_378 = l_Lean_Meta_mkPure___rarg___closed__4; +lean_inc(x_309); +lean_inc(x_312); +x_379 = l_Lean_addMacroScope(x_312, x_378, x_309); +x_380 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__3; +x_381 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__2; +x_382 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_382, 0, x_244); +lean_ctor_set(x_382, 1, x_380); +lean_ctor_set(x_382, 2, x_379); +lean_ctor_set(x_382, 3, x_381); +x_383 = lean_array_push(x_237, x_382); +x_384 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__5; +lean_inc(x_309); +lean_inc(x_312); +x_385 = l_Lean_addMacroScope(x_312, x_384, x_309); +x_386 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_387 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; +x_388 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_388, 0, x_244); +lean_ctor_set(x_388, 1, x_386); +lean_ctor_set(x_388, 2, x_385); +lean_ctor_set(x_388, 3, x_387); +x_389 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; +x_390 = lean_array_push(x_389, x_388); +x_391 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_392 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_392, 0, x_391); +lean_ctor_set(x_392, 1, x_390); +x_393 = lean_array_push(x_237, x_392); +x_394 = lean_array_push(x_393, x_270); x_395 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_395, 0, x_260); +lean_ctor_set(x_395, 0, x_264); lean_ctor_set(x_395, 1, x_394); -x_396 = lean_array_push(x_230, x_395); -x_397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_397, 0, x_316); -lean_ctor_set(x_397, 1, x_396); -x_398 = lean_array_push(x_230, x_397); -x_399 = lean_array_push(x_398, x_263); +x_396 = lean_array_push(x_273, x_395); +x_397 = lean_array_push(x_396, x_275); +x_398 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_398, 0, x_277); +lean_ctor_set(x_398, 1, x_397); +x_399 = lean_array_push(x_237, x_398); x_400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_400, 0, x_328); +lean_ctor_set(x_400, 0, x_264); lean_ctor_set(x_400, 1, x_399); -x_401 = lean_array_push(x_230, x_400); +x_401 = lean_array_push(x_383, x_400); x_402 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_402, 0, x_257); +lean_ctor_set(x_402, 0, x_267); lean_ctor_set(x_402, 1, x_401); -x_403 = lean_array_push(x_230, x_402); -x_404 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__6; -x_405 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_405, 0, x_404); -lean_ctor_set(x_405, 1, x_403); -x_406 = lean_array_push(x_370, x_405); -x_407 = l_Lean_Parser_Term_matchAlt___closed__1; -x_408 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_408, 0, x_407); -lean_ctor_set(x_408, 1, x_406); -x_409 = lean_array_push(x_230, x_408); -x_410 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__13; -lean_inc(x_302); -lean_inc(x_305); -x_411 = l_Lean_addMacroScope(x_305, x_410, x_302); -x_412 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__12; -x_413 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__15; -x_414 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_414, 0, x_237); -lean_ctor_set(x_414, 1, x_412); -lean_ctor_set(x_414, 2, x_411); -lean_ctor_set(x_414, 3, x_413); -x_415 = lean_array_push(x_230, x_414); -x_416 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_905____closed__4; -x_417 = l_Lean_addMacroScope(x_305, x_416, x_302); -x_418 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_905____closed__3; -x_419 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_419, 0, x_237); -lean_ctor_set(x_419, 1, x_418); -lean_ctor_set(x_419, 2, x_417); -lean_ctor_set(x_419, 3, x_236); -lean_inc(x_419); -x_420 = lean_array_push(x_230, x_419); -x_421 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_421, 0, x_257); -lean_ctor_set(x_421, 1, x_420); -x_422 = lean_array_push(x_415, x_421); -x_423 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_423, 0, x_260); -lean_ctor_set(x_423, 1, x_422); -x_424 = lean_array_push(x_230, x_423); -x_425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_425, 0, x_257); -lean_ctor_set(x_425, 1, x_424); -x_426 = lean_array_push(x_368, x_425); -x_427 = lean_array_push(x_426, x_288); -x_428 = lean_array_push(x_382, x_419); -x_429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_429, 0, x_384); -lean_ctor_set(x_429, 1, x_428); -x_430 = lean_array_push(x_230, x_429); -x_431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_431, 0, x_257); -lean_ctor_set(x_431, 1, x_430); -x_432 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; -x_433 = lean_array_push(x_432, x_431); -x_434 = l_Lean_Parser_Term_doReturn___elambda__1___closed__2; -x_435 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_435, 0, x_434); -lean_ctor_set(x_435, 1, x_433); -x_436 = lean_array_push(x_230, x_435); -x_437 = lean_array_push(x_436, x_263); +x_403 = lean_array_push(x_237, x_402); +x_404 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_404, 0, x_323); +lean_ctor_set(x_404, 1, x_403); +x_405 = lean_array_push(x_237, x_404); +x_406 = lean_array_push(x_405, x_270); +x_407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_407, 0, x_335); +lean_ctor_set(x_407, 1, x_406); +x_408 = lean_array_push(x_237, x_407); +x_409 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_409, 0, x_264); +lean_ctor_set(x_409, 1, x_408); +x_410 = lean_array_push(x_237, x_409); +x_411 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__6; +x_412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_412, 0, x_411); +lean_ctor_set(x_412, 1, x_410); +x_413 = lean_array_push(x_377, x_412); +x_414 = l_Lean_Parser_Term_matchAlt___closed__1; +x_415 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_415, 0, x_414); +lean_ctor_set(x_415, 1, x_413); +x_416 = lean_array_push(x_237, x_415); +x_417 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__13; +lean_inc(x_309); +lean_inc(x_312); +x_418 = l_Lean_addMacroScope(x_312, x_417, x_309); +x_419 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__12; +x_420 = l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__15; +x_421 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_421, 0, x_244); +lean_ctor_set(x_421, 1, x_419); +lean_ctor_set(x_421, 2, x_418); +lean_ctor_set(x_421, 3, x_420); +x_422 = lean_array_push(x_237, x_421); +x_423 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_905____closed__4; +x_424 = l_Lean_addMacroScope(x_312, x_423, x_309); +x_425 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_905____closed__3; +x_426 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_426, 0, x_244); +lean_ctor_set(x_426, 1, x_425); +lean_ctor_set(x_426, 2, x_424); +lean_ctor_set(x_426, 3, x_243); +lean_inc(x_426); +x_427 = lean_array_push(x_237, x_426); +x_428 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_428, 0, x_264); +lean_ctor_set(x_428, 1, x_427); +x_429 = lean_array_push(x_422, x_428); +x_430 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_430, 0, x_267); +lean_ctor_set(x_430, 1, x_429); +x_431 = lean_array_push(x_237, x_430); +x_432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_432, 0, x_264); +lean_ctor_set(x_432, 1, x_431); +x_433 = lean_array_push(x_375, x_432); +x_434 = lean_array_push(x_433, x_295); +x_435 = lean_array_push(x_389, x_426); +x_436 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_436, 0, x_391); +lean_ctor_set(x_436, 1, x_435); +x_437 = lean_array_push(x_237, x_436); x_438 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_438, 0, x_328); +lean_ctor_set(x_438, 0, x_264); lean_ctor_set(x_438, 1, x_437); -x_439 = lean_array_push(x_230, x_438); -x_440 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_440, 0, x_257); -lean_ctor_set(x_440, 1, x_439); -x_441 = lean_array_push(x_230, x_440); +x_439 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; +x_440 = lean_array_push(x_439, x_438); +x_441 = l_Lean_Parser_Term_doReturn___elambda__1___closed__2; x_442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_442, 0, x_404); -lean_ctor_set(x_442, 1, x_441); -x_443 = lean_array_push(x_427, x_442); -x_444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_444, 0, x_407); -lean_ctor_set(x_444, 1, x_443); -x_445 = lean_array_push(x_409, x_444); -x_446 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_446, 0, x_257); -lean_ctor_set(x_446, 1, x_445); -x_447 = lean_array_push(x_230, x_446); -x_448 = l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; +lean_ctor_set(x_442, 0, x_441); +lean_ctor_set(x_442, 1, x_440); +x_443 = lean_array_push(x_237, x_442); +x_444 = lean_array_push(x_443, x_270); +x_445 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_445, 0, x_335); +lean_ctor_set(x_445, 1, x_444); +x_446 = lean_array_push(x_237, x_445); +x_447 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_447, 0, x_264); +lean_ctor_set(x_447, 1, x_446); +x_448 = lean_array_push(x_237, x_447); x_449 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_449, 0, x_448); -lean_ctor_set(x_449, 1, x_447); -x_450 = lean_array_push(x_363, x_449); -x_451 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; -x_452 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_452, 0, x_451); -lean_ctor_set(x_452, 1, x_450); -x_453 = lean_array_push(x_230, x_452); -x_454 = lean_array_push(x_453, x_263); -x_455 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_455, 0, x_328); -lean_ctor_set(x_455, 1, x_454); -x_456 = lean_array_push(x_349, x_455); -x_457 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_457, 0, x_257); -lean_ctor_set(x_457, 1, x_456); -x_458 = lean_array_push(x_230, x_457); +lean_ctor_set(x_449, 0, x_411); +lean_ctor_set(x_449, 1, x_448); +x_450 = lean_array_push(x_434, x_449); +x_451 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_451, 0, x_414); +lean_ctor_set(x_451, 1, x_450); +x_452 = lean_array_push(x_416, x_451); +x_453 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_453, 0, x_264); +lean_ctor_set(x_453, 1, x_452); +x_454 = lean_array_push(x_237, x_453); +x_455 = l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; +x_456 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_456, 0, x_455); +lean_ctor_set(x_456, 1, x_454); +x_457 = lean_array_push(x_370, x_456); +x_458 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; x_459 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_459, 0, x_404); -lean_ctor_set(x_459, 1, x_458); -x_460 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__4; -x_461 = lean_array_push(x_460, x_459); -x_462 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__2; -x_463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_463, 0, x_462); -lean_ctor_set(x_463, 1, x_461); -x_464 = l_Lean_Syntax_getArg(x_463, x_12); -lean_dec(x_463); -x_465 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_464); -x_466 = l_List_append___rarg(x_465, x_3); -x_467 = lean_apply_9(x_1, x_466, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_306); -return x_467; +lean_ctor_set(x_459, 0, x_458); +lean_ctor_set(x_459, 1, x_457); +x_460 = lean_array_push(x_237, x_459); +x_461 = lean_array_push(x_460, x_270); +x_462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_462, 0, x_335); +lean_ctor_set(x_462, 1, x_461); +x_463 = lean_array_push(x_356, x_462); +x_464 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_464, 0, x_264); +lean_ctor_set(x_464, 1, x_463); +x_465 = lean_array_push(x_237, x_464); +x_466 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_466, 0, x_411); +lean_ctor_set(x_466, 1, x_465); +x_467 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__4; +x_468 = lean_array_push(x_467, x_466); +x_469 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__2; +x_470 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_470, 0, x_469); +lean_ctor_set(x_470, 1, x_468); +x_471 = l_Lean_Syntax_getArg(x_470, x_12); +lean_dec(x_470); +x_472 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_471); +x_473 = l_List_append___rarg(x_472, x_3); +x_474 = lean_apply_9(x_1, x_473, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_313); +return x_474; } } } else { -uint8_t x_509; -lean_dec(x_25); -lean_dec(x_15); -lean_dec(x_13); +uint8_t x_516; +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_20); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -41391,31 +41424,31 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_509 = !lean_is_exclusive(x_27); -if (x_509 == 0) +x_516 = !lean_is_exclusive(x_34); +if (x_516 == 0) { -return x_27; +return x_34; } else { -lean_object* x_510; lean_object* x_511; lean_object* x_512; -x_510 = lean_ctor_get(x_27, 0); -x_511 = lean_ctor_get(x_27, 1); -lean_inc(x_511); -lean_inc(x_510); -lean_dec(x_27); -x_512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_512, 0, x_510); -lean_ctor_set(x_512, 1, x_511); -return x_512; +lean_object* x_517; lean_object* x_518; lean_object* x_519; +x_517 = lean_ctor_get(x_34, 0); +x_518 = lean_ctor_get(x_34, 1); +lean_inc(x_518); +lean_inc(x_517); +lean_dec(x_34); +x_519 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_519, 0, x_517); +lean_ctor_set(x_519, 1, x_518); +return x_519; } } } else { -uint8_t x_513; -lean_dec(x_15); -lean_dec(x_13); +uint8_t x_520; +lean_dec(x_22); +lean_dec(x_20); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -41425,26 +41458,44 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_513 = !lean_is_exclusive(x_24); -if (x_513 == 0) +x_520 = !lean_is_exclusive(x_31); +if (x_520 == 0) { -return x_24; +return x_31; } else { -lean_object* x_514; lean_object* x_515; lean_object* x_516; -x_514 = lean_ctor_get(x_24, 0); -x_515 = lean_ctor_get(x_24, 1); -lean_inc(x_515); -lean_inc(x_514); -lean_dec(x_24); -x_516 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_516, 0, x_514); -lean_ctor_set(x_516, 1, x_515); -return x_516; +lean_object* x_521; lean_object* x_522; lean_object* x_523; +x_521 = lean_ctor_get(x_31, 0); +x_522 = lean_ctor_get(x_31, 1); +lean_inc(x_522); +lean_inc(x_521); +lean_dec(x_31); +x_523 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_523, 0, x_521); +lean_ctor_set(x_523, 1, x_522); +return x_523; } } } +else +{ +lean_object* x_524; lean_object* x_525; +lean_dec(x_14); +lean_dec(x_3); +lean_dec(x_1); +x_524 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14; +x_525 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___spec__1(x_524, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_525; +} +} } lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: @@ -50246,7 +50297,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24304_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24325_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -51104,6 +51155,10 @@ l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11 = _init_l_Lean_Elab_Ter lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11); l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14); l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___boxed__const__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___boxed__const__1); l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___closed__1(); @@ -51213,7 +51268,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__1); res = l___regBuiltin_Lean_Elab_Term_Do_elabDo(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24304_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24325_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Level.c b/stage0/stdlib/Lean/Elab/Level.c index e66d19290a..c7bab9e0b9 100644 --- a/stage0/stdlib/Lean/Elab/Level.c +++ b/stage0/stdlib/Lean/Elab/Level.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Level -// Imports: Init Lean.Meta.LevelDefEq Lean.Elab.Exception Lean.Elab.Log +// Imports: Init Lean.Meta.LevelDefEq Lean.Elab.Exception Lean.Elab.Log Lean.Elab.AutoBound #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -17,7 +17,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Level_elabLevel___spec__3___boxed( extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__38; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM; -lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___closed__10; lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__1___boxed(lean_object*, lean_object*); @@ -51,7 +50,6 @@ lean_object* l_Lean_Elab_Level_elabLevel___closed__6; lean_object* l_ReaderT_bind___at_Lean_Elab_Level_instMonadRefLevelElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_Level_elabLevel___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_Level_elabLevel___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t lean_nat_dec_eq(lean_object*, lean_object*); extern lean_object* l_Lean_Level_LevelToFormat_Result_format___closed__3; lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_Level_elabLevel___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; @@ -60,20 +58,16 @@ lean_object* l_Lean_Elab_Level_mkFreshLevelMVar(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Level_elabLevel___spec__3(lean_object*, lean_object*, lean_object*); lean_object* lean_level_mk_max_simp(lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName___boxed(lean_object*); lean_object* lean_level_mk_imax_simp(lean_object*, lean_object*); -uint8_t l_Char_isLower(uint32_t); lean_object* l_Lean_Elab_Level_elabLevel_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel_match__1(lean_object*); lean_object* l_Lean_Elab_Level_elabLevel_match__2(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Level_addOffsetAux(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Level_elabLevel___spec__1(lean_object*, lean_object*, lean_object*); -uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___closed__2; lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName_match__1(lean_object*); lean_object* l_Lean_Elab_Level_elabLevel_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__3; size_t lean_usize_of_nat(lean_object*); @@ -83,17 +77,16 @@ lean_object* l_Lean_Elab_Level_elabLevel___closed__4; lean_object* l_Lean_Elab_Level_elabLevel___closed__1; extern lean_object* l_Lean_identKind; uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); +uint8_t l_Lean_Elab_isValidAutoBoundLevelName(lean_object*); lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Level_elabLevel___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___closed__5; lean_object* l_Lean_Syntax_getArgs(lean_object*); -lean_object* l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_mkFreshId___at_Lean_Elab_Level_mkFreshLevelMVar___spec__1___boxed(lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___closed__3; lean_object* l_ReaderT_read___at_Lean_Elab_Level_instMonadRefLevelElabM___spec__1(lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_Level_elabLevel___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__7; -uint8_t l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName(lean_object*); lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__2; lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__5; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); @@ -102,7 +95,6 @@ lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___closed__2; lean_object* l_Lean_mkFreshId___at_Lean_Elab_Level_mkFreshLevelMVar___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Level_instAddMessageContextLevelElabM___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__1; -lean_object* lean_string_length(lean_object*); lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___closed__1; lean_object* l_Lean_Level_ofNat(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -655,116 +647,6 @@ lean_dec(x_1); return x_3; } } -lean_object* l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_usize(x_1, 2); -lean_dec(x_1); -x_7 = lean_box_usize(x_6); -x_8 = lean_apply_2(x_2, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_4); -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -else -{ -lean_object* x_10; -lean_dec(x_2); -x_10 = lean_apply_1(x_3, x_1); -return x_10; -} -} -} -lean_object* l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName_match__1___rarg), 3, 0); -return x_2; -} -} -uint8_t l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_erase_macro_scopes(x_1); -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_3; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_3); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_4 = lean_ctor_get(x_2, 1); -lean_inc(x_4); -lean_dec(x_2); -x_5 = lean_string_length(x_4); -x_6 = lean_unsigned_to_nat(1u); -x_7 = lean_nat_dec_eq(x_5, x_6); -lean_dec(x_5); -if (x_7 == 0) -{ -uint8_t x_8; -lean_dec(x_4); -x_8 = 0; -return x_8; -} -else -{ -lean_object* x_9; uint32_t x_10; uint8_t x_11; -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_string_utf8_get(x_4, x_9); -lean_dec(x_4); -x_11 = l_Char_isLower(x_10); -return x_11; -} -} -else -{ -uint8_t x_12; -lean_dec(x_3); -lean_dec(x_2); -x_12 = 0; -return x_12; -} -} -else -{ -uint8_t x_13; -lean_dec(x_2); -x_13 = 0; -return x_13; -} -} -} -lean_object* l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} lean_object* l_Lean_Elab_Level_elabLevel_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -1315,7 +1197,7 @@ else { uint8_t x_65; lean_inc(x_50); -x_65 = l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName(x_50); +x_65 = l_Lean_Elab_isValidAutoBoundLevelName(x_50); if (x_65 == 0) { lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; @@ -1863,7 +1745,7 @@ else { uint8_t x_204; lean_inc(x_189); -x_204 = l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName(x_189); +x_204 = l_Lean_Elab_isValidAutoBoundLevelName(x_189); if (x_204 == 0) { lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; @@ -2291,6 +2173,7 @@ lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Meta_LevelDefEq(lean_object*); lean_object* initialize_Lean_Elab_Exception(lean_object*); lean_object* initialize_Lean_Elab_Log(lean_object*); +lean_object* initialize_Lean_Elab_AutoBound(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Elab_Level(lean_object* w) { lean_object * res; @@ -2308,6 +2191,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Log(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_AutoBound(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Level_instMonadRefLevelElabM___closed__1 = _init_l_Lean_Elab_Level_instMonadRefLevelElabM___closed__1(); lean_mark_persistent(l_Lean_Elab_Level_instMonadRefLevelElabM___closed__1); l_Lean_Elab_Level_instMonadRefLevelElabM___closed__2 = _init_l_Lean_Elab_Level_instMonadRefLevelElabM___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index 31f4102c13..bd571d6a68 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -15,75 +15,69 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); uint8_t l_Lean_Syntax_isQuot(lean_object*); -lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(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__2___closed__15; +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__18; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___boxed(lean_object**); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7___rarg(lean_object*, 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_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(lean_object*); lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_unescapeAntiquot(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8179____closed__4; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__1; 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_getHeadInfo___lambda__2___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__4; -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__3; +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_compileStxMatch___lambda__9___closed__34; +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; -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__5; 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_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__2; 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__2___closed__6; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_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_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; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__43; extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_13247____closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__41; 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___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__13; lean_object* l_Lean_stringToMessageData(lean_object*); extern lean_object* l_instReprOption___rarg___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__32; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13014____closed__6; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__10; +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_compileStxMatch___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__27; -lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_generalizes_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__13; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__23; extern lean_object* l_termIf__Then__Else_____closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__2; 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; 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_compileStxMatch___lambda__9___closed__21; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__38; -lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(lean_object*); +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; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5918____closed__3; 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___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__2; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__4; 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); @@ -92,352 +86,395 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy 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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__8; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat_match__2(lean_object*); -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___boxed(lean_object**); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(lean_object*, size_t, size_t, lean_object*); +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*); 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_compileStxMatch___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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_letBindRhss_match__1___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; 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_Std_Format_joinSep___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(lean_object*, lean_object*); +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; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__45; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__5___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__24; 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_compileStxMatch___lambda__2___boxed(lean_object**); -lean_object* l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*); +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_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_compileStxMatch___lambda__9___closed__32; +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_quoteSyntax___closed__55; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__20; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__16; +extern lean_object* l_Lean_identKind___closed__2; extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__7; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4177____closed__1; +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_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__7; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178____closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_948____closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__10; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__24; +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_quoteSyntax___closed__24; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__1; uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_BasicHeadInfo_argPats___default; +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_compileStxMatch___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_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___boxed(lean_object**); 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; extern lean_object* l_myMacro____x40_Init_Notation___hyg_12387____closed__17; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; 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___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_Lean_Elab_Term_Quotation_BasicHeadInfo_kind___default; +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*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1202____closed__23; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__22; extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__5; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__6; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5___boxed(lean_object**); 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_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20; extern lean_object* l_Lean_Parser_Tactic_matchAlts___closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__8; +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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__7; 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_compileStxMatch___spec__7___closed__3; +lean_object* l_List_map___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_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; -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10(size_t, lean_object*, size_t, size_t); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(size_t, size_t, 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__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_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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_compileStxMatch___lambda__9___closed__24; +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_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_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; extern lean_object* l_term_x25_x5b___x7c___x5d___closed__6; +lean_object* l_List_format___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_match__5(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__16; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__17; 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___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_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__21; lean_object* l_Lean_MessageData_ofList(lean_object*); -lean_object* l_List_zipWith___rarg(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*, 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_match__8(lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__15; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); 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_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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__20; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__7; +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; 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_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3(size_t, size_t, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12387____closed__11; +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_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; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__14; 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*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__28; 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; 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_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__3; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__24; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__15; +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; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__3; 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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__36; +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_compileStxMatch___lambda__2___boxed__const__1; +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_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; extern lean_object* l_myMacro____x40_Init_Notation___hyg_12387____closed__12; -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147_(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_4152_(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_4157_(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_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_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_4167_(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_4172_(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_4162_(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_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4177_(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* 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_quoteSyntax___closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__4; 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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, 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; 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*, size_t, size_t); -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9___boxed(lean_object*, lean_object*, lean_object*); +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_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__21(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; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_2094____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__23; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__42; +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*); extern lean_object* l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__11; -lean_object* l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5___boxed(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__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_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__31; -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*, lean_object*); +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__2___closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3; +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_compileStxMatch___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__2; 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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__18; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__15; -extern lean_object* l_Lean_Syntax_antiquotKind_x3f___closed__1; +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; 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_getHeadInfo___lambda__2___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_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_3687____closed__16; -lean_object* l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__2; +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* 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* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__29; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___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*); -extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__43; +lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__12(lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13014____closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__14; +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_floatOutAntiquotTerms___lambda__1___boxed__const__1; -lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__17(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__3; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__16; +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_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__3; extern lean_object* l_Lean_numLitKind; -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_compileStxMatch_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +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_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__31; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__11; extern lean_object* l_Lean_instQuoteProd___rarg___closed__2; 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*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12387____closed__14; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +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_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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_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___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__3; +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__3; -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_compileStxMatch___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* 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___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__3; 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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__37; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__7___boxed(lean_object**); 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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__6; +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_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__22; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4157____closed__1; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1; 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_4197____closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__6___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -lean_object* l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__3; 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_Lean_Parser_Tactic_matchAlt___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13014____closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57; extern lean_object* l_Lean_Meta_mkArrow___closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__12; +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__11; +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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15(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_4202____closed__4; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__6; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13014____closed__14; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__9; extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__5; -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__12___boxed(lean_object**); lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__10; 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; 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__30; +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*); -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_getHeadInfo___lambda__10___closed__14; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; 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; 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_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__29; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__23; 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___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_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__30; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__3; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__18; +extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2986____closed__6; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__3; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__21; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__5; extern lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_matchDiscr___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___boxed(lean_object*); +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___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__4; 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___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*); extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4172____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**); 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*); -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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*); 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; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__44; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__5; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__39; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10(lean_object*); 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_4167____closed__1; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168____closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_object*); +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__2___closed__13; 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; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__35; +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___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4162____closed__1; lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__4; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__3; 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___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; +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; 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; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__20; 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_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__1; +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; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__2(lean_object*); +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*, 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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; extern lean_object* l_Std_Format_paren___closed__4; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__2; 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_10021_(lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_10660_(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_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*); @@ -445,140 +482,142 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__15; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__5___rarg(lean_object*, lean_object*, lean_object*); 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_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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__1___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* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__1___rarg(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___boxed(lean_object*, lean_object*, lean_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__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*); extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__5; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat_match__1___rarg(lean_object*, lean_object*, lean_object*); 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; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__6; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__12; extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__10; 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*); 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_compileStxMatch___lambda__9___closed__9; 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__1___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_12387____closed__22; +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; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__26; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___lambda__1(lean_object*, lean_object*, lean_object*); 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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__1; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__4; extern lean_object* l_Lean_nullKind___closed__1; uint8_t l_Lean_Syntax_isAntiquot(lean_object*); 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__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_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_compileStxMatch___lambda__9___closed__40; +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*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__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*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__2; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__20; +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; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__1; 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_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_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__2; -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* 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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__43; +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_explodeHeadPat___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_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___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isAtom(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__35; extern lean_object* l_Lean_nullKind___closed__2; 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___lambda__2___closed__17; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___boxed(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; extern lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__8; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1(lean_object*, lean_object*, lean_object*); 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*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__2; extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__4; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___closed__2; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___boxed(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* 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_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_compileStxMatch___lambda__9___closed__8; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__1; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instToMessageDataOption___rarg___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__45; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; 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; extern lean_object* l_Lean_Parser_Tactic_match___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_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_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____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; extern lean_object* l_Lean_Parser_Tactic_match___closed__3; +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*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -lean_object* l_List_mapM___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* l_List_mapM___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*); 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_List_redLength___rarg(lean_object*); 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_compileStxMatch___lambda__9___closed__44; lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_2986____spec__1(lean_object*, lean_object*); +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__19; +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; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2986____closed__1; -lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__18(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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__27; 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_compileStxMatch___lambda__9___closed__27; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__7; -lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__16(lean_object*); -lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__2; extern lean_object* l_Lean_Expr_ctorName___closed__10; -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_4172_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4167_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4162_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4157_(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_4177_(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_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___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_Parser_Tactic_match___closed__5; @@ -588,254 +627,265 @@ 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; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__40; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__17; 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; 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*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13014____closed__13; uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1; -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__4; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed(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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__42; -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__1; +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__4; +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__30; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__1(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getAntiquotSpliceSuffix(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_BasicHeadInfo_rhsFn___default(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_explodeHeadPat(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__9___closed__28; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5; -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*, lean_object*, lean_object*, lean_object*, 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__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* 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_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; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__6(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__45; 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; extern lean_object* l_Lean_instQuoteSubstring___closed__4; 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_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_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__1; +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(lean_object*); +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_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__11; -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__8; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1(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__11; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11259____closed__7; +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_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__25; -lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__19(lean_object*, lean_object*); -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__2; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__11; 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_compileStxMatch___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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__4___closed__1; 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_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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*); +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* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__6___boxed(lean_object**); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__39; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__3; 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_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* 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; extern lean_object* l_myMacro____x40_Init_Notation___hyg_12387____closed__13; +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_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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__5___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_compileStxMatch___spec__7___closed__4; +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1; +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(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__19; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13014____closed__7; 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*); extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16171____closed__5; 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_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_compileStxMatch___lambda__9___closed__19; 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_getHeadInfo___lambda__6___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_quoteSyntax___closed__12; -lean_object* l_Lean_Elab_Term_Quotation_BasicHeadInfo_rhsFn___default___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__2___closed__10; +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_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__27; 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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__19; 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_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_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*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__16; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__9; +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_Lean_Parser_Term_matchAlt___closed__1; 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_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(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__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_compileStxMatch___lambda__9___closed__11; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; 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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__5; 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; 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; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__47; -lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__20(lean_object*); 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_compileStxMatch___spec__13___boxed(lean_object**); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__25; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11___closed__2; 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_List_filterMapM_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*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_730____closed__8; uint8_t l_Lean_Syntax_isEscapedAntiquot(lean_object*); extern lean_object* l_Std_Format_sbracket___closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__3; 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_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; extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___boxed(lean_object*, lean_object*); +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_compileStxMatch___lambda__9___closed__33; +lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__7(lean_object*); +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_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__22; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__4___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkPure___rarg___closed__4; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__25; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms_match__1___rarg(lean_object*, lean_object*, lean_object*); 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*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; 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_compileStxMatch___lambda__9___closed__35; 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_Lean_Syntax_antiquotSpliceKind_x3f(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_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; extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___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__19___closed__10; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__31; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__7; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___boxed(lean_object**); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__14; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__2___rarg(lean_object*, lean_object*, lean_object*); +uint8_t l_List_isEmpty___rarg(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_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__31; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(lean_object*, lean_object*, size_t, size_t, 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__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_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_compileStxMatch___lambda__9___closed__29; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___boxed(lean_object**); 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; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__9; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__2; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__6; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687_(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__1; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688_(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_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__5; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___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_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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__25; -extern lean_object* l_List_zip___rarg___closed__1; -lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_generalizes_match__1(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__8___boxed(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_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(lean_object*); +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__6___closed__1; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__6___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(lean_object*); extern lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__4___boxed(lean_object**); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat_match__1(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___boxed(lean_object**); +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_commandElabStxQuot_x21_______closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__23; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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__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_getHeadInfo___lambda__10___closed__13; +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; -uint8_t l_Lean_Elab_Term_Quotation_HeadInfo_generalizes(lean_object*, lean_object*); 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_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_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__6; 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_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__14___boxed(lean_object**); +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_Lean_Elab_Term_Quotation_stxQuot_expand___closed__11; -lean_object* l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___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* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__1; +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__4; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__5(lean_object*); +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_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*); 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_Lean_Elab_Term_Quotation_HeadInfo_generalizes___boxed(lean_object*, lean_object*); +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*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__4___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); +lean_object* l_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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__1; 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; @@ -846,7 +896,6 @@ lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__10; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isAntiquotSplice(lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_13247____closed__11; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: @@ -10083,7 +10132,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_3687____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10095,17 +10144,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__1; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__1; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -10114,13 +10163,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_3687____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_mkTermElabAttributeUnsafe___closed__4; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__3; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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); @@ -10128,7 +10177,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_3687____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__5() { _start: { lean_object* x_1; @@ -10136,22 +10185,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_3687____closed__6() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__5; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__5; 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_3687____closed__7() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__5; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__5; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__6; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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); @@ -10159,17 +10208,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_3687____closed__8() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__5; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__9() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -10178,13 +10227,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_3687____closed__10() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_mkTermElabAttributeUnsafe___closed__8; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__9; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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); @@ -10192,7 +10241,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_3687____closed__11() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10202,7 +10251,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_3687____closed__12() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10214,19 +10263,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_3687____closed__13() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__12; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__12; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__14() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__14() { _start: { lean_object* x_1; @@ -10234,22 +10283,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_3687____closed__15() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__14; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__14; 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_3687____closed__16() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__16() { _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_3687____closed__14; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__14; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__15; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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); @@ -10257,51 +10306,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_3687____closed__17() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_3687____closed__14; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__14; 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_3687____closed__18() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__18() { _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_3687____closed__14; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__14; 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_3687____closed__19() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__18; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__20() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__19; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__21() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__21() { _start: { lean_object* x_1; @@ -10309,22 +10358,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_3687____closed__22() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__21; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__21; 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_3687____closed__23() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__21; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__21; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__22; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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); @@ -10332,7 +10381,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_3687____closed__24() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__24() { _start: { lean_object* x_1; @@ -10340,17 +10389,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_3687____closed__25() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__24; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_3687____closed__26() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__26() { _start: { lean_object* x_1; @@ -10358,61 +10407,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_3687____closed__27() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_3687____closed__25; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__26; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__25; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__26; 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_3687____closed__28() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__28() { _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_3687____closed__24; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____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_3687____closed__29() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__29() { _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_3687____closed__28; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__26; +x_1 = 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_3688____closed__26; 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_3687____closed__30() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__29; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__29; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__31() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__30; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__30; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687_(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_3688_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10447,7 +10496,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_3687____closed__4; +x_16 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__4; x_17 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); @@ -10465,7 +10514,7 @@ x_24 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__19; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__2; +x_26 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__2; x_27 = lean_array_push(x_26, x_25); x_28 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__15; x_29 = lean_alloc_ctor(1, 2, 0); @@ -10499,11 +10548,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_3687____closed__8; +x_50 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__8; 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_3687____closed__7; +x_52 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__7; x_53 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_53, 0, x_15); lean_ctor_set(x_53, 1, x_52); @@ -10517,12 +10566,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_3687____closed__11; +x_60 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__11; 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_3687____closed__10; -x_63 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__13; +x_62 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__10; +x_63 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__13; x_64 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_64, 0, x_15); lean_ctor_set(x_64, 1, x_62); @@ -10544,22 +10593,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_3687____closed__17; +x_75 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__17; 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_3687____closed__16; -x_78 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__20; +x_77 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__16; +x_78 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__20; 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_3687____closed__27; +x_81 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__27; x_82 = l_Lean_addMacroScope(x_11, x_81, x_10); -x_83 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__23; -x_84 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__31; +x_83 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__23; +x_84 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__31; x_85 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_85, 0, x_15); lean_ctor_set(x_85, 1, x_83); @@ -10598,7 +10647,7 @@ return x_102; } } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1() { _start: { lean_object* x_1; @@ -10606,44 +10655,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_4147_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4147____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_(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_4147____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4152_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4152____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10653,175 +10702,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_4152____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_(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_4152____closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__2; +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_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_4157_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4157____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4157_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4157_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_(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_4157____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____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_4162_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4162____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4162_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4162_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163_(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_4162____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4163____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_4167_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4167____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4167_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4167_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168_(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_4167____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4168____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_4172_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4172____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4172_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4172_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173_(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_4172____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4173____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_4177_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4177____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4177_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4177_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178_(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_4177____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4178____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_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) { +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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4182____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10831,45 +10880,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_4182____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____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_4182____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____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_4182____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4183_(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_4182____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__3; +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_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_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) { +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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4187____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10879,73 +10928,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_4187____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____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_4187____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____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_4187____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4188_(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_4187____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__3; +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_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_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) { +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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4192____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4192_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193_(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_4192____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4193____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_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) { +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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4197____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10955,45 +11004,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_4197____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____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_4197____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____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_4197____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4198_(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_4197____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__3; +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_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_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) { +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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4202____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__1() { _start: { lean_object* x_1; @@ -11001,490 +11050,73 @@ 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_4202____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____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_4202____closed__1; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____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_4202____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____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_4202____closed__2; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____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_4202____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4203_(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_4202____closed__3; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__4; +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_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_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) { +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) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____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_4207____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4207_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208_(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_4207____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4208____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_BasicHeadInfo_kind___default() { -_start: -{ -lean_object* x_1; -x_1 = lean_box(0); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Quotation_BasicHeadInfo_argPats___default() { -_start: -{ -lean_object* x_1; -x_1 = lean_box(0); -return x_1; -} -} -lean_object* l_Lean_Elab_Term_Quotation_BasicHeadInfo_rhsFn___default(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_8); -return x_9; -} -} -lean_object* l_Lean_Elab_Term_Quotation_BasicHeadInfo_rhsFn___default___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Term_Quotation_BasicHeadInfo_rhsFn___default(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -static lean_object* _init_l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___boxed), 8, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__1; -x_3 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_1); -lean_ctor_set(x_3, 2, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__3; -return x_1; -} -} -lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_generalizes_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_8; lean_object* x_9; -lean_dec(x_6); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -x_11 = lean_ctor_get(x_8, 2); -lean_inc(x_11); -lean_dec(x_8); -x_12 = lean_apply_3(x_3, x_2, x_10, x_11); -return x_12; -} -else -{ -lean_object* x_13; -lean_dec(x_3); -x_13 = lean_ctor_get(x_8, 1); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_5); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_2, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -x_16 = lean_apply_2(x_7, x_1, x_2); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_7); -lean_dec(x_2); -lean_dec(x_1); -x_17 = lean_ctor_get(x_8, 2); -lean_inc(x_17); -lean_dec(x_8); -x_18 = lean_ctor_get(x_9, 0); -lean_inc(x_18); -lean_dec(x_9); -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -x_20 = lean_ctor_get(x_14, 2); -lean_inc(x_20); -lean_dec(x_14); -x_21 = lean_ctor_get(x_15, 0); -lean_inc(x_21); -lean_dec(x_15); -x_22 = lean_apply_5(x_4, x_18, x_21, x_17, x_19, x_20); -return x_22; -} -} -else -{ -lean_object* x_23; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -x_23 = lean_apply_2(x_7, x_1, x_2); -return x_23; -} -} -else -{ -lean_dec(x_4); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_2, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; -lean_dec(x_24); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -x_26 = lean_apply_2(x_7, x_1, x_2); -return x_26; -} -else -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -x_28 = lean_apply_2(x_7, x_1, x_2); -return x_28; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_7); -lean_dec(x_2); -lean_dec(x_1); -x_29 = lean_ctor_get(x_8, 2); -lean_inc(x_29); -lean_dec(x_8); -x_30 = lean_ctor_get(x_9, 0); -lean_inc(x_30); -lean_dec(x_9); -x_31 = lean_ctor_get(x_13, 0); -lean_inc(x_31); -lean_dec(x_13); -x_32 = lean_ctor_get(x_24, 2); -lean_inc(x_32); -lean_dec(x_24); -x_33 = lean_ctor_get(x_25, 0); -lean_inc(x_33); -lean_dec(x_25); -x_34 = lean_ctor_get(x_27, 0); -lean_inc(x_34); -lean_dec(x_27); -x_35 = lean_apply_6(x_5, x_30, x_31, x_33, x_34, x_29, x_32); -return x_35; -} -} -} -else -{ -lean_object* x_36; -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -x_36 = lean_apply_2(x_7, x_1, x_2); -return x_36; -} -} -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_37; -lean_dec(x_6); -x_37 = lean_apply_2(x_7, x_1, x_2); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_dec(x_7); -x_38 = lean_ctor_get(x_1, 0); -lean_inc(x_38); -lean_dec(x_1); -x_39 = lean_ctor_get(x_2, 0); -lean_inc(x_39); -lean_dec(x_2); -x_40 = lean_apply_2(x_6, x_38, x_39); -return x_40; -} -} -} -} -lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_generalizes_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_HeadInfo_generalizes_match__1___rarg), 7, 0); -return x_2; -} -} -uint8_t l_Lean_Elab_Term_Quotation_HeadInfo_generalizes(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 0); -x_4 = lean_ctor_get(x_3, 0); -if (lean_obj_tag(x_4) == 0) -{ -uint8_t x_5; -x_5 = 1; -return x_5; -} -else -{ -lean_object* x_6; -x_6 = lean_ctor_get(x_3, 1); -if (lean_obj_tag(x_6) == 0) -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_2, 0); -x_8 = lean_ctor_get(x_7, 0); -if (lean_obj_tag(x_8) == 0) -{ -uint8_t x_9; -x_9 = 0; -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_4, 0); -x_11 = lean_ctor_get(x_8, 0); -x_12 = lean_name_eq(x_10, x_11); -return x_12; -} -} -else -{ -uint8_t x_13; -x_13 = 0; -return x_13; -} -} -else -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_2, 0); -x_15 = lean_ctor_get(x_14, 0); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -x_16 = 0; -return x_16; -} -else -{ -lean_object* x_17; -x_17 = lean_ctor_get(x_14, 1); -if (lean_obj_tag(x_17) == 0) -{ -uint8_t x_18; -x_18 = 0; -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_ctor_get(x_4, 0); -x_20 = lean_ctor_get(x_6, 0); -x_21 = lean_ctor_get(x_15, 0); -x_22 = lean_ctor_get(x_17, 0); -x_23 = lean_name_eq(x_19, x_21); -if (x_23 == 0) -{ -uint8_t x_24; -x_24 = 0; -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_25 = lean_array_get_size(x_20); -x_26 = lean_array_get_size(x_22); -x_27 = lean_nat_dec_eq(x_25, x_26); -lean_dec(x_26); -lean_dec(x_25); -return x_27; -} -} -} -} -else -{ -uint8_t x_28; -x_28 = 0; -return x_28; -} -} -} -} -else -{ -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_29; -x_29 = 0; -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_30 = lean_ctor_get(x_1, 0); -x_31 = lean_ctor_get(x_2, 0); -x_32 = l_Lean_Syntax_structEq(x_30, x_31); -return x_32; -} -} -} -} -lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_generalizes___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Elab_Term_Quotation_HeadInfo_generalizes(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} lean_object* l_Lean_Elab_Term_Quotation_mkTuple_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -11833,7 +11465,370 @@ lean_dec(x_2); return x_9; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Lean_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) { +_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) +{ +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; +} +} +else +{ +lean_object* x_12; +lean_dec(x_3); +x_12 = lean_apply_2(x_4, x_1, x_2); +return x_12; +} +} +} +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); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___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 = l_myMacro____x40_Init_Notation___hyg_12387____closed__17; +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +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); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__2; +x_2 = l_Lean_Unhygienic_run___rarg(x_1); +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) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +lean_dec(x_1); +if (lean_obj_tag(x_3) == 0) +{ +return x_2; +} +else +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = !lean_is_exclusive(x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_2, 0); +x_7 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3; +x_8 = l_List_replicate___rarg(x_4, x_7); +x_9 = l_List_append___rarg(x_8, x_6); +lean_ctor_set(x_2, 0, x_9); +return x_2; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_2); +x_12 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3; +x_13 = l_List_replicate___rarg(x_4, x_12); +x_14 = l_List_append___rarg(x_13, x_10); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_11); +return x_15; +} +} +} +else +{ +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: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs_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_adaptRhs_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +x_13 = lean_apply_8(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_13, 0); +lean_ctor_set(x_2, 1, x_15); +lean_ctor_set(x_13, 0, x_2); +return x_13; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_13, 0); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_13); +lean_ctor_set(x_2, 1, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +lean_free_object(x_2); +lean_dec(x_11); +x_19 = !lean_is_exclusive(x_13); +if (x_19 == 0) +{ +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_2, 0); +x_24 = lean_ctor_get(x_2, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_2); +x_25 = lean_apply_8(x_1, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_23); +lean_ctor_set(x_29, 1, x_26); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_23); +x_31 = lean_ctor_get(x_25, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_25, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_33 = x_25; +} else { + lean_dec_ref(x_25); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(1, 2, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +return x_34; +} +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; +lean_dec(x_2); +x_6 = lean_apply_1(x_3, x_1); +return x_6; +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_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_getHeadInfo_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_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); +x_6 = lean_apply_3(x_2, x_1, 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__2(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__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_1) == 0) @@ -11944,2607 +11939,45 @@ return x_25; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__1(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__3(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__1___rarg), 5, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__3___rarg), 5, 0); return x_2; } } -lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(lean_object* x_1) { +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) == 0) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_instInhabitedSyntax; -x_3 = l_List_head_x21___rarg___closed__3; -x_4 = lean_panic_fn(x_2, x_3); -return x_4; -} -else -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -return x_5; -} -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__10; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_6 = l_Lean_Syntax_isQuot_match__1___rarg___closed__1; -x_7 = lean_name_mk_string(x_1, x_6); -x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__2; -x_9 = lean_array_push(x_8, x_2); -x_10 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_11 = lean_array_push(x_9, x_10); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_7); -lean_ctor_set(x_12, 1, x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_5); -return x_13; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_3 < x_2; -if (x_5 == 0) -{ -lean_object* x_6; -lean_dec(x_1); -x_6 = x_4; -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; -x_7 = lean_array_uget(x_4, x_3); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_uset(x_4, x_3, x_8); -x_10 = x_7; -lean_inc(x_1); -x_11 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___boxed), 5, 2); -lean_closure_set(x_11, 0, x_1); -lean_closure_set(x_11, 1, x_10); -x_12 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_13 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg), 4, 2); -lean_closure_set(x_13, 0, x_12); -lean_closure_set(x_13, 1, x_11); -x_14 = l_Lean_Unhygienic_run___rarg(x_13); -x_15 = 1; -x_16 = x_3 + x_15; -x_17 = x_14; -x_18 = lean_array_uset(x_9, x_3, x_17); -x_3 = x_16; -x_4 = x_18; -goto _start; -} -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("match_syntax: unexpected pattern kind "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___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__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_inc(x_1); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_1); -x_11 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___closed__2; -x_12 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = l_Lean_KernelException_toMessageData___closed__15; -x_14 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_15; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -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__2___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__2___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__2___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__2___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___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__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__34; -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_getHeadInfo___lambda__2___closed__5() { -_start: -{ -lean_object* x_1; -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__2___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__5; -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__2___closed__7() { -_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__2___closed__5; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__6; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__8() { -_start: -{ -lean_object* x_1; -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__2___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__8; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("discr"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___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__2___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__2___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__2___closed__10; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___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; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__14() { -_start: -{ -lean_object* x_1; -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__2___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__2___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__2___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__2___closed__14; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___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__2___closed__17() { -_start: -{ -lean_object* x_1; -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__2___closed__18() { -_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__2___closed__17; -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__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Syntax_antiquotSuffixSplice_x3f(x_1); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_15 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__29; -x_16 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_2, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_16; -} -else -{ -lean_object* x_17; -x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); -lean_dec(x_14); -if (lean_obj_tag(x_17) == 1) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -x_20 = l_myMacro____x40_Init_Notation___hyg_948____closed__1; -x_21 = lean_string_dec_eq(x_19, x_20); -if (x_21 == 0) -{ -lean_object* x_22; uint8_t x_23; -x_22 = l_myMacro____x40_Init_Notation___hyg_839____closed__1; -x_23 = lean_string_dec_eq(x_19, x_22); -if (x_23 == 0) -{ -lean_object* x_24; uint8_t x_25; -x_24 = l_myMacro____x40_Init_Notation___hyg_1202____closed__1; -x_25 = lean_string_dec_eq(x_19, x_24); -lean_dec(x_19); -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_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_26 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_26, 0, x_17); -x_27 = l_Lean_instToMessageDataOption___rarg___closed__3; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -x_29 = l_Lean_instToMessageDataOption___rarg___closed__4; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__27; -x_32 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -x_33 = l_Lean_KernelException_toMessageData___closed__3; -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_2, x_34, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_35; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -lean_dec(x_17); -x_36 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_11); -lean_dec(x_7); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_38); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; 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; -x_41 = lean_ctor_get(x_39, 0); -x_42 = l_myMacro____x40_Init_Notation___hyg_13014____closed__1; -lean_inc(x_3); -x_43 = lean_name_mk_string(x_3, x_42); -x_44 = l_myMacro____x40_Init_Notation___hyg_13014____closed__5; -lean_inc(x_3); -x_45 = lean_name_mk_string(x_3, x_44); -x_46 = l_myMacro____x40_Init_Notation___hyg_13014____closed__7; -lean_inc(x_3); -x_47 = lean_name_mk_string(x_3, x_46); -x_48 = l_Array_empty___closed__1; -x_49 = lean_array_push(x_48, x_4); -x_50 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_51 = lean_array_push(x_49, x_50); -x_52 = lean_array_push(x_51, x_50); -x_53 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_54 = lean_array_push(x_52, x_53); -x_55 = l_myMacro____x40_Init_Notation___hyg_2094____closed__3; -lean_inc(x_3); -x_56 = lean_name_mk_string(x_3, x_55); -x_57 = l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__43; -lean_inc(x_3); -x_58 = lean_name_mk_string(x_3, x_57); -x_59 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__4; -lean_inc(x_37); -lean_inc(x_41); -x_60 = l_Lean_addMacroScope(x_41, x_59, x_37); -x_61 = l_Lean_Parser_Syntax_addPrec___closed__5; -x_62 = lean_name_mk_string(x_5, x_61); -x_63 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__33; -lean_inc(x_62); -x_64 = lean_name_mk_string(x_62, x_63); -x_65 = l_Lean_instQuoteProd___rarg___closed__1; -x_66 = lean_name_mk_string(x_64, x_65); -x_67 = lean_box(0); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = l_Lean_instInhabitedSourceInfo___closed__1; -x_71 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__3; -x_72 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set(x_72, 2, x_60); -lean_ctor_set(x_72, 3, x_69); -x_73 = l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__47; -x_74 = lean_array_push(x_73, x_72); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_58); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_array_push(x_48, x_75); -x_77 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice(x_1); -x_78 = lean_array_push(x_48, x_77); -x_79 = l_myMacro____x40_Init_Notation___hyg_11259____closed__7; -x_80 = lean_name_mk_string(x_3, x_79); -x_81 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -lean_inc(x_37); -lean_inc(x_41); -x_82 = l_Lean_addMacroScope(x_41, x_81, x_37); -x_83 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__8; -x_84 = lean_name_mk_string(x_62, x_83); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_67); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_67); -x_87 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_88 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_88, 0, x_70); -lean_ctor_set(x_88, 1, x_87); -lean_ctor_set(x_88, 2, x_82); -lean_ctor_set(x_88, 3, x_86); -x_89 = lean_array_push(x_48, x_88); -x_90 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_91 = l_Lean_addMacroScope(x_41, x_90, x_37); -x_92 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_93 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_93, 0, x_70); -lean_ctor_set(x_93, 1, x_92); -lean_ctor_set(x_93, 2, x_91); -lean_ctor_set(x_93, 3, x_67); -x_94 = lean_array_push(x_48, x_93); -x_95 = l_Lean_nullKind___closed__2; -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = lean_array_push(x_89, x_96); -lean_inc(x_56); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_56); -lean_ctor_set(x_98, 1, x_97); -x_99 = lean_array_push(x_48, x_98); -x_100 = lean_array_push(x_99, x_50); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_95); -lean_ctor_set(x_101, 1, x_100); -x_102 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_103 = lean_array_push(x_102, x_101); -x_104 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_105 = lean_array_push(x_103, x_104); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_80); -lean_ctor_set(x_106, 1, x_105); -x_107 = lean_array_push(x_78, x_106); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_95); -lean_ctor_set(x_108, 1, x_107); -x_109 = lean_array_push(x_76, x_108); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_56); -lean_ctor_set(x_110, 1, x_109); -x_111 = lean_array_push(x_54, x_110); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_47); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_array_push(x_48, x_112); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_45); -lean_ctor_set(x_114, 1, x_113); -x_115 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_116 = lean_array_push(x_115, x_114); -x_117 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_118 = lean_array_push(x_116, x_117); -x_119 = lean_array_push(x_118, x_6); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_43); -lean_ctor_set(x_120, 1, x_119); -lean_ctor_set(x_39, 0, x_120); -return x_39; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; 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; -x_121 = lean_ctor_get(x_39, 0); -x_122 = lean_ctor_get(x_39, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_39); -x_123 = l_myMacro____x40_Init_Notation___hyg_13014____closed__1; -lean_inc(x_3); -x_124 = lean_name_mk_string(x_3, x_123); -x_125 = l_myMacro____x40_Init_Notation___hyg_13014____closed__5; -lean_inc(x_3); -x_126 = lean_name_mk_string(x_3, x_125); -x_127 = l_myMacro____x40_Init_Notation___hyg_13014____closed__7; -lean_inc(x_3); -x_128 = lean_name_mk_string(x_3, x_127); -x_129 = l_Array_empty___closed__1; -x_130 = lean_array_push(x_129, x_4); -x_131 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_132 = lean_array_push(x_130, x_131); -x_133 = lean_array_push(x_132, x_131); -x_134 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_135 = lean_array_push(x_133, x_134); -x_136 = l_myMacro____x40_Init_Notation___hyg_2094____closed__3; -lean_inc(x_3); -x_137 = lean_name_mk_string(x_3, x_136); -x_138 = l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__43; -lean_inc(x_3); -x_139 = lean_name_mk_string(x_3, x_138); -x_140 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__4; -lean_inc(x_37); -lean_inc(x_121); -x_141 = l_Lean_addMacroScope(x_121, x_140, x_37); -x_142 = l_Lean_Parser_Syntax_addPrec___closed__5; -x_143 = lean_name_mk_string(x_5, x_142); -x_144 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__33; -lean_inc(x_143); -x_145 = lean_name_mk_string(x_143, x_144); -x_146 = l_Lean_instQuoteProd___rarg___closed__1; -x_147 = lean_name_mk_string(x_145, x_146); -x_148 = lean_box(0); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -x_151 = l_Lean_instInhabitedSourceInfo___closed__1; -x_152 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__3; -x_153 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_153, 0, x_151); -lean_ctor_set(x_153, 1, x_152); -lean_ctor_set(x_153, 2, x_141); -lean_ctor_set(x_153, 3, x_150); -x_154 = l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__47; -x_155 = lean_array_push(x_154, x_153); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_139); -lean_ctor_set(x_156, 1, x_155); -x_157 = lean_array_push(x_129, x_156); -x_158 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice(x_1); -x_159 = lean_array_push(x_129, x_158); -x_160 = l_myMacro____x40_Init_Notation___hyg_11259____closed__7; -x_161 = lean_name_mk_string(x_3, x_160); -x_162 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -lean_inc(x_37); -lean_inc(x_121); -x_163 = l_Lean_addMacroScope(x_121, x_162, x_37); -x_164 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__8; -x_165 = lean_name_mk_string(x_143, x_164); -x_166 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_148); -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_148); -x_168 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_169 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_169, 0, x_151); -lean_ctor_set(x_169, 1, x_168); -lean_ctor_set(x_169, 2, x_163); -lean_ctor_set(x_169, 3, x_167); -x_170 = lean_array_push(x_129, x_169); -x_171 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_172 = l_Lean_addMacroScope(x_121, x_171, x_37); -x_173 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_174 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_174, 0, x_151); -lean_ctor_set(x_174, 1, x_173); -lean_ctor_set(x_174, 2, x_172); -lean_ctor_set(x_174, 3, x_148); -x_175 = lean_array_push(x_129, x_174); -x_176 = l_Lean_nullKind___closed__2; -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_175); -x_178 = lean_array_push(x_170, x_177); -lean_inc(x_137); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_137); -lean_ctor_set(x_179, 1, x_178); -x_180 = lean_array_push(x_129, x_179); -x_181 = lean_array_push(x_180, x_131); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_176); -lean_ctor_set(x_182, 1, x_181); -x_183 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_184 = lean_array_push(x_183, x_182); -x_185 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_186 = lean_array_push(x_184, x_185); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_161); -lean_ctor_set(x_187, 1, x_186); -x_188 = lean_array_push(x_159, x_187); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_176); -lean_ctor_set(x_189, 1, x_188); -x_190 = lean_array_push(x_157, x_189); -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_137); -lean_ctor_set(x_191, 1, x_190); -x_192 = lean_array_push(x_135, x_191); -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_128); -lean_ctor_set(x_193, 1, x_192); -x_194 = lean_array_push(x_129, x_193); -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_126); -lean_ctor_set(x_195, 1, x_194); -x_196 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_197 = lean_array_push(x_196, x_195); -x_198 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_199 = lean_array_push(x_197, x_198); -x_200 = lean_array_push(x_199, x_6); -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_124); -lean_ctor_set(x_201, 1, x_200); -x_202 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_122); -return x_202; -} -} -} -else -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; -lean_dec(x_19); -lean_dec(x_17); -x_203 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_11); -lean_dec(x_7); -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_12, x_205); -x_207 = !lean_is_exclusive(x_206); -if (x_207 == 0) -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; -x_208 = lean_ctor_get(x_206, 0); -x_209 = l_myMacro____x40_Init_Notation___hyg_13014____closed__1; -lean_inc(x_3); -x_210 = lean_name_mk_string(x_3, x_209); -x_211 = l_myMacro____x40_Init_Notation___hyg_13014____closed__5; -lean_inc(x_3); -x_212 = lean_name_mk_string(x_3, x_211); -x_213 = l_myMacro____x40_Init_Notation___hyg_13014____closed__7; -lean_inc(x_3); -x_214 = lean_name_mk_string(x_3, x_213); -x_215 = l_Array_empty___closed__1; -x_216 = lean_array_push(x_215, x_4); -x_217 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -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_13014____closed__14; -x_221 = lean_array_push(x_219, x_220); -x_222 = l_myMacro____x40_Init_Notation___hyg_2094____closed__3; -x_223 = lean_name_mk_string(x_3, x_222); -x_224 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -lean_inc(x_204); -lean_inc(x_208); -x_225 = l_Lean_addMacroScope(x_208, x_224, x_204); -x_226 = l_Lean_Parser_Syntax_addPrec___closed__5; -x_227 = lean_name_mk_string(x_5, x_226); -x_228 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__8; -x_229 = lean_name_mk_string(x_227, x_228); -x_230 = lean_box(0); -x_231 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_231, 0, x_229); -lean_ctor_set(x_231, 1, x_230); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_230); -x_233 = l_Lean_instInhabitedSourceInfo___closed__1; -x_234 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_235 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_235, 0, x_233); -lean_ctor_set(x_235, 1, x_234); -lean_ctor_set(x_235, 2, x_225); -lean_ctor_set(x_235, 3, x_232); -x_236 = lean_array_push(x_215, x_235); -x_237 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_238 = l_Lean_addMacroScope(x_208, x_237, x_204); -x_239 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_240 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_240, 0, x_233); -lean_ctor_set(x_240, 1, x_239); -lean_ctor_set(x_240, 2, x_238); -lean_ctor_set(x_240, 3, x_230); -x_241 = lean_array_push(x_215, x_240); -x_242 = l_Lean_nullKind___closed__2; -x_243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_241); -x_244 = lean_array_push(x_236, x_243); -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_223); -lean_ctor_set(x_245, 1, x_244); -x_246 = lean_array_push(x_221, x_245); -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_214); -lean_ctor_set(x_247, 1, x_246); -x_248 = lean_array_push(x_215, x_247); -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_212); -lean_ctor_set(x_249, 1, x_248); -x_250 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_251 = lean_array_push(x_250, x_249); -x_252 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_253 = lean_array_push(x_251, x_252); -x_254 = lean_array_push(x_253, x_6); -x_255 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_255, 0, x_210); -lean_ctor_set(x_255, 1, x_254); -lean_ctor_set(x_206, 0, x_255); -return x_206; -} -else -{ -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; -x_256 = lean_ctor_get(x_206, 0); -x_257 = lean_ctor_get(x_206, 1); -lean_inc(x_257); -lean_inc(x_256); -lean_dec(x_206); -x_258 = l_myMacro____x40_Init_Notation___hyg_13014____closed__1; -lean_inc(x_3); -x_259 = lean_name_mk_string(x_3, x_258); -x_260 = l_myMacro____x40_Init_Notation___hyg_13014____closed__5; -lean_inc(x_3); -x_261 = lean_name_mk_string(x_3, x_260); -x_262 = l_myMacro____x40_Init_Notation___hyg_13014____closed__7; -lean_inc(x_3); -x_263 = lean_name_mk_string(x_3, x_262); -x_264 = l_Array_empty___closed__1; -x_265 = lean_array_push(x_264, x_4); -x_266 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_267 = lean_array_push(x_265, x_266); -x_268 = lean_array_push(x_267, x_266); -x_269 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_270 = lean_array_push(x_268, x_269); -x_271 = l_myMacro____x40_Init_Notation___hyg_2094____closed__3; -x_272 = lean_name_mk_string(x_3, x_271); -x_273 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -lean_inc(x_204); -lean_inc(x_256); -x_274 = l_Lean_addMacroScope(x_256, x_273, x_204); -x_275 = l_Lean_Parser_Syntax_addPrec___closed__5; -x_276 = lean_name_mk_string(x_5, x_275); -x_277 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__8; -x_278 = lean_name_mk_string(x_276, x_277); -x_279 = lean_box(0); -x_280 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_280, 0, x_278); -lean_ctor_set(x_280, 1, x_279); -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_279); -x_282 = l_Lean_instInhabitedSourceInfo___closed__1; -x_283 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_284 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_284, 0, x_282); -lean_ctor_set(x_284, 1, x_283); -lean_ctor_set(x_284, 2, x_274); -lean_ctor_set(x_284, 3, x_281); -x_285 = lean_array_push(x_264, x_284); -x_286 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_287 = l_Lean_addMacroScope(x_256, x_286, x_204); -x_288 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_289 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_289, 0, x_282); -lean_ctor_set(x_289, 1, x_288); -lean_ctor_set(x_289, 2, x_287); -lean_ctor_set(x_289, 3, x_279); -x_290 = lean_array_push(x_264, x_289); -x_291 = l_Lean_nullKind___closed__2; -x_292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_290); -x_293 = lean_array_push(x_285, x_292); -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_272); -lean_ctor_set(x_294, 1, x_293); -x_295 = lean_array_push(x_270, x_294); -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_263); -lean_ctor_set(x_296, 1, x_295); -x_297 = lean_array_push(x_264, x_296); -x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_261); -lean_ctor_set(x_298, 1, x_297); -x_299 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_300 = lean_array_push(x_299, x_298); -x_301 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_302 = lean_array_push(x_300, x_301); -x_303 = lean_array_push(x_302, x_6); -x_304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_304, 0, x_259); -lean_ctor_set(x_304, 1, x_303); -x_305 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_305, 0, x_304); -lean_ctor_set(x_305, 1, x_257); -return x_305; -} -} -} -else -{ -lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; -lean_dec(x_19); -lean_dec(x_17); -x_306 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_11); -lean_dec(x_7); -x_307 = lean_ctor_get(x_306, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_306, 1); -lean_inc(x_308); -lean_dec(x_306); -x_309 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_308); -x_310 = !lean_is_exclusive(x_309); -if (x_310 == 0) -{ -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; -x_311 = lean_ctor_get(x_309, 0); -x_312 = l_myMacro____x40_Init_Notation___hyg_13014____closed__1; -lean_inc(x_3); -x_313 = lean_name_mk_string(x_3, x_312); -x_314 = l_myMacro____x40_Init_Notation___hyg_13014____closed__5; -lean_inc(x_3); -x_315 = lean_name_mk_string(x_3, x_314); -x_316 = l_myMacro____x40_Init_Notation___hyg_13014____closed__7; -lean_inc(x_3); -x_317 = lean_name_mk_string(x_3, x_316); -x_318 = l_Array_empty___closed__1; -x_319 = lean_array_push(x_318, x_4); -x_320 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_321 = lean_array_push(x_319, x_320); -x_322 = lean_array_push(x_321, x_320); -x_323 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_324 = lean_array_push(x_322, x_323); -x_325 = l_myMacro____x40_Init_Notation___hyg_2094____closed__3; -x_326 = lean_name_mk_string(x_3, x_325); -x_327 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__18; -lean_inc(x_307); -lean_inc(x_311); -x_328 = l_Lean_addMacroScope(x_311, x_327, x_307); -x_329 = l_Lean_Parser_Syntax_addPrec___closed__5; -x_330 = lean_name_mk_string(x_5, x_329); -x_331 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__17; -x_332 = lean_name_mk_string(x_330, x_331); -x_333 = lean_box(0); -x_334 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_334, 0, x_332); -lean_ctor_set(x_334, 1, x_333); -x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_334); -lean_ctor_set(x_335, 1, x_333); -x_336 = l_Lean_instInhabitedSourceInfo___closed__1; -x_337 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__16; -x_338 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_338, 0, x_336); -lean_ctor_set(x_338, 1, x_337); -lean_ctor_set(x_338, 2, x_328); -lean_ctor_set(x_338, 3, x_335); -x_339 = lean_array_push(x_318, x_338); -x_340 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_341 = l_Lean_addMacroScope(x_311, x_340, x_307); -x_342 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_343 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_343, 0, x_336); -lean_ctor_set(x_343, 1, x_342); -lean_ctor_set(x_343, 2, x_341); -lean_ctor_set(x_343, 3, x_333); -x_344 = lean_array_push(x_318, x_343); -x_345 = l_Lean_nullKind___closed__2; -x_346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_346, 0, x_345); -lean_ctor_set(x_346, 1, x_344); -x_347 = lean_array_push(x_339, x_346); -x_348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_348, 0, x_326); -lean_ctor_set(x_348, 1, x_347); -x_349 = lean_array_push(x_324, x_348); -x_350 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_350, 0, x_317); -lean_ctor_set(x_350, 1, x_349); -x_351 = lean_array_push(x_318, x_350); -x_352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_352, 0, x_315); -lean_ctor_set(x_352, 1, x_351); -x_353 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_354 = lean_array_push(x_353, x_352); -x_355 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_356 = lean_array_push(x_354, x_355); -x_357 = lean_array_push(x_356, x_6); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_313); -lean_ctor_set(x_358, 1, x_357); -lean_ctor_set(x_309, 0, x_358); -return x_309; -} -else -{ -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; 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; -x_359 = lean_ctor_get(x_309, 0); -x_360 = lean_ctor_get(x_309, 1); -lean_inc(x_360); -lean_inc(x_359); -lean_dec(x_309); -x_361 = l_myMacro____x40_Init_Notation___hyg_13014____closed__1; -lean_inc(x_3); -x_362 = lean_name_mk_string(x_3, x_361); -x_363 = l_myMacro____x40_Init_Notation___hyg_13014____closed__5; -lean_inc(x_3); -x_364 = lean_name_mk_string(x_3, x_363); -x_365 = l_myMacro____x40_Init_Notation___hyg_13014____closed__7; -lean_inc(x_3); -x_366 = lean_name_mk_string(x_3, x_365); -x_367 = l_Array_empty___closed__1; -x_368 = lean_array_push(x_367, x_4); -x_369 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_370 = lean_array_push(x_368, x_369); -x_371 = lean_array_push(x_370, x_369); -x_372 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_373 = lean_array_push(x_371, x_372); -x_374 = l_myMacro____x40_Init_Notation___hyg_2094____closed__3; -x_375 = lean_name_mk_string(x_3, x_374); -x_376 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__18; -lean_inc(x_307); -lean_inc(x_359); -x_377 = l_Lean_addMacroScope(x_359, x_376, x_307); -x_378 = l_Lean_Parser_Syntax_addPrec___closed__5; -x_379 = lean_name_mk_string(x_5, x_378); -x_380 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__17; -x_381 = lean_name_mk_string(x_379, x_380); -x_382 = lean_box(0); -x_383 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_383, 0, x_381); -lean_ctor_set(x_383, 1, x_382); -x_384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_384, 0, x_383); -lean_ctor_set(x_384, 1, x_382); -x_385 = l_Lean_instInhabitedSourceInfo___closed__1; -x_386 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__16; -x_387 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_387, 0, x_385); -lean_ctor_set(x_387, 1, x_386); -lean_ctor_set(x_387, 2, x_377); -lean_ctor_set(x_387, 3, x_384); -x_388 = lean_array_push(x_367, x_387); -x_389 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_390 = l_Lean_addMacroScope(x_359, x_389, x_307); -x_391 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_392 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_392, 0, x_385); -lean_ctor_set(x_392, 1, x_391); -lean_ctor_set(x_392, 2, x_390); -lean_ctor_set(x_392, 3, x_382); -x_393 = lean_array_push(x_367, x_392); -x_394 = l_Lean_nullKind___closed__2; -x_395 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_395, 0, x_394); -lean_ctor_set(x_395, 1, x_393); -x_396 = lean_array_push(x_388, x_395); -x_397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_397, 0, x_375); -lean_ctor_set(x_397, 1, x_396); -x_398 = lean_array_push(x_373, x_397); -x_399 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_399, 0, x_366); -lean_ctor_set(x_399, 1, x_398); -x_400 = lean_array_push(x_367, x_399); -x_401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_401, 0, x_364); -lean_ctor_set(x_401, 1, x_400); -x_402 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_403 = lean_array_push(x_402, x_401); -x_404 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_405 = lean_array_push(x_403, x_404); -x_406 = lean_array_push(x_405, x_6); -x_407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_407, 0, x_362); -lean_ctor_set(x_407, 1, x_406); -x_408 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_408, 0, x_407); -lean_ctor_set(x_408, 1, x_360); -return x_408; -} -} -} -else -{ -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_dec(x_18); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_409 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_409, 0, x_17); -x_410 = l_Lean_instToMessageDataOption___rarg___closed__3; -x_411 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_411, 0, x_410); -lean_ctor_set(x_411, 1, x_409); -x_412 = l_Lean_instToMessageDataOption___rarg___closed__4; -x_413 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_413, 0, x_411); -lean_ctor_set(x_413, 1, x_412); -x_414 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__27; -x_415 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_413); -x_416 = l_Lean_KernelException_toMessageData___closed__3; -x_417 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_417, 0, x_415); -lean_ctor_set(x_417, 1, x_416); -x_418 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_2, x_417, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_418; -} -} -else -{ -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_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_419 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_419, 0, x_17); -x_420 = l_Lean_instToMessageDataOption___rarg___closed__3; -x_421 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_421, 0, x_420); -lean_ctor_set(x_421, 1, x_419); -x_422 = l_Lean_instToMessageDataOption___rarg___closed__4; -x_423 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_423, 0, x_421); -lean_ctor_set(x_423, 1, x_422); -x_424 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__27; -x_425 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_425, 0, x_424); -lean_ctor_set(x_425, 1, x_423); -x_426 = l_Lean_KernelException_toMessageData___closed__3; -x_427 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_427, 0, x_425); -lean_ctor_set(x_427, 1, x_426); -x_428 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_2, x_427, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_428; -} -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; -x_11 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___closed__1() { -_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___lambda__4___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__4___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_inc(x_1); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_1); -x_11 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___closed__2; -x_12 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = l_Lean_KernelException_toMessageData___closed__15; -x_14 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_15; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_14); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_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; -x_17 = lean_ctor_get(x_15, 0); -x_18 = l_myMacro____x40_Init_Notation___hyg_13014____closed__1; -lean_inc(x_1); -x_19 = lean_name_mk_string(x_1, x_18); -lean_inc_n(x_2, 2); -x_20 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_20, 0, x_2); -lean_ctor_set(x_20, 1, x_2); -lean_ctor_set(x_20, 2, x_2); -lean_inc(x_20); -x_21 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_18); -x_22 = l_Array_empty___closed__1; -x_23 = lean_array_push(x_22, x_21); -x_24 = l_myMacro____x40_Init_Notation___hyg_13014____closed__5; -lean_inc(x_1); -x_25 = lean_name_mk_string(x_1, x_24); -x_26 = l_myMacro____x40_Init_Notation___hyg_13014____closed__7; -x_27 = lean_name_mk_string(x_1, x_26); -x_28 = lean_array_push(x_22, x_3); -x_29 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_30 = lean_array_push(x_28, x_29); -x_31 = lean_array_push(x_30, x_29); -x_32 = l_myMacro____x40_Init_Notation___hyg_13014____closed__13; -lean_inc(x_20); -x_33 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_33, 0, x_20); -lean_ctor_set(x_33, 1, x_32); -x_34 = lean_array_push(x_31, x_33); -x_35 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_36 = l_Lean_addMacroScope(x_17, x_35, x_13); -x_37 = lean_box(0); -x_38 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -lean_inc(x_20); -x_39 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_39, 0, x_20); -lean_ctor_set(x_39, 1, x_38); -lean_ctor_set(x_39, 2, x_36); -lean_ctor_set(x_39, 3, x_37); -x_40 = lean_array_push(x_34, x_39); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_27); -lean_ctor_set(x_41, 1, x_40); -x_42 = lean_array_push(x_22, x_41); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_25); -lean_ctor_set(x_43, 1, x_42); -x_44 = lean_array_push(x_23, x_43); -x_45 = l_myMacro____x40_Init_Notation___hyg_13014____closed__15; -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_20); -lean_ctor_set(x_46, 1, x_45); -x_47 = lean_array_push(x_22, x_46); -x_48 = l_Lean_nullKind___closed__2; -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = lean_array_push(x_44, x_49); -x_51 = lean_array_push(x_50, x_4); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_19); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_15, 0, x_52); -return x_15; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_53 = lean_ctor_get(x_15, 0); -x_54 = lean_ctor_get(x_15, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_15); -x_55 = l_myMacro____x40_Init_Notation___hyg_13014____closed__1; -lean_inc(x_1); -x_56 = lean_name_mk_string(x_1, x_55); -lean_inc_n(x_2, 2); -x_57 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_57, 0, x_2); -lean_ctor_set(x_57, 1, x_2); -lean_ctor_set(x_57, 2, x_2); -lean_inc(x_57); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_55); -x_59 = l_Array_empty___closed__1; -x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Notation___hyg_13014____closed__5; -lean_inc(x_1); -x_62 = lean_name_mk_string(x_1, x_61); -x_63 = l_myMacro____x40_Init_Notation___hyg_13014____closed__7; -x_64 = lean_name_mk_string(x_1, x_63); -x_65 = lean_array_push(x_59, x_3); -x_66 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_67 = lean_array_push(x_65, x_66); -x_68 = lean_array_push(x_67, x_66); -x_69 = l_myMacro____x40_Init_Notation___hyg_13014____closed__13; -lean_inc(x_57); -x_70 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_70, 0, x_57); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_array_push(x_68, x_70); -x_72 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_73 = l_Lean_addMacroScope(x_53, x_72, x_13); -x_74 = lean_box(0); -x_75 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -lean_inc(x_57); -x_76 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_76, 0, x_57); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_76, 2, x_73); -lean_ctor_set(x_76, 3, x_74); -x_77 = lean_array_push(x_71, x_76); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_64); -lean_ctor_set(x_78, 1, x_77); -x_79 = lean_array_push(x_59, x_78); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_62); -lean_ctor_set(x_80, 1, x_79); -x_81 = lean_array_push(x_60, x_80); -x_82 = l_myMacro____x40_Init_Notation___hyg_13014____closed__15; -x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_57); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_59, x_83); -x_85 = l_Lean_nullKind___closed__2; -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_84); -x_87 = lean_array_push(x_81, x_86); -x_88 = lean_array_push(x_87, x_4); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_56); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_54); -return x_90; -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_10 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_12); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_15 = lean_ctor_get(x_13, 0); -x_16 = l_Array_empty___closed__1; -x_17 = lean_array_push(x_16, x_1); -x_18 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_19 = lean_array_push(x_17, x_18); -x_20 = lean_array_push(x_19, x_18); -x_21 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_22 = lean_array_push(x_20, x_21); -x_23 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_24 = l_Lean_addMacroScope(x_15, x_23, x_11); -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__2___closed__12; -x_28 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -lean_ctor_set(x_28, 2, x_24); -lean_ctor_set(x_28, 3, x_25); -x_29 = lean_array_push(x_22, x_28); -x_30 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = lean_array_push(x_16, x_31); -x_33 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_36 = lean_array_push(x_35, x_34); -x_37 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_38 = lean_array_push(x_36, x_37); -x_39 = lean_array_push(x_38, x_2); -x_40 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -lean_ctor_set(x_13, 0, x_41); -return x_13; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_42 = lean_ctor_get(x_13, 0); -x_43 = lean_ctor_get(x_13, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_13); -x_44 = l_Array_empty___closed__1; -x_45 = lean_array_push(x_44, x_1); -x_46 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_47 = lean_array_push(x_45, x_46); -x_48 = lean_array_push(x_47, x_46); -x_49 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_50 = lean_array_push(x_48, x_49); -x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_52 = l_Lean_addMacroScope(x_42, x_51, x_11); -x_53 = lean_box(0); -x_54 = l_Lean_instInhabitedSourceInfo___closed__1; -x_55 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_56 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_52); -lean_ctor_set(x_56, 3, x_53); -x_57 = lean_array_push(x_50, x_56); -x_58 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -x_60 = lean_array_push(x_44, x_59); -x_61 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -x_63 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_64 = lean_array_push(x_63, x_62); -x_65 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_66 = lean_array_push(x_64, x_65); -x_67 = lean_array_push(x_66, x_2); -x_68 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_43); -return x_70; -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_9; -x_2 = lean_ctor_get(x_1, 0); -x_3 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_2); -x_9 = l_Lean_Syntax_isIdent(x_3); -if (x_9 == 0) -{ -lean_object* x_10; uint8_t x_11; -x_10 = l_myMacro____x40_Init_Notation___hyg_12387____closed__13; -lean_inc(x_3); -x_11 = l_Lean_Syntax_isOfKind(x_3, x_10); -if (x_11 == 0) -{ -uint8_t x_12; -x_12 = l_Lean_Syntax_isQuot(x_3); -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed), 9, 1); -lean_closure_set(x_13, 0, x_3); -x_4 = x_13; -goto block_8; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_32; uint8_t x_50; -x_14 = l_Lean_Syntax_getQuotContent(x_3); -x_50 = l_Lean_Syntax_isAtom(x_14); -if (x_50 == 0) -{ -uint8_t x_51; -x_51 = l_Lean_Syntax_isAntiquot(x_14); -if (x_51 == 0) -{ -uint8_t x_52; -x_52 = l_Lean_Syntax_isAntiquotSuffixSplice(x_14); -if (x_52 == 0) -{ -uint8_t x_53; -x_53 = l_Lean_Syntax_isAntiquotSplice(x_14); -if (x_53 == 0) -{ -lean_object* x_54; -x_54 = lean_box(0); -x_32 = x_54; -goto block_49; -} -else -{ -lean_object* x_55; -x_55 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3___boxed), 9, 1); -lean_closure_set(x_55, 0, x_14); -x_4 = x_55; -goto block_8; -} -} -else -{ -lean_object* x_56; -x_56 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3___boxed), 9, 1); -lean_closure_set(x_56, 0, x_14); -x_4 = x_56; -goto block_8; -} -} -else -{ -uint8_t x_57; -x_57 = l_Lean_Syntax_isEscapedAntiquot(x_14); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; -x_58 = l_Lean_Syntax_antiquotKind_x3f(x_14); -x_59 = l_Lean_Syntax_antiquotKind_x3f___closed__1; -x_60 = 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(x_58, x_59); -x_61 = l_Lean_Syntax_getAntiquotTerm(x_14); -lean_dec(x_14); -x_62 = l_Lean_Syntax_isIdent(x_61); -if (x_60 == 0) -{ -x_63 = x_58; -goto block_70; -} -else -{ -lean_object* x_71; -lean_dec(x_58); -x_71 = lean_box(0); -x_63 = x_71; -goto block_70; -} -block_70: -{ -if (x_62 == 0) -{ -lean_object* x_64; -lean_dec(x_63); -x_64 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___boxed), 9, 1); -lean_closure_set(x_64, 0, x_61); -x_4 = x_64; -goto block_8; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_65 = lean_box(0); -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__5___boxed), 11, 3); -lean_closure_set(x_67, 0, x_66); -lean_closure_set(x_67, 1, x_65); -lean_closure_set(x_67, 2, x_61); -x_68 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_68, 0, x_63); -lean_ctor_set(x_68, 1, x_65); -lean_ctor_set(x_68, 2, x_67); -x_69 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_69, 0, x_68); -return x_69; -} -} -} -else -{ -uint8_t x_72; -x_72 = l_Lean_Syntax_isAntiquotSuffixSplice(x_14); -if (x_72 == 0) -{ -uint8_t x_73; -x_73 = l_Lean_Syntax_isAntiquotSplice(x_14); -if (x_73 == 0) -{ -lean_object* x_74; -x_74 = lean_box(0); -x_32 = x_74; -goto block_49; -} -else -{ -lean_object* x_75; -x_75 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3___boxed), 9, 1); -lean_closure_set(x_75, 0, x_14); -x_4 = x_75; -goto block_8; -} -} -else -{ -lean_object* x_76; -x_76 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3___boxed), 9, 1); -lean_closure_set(x_76, 0, x_14); -x_4 = x_76; -goto block_8; -} -} -} -} -else -{ -lean_object* x_77; -lean_dec(x_14); -x_77 = l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__1; -x_4 = x_77; -goto block_8; -} -block_31: -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 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_15); -x_16 = l_Lean_Syntax_unescapeAntiquot(x_14); -x_17 = l_Lean_Syntax_getArgs(x_16); -x_18 = lean_array_get_size(x_17); -x_19 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_20 = 0; -x_21 = x_17; -x_22 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_22, x_19, x_20, x_21); -x_24 = x_23; -x_25 = l_Lean_Syntax_getKind(x_16); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_24); -x_28 = l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__1; -x_29 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_29, 0, x_26); -lean_ctor_set(x_29, 1, x_27); -lean_ctor_set(x_29, 2, x_28); -x_30 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_30, 0, x_29); -return x_30; -} -block_49: -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -lean_dec(x_32); -x_33 = l_Lean_Syntax_getArgs(x_14); -x_34 = lean_array_get_size(x_33); -lean_dec(x_33); -x_35 = lean_unsigned_to_nat(1u); -x_36 = lean_nat_dec_eq(x_34, x_35); -lean_dec(x_34); -if (x_36 == 0) -{ -lean_object* x_37; -x_37 = lean_box(0); -x_15 = x_37; -goto block_31; -} -else -{ -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_unsigned_to_nat(0u); -x_39 = l_Lean_Syntax_getArg(x_14, x_38); -x_40 = l_Lean_Syntax_isAntiquotSuffixSplice(x_39); -if (x_40 == 0) -{ -uint8_t x_41; -x_41 = l_Lean_Syntax_isAntiquotSplice(x_39); -if (x_41 == 0) -{ -lean_object* x_42; -lean_dec(x_39); -x_42 = lean_box(0); -x_15 = x_42; -goto block_31; -} -else -{ -lean_object* x_43; -lean_dec(x_14); -x_43 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_43, 0, x_39); -return x_43; -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_44 = l_Lean_Syntax_getArg(x_39, x_38); -x_45 = l_Lean_Syntax_getAntiquotTerm(x_44); -lean_dec(x_44); -x_46 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_47 = l_Lean_Parser_Syntax_addPrec___closed__2; -x_48 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___boxed), 13, 5); -lean_closure_set(x_48, 0, x_39); -lean_closure_set(x_48, 1, x_14); -lean_closure_set(x_48, 2, x_46); -lean_closure_set(x_48, 3, x_45); -lean_closure_set(x_48, 4, x_47); -x_4 = x_48; -goto block_8; -} -} -} -} -} -else -{ -lean_object* x_78; -lean_dec(x_3); -x_78 = l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__1; -x_4 = x_78; -goto block_8; -} -} -else -{ -lean_object* x_79; -x_79 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___boxed), 9, 1); -lean_closure_set(x_79, 0, x_3); -x_4 = x_79; -goto block_8; -} -block_8: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_box(0); -x_6 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_5); -lean_ctor_set(x_6, 2, x_4); -x_7 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_7, 0, x_6); -return x_7; -} -} -} -lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_6; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_1, x_5, x_6, x_4); -return x_7; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -return x_14; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_12; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) +if (lean_obj_tag(x_1) == 2) { lean_object* x_4; lean_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat_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_explodeHeadPat_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 1); -lean_inc(x_6); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_8 = lean_apply_1(x_4, x_1); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_4); -lean_dec(x_1); -x_9 = lean_ctor_get(x_5, 0); -lean_inc(x_9); -lean_dec(x_5); -x_10 = lean_ctor_get(x_6, 1); -lean_inc(x_10); -lean_dec(x_6); -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_7, 1); -lean_inc(x_12); -lean_dec(x_7); -x_13 = lean_apply_4(x_2, x_9, x_11, x_12, x_10); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_2); -x_14 = lean_ctor_get(x_1, 1); -lean_inc(x_14); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; -lean_dec(x_14); -lean_dec(x_5); -lean_dec(x_3); -x_16 = lean_apply_1(x_4, x_1); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_4); -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_14, 1); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_ctor_get(x_15, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_dec(x_15); -x_21 = lean_apply_4(x_3, x_17, x_19, x_20, x_18); -return x_21; -} -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat_match__2(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_explodeHeadPat_match__2___rarg), 4, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___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 = l_myMacro____x40_Init_Notation___hyg_12387____closed__17; -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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_private.Lean.Elab.Quotation.0.Lean.Elab.Term.Quotation.explodeHeadPat"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__2; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__1; -x_3 = lean_unsigned_to_nat(252u); -x_4 = lean_unsigned_to_nat(9u); -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); -return x_6; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___lambda__1___boxed), 3, 0); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__4; -x_2 = l_Lean_Unhygienic_run___rarg(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = lean_ctor_get(x_2, 0); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_2, 1); -lean_inc(x_11); -lean_dec(x_2); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_1); -x_13 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -x_14 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__2; -x_15 = lean_panic_fn(x_13, x_14); -x_16 = lean_apply_7(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_10, 0); -lean_inc(x_17); -lean_dec(x_10); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_11); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_20 = lean_ctor_get(x_11, 1); -x_21 = lean_ctor_get(x_11, 0); -lean_dec(x_21); -x_22 = lean_ctor_get(x_12, 1); -lean_inc(x_22); -lean_dec(x_12); -x_23 = lean_ctor_get(x_17, 2); -lean_inc(x_23); -lean_dec(x_17); -x_24 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__5; -x_25 = l_List_replicate___rarg(x_1, x_24); -x_26 = lean_apply_8(x_23, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_26) == 0) -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_26, 0); -x_29 = l_List_append___rarg(x_25, x_22); -lean_ctor_set(x_11, 1, x_28); -lean_ctor_set(x_11, 0, x_29); -lean_ctor_set(x_26, 0, x_11); -return x_26; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_26, 0); -x_31 = lean_ctor_get(x_26, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_26); -x_32 = l_List_append___rarg(x_25, x_22); -lean_ctor_set(x_11, 1, x_30); -lean_ctor_set(x_11, 0, x_32); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_11); -lean_ctor_set(x_33, 1, x_31); -return x_33; -} -} -else -{ -uint8_t x_34; -lean_dec(x_25); -lean_dec(x_22); -lean_free_object(x_11); -x_34 = !lean_is_exclusive(x_26); -if (x_34 == 0) -{ -return x_26; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_26, 0); -x_36 = lean_ctor_get(x_26, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_26); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_38 = lean_ctor_get(x_11, 1); -lean_inc(x_38); -lean_dec(x_11); -x_39 = lean_ctor_get(x_12, 1); -lean_inc(x_39); -lean_dec(x_12); -x_40 = lean_ctor_get(x_17, 2); -lean_inc(x_40); -lean_dec(x_17); -x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__5; -x_42 = l_List_replicate___rarg(x_1, x_41); -x_43 = lean_apply_8(x_40, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_46 = x_43; -} else { - lean_dec_ref(x_43); - x_46 = lean_box(0); -} -x_47 = l_List_append___rarg(x_42, x_39); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_44); -if (lean_is_scalar(x_46)) { - x_49 = lean_alloc_ctor(0, 2, 0); -} else { - x_49 = x_46; -} -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_45); -return x_49; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -lean_dec(x_42); -lean_dec(x_39); -x_50 = lean_ctor_get(x_43, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_43, 1); -lean_inc(x_51); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_52 = x_43; -} else { - lean_dec_ref(x_43); - x_52 = lean_box(0); -} -if (lean_is_scalar(x_52)) { - x_53 = lean_alloc_ctor(1, 2, 0); -} else { - x_53 = x_52; -} -lean_ctor_set(x_53, 0, x_50); -lean_ctor_set(x_53, 1, x_51); -return x_53; -} -} -} -else -{ -uint8_t x_54; -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_11); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_55 = lean_ctor_get(x_11, 1); -x_56 = lean_ctor_get(x_11, 0); -lean_dec(x_56); -x_57 = lean_ctor_get(x_12, 1); -lean_inc(x_57); -lean_dec(x_12); -x_58 = lean_ctor_get(x_17, 2); -lean_inc(x_58); -lean_dec(x_17); -x_59 = lean_ctor_get(x_18, 0); -lean_inc(x_59); -lean_dec(x_18); -x_60 = lean_array_to_list(lean_box(0), x_59); -x_61 = lean_apply_8(x_58, x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_61) == 0) -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_61, 0); -x_64 = l_List_append___rarg(x_60, x_57); -lean_ctor_set(x_11, 1, x_63); -lean_ctor_set(x_11, 0, x_64); -lean_ctor_set(x_61, 0, x_11); -return x_61; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_65 = lean_ctor_get(x_61, 0); -x_66 = lean_ctor_get(x_61, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_61); -x_67 = l_List_append___rarg(x_60, x_57); -lean_ctor_set(x_11, 1, x_65); -lean_ctor_set(x_11, 0, x_67); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_11); -lean_ctor_set(x_68, 1, x_66); -return x_68; -} -} -else -{ -uint8_t x_69; -lean_dec(x_60); -lean_dec(x_57); -lean_free_object(x_11); -x_69 = !lean_is_exclusive(x_61); -if (x_69 == 0) -{ -return x_61; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_61, 0); -x_71 = lean_ctor_get(x_61, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_61); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; -} -} -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_73 = lean_ctor_get(x_11, 1); -lean_inc(x_73); -lean_dec(x_11); -x_74 = lean_ctor_get(x_12, 1); -lean_inc(x_74); -lean_dec(x_12); -x_75 = lean_ctor_get(x_17, 2); -lean_inc(x_75); -lean_dec(x_17); -x_76 = lean_ctor_get(x_18, 0); -lean_inc(x_76); -lean_dec(x_18); -x_77 = lean_array_to_list(lean_box(0), x_76); -x_78 = lean_apply_8(x_75, x_73, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_81 = x_78; -} else { - lean_dec_ref(x_78); - x_81 = lean_box(0); -} -x_82 = l_List_append___rarg(x_77, x_74); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_79); -if (lean_is_scalar(x_81)) { - x_84 = lean_alloc_ctor(0, 2, 0); -} else { - x_84 = x_81; -} -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_80); -return x_84; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_77); -lean_dec(x_74); -x_85 = lean_ctor_get(x_78, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_78, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_87 = x_78; -} else { - lean_dec_ref(x_78); - x_87 = lean_box(0); -} -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(1, 2, 0); -} else { - x_88 = x_87; -} -lean_ctor_set(x_88, 0, x_85); -lean_ctor_set(x_88, 1, x_86); -return x_88; -} -} -} -} -} -else -{ -lean_object* x_89; lean_object* x_90; -lean_dec(x_10); -lean_dec(x_1); -x_89 = lean_ctor_get(x_2, 1); -lean_inc(x_89); -lean_dec(x_2); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -if (lean_obj_tag(x_90) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -lean_dec(x_89); -x_91 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -x_92 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__2; -x_93 = lean_panic_fn(x_91, x_92); -x_94 = lean_apply_7(x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_94; -} -else -{ -uint8_t x_95; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_95 = !lean_is_exclusive(x_89); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_89, 0); -lean_dec(x_96); -x_97 = lean_ctor_get(x_90, 1); -lean_inc(x_97); -lean_dec(x_90); -lean_ctor_set(x_89, 0, x_97); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_89); -lean_ctor_set(x_98, 1, x_9); -return x_98; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_99 = lean_ctor_get(x_89, 1); -lean_inc(x_99); -lean_dec(x_89); -x_100 = lean_ctor_get(x_90, 1); -lean_inc(x_100); -lean_dec(x_90); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_9); -return x_102; -} -} -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___lambda__1___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_explodeHeadPat___lambda__1(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_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; x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); -x_5 = lean_ctor_get(x_4, 1); -lean_inc(x_5); -if (lean_obj_tag(x_5) == 0) +lean_dec(x_1); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else { lean_object* x_6; -lean_dec(x_4); lean_dec(x_2); x_6 = lean_apply_1(x_3, x_1); return x_6; } -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_7 = lean_ctor_get(x_4, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_4, 2); -lean_inc(x_8); -lean_dec(x_4); -x_9 = lean_ctor_get(x_5, 0); -lean_inc(x_9); -lean_dec(x_5); -x_10 = lean_apply_3(x_2, x_9, x_7, x_8); -return x_10; } } -else -{ -lean_object* x_11; -lean_dec(x_2); -x_11 = lean_apply_1(x_3, x_1); -return x_11; -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__1(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__4(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_compileStxMatch_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__4___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; size_t x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_1, 1); -lean_inc(x_6); -x_7 = lean_ctor_get_usize(x_1, 2); -x_8 = l_Lean_nullKind___closed__1; -x_9 = lean_string_dec_eq(x_6, x_8); -lean_dec(x_6); -if (x_9 == 0) -{ -lean_object* x_10; -lean_dec(x_3); -x_10 = lean_apply_2(x_4, x_1, x_2); -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; -x_12 = lean_ctor_get(x_1, 1); -lean_dec(x_12); -x_13 = lean_ctor_get(x_1, 0); -lean_dec(x_13); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_14; -lean_dec(x_3); -lean_ctor_set(x_1, 1, x_8); -x_14 = lean_apply_2(x_4, x_1, x_2); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -lean_free_object(x_1); -lean_dec(x_4); -x_15 = lean_ctor_get(x_2, 0); -lean_inc(x_15); -lean_dec(x_2); -x_16 = lean_box_usize(x_7); -x_17 = lean_apply_2(x_3, x_15, x_16); -return x_17; -} -} -else -{ -lean_dec(x_1); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_3); -x_18 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_18, 0, x_5); -lean_ctor_set(x_18, 1, x_8); -lean_ctor_set_usize(x_18, 2, x_7); -x_19 = lean_apply_2(x_4, x_18, x_2); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_4); -x_20 = lean_ctor_get(x_2, 0); -lean_inc(x_20); -lean_dec(x_2); -x_21 = lean_box_usize(x_7); -x_22 = lean_apply_2(x_3, x_20, x_21); -return x_22; -} -} -} -} -else -{ -lean_object* x_23; -lean_dec(x_5); -lean_dec(x_3); -x_23 = lean_apply_2(x_4, x_1, x_2); -return x_23; -} -} -else -{ -lean_object* x_24; -lean_dec(x_3); -x_24 = lean_apply_2(x_4, x_1, x_2); -return x_24; -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__2(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_compileStxMatch_match__2___rarg), 4, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3___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__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -14571,15 +12004,15 @@ return x_10; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__5(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_compileStxMatch_match__3___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__5___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4___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__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -14647,76 +12080,47 @@ return x_15; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__6(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_compileStxMatch_match__4___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__6___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__5___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_getHeadInfo_match__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -if (lean_obj_tag(x_1) == 0) +if (lean_obj_tag(x_1) == 1) { -lean_object* x_5; lean_object* x_6; -lean_dec(x_4); -x_5 = lean_ctor_get(x_1, 0); +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_ctor_get(x_5, 0); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_3); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -x_8 = lean_ctor_get(x_5, 2); -lean_inc(x_8); -lean_dec(x_5); -x_9 = lean_apply_2(x_2, x_7, x_8); -return x_9; +x_6 = lean_apply_2(x_2, x_4, x_5); +return x_6; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_7; lean_dec(x_2); -x_10 = lean_ctor_get(x_5, 1); -lean_inc(x_10); -x_11 = lean_ctor_get(x_5, 2); -lean_inc(x_11); -lean_dec(x_5); -x_12 = lean_ctor_get(x_6, 0); -lean_inc(x_12); -lean_dec(x_6); -x_13 = lean_apply_3(x_3, x_12, x_10, x_11); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_3); -lean_dec(x_2); -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_1(x_4, x_14); -return x_15; +x_7 = lean_apply_1(x_3, x_1); +return x_7; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__5(lean_object* x_1) { +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_compileStxMatch_match__5___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__6___rarg(lean_object* x_1, lean_object* 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) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -14729,169 +12133,113 @@ 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_compileStxMatch_match__6(lean_object* x_1) { +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_compileStxMatch_match__6___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8___rarg), 2, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Lean_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) == 0) +if (lean_obj_tag(x_1) == 1) { +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; size_t x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_usize(x_1, 2); +x_7 = l_Lean_nullKind___closed__1; +x_8 = lean_string_dec_eq(x_5, x_7); lean_dec(x_5); -if (lean_obj_tag(x_2) == 0) +if (x_8 == 0) { -lean_object* x_7; -lean_dec(x_6); -lean_dec(x_3); -x_7 = lean_apply_1(x_4, x_1); -return x_7; +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; } else { -lean_object* x_8; lean_object* x_9; -lean_dec(x_4); -x_8 = lean_ctor_get(x_2, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -if (lean_obj_tag(x_9) == 0) +lean_object* x_10; lean_object* x_11; +lean_dec(x_3); +lean_dec(x_1); +x_10 = lean_box_usize(x_6); +x_11 = lean_apply_1(x_2, x_10); +return x_11; +} +} +else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_6); -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); +lean_object* x_12; +lean_dec(x_4); lean_dec(x_2); -x_11 = lean_ctor_get(x_8, 1); -lean_inc(x_11); -lean_dec(x_8); -x_12 = lean_apply_2(x_3, x_11, x_10); +x_12 = lean_apply_1(x_3, x_1); return x_12; } +} else { lean_object* x_13; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -x_13 = lean_apply_2(x_6, x_1, x_2); +lean_dec(x_2); +x_13 = lean_apply_1(x_3, x_1); return x_13; } } } -else -{ -lean_dec(x_6); -lean_dec(x_3); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_14; -lean_dec(x_5); -x_14 = lean_apply_1(x_4, x_1); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -lean_dec(x_4); -x_15 = lean_ctor_get(x_1, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_1, 1); -lean_inc(x_16); -lean_dec(x_1); -x_17 = lean_apply_3(x_5, x_15, x_16, x_2); -return x_17; -} -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_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_compileStxMatch_match__7___rarg), 6, 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_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(lean_object* x_1) { +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) { _start: { if (lean_obj_tag(x_1) == 0) { +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_6 = lean_box(x_5); +x_7 = lean_apply_2(x_2, x_4, x_6); +return x_7; +} +else +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_apply_1(x_3, x_1); +return x_8; +} +} +} +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_box(0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10___rarg), 3, 0); return x_2; } -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_4); -lean_dec(x_4); -x_7 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_5); -lean_ctor_set(x_1, 1, x_7); -lean_ctor_set(x_1, 0, x_6); -return x_1; } -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_1, 0); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_1); -x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_8); -lean_dec(x_8); -x_11 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_9); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -} -} -} -static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_instInhabitedSyntax; -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_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo; -x_2 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__1; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(lean_object* x_1) { +lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__2; +x_2 = l_Lean_instInhabitedSyntax; x_3 = l_List_head_x21___rarg___closed__3; x_4 = lean_panic_fn(x_2, x_3); return x_4; @@ -14905,2005 +12253,177 @@ return x_5; } } } -lean_object* l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_4; -x_4 = l_List_reverse___rarg(x_3); -return x_4; -} -else -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_2); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_ctor_get(x_2, 1); -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -x_9 = l_Lean_Elab_Term_Quotation_HeadInfo_generalizes(x_8, x_1); -lean_dec(x_8); -if (x_9 == 0) -{ -lean_free_object(x_2); -lean_dec(x_6); -x_2 = x_7; -goto _start; -} -else -{ -lean_ctor_set(x_2, 1, x_3); -{ -lean_object* _tmp_1 = x_7; -lean_object* _tmp_2 = x_2; -x_2 = _tmp_1; -x_3 = _tmp_2; -} -goto _start; -} -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_2, 0); -x_13 = lean_ctor_get(x_2, 1); +lean_object* x_9; 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); -lean_inc(x_12); -lean_dec(x_2); -x_14 = lean_ctor_get(x_12, 0); +x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); -x_15 = l_Lean_Elab_Term_Quotation_HeadInfo_generalizes(x_14, x_1); -lean_dec(x_14); -if (x_15 == 0) -{ lean_dec(x_12); -x_2 = x_13; -goto _start; +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_17; -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_12); -lean_ctor_set(x_17, 1, x_3); -x_2 = x_13; +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_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(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_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(x_2, x_3, x_4, x_5, x_6, x_21, x_8, x_9); +lean_dec(x_21); +return x_22; +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__10; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__2; +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_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_4); +return x_11; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = x_2 < x_1; +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = x_3; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = x_6; +x_10 = lean_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); +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); +x_14 = 1; +x_15 = x_2 + x_14; +x_16 = x_13; +x_17 = lean_array_uset(x_8, x_2, x_16); +x_2 = x_15; x_3 = x_17; goto _start; } } } -} -} -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_10 = lean_box(0); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_2); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_2, 0); -x_14 = lean_ctor_get(x_2, 1); -x_15 = lean_unsigned_to_nat(0u); -x_16 = l_List_lengthAux___rarg(x_1, x_15); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_17 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat(x_16, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_19); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_20, 0); -lean_ctor_set(x_2, 1, x_22); -lean_ctor_set(x_2, 0, x_18); -lean_ctor_set(x_20, 0, x_2); -return x_20; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_20, 0); -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_20); -lean_ctor_set(x_2, 1, x_23); -lean_ctor_set(x_2, 0, x_18); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_2); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -else -{ -uint8_t x_26; -lean_dec(x_18); -lean_free_object(x_2); -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) -{ -return x_20; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -uint8_t x_30; -lean_free_object(x_2); -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_30 = !lean_is_exclusive(x_17); -if (x_30 == 0) -{ -return x_17; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_17, 0); -x_32 = lean_ctor_get(x_17, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_17); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_2, 0); -x_35 = lean_ctor_get(x_2, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_2); -x_36 = lean_unsigned_to_nat(0u); -x_37 = l_List_lengthAux___rarg(x_1, x_36); -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_38 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat(x_37, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(x_1, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_40); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_44 = x_41; -} else { - lean_dec_ref(x_41); - x_44 = lean_box(0); -} -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_39); -lean_ctor_set(x_45, 1, x_42); -if (lean_is_scalar(x_44)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_44; -} -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_43); -return x_46; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_dec(x_39); -x_47 = lean_ctor_get(x_41, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_41, 1); -lean_inc(x_48); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_49 = x_41; -} else { - lean_dec_ref(x_41); - x_49 = lean_box(0); -} -if (lean_is_scalar(x_49)) { - x_50 = lean_alloc_ctor(1, 2, 0); -} else { - x_50 = x_49; -} -lean_ctor_set(x_50, 0, x_47); -lean_ctor_set(x_50, 1, x_48); -return x_50; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -lean_dec(x_35); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_51 = lean_ctor_get(x_38, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_38, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_53 = x_38; -} else { - lean_dec_ref(x_38); - x_53 = lean_box(0); -} -if (lean_is_scalar(x_53)) { - x_54 = lean_alloc_ctor(1, 2, 0); -} else { - x_54 = x_53; -} -lean_ctor_set(x_54, 0, x_51); -lean_ctor_set(x_54, 1, x_52); -return x_54; -} -} -} -} -} -lean_object* l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_4; -x_4 = l_List_reverse___rarg(x_3); -return x_4; -} -else -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_2); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_ctor_get(x_2, 1); -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -x_9 = l_Lean_Elab_Term_Quotation_HeadInfo_generalizes(x_1, x_8); -lean_dec(x_8); -if (x_9 == 0) -{ -lean_ctor_set(x_2, 1, x_3); -{ -lean_object* _tmp_1 = x_7; -lean_object* _tmp_2 = x_2; -x_2 = _tmp_1; -x_3 = _tmp_2; -} -goto _start; -} -else -{ -lean_free_object(x_2); -lean_dec(x_6); -x_2 = x_7; -goto _start; -} -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_2, 0); -x_13 = lean_ctor_get(x_2, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_2); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -x_15 = l_Lean_Elab_Term_Quotation_HeadInfo_generalizes(x_1, x_14); -lean_dec(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_12); -lean_ctor_set(x_16, 1, x_3); -x_2 = x_13; -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_12); -x_2 = x_13; -goto _start; -} -} -} -} -} -lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; -x_2 = lean_box(0); -return x_2; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = lean_ctor_get(x_4, 1); -lean_inc(x_6); -lean_dec(x_4); -x_7 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_5); -lean_ctor_set(x_1, 1, x_7); -lean_ctor_set(x_1, 0, x_6); -return x_1; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_1, 0); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_1); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_9); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -} -} -} -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__1() { -_start: -{ -lean_object* x_1; -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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___closed__2; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__4() { -_start: -{ -lean_object* x_1; -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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_compileStxMatch___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) { -_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_13014____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_13014____closed__5; -lean_inc(x_2); -x_40 = lean_name_mk_string(x_2, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_13014____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_compileStxMatch___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_13014____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_13014____closed__5; -lean_inc(x_2); -x_40 = lean_name_mk_string(x_2, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_13014____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_compileStxMatch___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; -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_13014____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_13014____closed__5; -lean_inc(x_2); -x_40 = lean_name_mk_string(x_2, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_13014____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_compileStxMatch___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__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_compileStxMatch___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_compileStxMatch___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_compileStxMatch___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; 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_13014____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__16; -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__15; -x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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_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_13014____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_13014____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_13014____closed__4; -x_47 = lean_array_push(x_46, x_45); -x_48 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_compileStxMatch___spec__11___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_compileStxMatch___spec__11___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_compileStxMatch___spec__11___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_compileStxMatch___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = x_3 < x_2; -if (x_12 == 0) -{ -lean_object* x_13; -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_13014____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__22; -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__21; -x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11___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_13014____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_13014____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_13014____closed__4; -x_41 = lean_array_push(x_40, x_39); -x_42 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_compileStxMatch___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) { -_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_13014____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_13014____closed__5; -lean_inc(x_2); -x_40 = lean_name_mk_string(x_2, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_13014____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_compileStxMatch___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) { -_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_13014____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_13014____closed__5; -lean_inc(x_2); -x_40 = lean_name_mk_string(x_2, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_13014____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_compileStxMatch___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; -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_13014____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_13014____closed__5; -lean_inc(x_2); -x_40 = lean_name_mk_string(x_2, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_compileStxMatch___spec__7___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_compileStxMatch___spec__7___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_13014____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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__1() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1() { _start: { lean_object* x_1; @@ -16911,22 +12431,22 @@ x_1 = lean_mk_string("Syntax.getArg"); return x_1; } } -static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__2() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__1; +x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__3() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__1; +x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__2; +x_3 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___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); @@ -16934,7 +12454,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__4() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4() { _start: { lean_object* x_1; @@ -16942,51 +12462,92 @@ x_1 = lean_mk_string("getArg"); return x_1; } } -static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__5() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__4; +x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__6() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__4; +x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__7() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__6; +x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__8() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__7; +x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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) { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("discr"); +return x_1; +} +} +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__10; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_1) == 0) @@ -17019,14 +12580,14 @@ 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_compileStxMatch___spec__15___closed__5; +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_compileStxMatch___spec__15___closed__3; -x_25 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__8; +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); @@ -17034,9 +12595,9 @@ 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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; +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); @@ -17056,7 +12617,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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_19); +x_43 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5(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) { @@ -17103,14 +12664,14 @@ 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_compileStxMatch___spec__15___closed__5; +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_compileStxMatch___spec__15___closed__3; -x_62 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__8; +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); @@ -17118,9 +12679,9 @@ 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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; +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); @@ -17140,7 +12701,7 @@ 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_compileStxMatch___spec__15(x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_56); +x_80 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5(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); @@ -17168,226 +12729,1991 @@ return x_85; } } } -lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__16(lean_object* 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__1() { _start: { -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; -x_2 = lean_box(0); -return x_2; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_6, 0, x_4); -x_7 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__16(x_5); -lean_ctor_set(x_1, 1, x_7); -lean_ctor_set(x_1, 0, x_6); +lean_object* x_1; +x_1 = lean_mk_string("tuples.map"); return x_1; } -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_1, 0); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_1); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_8); -x_11 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__16(x_9); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; } -} -} -} -lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__19(lean_object* x_1, lean_object* 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__2() { _start: { -if (lean_obj_tag(x_1) == 0) +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_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() { +_start: { -lean_object* x_3; -lean_dec(x_2); -x_3 = lean_box(0); +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_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_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_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__4() { +_start: +{ +lean_object* x_1; +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() { +_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_3 = lean_name_mk_string(x_1, x_2); return x_3; } -else +} +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__6() { +_start: { -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -if (lean_obj_tag(x_4) == 0) +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_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) { +_start: { -lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_2); -x_5 = lean_ctor_get(x_1, 0); +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); -lean_dec(x_1); -x_6 = lean_box(0); -x_7 = 0; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_formatStxAux(x_6, x_7, x_8, x_5); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_box(0); -x_12 = 0; -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_Syntax_formatStxAux(x_11, x_12, x_13, x_10); +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_13014____closed__1; lean_inc(x_2); -x_15 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_2); -x_16 = l_Std_Format_joinSep___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__19(x_4, x_2); -x_17 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -} -} -lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__18(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; -x_2 = l_instReprList___rarg___closed__2; -return x_2; -} -else -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_3 = l_instReprProd___rarg___closed__2; -x_4 = l_Std_Format_joinSep___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__19(x_1, x_3); -x_5 = l_Std_Format_sbracket___closed__3; -x_6 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -x_7 = l_Std_Format_sbracket___closed__4; -x_8 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_8, 0, x_6); -lean_ctor_set(x_8, 1, x_7); -x_9 = l_Std_Format_sbracket___closed__2; -x_10 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_8); -x_11 = 0; -x_12 = lean_alloc_ctor(5, 1, 1); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set_uint8(x_12, sizeof(void*)*1, x_11); -return x_12; -} -} -} -lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__17(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_2 = lean_ctor_get(x_1, 0); +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_13014____closed__5; lean_inc(x_2); -x_3 = lean_ctor_get(x_1, 1); +x_40 = lean_name_mk_string(x_2, x_39); +x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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); -lean_dec(x_1); -x_4 = l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__18(x_2); -x_5 = l_instReprProd___rarg___closed__1; -x_6 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_6, 0, x_4); -lean_ctor_set(x_6, 1, x_5); -x_7 = lean_box(1); -x_8 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_8, 0, x_6); -lean_ctor_set(x_8, 1, x_7); -x_9 = lean_box(0); -x_10 = 0; -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Syntax_formatStxAux(x_9, x_10, x_11, x_3); -x_13 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_13, 0, x_8); -lean_ctor_set(x_13, 1, x_12); -x_14 = l_Std_Format_paren___closed__3; -x_15 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -x_16 = l_Std_Format_paren___closed__4; -x_17 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -x_18 = l_Std_Format_paren___closed__2; -x_19 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -x_20 = 0; -x_21 = lean_alloc_ctor(5, 1, 1); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set_uint8(x_21, sizeof(void*)*1, x_20); -return x_21; +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_13014____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; } } -lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__20(lean_object* x_1) { +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__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) { _start: { -if (lean_obj_tag(x_1) == 0) +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_2; -x_2 = lean_box(0); -return x_2; +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_13014____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_13014____closed__5; +lean_inc(x_2); +x_40 = lean_name_mk_string(x_2, x_39); +x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_13014____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 { -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__17(x_4); -x_7 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_7, 0, x_6); -x_8 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__20(x_5); -lean_ctor_set(x_1, 1, x_8); -lean_ctor_set(x_1, 0, x_7); -return x_1; +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_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); +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__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_13014____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_13014____closed__5; +lean_inc(x_2); +x_40 = lean_name_mk_string(x_2, x_39); +x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_13014____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_13014____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__16; +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__15; +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_13014____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_13014____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_13014____closed__4; +x_47 = lean_array_push(x_46, x_45); +x_48 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_13014____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__22; +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__21; +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_13014____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_13014____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_13014____closed__4; +x_41 = lean_array_push(x_40, x_39); +x_42 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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: +{ +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_13014____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_13014____closed__5; +lean_inc(x_2); +x_40 = lean_name_mk_string(x_2, x_39); +x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_13014____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__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) { +_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_13014____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_13014____closed__5; +lean_inc(x_2); +x_40 = lean_name_mk_string(x_2, x_39); +x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_13014____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__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) { +_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_13014____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_13014____closed__5; +lean_inc(x_2); +x_40 = lean_name_mk_string(x_2, x_39); +x_41 = l_myMacro____x40_Init_Notation___hyg_13014____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_13014____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_13014____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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_13); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l_myMacro____x40_Init_Notation___hyg_13014____closed__1; +lean_inc(x_1); +x_18 = lean_name_mk_string(x_1, x_17); +x_19 = l_myMacro____x40_Init_Notation___hyg_13014____closed__5; +lean_inc(x_1); +x_20 = lean_name_mk_string(x_1, x_19); +x_21 = l_myMacro____x40_Init_Notation___hyg_13014____closed__7; +x_22 = lean_name_mk_string(x_1, x_21); +x_23 = l_Array_empty___closed__1; +x_24 = lean_array_push(x_23, x_2); +x_25 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_26 = lean_array_push(x_24, x_25); +x_27 = lean_array_push(x_26, x_25); +x_28 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_29 = lean_array_push(x_27, x_28); +x_30 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_31 = l_Lean_addMacroScope(x_16, x_30, x_12); +x_32 = lean_box(0); +x_33 = l_Lean_instInhabitedSourceInfo___closed__1; +x_34 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_35 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_31); +lean_ctor_set(x_35, 3, x_32); +x_36 = lean_array_push(x_29, x_35); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_22); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_array_push(x_23, x_37); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_20); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_41 = lean_array_push(x_40, x_39); +x_42 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_43 = lean_array_push(x_41, x_42); +x_44 = lean_array_push(x_43, x_3); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_18); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_14, 0, x_45); +return x_14; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_46 = lean_ctor_get(x_14, 0); +x_47 = lean_ctor_get(x_14, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_14); +x_48 = l_myMacro____x40_Init_Notation___hyg_13014____closed__1; +lean_inc(x_1); +x_49 = lean_name_mk_string(x_1, x_48); +x_50 = l_myMacro____x40_Init_Notation___hyg_13014____closed__5; +lean_inc(x_1); +x_51 = lean_name_mk_string(x_1, x_50); +x_52 = l_myMacro____x40_Init_Notation___hyg_13014____closed__7; +x_53 = lean_name_mk_string(x_1, x_52); +x_54 = l_Array_empty___closed__1; +x_55 = lean_array_push(x_54, x_2); +x_56 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_57 = lean_array_push(x_55, x_56); +x_58 = lean_array_push(x_57, x_56); +x_59 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_60 = lean_array_push(x_58, x_59); +x_61 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_62 = l_Lean_addMacroScope(x_46, x_61, x_12); +x_63 = lean_box(0); +x_64 = l_Lean_instInhabitedSourceInfo___closed__1; +x_65 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_66 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_66, 2, x_62); +lean_ctor_set(x_66, 3, x_63); +x_67 = lean_array_push(x_60, x_66); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_53); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_array_push(x_54, x_68); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_51); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_72 = lean_array_push(x_71, x_70); +x_73 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_74 = lean_array_push(x_72, x_73); +x_75 = lean_array_push(x_74, x_3); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_49); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_47); +return x_77; +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed), 10, 2); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_2); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_13 = lean_apply_8(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs(x_12, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +return x_16; +} +else +{ +uint8_t x_17; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_13, 0); +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_13); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); lean_dec(x_1); -x_11 = l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__17(x_9); -x_12 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_12, 0, x_11); -x_13 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__20(x_10); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); +x_6 = lean_apply_1(x_5, x_4); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2), 11, 3); +lean_closure_set(x_9, 0, x_2); +lean_closure_set(x_9, 1, x_3); +lean_closure_set(x_9, 2, x_8); +lean_ctor_set(x_6, 0, x_9); +return x_6; +} +else +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); +lean_inc(x_10); +lean_dec(x_6); +x_12 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2), 11, 3); +lean_closure_set(x_12, 0, x_2); +lean_closure_set(x_12, 1, x_3); +lean_closure_set(x_12, 2, x_10); +x_13 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set_uint8(x_13, sizeof(void*)*1, x_11); +return x_13; +} +} +else +{ +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs), 9, 1); +lean_closure_set(x_3, 0, x_1); +lean_inc(x_2); +x_4 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats), 2, 1); +lean_closure_set(x_4, 0, x_2); +x_5 = lean_alloc_closure((void*)(l_Function_comp___rarg), 3, 2); +lean_closure_set(x_5, 0, x_3); +lean_closure_set(x_5, 1, x_4); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_6; lean_object* x_7; +x_6 = 1; +x_7 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set_uint8(x_7, sizeof(void*)*1, x_6); +return x_7; +} +else +{ +uint8_t x_8; lean_object* x_9; +lean_dec(x_2); +x_8 = 0; +x_9 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_8); +return x_9; +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = lean_apply_8(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___boxed), 8, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___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__6___closed__1; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs), 9, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_inc(x_1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats), 2, 1); +lean_closure_set(x_2, 0, x_1); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__2; +x_4 = lean_alloc_closure((void*)(l_Function_comp___rarg), 3, 2); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_5; lean_object* x_6; +x_5 = 1; +x_6 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*1, x_5); +return x_6; +} +else +{ +uint8_t x_7; lean_object* x_8; +lean_dec(x_1); +x_7 = 0; +x_8 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_8, 0, x_4); +lean_ctor_set_uint8(x_8, sizeof(void*)*1, x_7); +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) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_array_to_list(lean_box(0), x_1); +x_13 = l_List_append___rarg(x_12, x_11); +lean_ctor_set(x_2, 0, x_13); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_9); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_2, 0); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_2); +x_17 = lean_array_to_list(lean_box(0), x_1); +x_18 = l_List_append___rarg(x_17, x_15); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_16); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_9); +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) { +_start: +{ +if (lean_obj_tag(x_4) == 1) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_4, 0); +x_6 = lean_ctor_get(x_4, 1); +x_7 = lean_name_eq(x_5, x_1); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_3); +x_8 = lean_box(1); +return x_8; +} +else +{ +uint8_t x_9; +x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_6, x_2); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_3); +x_10 = lean_box(1); +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); +lean_closure_set(x_11, 0, x_3); +x_12 = 1; +x_13 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*1, x_12); +return x_13; +} +} +} +else +{ +lean_object* x_14; +lean_dec(x_3); +x_14 = lean_box(1); return x_14; } } } +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__1() { +_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_5918____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_compileStxMatch___lambda__1___closed__1() { +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__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; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -17396,13 +14722,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_compileStxMatch___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___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_compileStxMatch___lambda__1___closed__1; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___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); @@ -17410,639 +14736,993 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__5() { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_14 = lean_st_ref_take(x_12, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_instQuoteBool___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__9___closed__6() { +_start: { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_18, x_19); -lean_ctor_set(x_15, 1, x_20); -x_21 = lean_st_ref_set(x_12, x_15, x_16); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get(x_7, 0); -x_24 = lean_ctor_get(x_7, 1); -x_25 = lean_ctor_get(x_7, 2); -x_26 = lean_ctor_get(x_7, 3); -x_27 = lean_ctor_get_uint8(x_7, sizeof(void*)*6); -x_28 = lean_ctor_get_uint8(x_7, sizeof(void*)*6 + 1); -x_29 = lean_ctor_get_uint8(x_7, sizeof(void*)*6 + 2); -x_30 = lean_ctor_get(x_7, 5); -lean_inc(x_30); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -x_31 = lean_alloc_ctor(0, 6, 3); -lean_ctor_set(x_31, 0, x_23); -lean_ctor_set(x_31, 1, x_24); -lean_ctor_set(x_31, 2, x_25); -lean_ctor_set(x_31, 3, x_26); -lean_ctor_set(x_31, 4, x_18); -lean_ctor_set(x_31, 5, x_30); -lean_ctor_set_uint8(x_31, sizeof(void*)*6, x_27); -lean_ctor_set_uint8(x_31, sizeof(void*)*6 + 1, x_28); -lean_ctor_set_uint8(x_31, sizeof(void*)*6 + 2, x_29); -lean_inc(x_12); -lean_inc(x_11); +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_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) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = l_List_range(x_1); +x_13 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5(x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_32 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_1, x_2, x_31, x_8, x_9, x_10, x_11, x_12, x_22); -if (lean_obj_tag(x_32) == 0) +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_16 = lean_apply_8(x_2, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_34); -lean_dec(x_11); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_19 = lean_apply_7(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_21); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_24); +lean_dec(x_10); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 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; +x_27 = lean_ctor_get(x_25, 0); +x_28 = l_myMacro____x40_Init_Notation___hyg_11623____closed__4; +lean_inc(x_23); +lean_inc(x_27); +x_29 = l_Lean_addMacroScope(x_27, x_28, x_23); +x_30 = l_Lean_instInhabitedSourceInfo___closed__1; +x_31 = l_myMacro____x40_Init_Notation___hyg_11623____closed__3; +x_32 = l_myMacro____x40_Init_Notation___hyg_11623____closed__6; +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 = l_Array_empty___closed__1; +x_35 = lean_array_push(x_34, x_33); +x_36 = l_myMacro____x40_Init_Notation___hyg_5918____closed__4; +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_40 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_40, 0, x_30); +lean_ctor_set(x_40, 1, x_38); +lean_ctor_set(x_40, 2, x_37); +lean_ctor_set(x_40, 3, x_39); +x_41 = 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_47 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_47, 0, x_30); +lean_ctor_set(x_47, 1, x_45); +lean_ctor_set(x_47, 2, x_44); +lean_ctor_set(x_47, 3, x_46); +x_48 = lean_array_push(x_42, x_47); +x_49 = l_Lean_nullKind___closed__2; +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = lean_array_push(x_41, x_50); +x_52 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = lean_array_push(x_34, x_53); +x_55 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_56 = lean_array_push(x_54, x_55); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_49); +lean_ctor_set(x_57, 1, x_56); +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_34, x_63); +x_65 = lean_array_push(x_64, x_17); +x_66 = lean_array_push(x_65, x_20); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_49); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_array_push(x_35, x_67); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_52); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_25, 0, x_69); +return x_25; +} +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; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_70 = lean_ctor_get(x_25, 0); +x_71 = lean_ctor_get(x_25, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_25); +x_72 = l_myMacro____x40_Init_Notation___hyg_11623____closed__4; +lean_inc(x_23); +lean_inc(x_70); +x_73 = l_Lean_addMacroScope(x_70, x_72, x_23); +x_74 = l_Lean_instInhabitedSourceInfo___closed__1; +x_75 = l_myMacro____x40_Init_Notation___hyg_11623____closed__3; +x_76 = l_myMacro____x40_Init_Notation___hyg_11623____closed__6; +x_77 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_77, 2, x_73); +lean_ctor_set(x_77, 3, x_76); +x_78 = l_Array_empty___closed__1; +x_79 = lean_array_push(x_78, x_77); +x_80 = l_myMacro____x40_Init_Notation___hyg_5918____closed__4; +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_84 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_84, 0, x_74); +lean_ctor_set(x_84, 1, x_82); +lean_ctor_set(x_84, 2, x_81); +lean_ctor_set(x_84, 3, x_83); +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_91 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_91, 0, x_74); +lean_ctor_set(x_91, 1, x_89); +lean_ctor_set(x_91, 2, x_88); +lean_ctor_set(x_91, 3, x_90); +x_92 = lean_array_push(x_86, x_91); +x_93 = l_Lean_nullKind___closed__2; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = lean_array_push(x_85, x_94); +x_96 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +x_98 = lean_array_push(x_78, x_97); +x_99 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_100 = lean_array_push(x_98, x_99); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_93); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; +x_103 = lean_array_push(x_102, x_101); +x_104 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; +x_105 = lean_array_push(x_103, x_104); +x_106 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_105); +x_108 = lean_array_push(x_78, x_107); +x_109 = lean_array_push(x_108, x_17); +x_110 = lean_array_push(x_109, x_20); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_93); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_array_push(x_79, x_111); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_96); +lean_ctor_set(x_113, 1, x_112); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_71); +return x_114; +} +} +else +{ +uint8_t x_115; +lean_dec(x_17); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_37); -lean_dec(x_12); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_115 = !lean_is_exclusive(x_19); +if (x_115 == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_40 = lean_ctor_get(x_38, 0); -x_41 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -lean_inc(x_36); -lean_inc(x_40); -x_42 = l_Lean_addMacroScope(x_40, x_41, x_36); -x_43 = l_Lean_instInhabitedSourceInfo___closed__1; -x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -lean_inc(x_3); -x_45 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_42); -lean_ctor_set(x_45, 3, x_3); -x_46 = l_Array_empty___closed__1; -x_47 = lean_array_push(x_46, x_45); -x_48 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_49 = lean_array_push(x_47, x_48); -x_50 = lean_array_push(x_49, x_48); -x_51 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_52 = lean_array_push(x_50, x_51); -x_53 = lean_array_push(x_52, x_4); -x_54 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = lean_array_push(x_46, x_55); -x_57 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_62 = lean_array_push(x_60, x_61); -x_63 = l_myMacro____x40_Init_Notation___hyg_11623____closed__4; -lean_inc(x_36); -lean_inc(x_40); -x_64 = l_Lean_addMacroScope(x_40, x_63, x_36); -lean_inc(x_3); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_3); -lean_inc(x_3); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_3); -x_67 = l_myMacro____x40_Init_Notation___hyg_11623____closed__3; +return x_19; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_19, 0); +x_117 = lean_ctor_get(x_19, 1); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_19); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; +} +} +} +else +{ +uint8_t x_119; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_119 = !lean_is_exclusive(x_16); +if (x_119 == 0) +{ +return x_16; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_16, 0); +x_121 = lean_ctor_get(x_16, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_16); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1() { +_start: +{ +lean_object* x_1; +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() { +_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_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() { +_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_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___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__10___closed__4() { +_start: +{ +lean_object* x_1; +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() { +_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_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() { +_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_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() { +_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_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() { +_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_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() { +_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_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() { +_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_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() { +_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_6172____closed__7; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___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_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() { +_start: +{ +lean_object* x_1; +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() { +_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_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() { +_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_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__14; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_term_____x5b___x3a___x5d___closed__2; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_905____closed__10; +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() { +_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_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() { +_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_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() { +_start: +{ +lean_object* x_1; +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() { +_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_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() { +_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_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__22() { +_start: +{ +lean_object* x_1; +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() { +_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_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() { +_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_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() { +_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_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() { +_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_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) { +_start: +{ +if (lean_obj_tag(x_2) == 1) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_2, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_2, 1); +lean_inc(x_13); +x_14 = l_Lean_nullKind___closed__1; +x_15 = lean_string_dec_eq(x_13, x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_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; +x_16 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___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_28 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_28, 0, x_25); +lean_ctor_set(x_28, 1, x_26); +lean_ctor_set(x_28, 2, x_23); +lean_ctor_set(x_28, 3, x_27); +x_29 = l_Array_empty___closed__1; +x_30 = lean_array_push(x_29, x_28); +x_31 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_32 = l_Lean_addMacroScope(x_20, x_31, x_17); +x_33 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_34 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_34, 0, x_25); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_32); +lean_ctor_set(x_34, 3, x_24); +x_35 = lean_array_push(x_29, x_34); +x_36 = l___private_Init_Meta_0__Lean_quoteName(x_2); +x_37 = lean_array_push(x_35, 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_30, 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___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); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_44 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_46); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l_myMacro____x40_Init_Notation___hyg_8179____closed__4; +lean_inc(x_45); +lean_inc(x_48); +x_51 = l_Lean_addMacroScope(x_48, x_50, x_45); +x_52 = lean_box(0); +x_53 = l_Lean_instInhabitedSourceInfo___closed__1; +x_54 = l_myMacro____x40_Init_Notation___hyg_8179____closed__3; +x_55 = l_myMacro____x40_Init_Notation___hyg_8179____closed__6; +x_56 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +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; +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_63 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_63, 0, x_53); +lean_ctor_set(x_63, 1, x_61); +lean_ctor_set(x_63, 2, x_60); +lean_ctor_set(x_63, 3, x_62); +x_64 = lean_array_push(x_57, x_63); +x_65 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +lean_inc(x_45); +lean_inc(x_48); +x_66 = l_Lean_addMacroScope(x_48, x_65, x_45); +x_67 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; x_68 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_68, 0, x_43); +lean_ctor_set(x_68, 0, x_53); lean_ctor_set(x_68, 1, x_67); -lean_ctor_set(x_68, 2, x_64); -lean_ctor_set(x_68, 3, x_66); -x_69 = lean_array_push(x_46, x_68); -x_70 = l_myMacro____x40_Init_Notation___hyg_5918____closed__4; -lean_inc(x_36); -lean_inc(x_40); -x_71 = l_Lean_addMacroScope(x_40, x_70, x_36); -lean_inc(x_3); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_3); -lean_inc(x_3); +lean_ctor_set(x_68, 2, x_66); +lean_ctor_set(x_68, 3, x_52); +x_69 = lean_array_push(x_57, x_68); +x_70 = l___private_Init_Meta_0__Lean_quoteName(x_2); +lean_inc(x_69); +x_71 = lean_array_push(x_69, x_70); +x_72 = l_Lean_nullKind___closed__2; x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_3); -x_74 = l_myMacro____x40_Init_Notation___hyg_5918____closed__3; -x_75 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_75, 0, x_43); -lean_ctor_set(x_75, 1, x_74); -lean_ctor_set(x_75, 2, x_71); -lean_ctor_set(x_75, 3, x_73); -x_76 = lean_array_push(x_46, x_75); -x_77 = lean_array_push(x_46, x_6); -x_78 = l_Lean_setOptionFromString___closed__3; -x_79 = l_Lean_addMacroScope(x_40, x_78, x_36); -x_80 = l_Lean_instQuoteBool___closed__5; -lean_inc(x_3); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_3); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_3); -x_83 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__2; -x_84 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_84, 0, x_43); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_84, 2, x_79); -lean_ctor_set(x_84, 3, x_82); -x_85 = lean_array_push(x_77, x_84); -x_86 = l_Lean_nullKind___closed__2; -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_85); -x_88 = lean_array_push(x_76, x_87); -x_89 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -x_91 = lean_array_push(x_46, x_90); -x_92 = lean_array_push(x_91, x_48); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_86); -lean_ctor_set(x_93, 1, x_92); -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_98); -lean_ctor_set(x_99, 1, x_97); -x_100 = lean_array_push(x_46, x_99); -x_101 = lean_array_push(x_100, x_5); -x_102 = lean_array_push(x_101, x_33); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_86); -lean_ctor_set(x_103, 1, x_102); -x_104 = lean_array_push(x_69, x_103); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_89); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_array_push(x_62, x_105); -x_107 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +lean_ctor_set(x_73, 1, x_71); +x_74 = lean_array_push(x_64, x_73); +x_75 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = lean_array_push(x_57, x_76); +x_78 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_79 = lean_array_push(x_77, x_78); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_72); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; +x_82 = lean_array_push(x_81, x_80); +x_83 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; +x_84 = lean_array_push(x_82, x_83); +x_85 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +x_87 = lean_array_push(x_57, x_86); +x_88 = l_myMacro____x40_Init_Notation___hyg_6172____closed__7; +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_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; +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_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_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_104 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_104, 0, x_53); +lean_ctor_set(x_104, 1, x_102); +lean_ctor_set(x_104, 2, x_101); +lean_ctor_set(x_104, 3, x_103); +x_105 = lean_array_push(x_57, x_104); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_72); +lean_ctor_set(x_106, 1, x_69); +x_107 = lean_array_push(x_105, x_106); x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -lean_ctor_set(x_38, 0, x_108); -return x_38; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_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; -x_109 = lean_ctor_get(x_38, 0); -x_110 = lean_ctor_get(x_38, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_38); -x_111 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -lean_inc(x_36); -lean_inc(x_109); -x_112 = l_Lean_addMacroScope(x_109, x_111, x_36); -x_113 = l_Lean_instInhabitedSourceInfo___closed__1; -x_114 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -lean_inc(x_3); -x_115 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -lean_ctor_set(x_115, 2, x_112); -lean_ctor_set(x_115, 3, x_3); -x_116 = l_Array_empty___closed__1; -x_117 = lean_array_push(x_116, x_115); -x_118 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_119 = lean_array_push(x_117, x_118); -x_120 = lean_array_push(x_119, x_118); -x_121 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_122 = lean_array_push(x_120, x_121); -x_123 = lean_array_push(x_122, x_4); -x_124 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -x_126 = lean_array_push(x_116, x_125); -x_127 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_129 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_130 = lean_array_push(x_129, x_128); -x_131 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_132 = lean_array_push(x_130, x_131); -x_133 = l_myMacro____x40_Init_Notation___hyg_11623____closed__4; -lean_inc(x_36); -lean_inc(x_109); -x_134 = l_Lean_addMacroScope(x_109, x_133, x_36); -lean_inc(x_3); -x_135 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_3); -lean_inc(x_3); -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_3); -x_137 = l_myMacro____x40_Init_Notation___hyg_11623____closed__3; -x_138 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_138, 0, x_113); +lean_ctor_set(x_108, 0, x_75); +lean_ctor_set(x_108, 1, x_107); +x_109 = lean_array_push(x_57, x_108); +x_110 = lean_array_push(x_109, x_78); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_72); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_array_push(x_81, x_111); +x_113 = lean_array_push(x_112, x_83); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_85); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_array_push(x_57, x_114); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_72); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_array_push(x_99, x_116); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_75); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_push(x_57, x_118); +x_120 = lean_array_push(x_119, x_78); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_72); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_array_push(x_81, x_121); +x_123 = lean_array_push(x_122, x_83); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_85); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_array_push(x_57, x_124); +lean_inc(x_1); +x_126 = l_Nat_repr(x_1); +x_127 = l_Lean_numLitKind; +x_128 = l_Lean_Syntax_mkLit(x_127, x_126, x_53); +x_129 = lean_array_push(x_125, x_128); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_72); +lean_ctor_set(x_130, 1, x_129); +x_131 = lean_array_push(x_93, x_130); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_75); +lean_ctor_set(x_132, 1, x_131); +x_133 = lean_array_push(x_57, x_132); +x_134 = lean_array_push(x_133, x_78); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_72); +lean_ctor_set(x_135, 1, x_134); +x_136 = lean_array_push(x_81, x_135); +x_137 = lean_array_push(x_136, x_83); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_85); lean_ctor_set(x_138, 1, x_137); -lean_ctor_set(x_138, 2, x_134); -lean_ctor_set(x_138, 3, x_136); -x_139 = lean_array_push(x_116, x_138); -x_140 = l_myMacro____x40_Init_Notation___hyg_5918____closed__4; -lean_inc(x_36); -lean_inc(x_109); -x_141 = l_Lean_addMacroScope(x_109, x_140, x_36); -lean_inc(x_3); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_3); -lean_inc(x_3); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_3); -x_144 = l_myMacro____x40_Init_Notation___hyg_5918____closed__3; -x_145 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_145, 0, x_113); -lean_ctor_set(x_145, 1, x_144); -lean_ctor_set(x_145, 2, x_141); -lean_ctor_set(x_145, 3, x_143); -x_146 = lean_array_push(x_116, x_145); -x_147 = lean_array_push(x_116, x_6); -x_148 = l_Lean_setOptionFromString___closed__3; -x_149 = l_Lean_addMacroScope(x_109, x_148, x_36); -x_150 = l_Lean_instQuoteBool___closed__5; -lean_inc(x_3); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_3); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_3); -x_153 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__2; -x_154 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_154, 0, x_113); -lean_ctor_set(x_154, 1, x_153); -lean_ctor_set(x_154, 2, x_149); -lean_ctor_set(x_154, 3, x_152); -x_155 = lean_array_push(x_147, x_154); -x_156 = l_Lean_nullKind___closed__2; -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_155); -x_158 = lean_array_push(x_146, x_157); -x_159 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_158); -x_161 = lean_array_push(x_116, x_160); -x_162 = lean_array_push(x_161, x_118); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_156); -lean_ctor_set(x_163, 1, x_162); -x_164 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_165 = lean_array_push(x_164, x_163); -x_166 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_167 = lean_array_push(x_165, x_166); -x_168 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -x_170 = lean_array_push(x_116, x_169); -x_171 = lean_array_push(x_170, x_5); -x_172 = lean_array_push(x_171, x_33); -x_173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_173, 0, x_156); -lean_ctor_set(x_173, 1, x_172); -x_174 = lean_array_push(x_139, x_173); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_159); -lean_ctor_set(x_175, 1, x_174); -x_176 = lean_array_push(x_132, x_175); -x_177 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_176); -x_179 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_110); -return x_179; +x_139 = lean_array_push(x_87, x_138); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_72); +lean_ctor_set(x_140, 1, x_139); +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); +return x_143; } } else { -uint8_t x_180; +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_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_180 = !lean_is_exclusive(x_32); -if (x_180 == 0) -{ -return x_32; -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_32, 0); -x_182 = lean_ctor_get(x_32, 1); -lean_inc(x_182); -lean_inc(x_181); -lean_dec(x_32); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -return x_183; -} +x_144 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +lean_dec(x_144); +x_147 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_146); +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___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_156 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_156, 0, x_153); +lean_ctor_set(x_156, 1, x_154); +lean_ctor_set(x_156, 2, x_151); +lean_ctor_set(x_156, 3, x_155); +x_157 = l_Array_empty___closed__1; +x_158 = lean_array_push(x_157, x_156); +x_159 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_160 = l_Lean_addMacroScope(x_148, x_159, x_145); +x_161 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_162 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_162, 0, x_153); +lean_ctor_set(x_162, 1, x_161); +lean_ctor_set(x_162, 2, x_160); +lean_ctor_set(x_162, 3, x_152); +x_163 = lean_array_push(x_157, x_162); +x_164 = l___private_Init_Meta_0__Lean_quoteName(x_2); +x_165 = lean_array_push(x_163, x_164); +x_166 = l_Lean_nullKind___closed__2; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = lean_array_push(x_158, x_167); +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); +return x_171; } } else { -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; uint8_t x_198; uint8_t x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_184 = lean_ctor_get(x_15, 0); -x_185 = lean_ctor_get(x_15, 1); -x_186 = lean_ctor_get(x_15, 2); -x_187 = lean_ctor_get(x_15, 3); -lean_inc(x_187); -lean_inc(x_186); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_15); -x_188 = lean_unsigned_to_nat(1u); -x_189 = lean_nat_add(x_185, x_188); -x_190 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_190, 0, x_184); +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; +x_172 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +lean_dec(x_172); +x_175 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___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_184 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_184, 0, x_181); +lean_ctor_set(x_184, 1, x_182); +lean_ctor_set(x_184, 2, x_179); +lean_ctor_set(x_184, 3, x_183); +x_185 = l_Array_empty___closed__1; +x_186 = lean_array_push(x_185, x_184); +x_187 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_188 = l_Lean_addMacroScope(x_176, x_187, x_173); +x_189 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_190 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_190, 0, x_181); lean_ctor_set(x_190, 1, x_189); -lean_ctor_set(x_190, 2, x_186); -lean_ctor_set(x_190, 3, x_187); -x_191 = lean_st_ref_set(x_12, x_190, x_16); -x_192 = lean_ctor_get(x_191, 1); -lean_inc(x_192); -lean_dec(x_191); -x_193 = lean_ctor_get(x_7, 0); -x_194 = lean_ctor_get(x_7, 1); -x_195 = lean_ctor_get(x_7, 2); -x_196 = lean_ctor_get(x_7, 3); -x_197 = lean_ctor_get_uint8(x_7, sizeof(void*)*6); -x_198 = lean_ctor_get_uint8(x_7, sizeof(void*)*6 + 1); -x_199 = lean_ctor_get_uint8(x_7, sizeof(void*)*6 + 2); -x_200 = lean_ctor_get(x_7, 5); -lean_inc(x_200); -lean_inc(x_196); -lean_inc(x_195); -lean_inc(x_194); -lean_inc(x_193); -x_201 = lean_alloc_ctor(0, 6, 3); -lean_ctor_set(x_201, 0, x_193); -lean_ctor_set(x_201, 1, x_194); -lean_ctor_set(x_201, 2, x_195); -lean_ctor_set(x_201, 3, x_196); -lean_ctor_set(x_201, 4, x_185); -lean_ctor_set(x_201, 5, x_200); -lean_ctor_set_uint8(x_201, sizeof(void*)*6, x_197); -lean_ctor_set_uint8(x_201, sizeof(void*)*6 + 1, x_198); -lean_ctor_set_uint8(x_201, sizeof(void*)*6 + 2, x_199); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_202 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_1, x_2, x_201, x_8, x_9, x_10, x_11, x_12, x_192); -if (lean_obj_tag(x_202) == 0) +lean_ctor_set(x_190, 2, x_188); +lean_ctor_set(x_190, 3, x_180); +x_191 = lean_array_push(x_185, x_190); +x_192 = l___private_Init_Meta_0__Lean_quoteName(x_2); +x_193 = lean_array_push(x_191, x_192); +x_194 = l_Lean_nullKind___closed__2; +x_195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_193); +x_196 = lean_array_push(x_186, x_195); +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); +return x_199; +} +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1() { +_start: { -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; -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); -lean_dec(x_202); -x_205 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_204); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_206 = lean_ctor_get(x_205, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_205, 1); -lean_inc(x_207); -lean_dec(x_205); -x_208 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_207); -lean_dec(x_12); -x_209 = lean_ctor_get(x_208, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_208, 1); -lean_inc(x_210); -if (lean_is_exclusive(x_208)) { - lean_ctor_release(x_208, 0); - lean_ctor_release(x_208, 1); - x_211 = x_208; -} else { - lean_dec_ref(x_208); - x_211 = lean_box(0); +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__1; +x_2 = 1; +x_3 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; } -x_212 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -lean_inc(x_206); -lean_inc(x_209); -x_213 = l_Lean_addMacroScope(x_209, x_212, x_206); -x_214 = l_Lean_instInhabitedSourceInfo___closed__1; -x_215 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -lean_inc(x_3); -x_216 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_216, 0, x_214); -lean_ctor_set(x_216, 1, x_215); -lean_ctor_set(x_216, 2, x_213); -lean_ctor_set(x_216, 3, x_3); -x_217 = l_Array_empty___closed__1; -x_218 = lean_array_push(x_217, x_216); -x_219 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_220 = lean_array_push(x_218, x_219); -x_221 = lean_array_push(x_220, x_219); -x_222 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_223 = lean_array_push(x_221, x_222); -x_224 = lean_array_push(x_223, x_4); -x_225 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_225); -lean_ctor_set(x_226, 1, x_224); -x_227 = lean_array_push(x_217, x_226); -x_228 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_227); -x_230 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_231 = lean_array_push(x_230, x_229); -x_232 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_233 = lean_array_push(x_231, x_232); -x_234 = l_myMacro____x40_Init_Notation___hyg_11623____closed__4; -lean_inc(x_206); -lean_inc(x_209); -x_235 = l_Lean_addMacroScope(x_209, x_234, x_206); -lean_inc(x_3); -x_236 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_236, 0, x_234); -lean_ctor_set(x_236, 1, x_3); -lean_inc(x_3); -x_237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_237, 0, x_236); -lean_ctor_set(x_237, 1, x_3); -x_238 = l_myMacro____x40_Init_Notation___hyg_11623____closed__3; -x_239 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_239, 0, x_214); -lean_ctor_set(x_239, 1, x_238); -lean_ctor_set(x_239, 2, x_235); -lean_ctor_set(x_239, 3, x_237); -x_240 = lean_array_push(x_217, x_239); -x_241 = l_myMacro____x40_Init_Notation___hyg_5918____closed__4; -lean_inc(x_206); -lean_inc(x_209); -x_242 = l_Lean_addMacroScope(x_209, x_241, x_206); -lean_inc(x_3); -x_243 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_243, 0, x_241); -lean_ctor_set(x_243, 1, x_3); -lean_inc(x_3); -x_244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_244, 0, x_243); -lean_ctor_set(x_244, 1, x_3); -x_245 = l_myMacro____x40_Init_Notation___hyg_5918____closed__3; -x_246 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_246, 0, x_214); -lean_ctor_set(x_246, 1, x_245); -lean_ctor_set(x_246, 2, x_242); -lean_ctor_set(x_246, 3, x_244); -x_247 = lean_array_push(x_217, x_246); -x_248 = lean_array_push(x_217, x_6); -x_249 = l_Lean_setOptionFromString___closed__3; -x_250 = l_Lean_addMacroScope(x_209, x_249, x_206); -x_251 = l_Lean_instQuoteBool___closed__5; -lean_inc(x_3); -x_252 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_3); -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_3); -x_254 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__2; -x_255 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_255, 0, x_214); -lean_ctor_set(x_255, 1, x_254); -lean_ctor_set(x_255, 2, x_250); -lean_ctor_set(x_255, 3, x_253); -x_256 = lean_array_push(x_248, x_255); -x_257 = l_Lean_nullKind___closed__2; -x_258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_256); -x_259 = lean_array_push(x_247, x_258); -x_260 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_259); -x_262 = lean_array_push(x_217, x_261); -x_263 = lean_array_push(x_262, x_219); -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_257); -lean_ctor_set(x_264, 1, x_263); -x_265 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_266 = lean_array_push(x_265, x_264); -x_267 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_268 = lean_array_push(x_266, x_267); -x_269 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = lean_array_push(x_217, x_270); -x_272 = lean_array_push(x_271, x_5); -x_273 = lean_array_push(x_272, x_203); -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_257); -lean_ctor_set(x_274, 1, x_273); -x_275 = lean_array_push(x_240, x_274); -x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_260); -lean_ctor_set(x_276, 1, x_275); -x_277 = lean_array_push(x_233, x_276); -x_278 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_277); -if (lean_is_scalar(x_211)) { - x_280 = lean_alloc_ctor(0, 2, 0); -} else { - x_280 = x_211; } -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_210); -return x_280; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_2, 0); +x_4 = l_Lean_Syntax_structEq(x_3, x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = lean_box(2); +return x_5; } else { -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_281 = lean_ctor_get(x_202, 0); -lean_inc(x_281); -x_282 = lean_ctor_get(x_202, 1); -lean_inc(x_282); -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - x_283 = x_202; -} else { - lean_dec_ref(x_202); - x_283 = lean_box(0); +lean_object* x_6; +x_6 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1; +return x_6; } -if (lean_is_scalar(x_283)) { - x_284 = lean_alloc_ctor(1, 2, 0); -} else { - x_284 = x_283; } -lean_ctor_set(x_284, 0, x_281); -lean_ctor_set(x_284, 1, x_282); -return x_284; +else +{ +lean_object* x_7; +x_7 = lean_box(2); +return x_7; } } } -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1() { _start: { lean_object* x_1; @@ -18050,22 +15730,22 @@ x_1 = lean_mk_string("sequenceMap"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___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_compileStxMatch___lambda__2___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___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_compileStxMatch___lambda__2___closed__1; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__2; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___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); @@ -18073,17 +15753,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_compileStxMatch___lambda__2___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___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_compileStxMatch___lambda__2___closed__1; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___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_compileStxMatch___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +lean_object* 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) { _start: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; @@ -18140,11 +15820,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_compileStxMatch___lambda__2___closed__4; +x_45 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___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_compileStxMatch___lambda__2___closed__3; +x_47 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__3; lean_inc(x_6); lean_inc(x_2); x_48 = lean_alloc_ctor(3, 4, 0); @@ -18464,11 +16144,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_compileStxMatch___lambda__2___closed__4; +x_185 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___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_compileStxMatch___lambda__2___closed__3; +x_187 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__3; lean_inc(x_6); lean_inc(x_2); x_188 = lean_alloc_ctor(3, 4, 0); @@ -18743,22 +16423,22 @@ return x_304; } } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___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_compileStxMatch___spec__7___closed__4; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___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_compileStxMatch___lambda__3___closed__2() { +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; 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_compileStxMatch___spec__7___closed__4; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__4; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__1; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___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); @@ -18766,7 +16446,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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__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; @@ -18795,7 +16475,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_compileStxMatch___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); +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); @@ -18815,9 +16495,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_compileStxMatch___spec__7___closed__5; +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_compileStxMatch___lambda__3___closed__2; +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); @@ -18825,7 +16505,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_compileStxMatch___lambda__2(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__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 @@ -18835,12 +16515,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_compileStxMatch___lambda__2(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__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_compileStxMatch___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +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; @@ -18869,7 +16549,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_compileStxMatch___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); +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); @@ -18889,9 +16569,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_compileStxMatch___spec__7___closed__5; +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_compileStxMatch___lambda__3___closed__2; +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); @@ -18899,7 +16579,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_compileStxMatch___lambda__2(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__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 @@ -18909,12 +16589,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_compileStxMatch___lambda__2(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__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_compileStxMatch___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, 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; lean_object* x_24; uint8_t x_25; @@ -18943,7 +16623,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_compileStxMatch___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); +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); @@ -18963,9 +16643,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_compileStxMatch___spec__7___closed__5; +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_compileStxMatch___lambda__3___closed__2; +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); @@ -18973,7 +16653,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_compileStxMatch___lambda__2(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__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 @@ -18983,12 +16663,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_compileStxMatch___lambda__2(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__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_compileStxMatch___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +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: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; @@ -19017,7 +16697,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_compileStxMatch___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__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); x_29 = lean_ctor_get(x_28, 0); @@ -19037,9 +16717,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_compileStxMatch___spec__7___closed__5; +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_compileStxMatch___lambda__3___closed__2; +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); @@ -19047,7 +16727,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_compileStxMatch___lambda__2(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__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 @@ -19057,12 +16737,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_compileStxMatch___lambda__2(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__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_compileStxMatch___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +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; @@ -19091,7 +16771,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_compileStxMatch___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__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); lean_dec(x_27); lean_dec(x_1); x_29 = lean_ctor_get(x_28, 0); @@ -19111,9 +16791,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_compileStxMatch___spec__7___closed__5; +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_compileStxMatch___lambda__3___closed__2; +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); @@ -19121,7 +16801,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_compileStxMatch___lambda__2(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__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 @@ -19131,12 +16811,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_compileStxMatch___lambda__2(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__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_compileStxMatch___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, 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__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; @@ -19165,7 +16845,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_compileStxMatch___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); +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); lean_dec(x_27); lean_dec(x_1); x_29 = lean_ctor_get(x_28, 0); @@ -19185,9 +16865,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_compileStxMatch___spec__7___closed__5; +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_compileStxMatch___lambda__3___closed__2; +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); @@ -19195,7 +16875,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_compileStxMatch___lambda__2(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__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 @@ -19205,242 +16885,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_compileStxMatch___lambda__2(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__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; } } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Syntax.isOfKind"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__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); -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_compileStxMatch___lambda__9___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("isOfKind"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Notation___hyg_8179____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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Notation___hyg_6172____closed__7; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Array.size"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___closed__13; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__14; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_term_____x5b___x3a___x5d___closed__2; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_905____closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__8; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___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_compileStxMatch___lambda__9___closed__19; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__20; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__22() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__1() { _start: { lean_object* x_1; @@ -19448,22 +16898,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_compileStxMatch___lambda__9___closed__23() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__22; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__24() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__22; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__23; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -19471,7 +16921,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_compileStxMatch___lambda__9___closed__25() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__4() { _start: { lean_object* x_1; @@ -19479,41 +16929,41 @@ x_1 = lean_mk_string("getSepElems"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__25; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__27() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__26; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__27; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__29() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -19525,17 +16975,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_compileStxMatch___lambda__9___closed__30() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__29; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__31() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__10() { _start: { lean_object* x_1; @@ -19543,22 +16993,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_compileStxMatch___lambda__9___closed__32() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__31; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__33() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__31; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__10; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__32; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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); @@ -19566,7 +17016,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_compileStxMatch___lambda__9___closed__34() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__13() { _start: { lean_object* x_1; @@ -19574,17 +17024,17 @@ x_1 = lean_mk_string("isNone"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__35() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_getHeadInfo___lambda__2___closed__13; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__34; +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_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__36() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__15() { _start: { lean_object* x_1; @@ -19592,19 +17042,19 @@ x_1 = lean_mk_string("then"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__37() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__36; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__38() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__17() { _start: { lean_object* x_1; @@ -19612,19 +17062,19 @@ x_1 = lean_mk_string("else"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__39() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__38; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__40() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -19636,17 +17086,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_compileStxMatch___lambda__9___closed__41() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__20() { _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_compileStxMatch___lambda__9___closed__40; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__19; 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_compileStxMatch___lambda__9___closed__42() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -19658,7 +17108,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__43() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -19668,221 +17118,1495 @@ 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_compileStxMatch___lambda__9___closed__44() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_compileStxMatch___lambda__9___closed__43; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__22; x_2 = l_Lean_expandExplicitBindersAux_loop___closed__2; 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_compileStxMatch___lambda__9___closed__45() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__44; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__23; x_2 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* 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) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_box(0); -lean_inc(x_2); -x_14 = l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_1, x_2, x_13); -lean_inc(x_11); -lean_inc(x_10); +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = l_Lean_Syntax_antiquotSpliceKind_x3f(x_1); +x_12 = l_Lean_Syntax_getAntiquotSpliceContents(x_1); +lean_inc(x_8); +lean_inc(x_4); +x_13 = l_Lean_Elab_Term_Quotation_getAntiquotationIds(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_15 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(x_5, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_15) == 0) +lean_inc(x_5); +lean_inc(x_4); +x_17 = lean_apply_8(x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -lean_inc(x_3); -x_18 = l_List_append___rarg(x_5, x_3); -x_19 = lean_st_ref_take(x_11, x_17); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = !lean_is_exclusive(x_20); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_23 = lean_ctor_get(x_20, 1); -x_24 = lean_unsigned_to_nat(1u); -x_25 = lean_nat_add(x_23, x_24); -lean_ctor_set(x_20, 1, x_25); -x_26 = lean_st_ref_set(x_11, x_20, x_21); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_ctor_get(x_6, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_6, 1); -lean_inc(x_29); -x_30 = lean_ctor_get(x_6, 2); -lean_inc(x_30); -x_31 = lean_ctor_get(x_6, 3); -lean_inc(x_31); -x_32 = lean_ctor_get_uint8(x_6, sizeof(void*)*6); -x_33 = lean_ctor_get_uint8(x_6, sizeof(void*)*6 + 1); -x_34 = lean_ctor_get_uint8(x_6, sizeof(void*)*6 + 2); -x_35 = lean_ctor_get(x_6, 5); -lean_inc(x_35); -lean_inc(x_35); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -x_36 = lean_alloc_ctor(0, 6, 3); -lean_ctor_set(x_36, 0, x_28); -lean_ctor_set(x_36, 1, x_29); -lean_ctor_set(x_36, 2, x_30); -lean_ctor_set(x_36, 3, x_31); -lean_ctor_set(x_36, 4, x_23); -lean_ctor_set(x_36, 5, x_35); -lean_ctor_set_uint8(x_36, sizeof(void*)*6, x_32); -lean_ctor_set_uint8(x_36, sizeof(void*)*6 + 1, x_33); -lean_ctor_set_uint8(x_36, sizeof(void*)*6 + 2, x_34); -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_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_37 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_18, x_16, x_36, x_7, x_8, x_9, x_10, x_11, x_27); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(x_1, x_2, x_13); -x_41 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_40); +lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_4); -lean_ctor_set(x_42, 1, x_3); -if (lean_obj_tag(x_1) == 0) +x_20 = lean_apply_7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_43; lean_object* x_44; -lean_dec(x_35); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -x_43 = lean_ctor_get(x_1, 0); -lean_inc(x_43); -lean_dec(x_1); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -if (lean_obj_tag(x_44) == 0) +if (lean_obj_tag(x_11) == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_41); -x_45 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_39); -lean_dec(x_10); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_22); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___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_34 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_30); +lean_ctor_set(x_34, 3, x_33); +x_35 = l_Array_empty___closed__1; +x_36 = lean_array_push(x_35, x_34); +x_37 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_38 = l_Lean_addMacroScope(x_27, x_37, x_24); +x_39 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_40 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +lean_ctor_set(x_40, 3, x_16); +x_41 = lean_array_push(x_35, x_40); +x_42 = l_Lean_nullKind___closed__2; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = lean_array_push(x_36, x_43); +x_45 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; +x_48 = 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(x_11, x_47); +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); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_47); -lean_dec(x_11); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_50 = lean_ctor_get(x_48, 0); -x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_52 = l_Lean_addMacroScope(x_50, x_51, x_46); -x_53 = l_Lean_instInhabitedSourceInfo___closed__1; -x_54 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_55 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_55, 2, x_52); -lean_ctor_set(x_55, 3, x_13); -x_56 = l_Array_empty___closed__1; -x_57 = lean_array_push(x_56, x_55); -x_58 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_59 = lean_array_push(x_57, x_58); -x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_62 = lean_array_push(x_60, x_61); -x_63 = lean_array_push(x_62, x_4); -x_64 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -x_66 = lean_array_push(x_56, x_65); -x_67 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_70 = lean_array_push(x_69, x_68); -x_71 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_72 = lean_array_push(x_70, x_71); -x_73 = lean_array_push(x_72, x_38); -x_74 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -lean_ctor_set(x_48, 0, x_75); -return x_48; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_12); +return x_51; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_76 = lean_ctor_get(x_48, 0); -x_77 = lean_ctor_get(x_48, 1); -lean_inc(x_77); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_52 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_28); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_54); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_62 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_62, 0, x_31); +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_35, x_62); +x_64 = lean_array_push(x_35, x_46); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_42); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_array_push(x_63, x_65); +x_67 = lean_alloc_ctor(1, 2, 0); +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); +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_12); +return x_70; +} +} +else +{ +lean_object* x_71; +x_71 = lean_ctor_get(x_11, 0); +lean_inc(x_71); +switch (lean_obj_tag(x_71)) { +case 0: +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 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; uint8_t x_99; +x_72 = lean_ctor_get(x_20, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_20, 1); +lean_inc(x_73); +lean_dec(x_20); +x_74 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); -lean_dec(x_48); -x_78 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_79 = l_Lean_addMacroScope(x_76, x_78, x_46); -x_80 = l_Lean_instInhabitedSourceInfo___closed__1; -x_81 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_82 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set(x_82, 2, x_79); -lean_ctor_set(x_82, 3, x_13); -x_83 = l_Array_empty___closed__1; -x_84 = lean_array_push(x_83, x_82); -x_85 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_86 = lean_array_push(x_84, x_85); +lean_dec(x_74); +x_77 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_76); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___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_85 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_83); +lean_ctor_set(x_85, 2, x_81); +lean_ctor_set(x_85, 3, x_84); +x_86 = l_Array_empty___closed__1; x_87 = lean_array_push(x_86, x_85); -x_88 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_89 = lean_array_push(x_87, x_88); -x_90 = lean_array_push(x_89, x_4); +x_88 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_89 = l_Lean_addMacroScope(x_78, x_88, x_75); +x_90 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_91 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_91, 0, x_82); +lean_ctor_set(x_91, 1, x_90); +lean_ctor_set(x_91, 2, x_89); +lean_ctor_set(x_91, 3, x_16); +x_92 = lean_array_push(x_86, x_91); +x_93 = l_Lean_nullKind___closed__2; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = lean_array_push(x_87, x_94); +x_96 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +x_98 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; +x_99 = 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(x_11, x_98); +lean_dec(x_11); +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); +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_12); +return x_102; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_103 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_79); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_105); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_113 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_113, 0, x_82); +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 = lean_array_push(x_86, x_113); +x_115 = lean_array_push(x_86, x_97); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_93); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_array_push(x_114, x_116); +x_118 = lean_alloc_ctor(1, 2, 0); +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); +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_12); +return x_121; +} +} +case 1: +{ +lean_object* x_122; +x_122 = lean_ctor_get(x_71, 0); +lean_inc(x_122); +switch (lean_obj_tag(x_122)) { +case 0: +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_123 = lean_ctor_get(x_20, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_20, 1); +lean_inc(x_124); +lean_dec(x_20); +x_125 = lean_ctor_get(x_71, 1); +lean_inc(x_125); +lean_dec(x_71); +x_126 = l_myMacro____x40_Init_Notation___hyg_948____closed__1; +x_127 = lean_string_dec_eq(x_125, x_126); +lean_dec(x_125); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; 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; uint8_t x_153; +x_128 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_124); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_130); +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +lean_dec(x_131); +x_134 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___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_139 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_139, 0, x_136); +lean_ctor_set(x_139, 1, x_137); +lean_ctor_set(x_139, 2, x_135); +lean_ctor_set(x_139, 3, x_138); +x_140 = l_Array_empty___closed__1; +x_141 = lean_array_push(x_140, x_139); +x_142 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_143 = l_Lean_addMacroScope(x_132, x_142, x_129); +x_144 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_145 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_145, 0, x_136); +lean_ctor_set(x_145, 1, x_144); +lean_ctor_set(x_145, 2, x_143); +lean_ctor_set(x_145, 3, x_16); +x_146 = lean_array_push(x_140, x_145); +x_147 = l_Lean_nullKind___closed__2; +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_146); +x_149 = lean_array_push(x_141, x_148); +x_150 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +x_152 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; +x_153 = 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(x_11, x_152); +lean_dec(x_11); +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); +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_12); +return x_156; +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_157 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_133); +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec(x_157); +x_160 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_159); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_163 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_167 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_167, 0, x_136); +lean_ctor_set(x_167, 1, x_165); +lean_ctor_set(x_167, 2, x_164); +lean_ctor_set(x_167, 3, x_166); +x_168 = lean_array_push(x_140, x_167); +x_169 = lean_array_push(x_140, x_151); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_147); +lean_ctor_set(x_170, 1, x_169); +x_171 = lean_array_push(x_168, x_170); +x_172 = lean_alloc_ctor(1, 2, 0); +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); +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_12); +return x_175; +} +} +else +{ +lean_object* x_176; size_t x_177; size_t 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; uint8_t x_189; +lean_dec(x_11); +x_176 = lean_array_get_size(x_14); +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_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); +lean_dec(x_14); +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_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_184); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_185, 1); +lean_inc(x_187); +lean_dec(x_185); +x_188 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_187); +lean_dec(x_9); +x_189 = !lean_is_exclusive(x_188); +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; +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_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_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_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_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); +x_205 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_206 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_206, 0, x_193); +lean_ctor_set(x_206, 1, x_205); +lean_ctor_set(x_206, 2, x_204); +lean_ctor_set(x_206, 3, x_16); +x_207 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; +x_208 = lean_array_push(x_207, x_206); +x_209 = l_Lean_Parser_Term_matchDiscr___elambda__1___closed__1; +x_210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_208); +x_211 = l_Array_empty___closed__1; +x_212 = lean_array_push(x_211, x_210); +x_213 = l_Lean_nullKind___closed__2; +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_212); +x_215 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__20; +x_216 = lean_array_push(x_215, x_214); +x_217 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_218 = lean_array_push(x_216, x_217); +x_219 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__21; +x_220 = lean_array_push(x_218, x_219); +x_221 = l_Lean_nullKind; +x_222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_222, 0, x_221); +lean_ctor_set(x_222, 1, x_12); +x_223 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__2; +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_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_226); +x_229 = lean_array_push(x_211, x_228); +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_213); +lean_ctor_set(x_230, 1, x_229); +x_231 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__22; +x_232 = lean_array_push(x_231, x_230); +x_233 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; +x_234 = lean_array_push(x_232, x_233); +x_235 = lean_array_push(x_234, x_180); +x_236 = l_Lean_Parser_Term_matchAlt___closed__1; +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_236); +lean_ctor_set(x_237, 1, x_235); +x_238 = lean_array_push(x_211, x_237); +x_239 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__24; +x_240 = lean_array_push(x_239, x_123); +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_236); +lean_ctor_set(x_241, 1, x_240); +x_242 = lean_array_push(x_238, x_241); +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_213); +lean_ctor_set(x_243, 1, x_242); +x_244 = lean_array_push(x_211, x_243); +x_245 = l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; +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_220, x_246); +x_248 = l_Lean_Parser_Term_match___elambda__1___closed__1; +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_247); +x_250 = lean_array_push(x_202, x_249); +x_251 = l_termIf__Then__Else_____closed__2; +x_252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_250); +lean_ctor_set(x_188, 0, x_252); +return x_188; +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; 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; +x_253 = lean_ctor_get(x_188, 0); +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; +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_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_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_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_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); +x_269 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_270 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_270, 0, x_257); +lean_ctor_set(x_270, 1, x_269); +lean_ctor_set(x_270, 2, x_268); +lean_ctor_set(x_270, 3, x_16); +x_271 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; +x_272 = lean_array_push(x_271, x_270); +x_273 = l_Lean_Parser_Term_matchDiscr___elambda__1___closed__1; +x_274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_272); +x_275 = l_Array_empty___closed__1; +x_276 = lean_array_push(x_275, x_274); +x_277 = l_Lean_nullKind___closed__2; +x_278 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_278, 0, x_277); +lean_ctor_set(x_278, 1, x_276); +x_279 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__20; +x_280 = lean_array_push(x_279, x_278); +x_281 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_282 = lean_array_push(x_280, x_281); +x_283 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__21; +x_284 = lean_array_push(x_282, x_283); +x_285 = l_Lean_nullKind; +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_12); +x_287 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__2; +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_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_290); +x_293 = lean_array_push(x_275, x_292); +x_294 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_294, 0, x_277); +lean_ctor_set(x_294, 1, x_293); +x_295 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__22; +x_296 = lean_array_push(x_295, x_294); +x_297 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; +x_298 = lean_array_push(x_296, x_297); +x_299 = lean_array_push(x_298, x_180); +x_300 = l_Lean_Parser_Term_matchAlt___closed__1; +x_301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_301, 0, x_300); +lean_ctor_set(x_301, 1, x_299); +x_302 = lean_array_push(x_275, x_301); +x_303 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__24; +x_304 = lean_array_push(x_303, x_123); +x_305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_305, 0, x_300); +lean_ctor_set(x_305, 1, x_304); +x_306 = lean_array_push(x_302, x_305); +x_307 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_307, 0, x_277); +lean_ctor_set(x_307, 1, x_306); +x_308 = lean_array_push(x_275, x_307); +x_309 = l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; +x_310 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_310, 0, x_309); +lean_ctor_set(x_310, 1, x_308); +x_311 = lean_array_push(x_284, x_310); +x_312 = l_Lean_Parser_Term_match___elambda__1___closed__1; +x_313 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_313, 0, x_312); +lean_ctor_set(x_313, 1, x_311); +x_314 = lean_array_push(x_266, x_313); +x_315 = l_termIf__Then__Else_____closed__2; +x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_316, 0, x_315); +lean_ctor_set(x_316, 1, x_314); +x_317 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_317, 0, x_316); +lean_ctor_set(x_317, 1, x_254); +return x_317; +} +} +} +case 1: +{ +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; uint8_t x_345; +lean_dec(x_122); +lean_dec(x_71); +x_318 = lean_ctor_get(x_20, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_20, 1); +lean_inc(x_319); +lean_dec(x_20); +x_320 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_319); +x_321 = lean_ctor_get(x_320, 0); +lean_inc(x_321); +x_322 = lean_ctor_get(x_320, 1); +lean_inc(x_322); +lean_dec(x_320); +x_323 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_322); +x_324 = lean_ctor_get(x_323, 0); +lean_inc(x_324); +x_325 = lean_ctor_get(x_323, 1); +lean_inc(x_325); +lean_dec(x_323); +x_326 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___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_331 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_331, 0, x_328); +lean_ctor_set(x_331, 1, x_329); +lean_ctor_set(x_331, 2, x_327); +lean_ctor_set(x_331, 3, x_330); +x_332 = l_Array_empty___closed__1; +x_333 = lean_array_push(x_332, x_331); +x_334 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_335 = l_Lean_addMacroScope(x_324, x_334, x_321); +x_336 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_337 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_337, 0, x_328); +lean_ctor_set(x_337, 1, x_336); +lean_ctor_set(x_337, 2, x_335); +lean_ctor_set(x_337, 3, x_16); +x_338 = lean_array_push(x_332, x_337); +x_339 = l_Lean_nullKind___closed__2; +x_340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_340, 0, x_339); +lean_ctor_set(x_340, 1, x_338); +x_341 = lean_array_push(x_333, x_340); +x_342 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_343 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_343, 0, x_342); +lean_ctor_set(x_343, 1, x_341); +x_344 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; +x_345 = 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(x_11, x_344); +lean_dec(x_11); +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); +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_12); +return x_348; +} +else +{ +lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; +x_349 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_325); +x_350 = lean_ctor_get(x_349, 0); +lean_inc(x_350); +x_351 = lean_ctor_get(x_349, 1); +lean_inc(x_351); +lean_dec(x_349); +x_352 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_351); +x_353 = lean_ctor_get(x_352, 0); +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_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_359 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_359, 0, x_328); +lean_ctor_set(x_359, 1, x_357); +lean_ctor_set(x_359, 2, x_356); +lean_ctor_set(x_359, 3, x_358); +x_360 = lean_array_push(x_332, x_359); +x_361 = lean_array_push(x_332, x_343); +x_362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_362, 0, x_339); +lean_ctor_set(x_362, 1, x_361); +x_363 = lean_array_push(x_360, x_362); +x_364 = lean_alloc_ctor(1, 2, 0); +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); +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_12); +return x_367; +} +} +default: +{ +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; uint8_t x_395; +lean_dec(x_122); +lean_dec(x_71); +x_368 = lean_ctor_get(x_20, 0); +lean_inc(x_368); +x_369 = lean_ctor_get(x_20, 1); +lean_inc(x_369); +lean_dec(x_20); +x_370 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_369); +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_Lean_Elab_Term_getMainModule___rarg(x_9, x_372); +x_374 = lean_ctor_get(x_373, 0); +lean_inc(x_374); +x_375 = lean_ctor_get(x_373, 1); +lean_inc(x_375); +lean_dec(x_373); +x_376 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___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_381 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_381, 0, x_378); +lean_ctor_set(x_381, 1, x_379); +lean_ctor_set(x_381, 2, x_377); +lean_ctor_set(x_381, 3, x_380); +x_382 = l_Array_empty___closed__1; +x_383 = lean_array_push(x_382, x_381); +x_384 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_385 = l_Lean_addMacroScope(x_374, x_384, x_371); +x_386 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_387 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_387, 0, x_378); +lean_ctor_set(x_387, 1, x_386); +lean_ctor_set(x_387, 2, x_385); +lean_ctor_set(x_387, 3, x_16); +x_388 = lean_array_push(x_382, x_387); +x_389 = l_Lean_nullKind___closed__2; +x_390 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_390, 0, x_389); +lean_ctor_set(x_390, 1, x_388); +x_391 = lean_array_push(x_383, x_390); +x_392 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_393 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_393, 0, x_392); +lean_ctor_set(x_393, 1, x_391); +x_394 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; +x_395 = 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(x_11, x_394); +lean_dec(x_11); +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); +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_12); +return x_398; +} +else +{ +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; +x_399 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_375); +x_400 = lean_ctor_get(x_399, 0); +lean_inc(x_400); +x_401 = lean_ctor_get(x_399, 1); +lean_inc(x_401); +lean_dec(x_399); +x_402 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_401); +x_403 = lean_ctor_get(x_402, 0); +lean_inc(x_403); +x_404 = lean_ctor_get(x_402, 1); +lean_inc(x_404); +lean_dec(x_402); +x_405 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_409 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_409, 0, x_378); +lean_ctor_set(x_409, 1, x_407); +lean_ctor_set(x_409, 2, x_406); +lean_ctor_set(x_409, 3, x_408); +x_410 = lean_array_push(x_382, x_409); +x_411 = lean_array_push(x_382, x_393); +x_412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_412, 0, x_389); +lean_ctor_set(x_412, 1, x_411); +x_413 = lean_array_push(x_410, x_412); +x_414 = lean_alloc_ctor(1, 2, 0); +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); +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_12); +return x_417; +} +} +} +} +default: +{ +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; uint8_t x_445; +lean_dec(x_71); +x_418 = lean_ctor_get(x_20, 0); +lean_inc(x_418); +x_419 = lean_ctor_get(x_20, 1); +lean_inc(x_419); +lean_dec(x_20); +x_420 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_419); +x_421 = lean_ctor_get(x_420, 0); +lean_inc(x_421); +x_422 = lean_ctor_get(x_420, 1); +lean_inc(x_422); +lean_dec(x_420); +x_423 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_422); +x_424 = lean_ctor_get(x_423, 0); +lean_inc(x_424); +x_425 = lean_ctor_get(x_423, 1); +lean_inc(x_425); +lean_dec(x_423); +x_426 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___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_431 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_431, 0, x_428); +lean_ctor_set(x_431, 1, x_429); +lean_ctor_set(x_431, 2, x_427); +lean_ctor_set(x_431, 3, x_430); +x_432 = l_Array_empty___closed__1; +x_433 = lean_array_push(x_432, x_431); +x_434 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_435 = l_Lean_addMacroScope(x_424, x_434, x_421); +x_436 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_437 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_437, 0, x_428); +lean_ctor_set(x_437, 1, x_436); +lean_ctor_set(x_437, 2, x_435); +lean_ctor_set(x_437, 3, x_16); +x_438 = lean_array_push(x_432, x_437); +x_439 = l_Lean_nullKind___closed__2; +x_440 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_440, 0, x_439); +lean_ctor_set(x_440, 1, x_438); +x_441 = lean_array_push(x_433, x_440); +x_442 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_442); +lean_ctor_set(x_443, 1, x_441); +x_444 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; +x_445 = 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(x_11, x_444); +lean_dec(x_11); +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); +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_12); +return x_448; +} +else +{ +lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; +x_449 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_425); +x_450 = lean_ctor_get(x_449, 0); +lean_inc(x_450); +x_451 = lean_ctor_get(x_449, 1); +lean_inc(x_451); +lean_dec(x_449); +x_452 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_451); +x_453 = lean_ctor_get(x_452, 0); +lean_inc(x_453); +x_454 = lean_ctor_get(x_452, 1); +lean_inc(x_454); +lean_dec(x_452); +x_455 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_459 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_459, 0, x_428); +lean_ctor_set(x_459, 1, x_457); +lean_ctor_set(x_459, 2, x_456); +lean_ctor_set(x_459, 3, x_458); +x_460 = lean_array_push(x_432, x_459); +x_461 = lean_array_push(x_432, x_443); +x_462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_462, 0, x_439); +lean_ctor_set(x_462, 1, x_461); +x_463 = lean_array_push(x_460, x_462); +x_464 = lean_alloc_ctor(1, 2, 0); +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); +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_12); +return x_467; +} +} +} +} +} +else +{ +uint8_t x_468; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_468 = !lean_is_exclusive(x_20); +if (x_468 == 0) +{ +return x_20; +} +else +{ +lean_object* x_469; lean_object* x_470; lean_object* x_471; +x_469 = lean_ctor_get(x_20, 0); +x_470 = lean_ctor_get(x_20, 1); +lean_inc(x_470); +lean_inc(x_469); +lean_dec(x_20); +x_471 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_471, 0, x_469); +lean_ctor_set(x_471, 1, x_470); +return x_471; +} +} +} +else +{ +uint8_t x_472; +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_472 = !lean_is_exclusive(x_17); +if (x_472 == 0) +{ +return x_17; +} +else +{ +lean_object* x_473; lean_object* x_474; lean_object* x_475; +x_473 = lean_ctor_get(x_17, 0); +x_474 = lean_ctor_get(x_17, 1); +lean_inc(x_474); +lean_inc(x_473); +lean_dec(x_17); +x_475 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_475, 0, x_473); +lean_ctor_set(x_475, 1, x_474); +return x_475; +} +} +} +else +{ +uint8_t x_476; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_476 = !lean_is_exclusive(x_13); +if (x_476 == 0) +{ +return x_13; +} +else +{ +lean_object* x_477; lean_object* x_478; lean_object* x_479; +x_477 = lean_ctor_get(x_13, 0); +x_478 = lean_ctor_get(x_13, 1); +lean_inc(x_478); +lean_inc(x_477); +lean_dec(x_13); +x_479 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_479, 0, x_477); +lean_ctor_set(x_479, 1, x_478); +return x_479; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__1() { +_start: +{ +lean_object* x_1; +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() { +_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_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() { +_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_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___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__20___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__34; +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_getHeadInfo___lambda__20___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__37; +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_getHeadInfo___lambda__20___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_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() { +_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_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() { +_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_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() { +_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_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() { +_start: +{ +lean_object* x_1; +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() { +_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_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() { +_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_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___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; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___closed__13() { +_start: +{ +lean_object* x_1; +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() { +_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_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() { +_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_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() { +_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_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() { +_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_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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Syntax_antiquotSuffixSplice_x3f(x_1); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_4); +lean_dec(x_3); +x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__29; +x_14 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_2, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_12, 0); +lean_inc(x_15); +lean_dec(x_12); +if (lean_obj_tag(x_15) == 1) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +x_18 = l_myMacro____x40_Init_Notation___hyg_948____closed__1; +x_19 = lean_string_dec_eq(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = l_myMacro____x40_Init_Notation___hyg_839____closed__1; +x_21 = lean_string_dec_eq(x_17, x_20); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = l_myMacro____x40_Init_Notation___hyg_1202____closed__1; +x_23 = lean_string_dec_eq(x_17, x_22); +lean_dec(x_17); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_4); +lean_dec(x_3); +x_24 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_24, 0, x_15); +x_25 = l_Lean_instToMessageDataOption___rarg___closed__3; +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_instToMessageDataOption___rarg___closed__4; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__27; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l_Lean_KernelException_toMessageData___closed__3; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_2, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_dec(x_15); +x_34 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +lean_dec(x_5); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_36); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; 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; +x_39 = lean_ctor_get(x_37, 0); +x_40 = l_Array_empty___closed__1; +x_41 = lean_array_push(x_40, x_3); +x_42 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +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_13014____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; +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_53 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_53, 0, x_50); +lean_ctor_set(x_53, 1, x_51); +lean_ctor_set(x_53, 2, x_48); +lean_ctor_set(x_53, 3, x_52); +x_54 = l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__47; +x_55 = lean_array_push(x_54, x_53); +x_56 = l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__44; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = lean_array_push(x_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; +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_65 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_65, 0, x_50); +lean_ctor_set(x_65, 1, x_63); +lean_ctor_set(x_65, 2, x_62); +lean_ctor_set(x_65, 3, x_64); +x_66 = lean_array_push(x_40, x_65); +x_67 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_68 = l_Lean_addMacroScope(x_39, x_67, x_35); +x_69 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_70 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_70, 0, x_50); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set(x_70, 2, x_68); +lean_ctor_set(x_70, 3, x_49); +x_71 = lean_array_push(x_40, x_70); +x_72 = l_Lean_nullKind___closed__2; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = lean_array_push(x_66, x_73); +x_75 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = lean_array_push(x_40, x_76); +x_78 = lean_array_push(x_77, x_42); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_72); +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_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_60, x_85); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_72); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_array_push(x_58, x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_75); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_46, x_89); x_91 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); -x_93 = lean_array_push(x_83, x_92); +x_93 = lean_array_push(x_40, x_92); x_94 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; x_95 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_95, 0, x_94); @@ -19891,4132 +18615,4699 @@ x_96 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; x_97 = lean_array_push(x_96, x_95); x_98 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; x_99 = lean_array_push(x_97, x_98); -x_100 = lean_array_push(x_99, x_38); +x_100 = lean_array_push(x_99, x_4); x_101 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; x_102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_102, 0, x_101); lean_ctor_set(x_102, 1, x_100); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_77); -return x_103; +lean_ctor_set(x_37, 0, x_102); +return x_37; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_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; +x_103 = lean_ctor_get(x_37, 0); +x_104 = lean_ctor_get(x_37, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_37); +x_105 = l_Array_empty___closed__1; +x_106 = lean_array_push(x_105, x_3); +x_107 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +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_13014____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; +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_118 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_116); +lean_ctor_set(x_118, 2, x_113); +lean_ctor_set(x_118, 3, x_117); +x_119 = l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__47; +x_120 = lean_array_push(x_119, x_118); +x_121 = l_myMacro____x40_Init_NotationExtra___hyg_3477____closed__44; +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_120); +x_123 = lean_array_push(x_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; +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_130 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_130, 0, x_115); +lean_ctor_set(x_130, 1, x_128); +lean_ctor_set(x_130, 2, x_127); +lean_ctor_set(x_130, 3, x_129); +x_131 = lean_array_push(x_105, x_130); +x_132 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_133 = l_Lean_addMacroScope(x_103, x_132, x_35); +x_134 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_135 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_135, 0, x_115); +lean_ctor_set(x_135, 1, x_134); +lean_ctor_set(x_135, 2, x_133); +lean_ctor_set(x_135, 3, x_114); +x_136 = lean_array_push(x_105, x_135); +x_137 = l_Lean_nullKind___closed__2; +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_136); +x_139 = lean_array_push(x_131, x_138); +x_140 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_139); +x_142 = lean_array_push(x_105, x_141); +x_143 = lean_array_push(x_142, x_107); +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_125, x_150); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_137); +lean_ctor_set(x_152, 1, x_151); +x_153 = lean_array_push(x_123, x_152); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_140); +lean_ctor_set(x_154, 1, x_153); +x_155 = lean_array_push(x_111, x_154); +x_156 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_155); +x_158 = lean_array_push(x_105, x_157); +x_159 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_158); +x_161 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_162 = lean_array_push(x_161, x_160); +x_163 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_164 = lean_array_push(x_162, x_163); +x_165 = lean_array_push(x_164, x_4); +x_166 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_104); +return x_168; +} } } else { -lean_object* x_104; -x_104 = lean_ctor_get(x_44, 0); -lean_inc(x_104); -lean_dec(x_44); -if (lean_obj_tag(x_104) == 1) +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; +lean_dec(x_17); +lean_dec(x_15); +x_169 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +lean_dec(x_5); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); +lean_dec(x_169); +x_172 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_171); +x_173 = !lean_is_exclusive(x_172); +if (x_173 == 0) { -lean_object* x_105; -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -if (lean_obj_tag(x_105) == 0) +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_174 = lean_ctor_get(x_172, 0); +x_175 = l_Array_empty___closed__1; +x_176 = lean_array_push(x_175, x_3); +x_177 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +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_13014____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; +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_188 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_188, 0, x_185); +lean_ctor_set(x_188, 1, x_186); +lean_ctor_set(x_188, 2, x_183); +lean_ctor_set(x_188, 3, x_187); +x_189 = lean_array_push(x_175, x_188); +x_190 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_191 = l_Lean_addMacroScope(x_174, x_190, x_170); +x_192 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_193 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_193, 0, x_185); +lean_ctor_set(x_193, 1, x_192); +lean_ctor_set(x_193, 2, x_191); +lean_ctor_set(x_193, 3, x_184); +x_194 = lean_array_push(x_175, x_193); +x_195 = l_Lean_nullKind___closed__2; +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = lean_array_push(x_189, x_196); +x_198 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_197); +x_200 = lean_array_push(x_181, x_199); +x_201 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_200); +x_203 = lean_array_push(x_175, x_202); +x_204 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_203); +x_206 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_207 = lean_array_push(x_206, x_205); +x_208 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_209 = lean_array_push(x_207, x_208); +x_210 = lean_array_push(x_209, x_4); +x_211 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_210); +lean_ctor_set(x_172, 0, x_212); +return x_172; +} +else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; -x_106 = lean_ctor_get(x_43, 1); -lean_inc(x_106); -lean_dec(x_43); -x_107 = lean_ctor_get(x_104, 1); -lean_inc(x_107); -x_108 = l_Lean_nullKind___closed__1; -x_109 = lean_string_dec_eq(x_107, x_108); -lean_dec(x_107); -if (x_109 == 0) +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_213 = lean_ctor_get(x_172, 0); +x_214 = lean_ctor_get(x_172, 1); +lean_inc(x_214); +lean_inc(x_213); +lean_dec(x_172); +x_215 = l_Array_empty___closed__1; +x_216 = lean_array_push(x_215, x_3); +x_217 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +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_13014____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; +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_228 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_228, 0, x_225); +lean_ctor_set(x_228, 1, x_226); +lean_ctor_set(x_228, 2, x_223); +lean_ctor_set(x_228, 3, x_227); +x_229 = lean_array_push(x_215, x_228); +x_230 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_231 = l_Lean_addMacroScope(x_213, x_230, x_170); +x_232 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_233 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_233, 0, x_225); +lean_ctor_set(x_233, 1, x_232); +lean_ctor_set(x_233, 2, x_231); +lean_ctor_set(x_233, 3, x_224); +x_234 = lean_array_push(x_215, x_233); +x_235 = l_Lean_nullKind___closed__2; +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_234); +x_237 = lean_array_push(x_229, x_236); +x_238 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_237); +x_240 = lean_array_push(x_221, x_239); +x_241 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_240); +x_243 = lean_array_push(x_215, x_242); +x_244 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_244); +lean_ctor_set(x_245, 1, x_243); +x_246 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_247 = lean_array_push(x_246, x_245); +x_248 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_249 = lean_array_push(x_247, x_248); +x_250 = lean_array_push(x_249, x_4); +x_251 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +x_252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_250); +x_253 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_253, 0, x_252); +lean_ctor_set(x_253, 1, x_214); +return x_253; +} +} +} +else { -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_dec(x_106); -x_110 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_39); -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_11, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5; -lean_inc(x_111); -lean_inc(x_114); -x_117 = l_Lean_addMacroScope(x_114, x_116, x_111); -x_118 = l_Lean_instInhabitedSourceInfo___closed__1; -x_119 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3; -x_120 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8; -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_117); -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_getHeadInfo___lambda__2___closed__13; -x_125 = l_Lean_addMacroScope(x_114, x_124, x_111); -x_126 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_127 = lean_alloc_ctor(3, 4, 0); -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_13); -x_128 = lean_array_push(x_122, x_127); -x_129 = l___private_Init_Meta_0__Lean_quoteName(x_104); -x_130 = lean_array_push(x_128, x_129); -x_131 = l_Lean_nullKind___closed__2; -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_130); -x_133 = lean_array_push(x_123, x_132); -x_134 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -x_136 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_42, x_41, x_13, x_4, x_38, x_135, x_6, x_7, x_8, x_9, x_10, x_11, x_115); +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; +lean_dec(x_17); +lean_dec(x_15); +x_254 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +lean_dec(x_5); +x_255 = lean_ctor_get(x_254, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_254, 1); +lean_inc(x_256); +lean_dec(x_254); +x_257 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_256); +x_258 = !lean_is_exclusive(x_257); +if (x_258 == 0) +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; +x_259 = lean_ctor_get(x_257, 0); +x_260 = l_Array_empty___closed__1; +x_261 = lean_array_push(x_260, x_3); +x_262 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +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_13014____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; +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_273 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_273, 0, x_270); +lean_ctor_set(x_273, 1, x_271); +lean_ctor_set(x_273, 2, x_268); +lean_ctor_set(x_273, 3, x_272); +x_274 = lean_array_push(x_260, x_273); +x_275 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_276 = l_Lean_addMacroScope(x_259, x_275, x_255); +x_277 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_278 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_278, 0, x_270); +lean_ctor_set(x_278, 1, x_277); +lean_ctor_set(x_278, 2, x_276); +lean_ctor_set(x_278, 3, x_269); +x_279 = lean_array_push(x_260, x_278); +x_280 = l_Lean_nullKind___closed__2; +x_281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_281, 0, x_280); +lean_ctor_set(x_281, 1, x_279); +x_282 = lean_array_push(x_274, x_281); +x_283 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_283); +lean_ctor_set(x_284, 1, x_282); +x_285 = lean_array_push(x_266, x_284); +x_286 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; +x_287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_285); +x_288 = lean_array_push(x_260, x_287); +x_289 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; +x_290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_290, 0, x_289); +lean_ctor_set(x_290, 1, x_288); +x_291 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_292 = lean_array_push(x_291, x_290); +x_293 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_294 = lean_array_push(x_292, x_293); +x_295 = lean_array_push(x_294, x_4); +x_296 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +x_297 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_297, 0, x_296); +lean_ctor_set(x_297, 1, x_295); +lean_ctor_set(x_257, 0, x_297); +return x_257; +} +else +{ +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; +x_298 = lean_ctor_get(x_257, 0); +x_299 = lean_ctor_get(x_257, 1); +lean_inc(x_299); +lean_inc(x_298); +lean_dec(x_257); +x_300 = l_Array_empty___closed__1; +x_301 = lean_array_push(x_300, x_3); +x_302 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +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_13014____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; +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_313 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_313, 0, x_310); +lean_ctor_set(x_313, 1, x_311); +lean_ctor_set(x_313, 2, x_308); +lean_ctor_set(x_313, 3, x_312); +x_314 = lean_array_push(x_300, x_313); +x_315 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_316 = l_Lean_addMacroScope(x_298, x_315, x_255); +x_317 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_318 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_318, 0, x_310); +lean_ctor_set(x_318, 1, x_317); +lean_ctor_set(x_318, 2, x_316); +lean_ctor_set(x_318, 3, x_309); +x_319 = lean_array_push(x_300, x_318); +x_320 = l_Lean_nullKind___closed__2; +x_321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_321, 0, x_320); +lean_ctor_set(x_321, 1, x_319); +x_322 = lean_array_push(x_314, x_321); +x_323 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_324, 0, x_323); +lean_ctor_set(x_324, 1, x_322); +x_325 = lean_array_push(x_306, x_324); +x_326 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; +x_327 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_327, 0, x_326); +lean_ctor_set(x_327, 1, x_325); +x_328 = lean_array_push(x_300, x_327); +x_329 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; +x_330 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_330, 0, x_329); +lean_ctor_set(x_330, 1, x_328); +x_331 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_332 = lean_array_push(x_331, x_330); +x_333 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_334 = lean_array_push(x_332, x_333); +x_335 = lean_array_push(x_334, x_4); +x_336 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +x_337 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_337, 0, x_336); +lean_ctor_set(x_337, 1, x_335); +x_338 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_299); +return x_338; +} +} +} +else +{ +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; +lean_dec(x_16); +lean_dec(x_4); +lean_dec(x_3); +x_339 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_339, 0, x_15); +x_340 = l_Lean_instToMessageDataOption___rarg___closed__3; +x_341 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_341, 0, x_340); +lean_ctor_set(x_341, 1, x_339); +x_342 = l_Lean_instToMessageDataOption___rarg___closed__4; +x_343 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_343, 0, x_341); +lean_ctor_set(x_343, 1, x_342); +x_344 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__27; +x_345 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_345, 0, x_344); +lean_ctor_set(x_345, 1, x_343); +x_346 = l_Lean_KernelException_toMessageData___closed__3; +x_347 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_347, 0, x_345); +lean_ctor_set(x_347, 1, x_346); +x_348 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_2, x_347, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_348; +} +} +else +{ +lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; +lean_dec(x_4); +lean_dec(x_3); +x_349 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_349, 0, x_15); +x_350 = l_Lean_instToMessageDataOption___rarg___closed__3; +x_351 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_351, 0, x_350); +lean_ctor_set(x_351, 1, x_349); +x_352 = l_Lean_instToMessageDataOption___rarg___closed__4; +x_353 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_353, 0, x_351); +lean_ctor_set(x_353, 1, x_352); +x_354 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__27; +x_355 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_355, 0, x_354); +lean_ctor_set(x_355, 1, x_353); +x_356 = l_Lean_KernelException_toMessageData___closed__3; +x_357 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_357, 0, x_355); +lean_ctor_set(x_357, 1, x_356); +x_358 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_2, x_357, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_12); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_15 = lean_ctor_get(x_13, 0); +x_16 = l_Array_empty___closed__1; +x_17 = lean_array_push(x_16, x_1); +x_18 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_19 = lean_array_push(x_17, x_18); +x_20 = lean_array_push(x_19, x_18); +x_21 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_22 = lean_array_push(x_20, x_21); +x_23 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_24 = l_Lean_addMacroScope(x_15, x_23, x_11); +x_25 = lean_box(0); +x_26 = l_Lean_instInhabitedSourceInfo___closed__1; +x_27 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_28 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_28, 2, x_24); +lean_ctor_set(x_28, 3, x_25); +x_29 = lean_array_push(x_22, x_28); +x_30 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = lean_array_push(x_16, x_31); +x_33 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_36 = lean_array_push(x_35, x_34); +x_37 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_38 = lean_array_push(x_36, x_37); +x_39 = lean_array_push(x_38, x_2); +x_40 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +lean_ctor_set(x_13, 0, x_41); +return x_13; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_42 = lean_ctor_get(x_13, 0); +x_43 = lean_ctor_get(x_13, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_13); +x_44 = l_Array_empty___closed__1; +x_45 = lean_array_push(x_44, x_1); +x_46 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_47 = lean_array_push(x_45, x_46); +x_48 = lean_array_push(x_47, x_46); +x_49 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_50 = lean_array_push(x_48, x_49); +x_51 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_52 = l_Lean_addMacroScope(x_42, x_51, x_11); +x_53 = lean_box(0); +x_54 = l_Lean_instInhabitedSourceInfo___closed__1; +x_55 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_56 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_52); +lean_ctor_set(x_56, 3, x_53); +x_57 = lean_array_push(x_50, x_56); +x_58 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = lean_array_push(x_44, x_59); +x_61 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_64 = lean_array_push(x_63, x_62); +x_65 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_66 = lean_array_push(x_64, x_65); +x_67 = lean_array_push(x_66, x_2); +x_68 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_43); +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) { +_start: +{ +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_4; lean_object* x_5; uint8_t 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); +x_6 = lean_name_eq(x_4, x_1); +lean_dec(x_4); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_7 = lean_box(1); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs), 9, 1); +lean_closure_set(x_8, 0, x_2); +x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats), 2, 1); +lean_closure_set(x_9, 0, x_3); +x_10 = lean_alloc_closure((void*)(l_Function_comp___rarg), 3, 2); +lean_closure_set(x_10, 0, x_8); +lean_closure_set(x_10, 1, x_9); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_11; lean_object* x_12; +x_11 = 1; +x_12 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set_uint8(x_12, sizeof(void*)*1, x_11); +return x_12; +} +else +{ +uint8_t x_13; lean_object* x_14; +lean_dec(x_5); +x_13 = 0; +x_14 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_13); +return x_14; +} +} +} +else +{ +lean_object* x_15; +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_box(1); +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) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_13 = lean_apply_8(x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_16 = lean_apply_7(x_4, x_5, x_6, x_7, x_8, x_9, x_10, 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; uint8_t x_23; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_18); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_21); +lean_dec(x_10); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_24 = lean_ctor_get(x_22, 0); +lean_inc_n(x_1, 2); +x_25 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_1); +lean_ctor_set(x_25, 2, x_1); +x_26 = l_termIf_____x3a__Then__Else_____closed__3; +lean_inc(x_25); +x_27 = lean_alloc_ctor(2, 2, 0); +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; +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; +lean_inc(x_25); +x_34 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_34, 0, x_25); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_31); +lean_ctor_set(x_34, 3, x_33); +x_35 = lean_array_push(x_28, x_34); +x_36 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_37 = l_Lean_addMacroScope(x_24, x_36, x_20); +x_38 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +lean_inc(x_25); +x_39 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_39, 0, x_25); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_39, 2, x_37); +lean_ctor_set(x_39, 3, x_12); +x_40 = lean_array_push(x_28, x_39); +x_41 = l___private_Init_Meta_0__Lean_quoteName(x_2); +x_42 = lean_array_push(x_40, x_41); +x_43 = l_Lean_nullKind___closed__2; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = lean_array_push(x_35, x_44); +x_46 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +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; +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_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_25); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_array_push(x_52, x_54); +x_56 = lean_array_push(x_55, x_17); +x_57 = l_termIf__Then__Else_____closed__2; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +lean_ctor_set(x_22, 0, x_58); +return x_22; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_59 = lean_ctor_get(x_22, 0); +x_60 = lean_ctor_get(x_22, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_22); +lean_inc_n(x_1, 2); +x_61 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_61, 0, x_1); +lean_ctor_set(x_61, 1, x_1); +lean_ctor_set(x_61, 2, x_1); +x_62 = l_termIf_____x3a__Then__Else_____closed__3; +lean_inc(x_61); +x_63 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_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; +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; +lean_inc(x_61); +x_70 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_70, 0, x_61); +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 = lean_array_push(x_64, x_70); +x_72 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_73 = l_Lean_addMacroScope(x_59, x_72, x_20); +x_74 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +lean_inc(x_61); +x_75 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_75, 0, x_61); +lean_ctor_set(x_75, 1, x_74); +lean_ctor_set(x_75, 2, x_73); +lean_ctor_set(x_75, 3, x_12); +x_76 = lean_array_push(x_64, x_75); +x_77 = l___private_Init_Meta_0__Lean_quoteName(x_2); +x_78 = lean_array_push(x_76, x_77); +x_79 = l_Lean_nullKind___closed__2; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +x_81 = lean_array_push(x_71, x_80); +x_82 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +x_84 = lean_array_push(x_65, x_83); +x_85 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___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_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_61); +lean_ctor_set(x_90, 1, x_89); +x_91 = lean_array_push(x_88, x_90); +x_92 = lean_array_push(x_91, x_17); +x_93 = l_termIf__Then__Else_____closed__2; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_60); +return x_95; +} +} +else +{ +uint8_t x_96; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_96 = !lean_is_exclusive(x_16); +if (x_96 == 0) +{ +return x_16; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_16, 0); +x_98 = lean_ctor_get(x_16, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_16); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; +} +} +} +else +{ +uint8_t x_100; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_100 = !lean_is_exclusive(x_13); +if (x_100 == 0) +{ +return x_13; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_13, 0); +x_102 = lean_ctor_get(x_13, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_13); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("match_syntax: unexpected pattern kind "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5___boxed), 9, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6), 1, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__4; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___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; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__6() { +_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__7() { +_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_2 = l_Lean_stringToMessageData(x_1); +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_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); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = l_myMacro____x40_Init_Notation___hyg_12387____closed__13; +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); +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); +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_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; +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; +} +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_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_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; +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; +} +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) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 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_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) +{ +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_dec(x_49); +lean_ctor_set(x_41, 1, x_45); +return x_39; +} +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; +} +} +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_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; +} else { + lean_dec_ref(x_51); + x_57 = lean_box(0); +} +if (lean_is_scalar(x_57)) { + x_58 = lean_alloc_ctor(0, 3, 0); +} else { + x_58 = x_57; +} +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; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +x_60 = !lean_is_exclusive(x_39); +if (x_60 == 0) +{ +return x_39; +} +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; +} +} +} +} +} +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_free_object(x_1); +lean_dec(x_11); +lean_dec(x_10); +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_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_8); +return x_72; +} +} +else +{ +lean_object* x_73; lean_object* x_74; uint8_t x_117; +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_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; +} +} +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; +} +} +else +{ +uint8_t x_126; +x_126 = l_Lean_Syntax_isEscapedAntiquot(x_73); +if (x_126 == 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; +} +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; +} +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; } else { -if (lean_obj_tag(x_106) == 0) -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_137 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_39); -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_137, 1); -lean_inc(x_139); -lean_dec(x_137); -x_140 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_139); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -lean_dec(x_140); -x_143 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5; -lean_inc(x_138); -lean_inc(x_141); -x_144 = l_Lean_addMacroScope(x_141, x_143, x_138); -x_145 = l_Lean_instInhabitedSourceInfo___closed__1; -x_146 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3; -x_147 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8; -x_148 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_148, 0, x_145); -lean_ctor_set(x_148, 1, x_146); -lean_ctor_set(x_148, 2, x_144); -lean_ctor_set(x_148, 3, x_147); -x_149 = l_Array_empty___closed__1; -x_150 = lean_array_push(x_149, x_148); -x_151 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_152 = l_Lean_addMacroScope(x_141, x_151, x_138); -x_153 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_154 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_154, 0, x_145); -lean_ctor_set(x_154, 1, x_153); -lean_ctor_set(x_154, 2, x_152); -lean_ctor_set(x_154, 3, x_13); -x_155 = lean_array_push(x_149, x_154); -x_156 = l___private_Init_Meta_0__Lean_quoteName(x_104); -x_157 = lean_array_push(x_155, x_156); -x_158 = l_Lean_nullKind___closed__2; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = lean_array_push(x_150, x_159); -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_162, 1, x_160); -x_163 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_42, x_41, x_13, x_4, x_38, x_162, x_6, x_7, x_8, x_9, x_10, x_11, x_142); +lean_object* x_137; lean_object* x_138; uint8_t x_139; lean_dec(x_6); -return x_163; +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; } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_164 = lean_ctor_get(x_106, 0); -lean_inc(x_164); -lean_dec(x_106); -x_165 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_39); -x_166 = lean_ctor_get(x_165, 0); +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; +} +} +} +} +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); +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); -x_167 = lean_ctor_get(x_165, 1); +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_12387____closed__13; 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); -x_168 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_167); -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -lean_dec(x_168); -x_171 = l_myMacro____x40_Init_Notation___hyg_8179____closed__4; -lean_inc(x_166); -lean_inc(x_169); -x_172 = l_Lean_addMacroScope(x_169, x_171, x_166); -x_173 = l_Lean_instInhabitedSourceInfo___closed__1; -x_174 = l_myMacro____x40_Init_Notation___hyg_8179____closed__3; -x_175 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__10; -x_176 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_176, 0, x_173); -lean_ctor_set(x_176, 1, x_174); -lean_ctor_set(x_176, 2, x_172); -lean_ctor_set(x_176, 3, x_175); -x_177 = l_Array_empty___closed__1; -x_178 = lean_array_push(x_177, x_176); -x_179 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5; -lean_inc(x_166); -lean_inc(x_169); -x_180 = l_Lean_addMacroScope(x_169, x_179, x_166); -x_181 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3; -x_182 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8; -x_183 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_183, 0, x_173); -lean_ctor_set(x_183, 1, x_181); -lean_ctor_set(x_183, 2, x_180); -lean_ctor_set(x_183, 3, x_182); -x_184 = lean_array_push(x_177, x_183); -x_185 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -lean_inc(x_166); -lean_inc(x_169); -x_186 = l_Lean_addMacroScope(x_169, x_185, x_166); -x_187 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_188 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_188, 0, x_173); +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); -lean_ctor_set(x_188, 2, x_186); -lean_ctor_set(x_188, 3, x_13); -x_189 = lean_array_push(x_177, x_188); -x_190 = l___private_Init_Meta_0__Lean_quoteName(x_104); -lean_inc(x_189); -x_191 = lean_array_push(x_189, x_190); -x_192 = l_Lean_nullKind___closed__2; +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_192); -lean_ctor_set(x_193, 1, x_191); -x_194 = lean_array_push(x_184, 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); -x_197 = lean_array_push(x_177, x_196); -x_198 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_199 = lean_array_push(x_197, x_198); -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_192); -lean_ctor_set(x_200, 1, x_199); -x_201 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_202 = lean_array_push(x_201, x_200); -x_203 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_204 = lean_array_push(x_202, x_203); -x_205 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_204); -x_207 = lean_array_push(x_177, x_206); -x_208 = l_myMacro____x40_Init_Notation___hyg_6172____closed__7; -lean_inc(x_166); -lean_inc(x_169); -x_209 = l_Lean_addMacroScope(x_169, x_208, x_166); -x_210 = l_myMacro____x40_Init_Notation___hyg_6172____closed__3; -x_211 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__12; -x_212 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_212, 0, x_173); -lean_ctor_set(x_212, 1, x_210); -lean_ctor_set(x_212, 2, x_209); -lean_ctor_set(x_212, 3, x_211); -x_213 = lean_array_push(x_177, x_212); -x_214 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__16; -lean_inc(x_166); -lean_inc(x_169); -x_215 = l_Lean_addMacroScope(x_169, x_214, x_166); -x_216 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__15; -x_217 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__18; -x_218 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_218, 0, x_173); -lean_ctor_set(x_218, 1, x_216); -lean_ctor_set(x_218, 2, x_215); -lean_ctor_set(x_218, 3, x_217); -x_219 = lean_array_push(x_177, x_218); -x_220 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_221 = l_Lean_addMacroScope(x_169, x_220, x_166); -x_222 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_223 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_224 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_224, 0, x_173); -lean_ctor_set(x_224, 1, x_222); -lean_ctor_set(x_224, 2, x_221); -lean_ctor_set(x_224, 3, x_223); -x_225 = lean_array_push(x_177, x_224); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_192); -lean_ctor_set(x_226, 1, x_189); -x_227 = lean_array_push(x_225, x_226); -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_195); -lean_ctor_set(x_228, 1, x_227); -x_229 = lean_array_push(x_177, x_228); -x_230 = lean_array_push(x_229, x_198); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_192); -lean_ctor_set(x_231, 1, x_230); -x_232 = lean_array_push(x_201, x_231); -x_233 = lean_array_push(x_232, x_203); -x_234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_234, 0, x_205); -lean_ctor_set(x_234, 1, x_233); -x_235 = lean_array_push(x_177, x_234); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_192); -lean_ctor_set(x_236, 1, x_235); -x_237 = lean_array_push(x_219, x_236); -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_195); -lean_ctor_set(x_238, 1, x_237); -x_239 = lean_array_push(x_177, x_238); -x_240 = lean_array_push(x_239, x_198); -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_192); -lean_ctor_set(x_241, 1, x_240); -x_242 = lean_array_push(x_201, x_241); -x_243 = lean_array_push(x_242, x_203); -x_244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_244, 0, x_205); -lean_ctor_set(x_244, 1, x_243); -x_245 = lean_array_push(x_177, x_244); -x_246 = lean_array_get_size(x_164); -lean_dec(x_164); -x_247 = l_Nat_repr(x_246); -x_248 = l_Lean_numLitKind; -x_249 = l_Lean_Syntax_mkLit(x_248, x_247, x_173); -x_250 = lean_array_push(x_245, x_249); -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_192); -lean_ctor_set(x_251, 1, x_250); -x_252 = lean_array_push(x_213, x_251); -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_195); -lean_ctor_set(x_253, 1, x_252); -x_254 = lean_array_push(x_177, x_253); -x_255 = lean_array_push(x_254, x_198); -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_192); -lean_ctor_set(x_256, 1, x_255); -x_257 = lean_array_push(x_201, x_256); -x_258 = lean_array_push(x_257, x_203); -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_205); -lean_ctor_set(x_259, 1, x_258); -x_260 = lean_array_push(x_207, x_259); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_192); -lean_ctor_set(x_261, 1, x_260); -x_262 = lean_array_push(x_178, x_261); -x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_195); -lean_ctor_set(x_263, 1, x_262); -x_264 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_42, x_41, x_13, x_4, x_38, x_263, x_6, x_7, x_8, x_9, x_10, x_11, x_170); -lean_dec(x_6); -return x_264; +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_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -lean_dec(x_105); -lean_dec(x_43); -x_265 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_39); -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 1); -lean_inc(x_267); -lean_dec(x_265); -x_268 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_267); -x_269 = lean_ctor_get(x_268, 0); -lean_inc(x_269); -x_270 = lean_ctor_get(x_268, 1); -lean_inc(x_270); -lean_dec(x_268); -x_271 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5; -lean_inc(x_266); -lean_inc(x_269); -x_272 = l_Lean_addMacroScope(x_269, x_271, x_266); -x_273 = l_Lean_instInhabitedSourceInfo___closed__1; -x_274 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3; -x_275 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8; -x_276 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_276, 0, x_273); -lean_ctor_set(x_276, 1, x_274); -lean_ctor_set(x_276, 2, x_272); -lean_ctor_set(x_276, 3, x_275); -x_277 = l_Array_empty___closed__1; -x_278 = lean_array_push(x_277, x_276); -x_279 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_280 = l_Lean_addMacroScope(x_269, x_279, x_266); -x_281 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_282 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_282, 0, x_273); -lean_ctor_set(x_282, 1, x_281); -lean_ctor_set(x_282, 2, x_280); -lean_ctor_set(x_282, 3, x_13); -x_283 = lean_array_push(x_277, x_282); -x_284 = l___private_Init_Meta_0__Lean_quoteName(x_104); -x_285 = lean_array_push(x_283, x_284); -x_286 = l_Lean_nullKind___closed__2; -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_285); -x_288 = lean_array_push(x_278, x_287); -x_289 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_288); -x_291 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_42, x_41, x_13, x_4, x_38, x_290, x_6, x_7, x_8, x_9, x_10, x_11, x_270); +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_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_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); +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); +lean_ctor_set(x_215, 0, x_213); +lean_ctor_set(x_215, 1, x_212); +lean_ctor_set(x_215, 2, x_214); +x_216 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_216, 0, x_215); +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_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; +} +} +else +{ +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_264; +x_264 = l_Lean_Syntax_isAntiquot(x_219); +if (x_264 == 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_dec(x_6); +lean_dec(x_2); +x_267 = lean_box(0); +x_220 = x_267; +goto block_262; +} +else +{ +lean_object* x_268; lean_object* x_269; +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; +} +} +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; +} +} +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; +} +} +} } else { -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; 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_dec(x_43); -x_292 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_39); -x_293 = lean_ctor_get(x_292, 0); -lean_inc(x_293); -x_294 = lean_ctor_get(x_292, 1); -lean_inc(x_294); -lean_dec(x_292); -x_295 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_294); -x_296 = lean_ctor_get(x_295, 0); -lean_inc(x_296); -x_297 = lean_ctor_get(x_295, 1); -lean_inc(x_297); -lean_dec(x_295); -x_298 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5; -lean_inc(x_293); -lean_inc(x_296); -x_299 = l_Lean_addMacroScope(x_296, x_298, x_293); -x_300 = l_Lean_instInhabitedSourceInfo___closed__1; -x_301 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3; -x_302 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8; -x_303 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_303, 0, x_300); -lean_ctor_set(x_303, 1, x_301); -lean_ctor_set(x_303, 2, x_299); -lean_ctor_set(x_303, 3, x_302); -x_304 = l_Array_empty___closed__1; -x_305 = lean_array_push(x_304, x_303); -x_306 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_307 = l_Lean_addMacroScope(x_296, x_306, x_293); -x_308 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_309 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_309, 0, x_300); -lean_ctor_set(x_309, 1, x_308); -lean_ctor_set(x_309, 2, x_307); -lean_ctor_set(x_309, 3, x_13); -x_310 = lean_array_push(x_304, x_309); -x_311 = l___private_Init_Meta_0__Lean_quoteName(x_104); -x_312 = lean_array_push(x_310, x_311); -x_313 = l_Lean_nullKind___closed__2; -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_312); -x_315 = lean_array_push(x_305, x_314); -x_316 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -x_318 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_42, x_41, x_13, x_4, x_38, x_317, x_6, x_7, x_8, x_9, x_10, x_11, x_297); +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); -return x_318; +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; +} +} +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_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; -x_319 = lean_ctor_get(x_1, 0); -lean_inc(x_319); +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* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_1); lean_dec(x_1); -x_320 = l_Lean_Syntax_antiquotSpliceKind_x3f(x_319); -x_321 = l_Lean_Syntax_getAntiquotSpliceContents(x_319); -lean_inc(x_10); -lean_inc(x_6); -x_322 = l_Lean_Elab_Term_Quotation_getAntiquotationIds(x_319, x_6, x_7, x_8, x_9, x_10, x_11, x_39); -lean_dec(x_319); -if (lean_obj_tag(x_322) == 0) +return x_2; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: { -lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; uint8_t x_328; -x_323 = lean_ctor_get(x_322, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_322, 1); -lean_inc(x_324); -lean_dec(x_322); -x_325 = lean_st_ref_take(x_11, x_324); -x_326 = lean_ctor_get(x_325, 0); -lean_inc(x_326); -x_327 = lean_ctor_get(x_325, 1); -lean_inc(x_327); -lean_dec(x_325); -x_328 = !lean_is_exclusive(x_326); -if (x_328 == 0) -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; -x_329 = lean_ctor_get(x_326, 1); -x_330 = lean_nat_add(x_329, x_24); -lean_ctor_set(x_326, 1, x_330); -x_331 = lean_st_ref_set(x_11, x_326, x_327); -x_332 = lean_ctor_get(x_331, 1); -lean_inc(x_332); -lean_dec(x_331); -x_333 = lean_alloc_ctor(0, 6, 3); -lean_ctor_set(x_333, 0, x_28); -lean_ctor_set(x_333, 1, x_29); -lean_ctor_set(x_333, 2, x_30); -lean_ctor_set(x_333, 3, x_31); -lean_ctor_set(x_333, 4, x_329); -lean_ctor_set(x_333, 5, x_35); -lean_ctor_set_uint8(x_333, sizeof(void*)*6, x_32); -lean_ctor_set_uint8(x_333, sizeof(void*)*6 + 1, x_33); -lean_ctor_set_uint8(x_333, sizeof(void*)*6 + 2, x_34); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_334 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_42, x_41, x_333, x_7, x_8, x_9, x_10, x_11, x_332); -if (lean_obj_tag(x_334) == 0) -{ -if (lean_obj_tag(x_320) == 0) -{ -lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; 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; uint8_t x_358; -x_335 = lean_ctor_get(x_334, 0); -lean_inc(x_335); -x_336 = lean_ctor_get(x_334, 1); -lean_inc(x_336); -lean_dec(x_334); -x_337 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_336); -x_338 = lean_ctor_get(x_337, 0); -lean_inc(x_338); -x_339 = lean_ctor_get(x_337, 1); -lean_inc(x_339); -lean_dec(x_337); -x_340 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_339); -x_341 = lean_ctor_get(x_340, 0); -lean_inc(x_341); -x_342 = lean_ctor_get(x_340, 1); -lean_inc(x_342); -lean_dec(x_340); -x_343 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_344 = l_Lean_addMacroScope(x_341, x_343, x_338); -x_345 = l_Lean_instInhabitedSourceInfo___closed__1; -x_346 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_347 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_348 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_348, 0, x_345); -lean_ctor_set(x_348, 1, x_346); -lean_ctor_set(x_348, 2, x_344); -lean_ctor_set(x_348, 3, x_347); -x_349 = l_Array_empty___closed__1; -x_350 = lean_array_push(x_349, x_348); -x_351 = lean_array_push(x_349, x_4); -x_352 = l_Lean_nullKind___closed__2; -x_353 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_353, 0, x_352); -lean_ctor_set(x_353, 1, x_351); -x_354 = lean_array_push(x_350, x_353); -x_355 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_356, 0, x_355); -lean_ctor_set(x_356, 1, x_354); -x_357 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_358 = 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(x_320, x_357); -if (x_358 == 0) -{ -lean_object* x_359; lean_object* x_360; lean_object* x_361; -x_359 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_360 = lean_box(0); -x_361 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(x_323, x_359, x_345, x_349, x_352, x_13, x_321, x_355, x_335, x_38, x_356, x_360, x_6, x_7, x_8, x_9, x_10, x_11, x_342); -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_321); -return x_361; -} -else -{ -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; -x_362 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_342); -x_363 = lean_ctor_get(x_362, 0); -lean_inc(x_363); -x_364 = lean_ctor_get(x_362, 1); -lean_inc(x_364); -lean_dec(x_362); -x_365 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_364); -x_366 = lean_ctor_get(x_365, 0); -lean_inc(x_366); -x_367 = lean_ctor_get(x_365, 1); -lean_inc(x_367); -lean_dec(x_365); -x_368 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_369 = l_Lean_addMacroScope(x_366, x_368, x_363); -x_370 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_371 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_372 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_372, 0, x_345); -lean_ctor_set(x_372, 1, x_370); -lean_ctor_set(x_372, 2, x_369); -lean_ctor_set(x_372, 3, x_371); -x_373 = lean_array_push(x_349, x_372); -x_374 = lean_array_push(x_349, x_356); -x_375 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_375, 0, x_352); -lean_ctor_set(x_375, 1, x_374); -x_376 = lean_array_push(x_373, x_375); -x_377 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_377, 0, x_355); -lean_ctor_set(x_377, 1, x_376); -x_378 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_379 = lean_box(0); -x_380 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(x_323, x_378, x_345, x_349, x_352, x_13, x_321, x_355, x_335, x_38, x_377, x_379, x_6, x_7, x_8, x_9, x_10, x_11, x_367); -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_321); -return x_380; -} -} -else -{ -lean_object* x_381; -x_381 = lean_ctor_get(x_320, 0); -lean_inc(x_381); -switch (lean_obj_tag(x_381)) { -case 0: -{ -lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; 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; uint8_t x_405; -x_382 = lean_ctor_get(x_334, 0); -lean_inc(x_382); -x_383 = lean_ctor_get(x_334, 1); -lean_inc(x_383); -lean_dec(x_334); -x_384 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_383); -x_385 = lean_ctor_get(x_384, 0); -lean_inc(x_385); -x_386 = lean_ctor_get(x_384, 1); -lean_inc(x_386); -lean_dec(x_384); -x_387 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_386); -x_388 = lean_ctor_get(x_387, 0); -lean_inc(x_388); -x_389 = lean_ctor_get(x_387, 1); -lean_inc(x_389); -lean_dec(x_387); -x_390 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_391 = l_Lean_addMacroScope(x_388, x_390, x_385); -x_392 = l_Lean_instInhabitedSourceInfo___closed__1; -x_393 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_394 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_395 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_395, 0, x_392); -lean_ctor_set(x_395, 1, x_393); -lean_ctor_set(x_395, 2, x_391); -lean_ctor_set(x_395, 3, x_394); -x_396 = l_Array_empty___closed__1; -x_397 = lean_array_push(x_396, x_395); -x_398 = lean_array_push(x_396, x_4); -x_399 = l_Lean_nullKind___closed__2; -x_400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_398); -x_401 = lean_array_push(x_397, x_400); -x_402 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_403, 0, x_402); -lean_ctor_set(x_403, 1, x_401); -x_404 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_405 = 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(x_320, x_404); -lean_dec(x_320); -if (x_405 == 0) -{ -lean_object* x_406; lean_object* x_407; lean_object* x_408; -x_406 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_407 = lean_box(0); -x_408 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__4(x_323, x_406, x_392, x_396, x_399, x_13, x_321, x_402, x_382, x_38, x_403, x_407, x_6, x_7, x_8, x_9, x_10, x_11, x_389); -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_321); -return x_408; -} -else -{ -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; -x_409 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_389); -x_410 = lean_ctor_get(x_409, 0); -lean_inc(x_410); -x_411 = lean_ctor_get(x_409, 1); -lean_inc(x_411); -lean_dec(x_409); -x_412 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_411); -x_413 = lean_ctor_get(x_412, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_412, 1); -lean_inc(x_414); -lean_dec(x_412); -x_415 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_416 = l_Lean_addMacroScope(x_413, x_415, x_410); -x_417 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_418 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_419 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_419, 0, x_392); -lean_ctor_set(x_419, 1, x_417); -lean_ctor_set(x_419, 2, x_416); -lean_ctor_set(x_419, 3, x_418); -x_420 = lean_array_push(x_396, x_419); -x_421 = lean_array_push(x_396, x_403); -x_422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_422, 0, x_399); -lean_ctor_set(x_422, 1, x_421); -x_423 = lean_array_push(x_420, x_422); -x_424 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_424, 0, x_402); -lean_ctor_set(x_424, 1, x_423); -x_425 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_426 = lean_box(0); -x_427 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__4(x_323, x_425, x_392, x_396, x_399, x_13, x_321, x_402, x_382, x_38, x_424, x_426, x_6, x_7, x_8, x_9, x_10, x_11, x_414); -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_321); -return x_427; -} -} -case 1: -{ -lean_object* x_428; -x_428 = lean_ctor_get(x_381, 0); -lean_inc(x_428); -switch (lean_obj_tag(x_428)) { -case 0: -{ -lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; uint8_t x_433; -x_429 = lean_ctor_get(x_334, 0); -lean_inc(x_429); -x_430 = lean_ctor_get(x_334, 1); -lean_inc(x_430); -lean_dec(x_334); -x_431 = lean_ctor_get(x_381, 1); -lean_inc(x_431); -lean_dec(x_381); -x_432 = l_myMacro____x40_Init_Notation___hyg_948____closed__1; -x_433 = lean_string_dec_eq(x_431, x_432); -lean_dec(x_431); -if (x_433 == 0) -{ -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; uint8_t x_455; -x_434 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_430); -x_435 = lean_ctor_get(x_434, 0); -lean_inc(x_435); -x_436 = lean_ctor_get(x_434, 1); -lean_inc(x_436); -lean_dec(x_434); -x_437 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_436); -x_438 = lean_ctor_get(x_437, 0); -lean_inc(x_438); -x_439 = lean_ctor_get(x_437, 1); -lean_inc(x_439); -lean_dec(x_437); -x_440 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_441 = l_Lean_addMacroScope(x_438, x_440, x_435); -x_442 = l_Lean_instInhabitedSourceInfo___closed__1; -x_443 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_444 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_445 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_445, 0, x_442); -lean_ctor_set(x_445, 1, x_443); -lean_ctor_set(x_445, 2, x_441); -lean_ctor_set(x_445, 3, x_444); -x_446 = l_Array_empty___closed__1; -x_447 = lean_array_push(x_446, x_445); -x_448 = lean_array_push(x_446, x_4); -x_449 = l_Lean_nullKind___closed__2; -x_450 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_450, 0, x_449); -lean_ctor_set(x_450, 1, x_448); -x_451 = lean_array_push(x_447, x_450); -x_452 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_453 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_453, 0, x_452); -lean_ctor_set(x_453, 1, x_451); -x_454 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_455 = 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(x_320, x_454); -lean_dec(x_320); -if (x_455 == 0) -{ -lean_object* x_456; lean_object* x_457; lean_object* x_458; -x_456 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_457 = lean_box(0); -x_458 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5(x_323, x_456, x_442, x_446, x_449, x_13, x_321, x_452, x_429, x_38, x_453, x_457, x_6, x_7, x_8, x_9, x_10, x_11, x_439); -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_321); -return x_458; -} -else -{ -lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; -x_459 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_439); -x_460 = lean_ctor_get(x_459, 0); -lean_inc(x_460); -x_461 = lean_ctor_get(x_459, 1); -lean_inc(x_461); -lean_dec(x_459); -x_462 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_461); -x_463 = lean_ctor_get(x_462, 0); -lean_inc(x_463); -x_464 = lean_ctor_get(x_462, 1); -lean_inc(x_464); -lean_dec(x_462); -x_465 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_466 = l_Lean_addMacroScope(x_463, x_465, x_460); -x_467 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_468 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_469 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_469, 0, x_442); -lean_ctor_set(x_469, 1, x_467); -lean_ctor_set(x_469, 2, x_466); -lean_ctor_set(x_469, 3, x_468); -x_470 = lean_array_push(x_446, x_469); -x_471 = lean_array_push(x_446, x_453); -x_472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_472, 0, x_449); -lean_ctor_set(x_472, 1, x_471); -x_473 = lean_array_push(x_470, x_472); -x_474 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_474, 0, x_452); -lean_ctor_set(x_474, 1, x_473); -x_475 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_476 = lean_box(0); -x_477 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5(x_323, x_475, x_442, x_446, x_449, x_13, x_321, x_452, x_429, x_38, x_474, x_476, x_6, x_7, x_8, x_9, x_10, x_11, x_464); -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_321); -return x_477; -} -} -else -{ -lean_object* x_478; size_t x_479; size_t 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; uint8_t x_491; -lean_dec(x_320); -x_478 = lean_array_get_size(x_323); -x_479 = lean_usize_of_nat(x_478); -lean_dec(x_478); -x_480 = 0; -lean_inc(x_38); -x_481 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10(x_323, x_479, x_480, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_430); -x_482 = lean_ctor_get(x_481, 0); -lean_inc(x_482); -x_483 = lean_ctor_get(x_481, 1); -lean_inc(x_483); -lean_dec(x_481); -x_484 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(x_323, x_479, x_480, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_483); -lean_dec(x_323); -x_485 = lean_ctor_get(x_484, 0); -lean_inc(x_485); -x_486 = lean_ctor_get(x_484, 1); -lean_inc(x_486); -lean_dec(x_484); -x_487 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_486); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_488 = lean_ctor_get(x_487, 0); -lean_inc(x_488); -x_489 = lean_ctor_get(x_487, 1); -lean_inc(x_489); -lean_dec(x_487); -x_490 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_489); -lean_dec(x_11); -x_491 = !lean_is_exclusive(x_490); -if (x_491 == 0) -{ -lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; -x_492 = lean_ctor_get(x_490, 0); -x_493 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -lean_inc(x_488); -lean_inc(x_492); -x_494 = l_Lean_addMacroScope(x_492, x_493, x_488); -x_495 = l_Lean_instInhabitedSourceInfo___closed__1; -x_496 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_497 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_497, 0, x_495); -lean_ctor_set(x_497, 1, x_496); -lean_ctor_set(x_497, 2, x_494); -lean_ctor_set(x_497, 3, x_13); -x_498 = l_Array_empty___closed__1; -lean_inc(x_497); -x_499 = lean_array_push(x_498, x_497); -x_500 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_501 = lean_array_push(x_499, x_500); -x_502 = lean_array_push(x_501, x_500); -x_503 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_504 = lean_array_push(x_502, x_503); -x_505 = lean_array_push(x_504, x_4); -x_506 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -x_507 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_507, 0, x_506); -lean_ctor_set(x_507, 1, x_505); -x_508 = lean_array_push(x_498, x_507); -x_509 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; -x_510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_510, 0, x_509); -lean_ctor_set(x_510, 1, x_508); -x_511 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_512 = lean_array_push(x_511, x_510); -x_513 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_514 = lean_array_push(x_512, x_513); -x_515 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__35; -x_516 = l_Lean_addMacroScope(x_492, x_515, x_488); -x_517 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__33; -x_518 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_518, 0, x_495); -lean_ctor_set(x_518, 1, x_517); -lean_ctor_set(x_518, 2, x_516); -lean_ctor_set(x_518, 3, x_13); -x_519 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__30; -x_520 = lean_array_push(x_519, x_518); -x_521 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__37; -x_522 = lean_array_push(x_520, x_521); -x_523 = lean_array_push(x_522, x_485); -x_524 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__39; -x_525 = lean_array_push(x_523, x_524); -x_526 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; -x_527 = lean_array_push(x_526, x_497); -x_528 = l_Lean_Parser_Term_matchDiscr___elambda__1___closed__1; -x_529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_529, 0, x_528); -lean_ctor_set(x_529, 1, x_527); -x_530 = lean_array_push(x_498, x_529); -x_531 = l_Lean_nullKind___closed__2; -x_532 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_532, 0, x_531); -lean_ctor_set(x_532, 1, x_530); -x_533 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__41; -x_534 = lean_array_push(x_533, x_532); -x_535 = lean_array_push(x_534, x_500); -x_536 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__42; -x_537 = lean_array_push(x_535, x_536); -x_538 = l_Lean_nullKind; -x_539 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_539, 0, x_538); -lean_ctor_set(x_539, 1, x_321); -x_540 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__2; -x_541 = lean_array_push(x_540, x_539); -x_542 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_543 = lean_array_push(x_541, x_542); -x_544 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__1; -x_545 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_545, 0, x_544); -lean_ctor_set(x_545, 1, x_543); -x_546 = lean_array_push(x_498, x_545); -x_547 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_547, 0, x_531); -lean_ctor_set(x_547, 1, x_546); -x_548 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__43; -x_549 = lean_array_push(x_548, x_547); -x_550 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; -x_551 = lean_array_push(x_549, x_550); -x_552 = lean_array_push(x_551, x_482); -x_553 = l_Lean_Parser_Term_matchAlt___closed__1; -x_554 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_554, 0, x_553); -lean_ctor_set(x_554, 1, x_552); -x_555 = lean_array_push(x_498, x_554); -x_556 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__45; -x_557 = lean_array_push(x_556, x_429); -x_558 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_558, 0, x_553); -lean_ctor_set(x_558, 1, x_557); -x_559 = lean_array_push(x_555, x_558); -x_560 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_560, 0, x_531); -lean_ctor_set(x_560, 1, x_559); -x_561 = lean_array_push(x_498, x_560); -x_562 = l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; -x_563 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_563, 0, x_562); -lean_ctor_set(x_563, 1, x_561); -x_564 = lean_array_push(x_537, x_563); -x_565 = l_Lean_Parser_Term_match___elambda__1___closed__1; -x_566 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_566, 0, x_565); -lean_ctor_set(x_566, 1, x_564); -x_567 = lean_array_push(x_525, x_566); -x_568 = l_termIf__Then__Else_____closed__2; -x_569 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_569, 0, x_568); -lean_ctor_set(x_569, 1, x_567); -x_570 = lean_array_push(x_514, x_569); -x_571 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; -x_572 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_572, 0, x_571); -lean_ctor_set(x_572, 1, x_570); -lean_ctor_set(x_490, 0, x_572); -return x_490; -} -else -{ -lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; -x_573 = lean_ctor_get(x_490, 0); -x_574 = lean_ctor_get(x_490, 1); -lean_inc(x_574); -lean_inc(x_573); -lean_dec(x_490); -x_575 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -lean_inc(x_488); -lean_inc(x_573); -x_576 = l_Lean_addMacroScope(x_573, x_575, x_488); -x_577 = l_Lean_instInhabitedSourceInfo___closed__1; -x_578 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_579 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_579, 0, x_577); -lean_ctor_set(x_579, 1, x_578); -lean_ctor_set(x_579, 2, x_576); -lean_ctor_set(x_579, 3, x_13); -x_580 = l_Array_empty___closed__1; -lean_inc(x_579); -x_581 = lean_array_push(x_580, x_579); -x_582 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_583 = lean_array_push(x_581, x_582); -x_584 = lean_array_push(x_583, x_582); -x_585 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_586 = lean_array_push(x_584, x_585); -x_587 = lean_array_push(x_586, x_4); -x_588 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -x_589 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_589, 0, x_588); -lean_ctor_set(x_589, 1, x_587); -x_590 = lean_array_push(x_580, x_589); -x_591 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; -x_592 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_592, 0, x_591); -lean_ctor_set(x_592, 1, x_590); -x_593 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_594 = lean_array_push(x_593, x_592); -x_595 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_596 = lean_array_push(x_594, x_595); -x_597 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__35; -x_598 = l_Lean_addMacroScope(x_573, x_597, x_488); -x_599 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__33; -x_600 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_600, 0, x_577); -lean_ctor_set(x_600, 1, x_599); -lean_ctor_set(x_600, 2, x_598); -lean_ctor_set(x_600, 3, x_13); -x_601 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__30; -x_602 = lean_array_push(x_601, x_600); -x_603 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__37; -x_604 = lean_array_push(x_602, x_603); -x_605 = lean_array_push(x_604, x_485); -x_606 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__39; -x_607 = lean_array_push(x_605, x_606); -x_608 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; -x_609 = lean_array_push(x_608, x_579); -x_610 = l_Lean_Parser_Term_matchDiscr___elambda__1___closed__1; -x_611 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_611, 0, x_610); -lean_ctor_set(x_611, 1, x_609); -x_612 = lean_array_push(x_580, x_611); -x_613 = l_Lean_nullKind___closed__2; -x_614 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_614, 0, x_613); -lean_ctor_set(x_614, 1, x_612); -x_615 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__41; -x_616 = lean_array_push(x_615, x_614); -x_617 = lean_array_push(x_616, x_582); -x_618 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__42; -x_619 = lean_array_push(x_617, x_618); -x_620 = l_Lean_nullKind; -x_621 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_621, 0, x_620); -lean_ctor_set(x_621, 1, x_321); -x_622 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__2; -x_623 = lean_array_push(x_622, x_621); -x_624 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_625 = lean_array_push(x_623, x_624); -x_626 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__1; -x_627 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_627, 0, x_626); -lean_ctor_set(x_627, 1, x_625); -x_628 = lean_array_push(x_580, x_627); -x_629 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_629, 0, x_613); -lean_ctor_set(x_629, 1, x_628); -x_630 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__43; -x_631 = lean_array_push(x_630, x_629); -x_632 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; -x_633 = lean_array_push(x_631, x_632); -x_634 = lean_array_push(x_633, x_482); -x_635 = l_Lean_Parser_Term_matchAlt___closed__1; -x_636 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_636, 0, x_635); -lean_ctor_set(x_636, 1, x_634); -x_637 = lean_array_push(x_580, x_636); -x_638 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__45; -x_639 = lean_array_push(x_638, x_429); -x_640 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_640, 0, x_635); -lean_ctor_set(x_640, 1, x_639); -x_641 = lean_array_push(x_637, x_640); -x_642 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_642, 0, x_613); -lean_ctor_set(x_642, 1, x_641); -x_643 = lean_array_push(x_580, x_642); -x_644 = l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; -x_645 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_645, 0, x_644); -lean_ctor_set(x_645, 1, x_643); -x_646 = lean_array_push(x_619, x_645); -x_647 = l_Lean_Parser_Term_match___elambda__1___closed__1; -x_648 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_648, 0, x_647); -lean_ctor_set(x_648, 1, x_646); -x_649 = lean_array_push(x_607, x_648); -x_650 = l_termIf__Then__Else_____closed__2; -x_651 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_651, 0, x_650); -lean_ctor_set(x_651, 1, x_649); -x_652 = lean_array_push(x_596, x_651); -x_653 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; -x_654 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_654, 0, x_653); -lean_ctor_set(x_654, 1, x_652); -x_655 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_655, 0, x_654); -lean_ctor_set(x_655, 1, x_574); -return x_655; -} -} -} -case 1: -{ -lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; uint8_t x_679; -lean_dec(x_428); -lean_dec(x_381); -x_656 = lean_ctor_get(x_334, 0); -lean_inc(x_656); -x_657 = lean_ctor_get(x_334, 1); -lean_inc(x_657); -lean_dec(x_334); -x_658 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_657); -x_659 = lean_ctor_get(x_658, 0); -lean_inc(x_659); -x_660 = lean_ctor_get(x_658, 1); -lean_inc(x_660); -lean_dec(x_658); -x_661 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_660); -x_662 = lean_ctor_get(x_661, 0); -lean_inc(x_662); -x_663 = lean_ctor_get(x_661, 1); -lean_inc(x_663); -lean_dec(x_661); -x_664 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_665 = l_Lean_addMacroScope(x_662, x_664, x_659); -x_666 = l_Lean_instInhabitedSourceInfo___closed__1; -x_667 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_668 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_669 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_669, 0, x_666); -lean_ctor_set(x_669, 1, x_667); -lean_ctor_set(x_669, 2, x_665); -lean_ctor_set(x_669, 3, x_668); -x_670 = l_Array_empty___closed__1; -x_671 = lean_array_push(x_670, x_669); -x_672 = lean_array_push(x_670, x_4); -x_673 = l_Lean_nullKind___closed__2; -x_674 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_674, 0, x_673); -lean_ctor_set(x_674, 1, x_672); -x_675 = lean_array_push(x_671, x_674); -x_676 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_677 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_677, 0, x_676); -lean_ctor_set(x_677, 1, x_675); -x_678 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_679 = 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(x_320, x_678); -lean_dec(x_320); -if (x_679 == 0) -{ -lean_object* x_680; lean_object* x_681; lean_object* x_682; -x_680 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_681 = lean_box(0); -x_682 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__6(x_323, x_680, x_666, x_670, x_673, x_13, x_321, x_676, x_656, x_38, x_677, x_681, x_6, x_7, x_8, x_9, x_10, x_11, x_663); -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_321); -return x_682; -} -else -{ -lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; -x_683 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_663); -x_684 = lean_ctor_get(x_683, 0); -lean_inc(x_684); -x_685 = lean_ctor_get(x_683, 1); -lean_inc(x_685); -lean_dec(x_683); -x_686 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_685); -x_687 = lean_ctor_get(x_686, 0); -lean_inc(x_687); -x_688 = lean_ctor_get(x_686, 1); -lean_inc(x_688); -lean_dec(x_686); -x_689 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_690 = l_Lean_addMacroScope(x_687, x_689, x_684); -x_691 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_692 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_693 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_693, 0, x_666); -lean_ctor_set(x_693, 1, x_691); -lean_ctor_set(x_693, 2, x_690); -lean_ctor_set(x_693, 3, x_692); -x_694 = lean_array_push(x_670, x_693); -x_695 = lean_array_push(x_670, x_677); -x_696 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_696, 0, x_673); -lean_ctor_set(x_696, 1, x_695); -x_697 = lean_array_push(x_694, x_696); -x_698 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_698, 0, x_676); -lean_ctor_set(x_698, 1, x_697); -x_699 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_700 = lean_box(0); -x_701 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__6(x_323, x_699, x_666, x_670, x_673, x_13, x_321, x_676, x_656, x_38, x_698, x_700, x_6, x_7, x_8, x_9, x_10, x_11, x_688); -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_321); -return x_701; -} -} -default: -{ -lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; uint8_t x_725; -lean_dec(x_428); -lean_dec(x_381); -x_702 = lean_ctor_get(x_334, 0); -lean_inc(x_702); -x_703 = lean_ctor_get(x_334, 1); -lean_inc(x_703); -lean_dec(x_334); -x_704 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_703); -x_705 = lean_ctor_get(x_704, 0); -lean_inc(x_705); -x_706 = lean_ctor_get(x_704, 1); -lean_inc(x_706); -lean_dec(x_704); -x_707 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_706); -x_708 = lean_ctor_get(x_707, 0); -lean_inc(x_708); -x_709 = lean_ctor_get(x_707, 1); -lean_inc(x_709); -lean_dec(x_707); -x_710 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_711 = l_Lean_addMacroScope(x_708, x_710, x_705); -x_712 = l_Lean_instInhabitedSourceInfo___closed__1; -x_713 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_714 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_715 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_715, 0, x_712); -lean_ctor_set(x_715, 1, x_713); -lean_ctor_set(x_715, 2, x_711); -lean_ctor_set(x_715, 3, x_714); -x_716 = l_Array_empty___closed__1; -x_717 = lean_array_push(x_716, x_715); -x_718 = lean_array_push(x_716, x_4); -x_719 = l_Lean_nullKind___closed__2; -x_720 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_720, 0, x_719); -lean_ctor_set(x_720, 1, x_718); -x_721 = lean_array_push(x_717, x_720); -x_722 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_723 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_723, 0, x_722); -lean_ctor_set(x_723, 1, x_721); -x_724 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_725 = 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(x_320, x_724); -lean_dec(x_320); -if (x_725 == 0) -{ -lean_object* x_726; lean_object* x_727; lean_object* x_728; -x_726 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_727 = lean_box(0); -x_728 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__7(x_323, x_726, x_712, x_716, x_719, x_13, x_321, x_722, x_702, x_38, x_723, x_727, x_6, x_7, x_8, x_9, x_10, x_11, x_709); -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_321); -return x_728; -} -else -{ -lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; -x_729 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_709); -x_730 = lean_ctor_get(x_729, 0); -lean_inc(x_730); -x_731 = lean_ctor_get(x_729, 1); -lean_inc(x_731); -lean_dec(x_729); -x_732 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_731); -x_733 = lean_ctor_get(x_732, 0); -lean_inc(x_733); -x_734 = lean_ctor_get(x_732, 1); -lean_inc(x_734); -lean_dec(x_732); -x_735 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_736 = l_Lean_addMacroScope(x_733, x_735, x_730); -x_737 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_738 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_739 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_739, 0, x_712); -lean_ctor_set(x_739, 1, x_737); -lean_ctor_set(x_739, 2, x_736); -lean_ctor_set(x_739, 3, x_738); -x_740 = lean_array_push(x_716, x_739); -x_741 = lean_array_push(x_716, x_723); -x_742 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_742, 0, x_719); -lean_ctor_set(x_742, 1, x_741); -x_743 = lean_array_push(x_740, x_742); -x_744 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_744, 0, x_722); -lean_ctor_set(x_744, 1, x_743); -x_745 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_746 = lean_box(0); -x_747 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__7(x_323, x_745, x_712, x_716, x_719, x_13, x_321, x_722, x_702, x_38, x_744, x_746, x_6, x_7, x_8, x_9, x_10, x_11, x_734); -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_321); -return x_747; -} -} -} -} -default: -{ -lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; uint8_t x_771; -lean_dec(x_381); -x_748 = lean_ctor_get(x_334, 0); -lean_inc(x_748); -x_749 = lean_ctor_get(x_334, 1); -lean_inc(x_749); -lean_dec(x_334); -x_750 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_749); -x_751 = lean_ctor_get(x_750, 0); -lean_inc(x_751); -x_752 = lean_ctor_get(x_750, 1); -lean_inc(x_752); -lean_dec(x_750); -x_753 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_752); -x_754 = lean_ctor_get(x_753, 0); -lean_inc(x_754); -x_755 = lean_ctor_get(x_753, 1); -lean_inc(x_755); -lean_dec(x_753); -x_756 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_757 = l_Lean_addMacroScope(x_754, x_756, x_751); -x_758 = l_Lean_instInhabitedSourceInfo___closed__1; -x_759 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_760 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_761 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_761, 0, x_758); -lean_ctor_set(x_761, 1, x_759); -lean_ctor_set(x_761, 2, x_757); -lean_ctor_set(x_761, 3, x_760); -x_762 = l_Array_empty___closed__1; -x_763 = lean_array_push(x_762, x_761); -x_764 = lean_array_push(x_762, x_4); -x_765 = l_Lean_nullKind___closed__2; -x_766 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_766, 0, x_765); -lean_ctor_set(x_766, 1, x_764); -x_767 = lean_array_push(x_763, x_766); -x_768 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_769 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_769, 0, x_768); -lean_ctor_set(x_769, 1, x_767); -x_770 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_771 = 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(x_320, x_770); -lean_dec(x_320); -if (x_771 == 0) -{ -lean_object* x_772; lean_object* x_773; lean_object* x_774; -x_772 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_773 = lean_box(0); -x_774 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__8(x_323, x_772, x_758, x_762, x_765, x_13, x_321, x_768, x_748, x_38, x_769, x_773, x_6, x_7, x_8, x_9, x_10, x_11, x_755); -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_321); -return x_774; -} -else -{ -lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; -x_775 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_755); -x_776 = lean_ctor_get(x_775, 0); -lean_inc(x_776); -x_777 = lean_ctor_get(x_775, 1); -lean_inc(x_777); -lean_dec(x_775); -x_778 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_777); -x_779 = lean_ctor_get(x_778, 0); -lean_inc(x_779); -x_780 = lean_ctor_get(x_778, 1); -lean_inc(x_780); -lean_dec(x_778); -x_781 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_782 = l_Lean_addMacroScope(x_779, x_781, x_776); -x_783 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_784 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_785 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_785, 0, x_758); -lean_ctor_set(x_785, 1, x_783); -lean_ctor_set(x_785, 2, x_782); -lean_ctor_set(x_785, 3, x_784); -x_786 = lean_array_push(x_762, x_785); -x_787 = lean_array_push(x_762, x_769); -x_788 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_788, 0, x_765); -lean_ctor_set(x_788, 1, x_787); -x_789 = lean_array_push(x_786, x_788); -x_790 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_790, 0, x_768); -lean_ctor_set(x_790, 1, x_789); -x_791 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_792 = lean_box(0); -x_793 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__8(x_323, x_791, x_758, x_762, x_765, x_13, x_321, x_768, x_748, x_38, x_790, x_792, x_6, x_7, x_8, x_9, x_10, x_11, x_780); -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_321); -return x_793; -} -} -} -} -} -else -{ -uint8_t x_794; -lean_dec(x_323); -lean_dec(x_321); -lean_dec(x_320); -lean_dec(x_38); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); +lean_object* x_9; +x_9 = l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -x_794 = !lean_is_exclusive(x_334); -if (x_794 == 0) -{ -return x_334; -} -else -{ -lean_object* x_795; lean_object* x_796; lean_object* x_797; -x_795 = lean_ctor_get(x_334, 0); -x_796 = lean_ctor_get(x_334, 1); -lean_inc(x_796); -lean_inc(x_795); -lean_dec(x_334); -x_797 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_797, 0, x_795); -lean_ctor_set(x_797, 1, x_796); -return x_797; +lean_dec(x_3); +return x_9; } } -} -else +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: { -lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; -x_798 = lean_ctor_get(x_326, 0); -x_799 = lean_ctor_get(x_326, 1); -x_800 = lean_ctor_get(x_326, 2); -x_801 = lean_ctor_get(x_326, 3); -lean_inc(x_801); -lean_inc(x_800); -lean_inc(x_799); -lean_inc(x_798); -lean_dec(x_326); -x_802 = lean_nat_add(x_799, x_24); -x_803 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_803, 0, x_798); -lean_ctor_set(x_803, 1, x_802); -lean_ctor_set(x_803, 2, x_800); -lean_ctor_set(x_803, 3, x_801); -x_804 = lean_st_ref_set(x_11, x_803, x_327); -x_805 = lean_ctor_get(x_804, 1); -lean_inc(x_805); -lean_dec(x_804); -x_806 = lean_alloc_ctor(0, 6, 3); -lean_ctor_set(x_806, 0, x_28); -lean_ctor_set(x_806, 1, x_29); -lean_ctor_set(x_806, 2, x_30); -lean_ctor_set(x_806, 3, x_31); -lean_ctor_set(x_806, 4, x_799); -lean_ctor_set(x_806, 5, x_35); -lean_ctor_set_uint8(x_806, sizeof(void*)*6, x_32); -lean_ctor_set_uint8(x_806, sizeof(void*)*6 + 1, x_33); -lean_ctor_set_uint8(x_806, sizeof(void*)*6 + 2, x_34); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_807 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_42, x_41, x_806, x_7, x_8, x_9, x_10, x_11, x_805); -if (lean_obj_tag(x_807) == 0) -{ -if (lean_obj_tag(x_320) == 0) -{ -lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; uint8_t x_831; -x_808 = lean_ctor_get(x_807, 0); -lean_inc(x_808); -x_809 = lean_ctor_get(x_807, 1); -lean_inc(x_809); -lean_dec(x_807); -x_810 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_809); -x_811 = lean_ctor_get(x_810, 0); -lean_inc(x_811); -x_812 = lean_ctor_get(x_810, 1); -lean_inc(x_812); -lean_dec(x_810); -x_813 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_812); -x_814 = lean_ctor_get(x_813, 0); -lean_inc(x_814); -x_815 = lean_ctor_get(x_813, 1); -lean_inc(x_815); -lean_dec(x_813); -x_816 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_817 = l_Lean_addMacroScope(x_814, x_816, x_811); -x_818 = l_Lean_instInhabitedSourceInfo___closed__1; -x_819 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_820 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_821 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_821, 0, x_818); -lean_ctor_set(x_821, 1, x_819); -lean_ctor_set(x_821, 2, x_817); -lean_ctor_set(x_821, 3, x_820); -x_822 = l_Array_empty___closed__1; -x_823 = lean_array_push(x_822, x_821); -x_824 = lean_array_push(x_822, x_4); -x_825 = l_Lean_nullKind___closed__2; -x_826 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_826, 0, x_825); -lean_ctor_set(x_826, 1, x_824); -x_827 = lean_array_push(x_823, x_826); -x_828 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_829 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_829, 0, x_828); -lean_ctor_set(x_829, 1, x_827); -x_830 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_831 = 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(x_320, x_830); -if (x_831 == 0) -{ -lean_object* x_832; lean_object* x_833; lean_object* x_834; -x_832 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_833 = lean_box(0); -x_834 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(x_323, x_832, x_818, x_822, x_825, x_13, x_321, x_828, x_808, x_38, x_829, x_833, x_6, x_7, x_8, x_9, x_10, x_11, x_815); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_321); -return x_834; -} -else -{ -lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; -x_835 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_815); -x_836 = lean_ctor_get(x_835, 0); -lean_inc(x_836); -x_837 = lean_ctor_get(x_835, 1); -lean_inc(x_837); -lean_dec(x_835); -x_838 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_837); -x_839 = lean_ctor_get(x_838, 0); -lean_inc(x_839); -x_840 = lean_ctor_get(x_838, 1); -lean_inc(x_840); -lean_dec(x_838); -x_841 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_842 = l_Lean_addMacroScope(x_839, x_841, x_836); -x_843 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_844 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_845 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_845, 0, x_818); -lean_ctor_set(x_845, 1, x_843); -lean_ctor_set(x_845, 2, x_842); -lean_ctor_set(x_845, 3, x_844); -x_846 = lean_array_push(x_822, x_845); -x_847 = lean_array_push(x_822, x_829); -x_848 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_848, 0, x_825); -lean_ctor_set(x_848, 1, x_847); -x_849 = lean_array_push(x_846, x_848); -x_850 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_850, 0, x_828); -lean_ctor_set(x_850, 1, x_849); -x_851 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_852 = lean_box(0); -x_853 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(x_323, x_851, x_818, x_822, x_825, x_13, x_321, x_828, x_808, x_38, x_850, x_852, x_6, x_7, x_8, x_9, x_10, x_11, x_840); -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_321); -return x_853; -} -} -else -{ -lean_object* x_854; -x_854 = lean_ctor_get(x_320, 0); -lean_inc(x_854); -switch (lean_obj_tag(x_854)) { -case 0: -{ -lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; uint8_t x_878; -x_855 = lean_ctor_get(x_807, 0); -lean_inc(x_855); -x_856 = lean_ctor_get(x_807, 1); -lean_inc(x_856); -lean_dec(x_807); -x_857 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_856); -x_858 = lean_ctor_get(x_857, 0); -lean_inc(x_858); -x_859 = lean_ctor_get(x_857, 1); -lean_inc(x_859); -lean_dec(x_857); -x_860 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_859); -x_861 = lean_ctor_get(x_860, 0); -lean_inc(x_861); -x_862 = lean_ctor_get(x_860, 1); -lean_inc(x_862); -lean_dec(x_860); -x_863 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_864 = l_Lean_addMacroScope(x_861, x_863, x_858); -x_865 = l_Lean_instInhabitedSourceInfo___closed__1; -x_866 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_867 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_868 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_868, 0, x_865); -lean_ctor_set(x_868, 1, x_866); -lean_ctor_set(x_868, 2, x_864); -lean_ctor_set(x_868, 3, x_867); -x_869 = l_Array_empty___closed__1; -x_870 = lean_array_push(x_869, x_868); -x_871 = lean_array_push(x_869, x_4); -x_872 = l_Lean_nullKind___closed__2; -x_873 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_873, 0, x_872); -lean_ctor_set(x_873, 1, x_871); -x_874 = lean_array_push(x_870, x_873); -x_875 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_876 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_876, 0, x_875); -lean_ctor_set(x_876, 1, x_874); -x_877 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_878 = 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(x_320, x_877); -lean_dec(x_320); -if (x_878 == 0) -{ -lean_object* x_879; lean_object* x_880; lean_object* x_881; -x_879 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_880 = lean_box(0); -x_881 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__4(x_323, x_879, x_865, x_869, x_872, x_13, x_321, x_875, x_855, x_38, x_876, x_880, x_6, x_7, x_8, x_9, x_10, x_11, x_862); -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_321); -return x_881; -} -else -{ -lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; -x_882 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_862); -x_883 = lean_ctor_get(x_882, 0); -lean_inc(x_883); -x_884 = lean_ctor_get(x_882, 1); -lean_inc(x_884); -lean_dec(x_882); -x_885 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_884); -x_886 = lean_ctor_get(x_885, 0); -lean_inc(x_886); -x_887 = lean_ctor_get(x_885, 1); -lean_inc(x_887); -lean_dec(x_885); -x_888 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_889 = l_Lean_addMacroScope(x_886, x_888, x_883); -x_890 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_891 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_892 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_892, 0, x_865); -lean_ctor_set(x_892, 1, x_890); -lean_ctor_set(x_892, 2, x_889); -lean_ctor_set(x_892, 3, x_891); -x_893 = lean_array_push(x_869, x_892); -x_894 = lean_array_push(x_869, x_876); -x_895 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_895, 0, x_872); -lean_ctor_set(x_895, 1, x_894); -x_896 = lean_array_push(x_893, x_895); -x_897 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_897, 0, x_875); -lean_ctor_set(x_897, 1, x_896); -x_898 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_899 = lean_box(0); -x_900 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__4(x_323, x_898, x_865, x_869, x_872, x_13, x_321, x_875, x_855, x_38, x_897, x_899, x_6, x_7, x_8, x_9, x_10, x_11, x_887); -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_321); -return x_900; -} -} -case 1: -{ -lean_object* x_901; -x_901 = lean_ctor_get(x_854, 0); -lean_inc(x_901); -switch (lean_obj_tag(x_901)) { -case 0: -{ -lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; uint8_t x_906; -x_902 = lean_ctor_get(x_807, 0); -lean_inc(x_902); -x_903 = lean_ctor_get(x_807, 1); -lean_inc(x_903); -lean_dec(x_807); -x_904 = lean_ctor_get(x_854, 1); -lean_inc(x_904); -lean_dec(x_854); -x_905 = l_myMacro____x40_Init_Notation___hyg_948____closed__1; -x_906 = lean_string_dec_eq(x_904, x_905); -lean_dec(x_904); -if (x_906 == 0) -{ -lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; uint8_t x_928; -x_907 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_903); -x_908 = lean_ctor_get(x_907, 0); -lean_inc(x_908); -x_909 = lean_ctor_get(x_907, 1); -lean_inc(x_909); -lean_dec(x_907); -x_910 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_909); -x_911 = lean_ctor_get(x_910, 0); -lean_inc(x_911); -x_912 = lean_ctor_get(x_910, 1); -lean_inc(x_912); -lean_dec(x_910); -x_913 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_914 = l_Lean_addMacroScope(x_911, x_913, x_908); -x_915 = l_Lean_instInhabitedSourceInfo___closed__1; -x_916 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_917 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_918 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_918, 0, x_915); -lean_ctor_set(x_918, 1, x_916); -lean_ctor_set(x_918, 2, x_914); -lean_ctor_set(x_918, 3, x_917); -x_919 = l_Array_empty___closed__1; -x_920 = lean_array_push(x_919, x_918); -x_921 = lean_array_push(x_919, x_4); -x_922 = l_Lean_nullKind___closed__2; -x_923 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_923, 0, x_922); -lean_ctor_set(x_923, 1, x_921); -x_924 = lean_array_push(x_920, x_923); -x_925 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_926 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_926, 0, x_925); -lean_ctor_set(x_926, 1, x_924); -x_927 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_928 = 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(x_320, x_927); -lean_dec(x_320); -if (x_928 == 0) -{ -lean_object* x_929; lean_object* x_930; lean_object* x_931; -x_929 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_930 = lean_box(0); -x_931 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5(x_323, x_929, x_915, x_919, x_922, x_13, x_321, x_925, x_902, x_38, x_926, x_930, x_6, x_7, x_8, x_9, x_10, x_11, x_912); -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_321); -return x_931; -} -else -{ -lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; -x_932 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_912); -x_933 = lean_ctor_get(x_932, 0); -lean_inc(x_933); -x_934 = lean_ctor_get(x_932, 1); -lean_inc(x_934); -lean_dec(x_932); -x_935 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_934); -x_936 = lean_ctor_get(x_935, 0); -lean_inc(x_936); -x_937 = lean_ctor_get(x_935, 1); -lean_inc(x_937); -lean_dec(x_935); -x_938 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_939 = l_Lean_addMacroScope(x_936, x_938, x_933); -x_940 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_941 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_942 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_942, 0, x_915); -lean_ctor_set(x_942, 1, x_940); -lean_ctor_set(x_942, 2, x_939); -lean_ctor_set(x_942, 3, x_941); -x_943 = lean_array_push(x_919, x_942); -x_944 = lean_array_push(x_919, x_926); -x_945 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_945, 0, x_922); -lean_ctor_set(x_945, 1, x_944); -x_946 = lean_array_push(x_943, x_945); -x_947 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_947, 0, x_925); -lean_ctor_set(x_947, 1, x_946); -x_948 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_949 = lean_box(0); -x_950 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5(x_323, x_948, x_915, x_919, x_922, x_13, x_321, x_925, x_902, x_38, x_947, x_949, x_6, x_7, x_8, x_9, x_10, x_11, x_937); -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_321); -return x_950; -} -} -else -{ -lean_object* x_951; size_t x_952; size_t x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; -lean_dec(x_320); -x_951 = lean_array_get_size(x_323); -x_952 = lean_usize_of_nat(x_951); -lean_dec(x_951); -x_953 = 0; -lean_inc(x_38); -x_954 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10(x_323, x_952, x_953, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_903); -x_955 = lean_ctor_get(x_954, 0); -lean_inc(x_955); -x_956 = lean_ctor_get(x_954, 1); -lean_inc(x_956); -lean_dec(x_954); -x_957 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(x_323, x_952, x_953, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_956); -lean_dec(x_323); -x_958 = lean_ctor_get(x_957, 0); -lean_inc(x_958); -x_959 = lean_ctor_get(x_957, 1); -lean_inc(x_959); -lean_dec(x_957); -x_960 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_959); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_961 = lean_ctor_get(x_960, 0); -lean_inc(x_961); -x_962 = lean_ctor_get(x_960, 1); -lean_inc(x_962); -lean_dec(x_960); -x_963 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_962); -lean_dec(x_11); -x_964 = lean_ctor_get(x_963, 0); -lean_inc(x_964); -x_965 = lean_ctor_get(x_963, 1); -lean_inc(x_965); -if (lean_is_exclusive(x_963)) { - lean_ctor_release(x_963, 0); - lean_ctor_release(x_963, 1); - x_966 = x_963; -} else { - lean_dec_ref(x_963); - x_966 = lean_box(0); -} -x_967 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -lean_inc(x_961); -lean_inc(x_964); -x_968 = l_Lean_addMacroScope(x_964, x_967, x_961); -x_969 = l_Lean_instInhabitedSourceInfo___closed__1; -x_970 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_971 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_971, 0, x_969); -lean_ctor_set(x_971, 1, x_970); -lean_ctor_set(x_971, 2, x_968); -lean_ctor_set(x_971, 3, x_13); -x_972 = l_Array_empty___closed__1; -lean_inc(x_971); -x_973 = lean_array_push(x_972, x_971); -x_974 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_975 = lean_array_push(x_973, x_974); -x_976 = lean_array_push(x_975, x_974); -x_977 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_978 = lean_array_push(x_976, x_977); -x_979 = lean_array_push(x_978, x_4); -x_980 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -x_981 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_981, 0, x_980); -lean_ctor_set(x_981, 1, x_979); -x_982 = lean_array_push(x_972, x_981); -x_983 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; -x_984 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_984, 0, x_983); -lean_ctor_set(x_984, 1, x_982); -x_985 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_986 = lean_array_push(x_985, x_984); -x_987 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_988 = lean_array_push(x_986, x_987); -x_989 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__35; -x_990 = l_Lean_addMacroScope(x_964, x_989, x_961); -x_991 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__33; -x_992 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_992, 0, x_969); -lean_ctor_set(x_992, 1, x_991); -lean_ctor_set(x_992, 2, x_990); -lean_ctor_set(x_992, 3, x_13); -x_993 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__30; -x_994 = lean_array_push(x_993, x_992); -x_995 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__37; -x_996 = lean_array_push(x_994, x_995); -x_997 = lean_array_push(x_996, x_958); -x_998 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__39; -x_999 = lean_array_push(x_997, x_998); -x_1000 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; -x_1001 = lean_array_push(x_1000, x_971); -x_1002 = l_Lean_Parser_Term_matchDiscr___elambda__1___closed__1; -x_1003 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1003, 0, x_1002); -lean_ctor_set(x_1003, 1, x_1001); -x_1004 = lean_array_push(x_972, x_1003); -x_1005 = l_Lean_nullKind___closed__2; -x_1006 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1006, 0, x_1005); -lean_ctor_set(x_1006, 1, x_1004); -x_1007 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__41; -x_1008 = lean_array_push(x_1007, x_1006); -x_1009 = lean_array_push(x_1008, x_974); -x_1010 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__42; -x_1011 = lean_array_push(x_1009, x_1010); -x_1012 = l_Lean_nullKind; -x_1013 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1013, 0, x_1012); -lean_ctor_set(x_1013, 1, x_321); -x_1014 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__2; -x_1015 = lean_array_push(x_1014, x_1013); -x_1016 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_1017 = lean_array_push(x_1015, x_1016); -x_1018 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__1; -x_1019 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1019, 0, x_1018); -lean_ctor_set(x_1019, 1, x_1017); -x_1020 = lean_array_push(x_972, x_1019); -x_1021 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1021, 0, x_1005); -lean_ctor_set(x_1021, 1, x_1020); -x_1022 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__43; -x_1023 = lean_array_push(x_1022, x_1021); -x_1024 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; -x_1025 = lean_array_push(x_1023, x_1024); -x_1026 = lean_array_push(x_1025, x_955); -x_1027 = l_Lean_Parser_Term_matchAlt___closed__1; -x_1028 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1028, 0, x_1027); -lean_ctor_set(x_1028, 1, x_1026); -x_1029 = lean_array_push(x_972, x_1028); -x_1030 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__45; -x_1031 = lean_array_push(x_1030, x_902); -x_1032 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1032, 0, x_1027); -lean_ctor_set(x_1032, 1, x_1031); -x_1033 = lean_array_push(x_1029, x_1032); -x_1034 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1034, 0, x_1005); -lean_ctor_set(x_1034, 1, x_1033); -x_1035 = lean_array_push(x_972, x_1034); -x_1036 = l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; -x_1037 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1037, 0, x_1036); -lean_ctor_set(x_1037, 1, x_1035); -x_1038 = lean_array_push(x_1011, x_1037); -x_1039 = l_Lean_Parser_Term_match___elambda__1___closed__1; -x_1040 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1040, 0, x_1039); -lean_ctor_set(x_1040, 1, x_1038); -x_1041 = lean_array_push(x_999, x_1040); -x_1042 = l_termIf__Then__Else_____closed__2; -x_1043 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1043, 0, x_1042); -lean_ctor_set(x_1043, 1, x_1041); -x_1044 = lean_array_push(x_988, x_1043); -x_1045 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; -x_1046 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1046, 0, x_1045); -lean_ctor_set(x_1046, 1, x_1044); -if (lean_is_scalar(x_966)) { - x_1047 = lean_alloc_ctor(0, 2, 0); -} else { - x_1047 = x_966; -} -lean_ctor_set(x_1047, 0, x_1046); -lean_ctor_set(x_1047, 1, x_965); -return x_1047; -} -} -case 1: -{ -lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; uint8_t x_1071; -lean_dec(x_901); -lean_dec(x_854); -x_1048 = lean_ctor_get(x_807, 0); -lean_inc(x_1048); -x_1049 = lean_ctor_get(x_807, 1); -lean_inc(x_1049); -lean_dec(x_807); -x_1050 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1049); -x_1051 = lean_ctor_get(x_1050, 0); -lean_inc(x_1051); -x_1052 = lean_ctor_get(x_1050, 1); -lean_inc(x_1052); -lean_dec(x_1050); -x_1053 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1052); -x_1054 = lean_ctor_get(x_1053, 0); -lean_inc(x_1054); -x_1055 = lean_ctor_get(x_1053, 1); -lean_inc(x_1055); -lean_dec(x_1053); -x_1056 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_1057 = l_Lean_addMacroScope(x_1054, x_1056, x_1051); -x_1058 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1059 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_1060 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_1061 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1061, 0, x_1058); -lean_ctor_set(x_1061, 1, x_1059); -lean_ctor_set(x_1061, 2, x_1057); -lean_ctor_set(x_1061, 3, x_1060); -x_1062 = l_Array_empty___closed__1; -x_1063 = lean_array_push(x_1062, x_1061); -x_1064 = lean_array_push(x_1062, x_4); -x_1065 = l_Lean_nullKind___closed__2; -x_1066 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1066, 0, x_1065); -lean_ctor_set(x_1066, 1, x_1064); -x_1067 = lean_array_push(x_1063, x_1066); -x_1068 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1069 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1069, 0, x_1068); -lean_ctor_set(x_1069, 1, x_1067); -x_1070 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_1071 = 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(x_320, x_1070); -lean_dec(x_320); -if (x_1071 == 0) -{ -lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; -x_1072 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1073 = lean_box(0); -x_1074 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__6(x_323, x_1072, x_1058, x_1062, x_1065, x_13, x_321, x_1068, x_1048, x_38, x_1069, x_1073, x_6, x_7, x_8, x_9, x_10, x_11, x_1055); -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_321); -return x_1074; -} -else -{ -lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; -x_1075 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1055); -x_1076 = lean_ctor_get(x_1075, 0); -lean_inc(x_1076); -x_1077 = lean_ctor_get(x_1075, 1); -lean_inc(x_1077); -lean_dec(x_1075); -x_1078 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1077); -x_1079 = lean_ctor_get(x_1078, 0); -lean_inc(x_1079); -x_1080 = lean_ctor_get(x_1078, 1); -lean_inc(x_1080); -lean_dec(x_1078); -x_1081 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_1082 = l_Lean_addMacroScope(x_1079, x_1081, x_1076); -x_1083 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_1084 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_1085 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1085, 0, x_1058); -lean_ctor_set(x_1085, 1, x_1083); -lean_ctor_set(x_1085, 2, x_1082); -lean_ctor_set(x_1085, 3, x_1084); -x_1086 = lean_array_push(x_1062, x_1085); -x_1087 = lean_array_push(x_1062, x_1069); -x_1088 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1088, 0, x_1065); -lean_ctor_set(x_1088, 1, x_1087); -x_1089 = lean_array_push(x_1086, x_1088); -x_1090 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1090, 0, x_1068); -lean_ctor_set(x_1090, 1, x_1089); -x_1091 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1092 = lean_box(0); -x_1093 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__6(x_323, x_1091, x_1058, x_1062, x_1065, x_13, x_321, x_1068, x_1048, x_38, x_1090, x_1092, x_6, x_7, x_8, x_9, x_10, x_11, x_1080); -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_321); -return x_1093; -} -} -default: -{ -lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; uint8_t x_1117; -lean_dec(x_901); -lean_dec(x_854); -x_1094 = lean_ctor_get(x_807, 0); -lean_inc(x_1094); -x_1095 = lean_ctor_get(x_807, 1); -lean_inc(x_1095); -lean_dec(x_807); -x_1096 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1095); -x_1097 = lean_ctor_get(x_1096, 0); -lean_inc(x_1097); -x_1098 = lean_ctor_get(x_1096, 1); -lean_inc(x_1098); -lean_dec(x_1096); -x_1099 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1098); -x_1100 = lean_ctor_get(x_1099, 0); -lean_inc(x_1100); -x_1101 = lean_ctor_get(x_1099, 1); -lean_inc(x_1101); -lean_dec(x_1099); -x_1102 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_1103 = l_Lean_addMacroScope(x_1100, x_1102, x_1097); -x_1104 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1105 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_1106 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_1107 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1107, 0, x_1104); -lean_ctor_set(x_1107, 1, x_1105); -lean_ctor_set(x_1107, 2, x_1103); -lean_ctor_set(x_1107, 3, x_1106); -x_1108 = l_Array_empty___closed__1; -x_1109 = lean_array_push(x_1108, x_1107); -x_1110 = lean_array_push(x_1108, x_4); -x_1111 = l_Lean_nullKind___closed__2; -x_1112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1112, 0, x_1111); -lean_ctor_set(x_1112, 1, x_1110); -x_1113 = lean_array_push(x_1109, x_1112); -x_1114 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1115, 0, x_1114); -lean_ctor_set(x_1115, 1, x_1113); -x_1116 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_1117 = 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(x_320, x_1116); -lean_dec(x_320); -if (x_1117 == 0) -{ -lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; -x_1118 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1119 = lean_box(0); -x_1120 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__7(x_323, x_1118, x_1104, x_1108, x_1111, x_13, x_321, x_1114, x_1094, x_38, x_1115, x_1119, x_6, x_7, x_8, x_9, x_10, x_11, x_1101); -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_321); -return x_1120; -} -else -{ -lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; -x_1121 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1101); -x_1122 = lean_ctor_get(x_1121, 0); -lean_inc(x_1122); -x_1123 = lean_ctor_get(x_1121, 1); -lean_inc(x_1123); -lean_dec(x_1121); -x_1124 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1123); -x_1125 = lean_ctor_get(x_1124, 0); -lean_inc(x_1125); -x_1126 = lean_ctor_get(x_1124, 1); -lean_inc(x_1126); -lean_dec(x_1124); -x_1127 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_1128 = l_Lean_addMacroScope(x_1125, x_1127, x_1122); -x_1129 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_1130 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_1131 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1131, 0, x_1104); -lean_ctor_set(x_1131, 1, x_1129); -lean_ctor_set(x_1131, 2, x_1128); -lean_ctor_set(x_1131, 3, x_1130); -x_1132 = lean_array_push(x_1108, x_1131); -x_1133 = lean_array_push(x_1108, x_1115); -x_1134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1134, 0, x_1111); -lean_ctor_set(x_1134, 1, x_1133); -x_1135 = lean_array_push(x_1132, x_1134); -x_1136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1136, 0, x_1114); -lean_ctor_set(x_1136, 1, x_1135); -x_1137 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1138 = lean_box(0); -x_1139 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__7(x_323, x_1137, x_1104, x_1108, x_1111, x_13, x_321, x_1114, x_1094, x_38, x_1136, x_1138, x_6, x_7, x_8, x_9, x_10, x_11, x_1126); -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_321); -return x_1139; -} -} -} -} -default: -{ -lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; uint8_t x_1163; -lean_dec(x_854); -x_1140 = lean_ctor_get(x_807, 0); -lean_inc(x_1140); -x_1141 = lean_ctor_get(x_807, 1); -lean_inc(x_1141); -lean_dec(x_807); -x_1142 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1141); -x_1143 = lean_ctor_get(x_1142, 0); -lean_inc(x_1143); -x_1144 = lean_ctor_get(x_1142, 1); -lean_inc(x_1144); -lean_dec(x_1142); -x_1145 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1144); -x_1146 = lean_ctor_get(x_1145, 0); -lean_inc(x_1146); -x_1147 = lean_ctor_get(x_1145, 1); -lean_inc(x_1147); -lean_dec(x_1145); -x_1148 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_1149 = l_Lean_addMacroScope(x_1146, x_1148, x_1143); -x_1150 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1151 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_1152 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_1153 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1153, 0, x_1150); -lean_ctor_set(x_1153, 1, x_1151); -lean_ctor_set(x_1153, 2, x_1149); -lean_ctor_set(x_1153, 3, x_1152); -x_1154 = l_Array_empty___closed__1; -x_1155 = lean_array_push(x_1154, x_1153); -x_1156 = lean_array_push(x_1154, x_4); -x_1157 = l_Lean_nullKind___closed__2; -x_1158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1158, 0, x_1157); -lean_ctor_set(x_1158, 1, x_1156); -x_1159 = lean_array_push(x_1155, x_1158); -x_1160 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1161, 0, x_1160); -lean_ctor_set(x_1161, 1, x_1159); -x_1162 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_1163 = 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(x_320, x_1162); -lean_dec(x_320); -if (x_1163 == 0) -{ -lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; -x_1164 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1165 = lean_box(0); -x_1166 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__8(x_323, x_1164, x_1150, x_1154, x_1157, x_13, x_321, x_1160, x_1140, x_38, x_1161, x_1165, x_6, x_7, x_8, x_9, x_10, x_11, x_1147); -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_321); -return x_1166; -} -else -{ -lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; -x_1167 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1147); -x_1168 = lean_ctor_get(x_1167, 0); -lean_inc(x_1168); -x_1169 = lean_ctor_get(x_1167, 1); -lean_inc(x_1169); -lean_dec(x_1167); -x_1170 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1169); -x_1171 = lean_ctor_get(x_1170, 0); -lean_inc(x_1171); -x_1172 = lean_ctor_get(x_1170, 1); -lean_inc(x_1172); -lean_dec(x_1170); -x_1173 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_1174 = l_Lean_addMacroScope(x_1171, x_1173, x_1168); -x_1175 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_1176 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_1177 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1177, 0, x_1150); -lean_ctor_set(x_1177, 1, x_1175); -lean_ctor_set(x_1177, 2, x_1174); -lean_ctor_set(x_1177, 3, x_1176); -x_1178 = lean_array_push(x_1154, x_1177); -x_1179 = lean_array_push(x_1154, x_1161); -x_1180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1180, 0, x_1157); -lean_ctor_set(x_1180, 1, x_1179); -x_1181 = lean_array_push(x_1178, x_1180); -x_1182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1182, 0, x_1160); -lean_ctor_set(x_1182, 1, x_1181); -x_1183 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1184 = lean_box(0); -x_1185 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__8(x_323, x_1183, x_1150, x_1154, x_1157, x_13, x_321, x_1160, x_1140, x_38, x_1182, x_1184, x_6, x_7, x_8, x_9, x_10, x_11, x_1172); -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_321); -return x_1185; -} -} -} -} -} -else -{ -lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; -lean_dec(x_323); -lean_dec(x_321); -lean_dec(x_320); -lean_dec(x_38); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -x_1186 = lean_ctor_get(x_807, 0); -lean_inc(x_1186); -x_1187 = lean_ctor_get(x_807, 1); -lean_inc(x_1187); -if (lean_is_exclusive(x_807)) { - lean_ctor_release(x_807, 0); - lean_ctor_release(x_807, 1); - x_1188 = x_807; -} else { - lean_dec_ref(x_807); - x_1188 = lean_box(0); -} -if (lean_is_scalar(x_1188)) { - x_1189 = lean_alloc_ctor(1, 2, 0); -} else { - x_1189 = x_1188; -} -lean_ctor_set(x_1189, 0, x_1186); -lean_ctor_set(x_1189, 1, x_1187); -return x_1189; +lean_dec(x_1); +return x_10; } } -} -else +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -uint8_t x_1190; -lean_dec(x_321); -lean_dec(x_320); -lean_dec(x_42); -lean_dec(x_41); -lean_dec(x_38); -lean_dec(x_35); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -x_1190 = !lean_is_exclusive(x_322); -if (x_1190 == 0) -{ -return x_322; -} -else -{ -lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; -x_1191 = lean_ctor_get(x_322, 0); -x_1192 = lean_ctor_get(x_322, 1); -lean_inc(x_1192); -lean_inc(x_1191); -lean_dec(x_322); -x_1193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1193, 0, x_1191); -lean_ctor_set(x_1193, 1, x_1192); -return x_1193; -} -} -} -} -else -{ -uint8_t x_1194; -lean_dec(x_35); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); +lean_object* x_5; +x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(x_4, x_5, x_3); +return x_6; +} +} +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); 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]; +_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); -x_1194 = !lean_is_exclusive(x_37); -if (x_1194 == 0) +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_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_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__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_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_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__11___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__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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__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]; +_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); +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__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]; +_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); +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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +lean_object* l___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) { +_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); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +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) { +_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); +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) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11(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]; +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__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, 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__16___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_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__17___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17(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__18___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +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__18(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__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) { +_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); +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) { +_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); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +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) { +_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); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +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) { +_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); +lean_dec(x_1); +return x_4; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___boxed(lean_object* x_1, lean_object* x_2, lean_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_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 1); +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; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_7 = lean_apply_1(x_3, x_1); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_3); +lean_dec(x_1); +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +x_9 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); +lean_dec(x_4); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +lean_dec(x_6); +x_13 = lean_box(x_9); +x_14 = lean_apply_5(x_2, x_8, x_13, x_11, x_12, x_10); +return x_14; +} +} +else +{ +lean_object* x_15; +lean_dec(x_4); +lean_dec(x_2); +x_15 = lean_apply_1(x_3, x_1); +return x_15; +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_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_compileStxMatch_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 2) +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_4); +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_compileStxMatch_match__2(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_compileStxMatch_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_2(x_3, x_4, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_apply_2(x_2, x_9, x_8); +return x_10; +} +} +else +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_2); +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_apply_2(x_3, x_4, x_11); +return x_12; +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3(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_compileStxMatch_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_5); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_7; +lean_dec(x_6); +lean_dec(x_3); +x_7 = lean_apply_1(x_4, x_1); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +lean_dec(x_2); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_dec(x_8); +x_12 = lean_apply_2(x_3, x_11, x_10); +return x_12; +} +else +{ +lean_object* x_13; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +x_13 = lean_apply_2(x_6, x_1, x_2); +return x_13; +} +} +} +else +{ +lean_dec(x_6); +lean_dec(x_3); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_14; +lean_dec(x_5); +x_14 = lean_apply_1(x_4, x_1); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_dec(x_1); +x_17 = lean_ctor_get(x_2, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +lean_dec(x_2); +x_19 = lean_apply_4(x_5, x_15, x_16, x_17, x_18); +return x_19; +} +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4(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_compileStxMatch_match__4___rarg), 6, 0); +return x_2; +} +} +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_1); +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_2); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_2, 0); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_13); +x_15 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_1, 0); +lean_inc(x_19); +x_20 = lean_apply_1(x_18, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_13); +x_22 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +lean_ctor_set(x_2, 1, x_24); +lean_ctor_set(x_2, 0, x_21); +lean_ctor_set(x_22, 0, x_2); +return x_22; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_22, 0); +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_22); +lean_ctor_set(x_2, 1, x_25); +lean_ctor_set(x_2, 0, x_21); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_2); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +uint8_t x_28; +lean_dec(x_21); +lean_free_object(x_2); +x_28 = !lean_is_exclusive(x_22); +if (x_28 == 0) +{ +return x_22; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_22, 0); +x_30 = lean_ctor_get(x_22, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_22); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +uint8_t x_32; +lean_free_object(x_2); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_15); +if (x_32 == 0) +{ +return x_15; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_15, 0); +x_34 = lean_ctor_get(x_15, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_15); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_2, 0); +x_37 = lean_ctor_get(x_2, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_2); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_36); +x_38 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_ctor_get(x_1, 0); +lean_inc(x_42); +x_43 = lean_apply_1(x_41, x_42); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_36); +x_45 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_1, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_40); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_46 = lean_ctor_get(x_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); +} +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_44); +lean_ctor_set(x_49, 1, x_46); +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_48; +} +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +return x_50; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_44); +x_51 = lean_ctor_get(x_45, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_45, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_53 = x_45; +} else { + lean_dec_ref(x_45); + x_53 = lean_box(0); +} +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(1, 2, 0); +} else { + x_54 = x_53; +} +lean_ctor_set(x_54, 0, x_51); +lean_ctor_set(x_54, 1, x_52); +return x_54; +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_1); +x_55 = lean_ctor_get(x_38, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_38, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_57 = x_38; +} else { + lean_dec_ref(x_38); + x_57 = lean_box(0); +} +if (lean_is_scalar(x_57)) { + x_58 = lean_alloc_ctor(1, 2, 0); +} else { + x_58 = x_57; +} +lean_ctor_set(x_58, 0, x_55); +lean_ctor_set(x_58, 1, x_56); +return x_58; +} +} +} +} +} +lean_object* l_List_filterMapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_10; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +lean_dec(x_13); +lean_dec(x_12); +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +lean_dec(x_1); +x_1 = x_15; +goto _start; +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_ctor_get(x_12, 0); +lean_inc(x_18); +lean_dec(x_12); +x_19 = !lean_is_exclusive(x_13); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_13, 0); +lean_dec(x_20); +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 1); +x_23 = lean_ctor_get(x_14, 0); +lean_dec(x_23); +lean_ctor_set(x_13, 0, x_22); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_24 = lean_apply_8(x_18, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +lean_ctor_set(x_14, 1, x_2); +lean_ctor_set(x_14, 0, x_25); +x_1 = x_17; +x_2 = x_14; +x_9 = x_26; +goto _start; +} +else +{ +uint8_t x_28; +lean_free_object(x_14); +lean_dec(x_17); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_28 = !lean_is_exclusive(x_24); +if (x_28 == 0) +{ +return x_24; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_24, 0); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_14, 1); +lean_inc(x_32); +lean_dec(x_14); +lean_ctor_set(x_13, 0, x_32); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_33 = lean_apply_8(x_18, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_2); +x_1 = x_17; +x_2 = x_36; +x_9 = x_35; +goto _start; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_dec(x_17); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_38 = lean_ctor_get(x_33, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_40 = x_33; +} else { + lean_dec_ref(x_33); + x_40 = lean_box(0); +} +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(1, 2, 0); +} else { + x_41 = x_40; +} +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_39); +return x_41; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_42 = lean_ctor_get(x_13, 1); +lean_inc(x_42); +lean_dec(x_13); +x_43 = lean_ctor_get(x_14, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_44 = x_14; +} else { + lean_dec_ref(x_14); + x_44 = lean_box(0); +} +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_42); +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_46 = lean_apply_8(x_18, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +if (lean_is_scalar(x_44)) { + x_49 = lean_alloc_ctor(1, 2, 0); +} else { + x_49 = x_44; +} +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_2); +x_1 = x_17; +x_2 = x_49; +x_9 = x_48; +goto _start; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_44); +lean_dec(x_17); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_51 = lean_ctor_get(x_46, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_46, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_53 = x_46; +} else { + lean_dec_ref(x_46); + x_53 = lean_box(0); +} +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(1, 2, 0); +} else { + x_54 = x_53; +} +lean_ctor_set(x_54, 0, x_51); +lean_ctor_set(x_54, 1, x_52); +return x_54; +} +} +} +} +else +{ +lean_object* x_55; +lean_dec(x_12); +lean_dec(x_11); +x_55 = lean_ctor_get(x_1, 1); +lean_inc(x_55); +lean_dec(x_1); +x_1 = x_55; +goto _start; +} +} +} +} +lean_object* l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 2) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_ctor_get(x_1, 0); +lean_dec(x_7); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_6); +lean_ctor_set(x_1, 1, x_9); +lean_ctor_set(x_1, 0, x_8); +return x_1; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_3, 1); +lean_inc(x_11); +lean_dec(x_3); +x_12 = l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; +lean_dec(x_4); +lean_dec(x_3); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_dec(x_1); +x_1 = x_14; +goto _start; +} +} +} +} +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +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; uint8_t x_17; +x_12 = lean_ctor_get(x_1, 1); +x_13 = lean_ctor_get(x_1, 0); +lean_dec(x_13); +x_14 = lean_st_ref_take(x_7, x_8); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_18 = lean_ctor_get(x_15, 1); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_18, x_19); +lean_ctor_set(x_15, 1, x_20); +x_21 = lean_st_ref_set(x_7, x_15, x_16); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get(x_2, 0); +x_24 = lean_ctor_get(x_2, 1); +x_25 = lean_ctor_get(x_2, 2); +x_26 = lean_ctor_get(x_2, 3); +x_27 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_28 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_29 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 2); +x_30 = lean_ctor_get(x_2, 5); +lean_inc(x_30); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +x_31 = lean_alloc_ctor(0, 6, 3); +lean_ctor_set(x_31, 0, x_23); +lean_ctor_set(x_31, 1, x_24); +lean_ctor_set(x_31, 2, x_25); +lean_ctor_set(x_31, 3, x_26); +lean_ctor_set(x_31, 4, x_18); +lean_ctor_set(x_31, 5, x_30); +lean_ctor_set_uint8(x_31, sizeof(void*)*6, x_27); +lean_ctor_set_uint8(x_31, sizeof(void*)*6 + 1, x_28); +lean_ctor_set_uint8(x_31, sizeof(void*)*6 + 2, x_29); +x_32 = l_Lean_Elab_Term_getCurrMacroScope(x_31, x_3, x_4, x_5, x_6, x_7, x_22); +lean_dec(x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_34); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_39 = l_Lean_addMacroScope(x_36, x_38, x_33); +x_40 = lean_box(0); +x_41 = l_Lean_instInhabitedSourceInfo___closed__1; +x_42 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_43 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_39); +lean_ctor_set(x_43, 3, x_40); +x_44 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_37); +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_44, 0); +lean_ctor_set(x_1, 1, x_46); +lean_ctor_set(x_1, 0, x_43); +lean_ctor_set(x_44, 0, x_1); +return x_44; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_44, 0); +x_48 = lean_ctor_get(x_44, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_44); +lean_ctor_set(x_1, 1, x_47); +lean_ctor_set(x_1, 0, x_43); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_1); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; uint8_t x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_50 = lean_ctor_get(x_15, 0); +x_51 = lean_ctor_get(x_15, 1); +x_52 = lean_ctor_get(x_15, 2); +x_53 = lean_ctor_get(x_15, 3); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_15); +x_54 = lean_unsigned_to_nat(1u); +x_55 = lean_nat_add(x_51, x_54); +x_56 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_56, 0, x_50); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_52); +lean_ctor_set(x_56, 3, x_53); +x_57 = lean_st_ref_set(x_7, x_56, x_16); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +lean_dec(x_57); +x_59 = lean_ctor_get(x_2, 0); +x_60 = lean_ctor_get(x_2, 1); +x_61 = lean_ctor_get(x_2, 2); +x_62 = lean_ctor_get(x_2, 3); +x_63 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_64 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_65 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 2); +x_66 = lean_ctor_get(x_2, 5); +lean_inc(x_66); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +x_67 = lean_alloc_ctor(0, 6, 3); +lean_ctor_set(x_67, 0, x_59); +lean_ctor_set(x_67, 1, x_60); +lean_ctor_set(x_67, 2, x_61); +lean_ctor_set(x_67, 3, x_62); +lean_ctor_set(x_67, 4, x_51); +lean_ctor_set(x_67, 5, x_66); +lean_ctor_set_uint8(x_67, sizeof(void*)*6, x_63); +lean_ctor_set_uint8(x_67, sizeof(void*)*6 + 1, x_64); +lean_ctor_set_uint8(x_67, sizeof(void*)*6 + 2, x_65); +x_68 = l_Lean_Elab_Term_getCurrMacroScope(x_67, x_3, x_4, x_5, x_6, x_7, x_58); +lean_dec(x_67); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_70); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_75 = l_Lean_addMacroScope(x_72, x_74, x_69); +x_76 = lean_box(0); +x_77 = l_Lean_instInhabitedSourceInfo___closed__1; +x_78 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_79 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +lean_ctor_set(x_79, 2, x_75); +lean_ctor_set(x_79, 3, x_76); +x_80 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_73); +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); +} +lean_ctor_set(x_1, 1, x_81); +lean_ctor_set(x_1, 0, x_79); +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(0, 2, 0); +} else { + x_84 = x_83; +} +lean_ctor_set(x_84, 0, x_1); +lean_ctor_set(x_84, 1, x_82); +return x_84; +} +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 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; uint8_t x_103; uint8_t x_104; uint8_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_85 = lean_ctor_get(x_1, 1); +lean_inc(x_85); +lean_dec(x_1); +x_86 = lean_st_ref_take(x_7, x_8); +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, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_87, 1); +lean_inc(x_90); +x_91 = lean_ctor_get(x_87, 2); +lean_inc(x_91); +x_92 = lean_ctor_get(x_87, 3); +lean_inc(x_92); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + lean_ctor_release(x_87, 2); + lean_ctor_release(x_87, 3); + x_93 = x_87; +} else { + lean_dec_ref(x_87); + x_93 = lean_box(0); +} +x_94 = lean_unsigned_to_nat(1u); +x_95 = lean_nat_add(x_90, x_94); +if (lean_is_scalar(x_93)) { + x_96 = lean_alloc_ctor(0, 4, 0); +} else { + x_96 = x_93; +} +lean_ctor_set(x_96, 0, x_89); +lean_ctor_set(x_96, 1, x_95); +lean_ctor_set(x_96, 2, x_91); +lean_ctor_set(x_96, 3, x_92); +x_97 = lean_st_ref_set(x_7, x_96, x_88); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_99 = lean_ctor_get(x_2, 0); +x_100 = lean_ctor_get(x_2, 1); +x_101 = lean_ctor_get(x_2, 2); +x_102 = lean_ctor_get(x_2, 3); +x_103 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_104 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_105 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 2); +x_106 = lean_ctor_get(x_2, 5); +lean_inc(x_106); +lean_inc(x_102); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +x_107 = lean_alloc_ctor(0, 6, 3); +lean_ctor_set(x_107, 0, x_99); +lean_ctor_set(x_107, 1, x_100); +lean_ctor_set(x_107, 2, x_101); +lean_ctor_set(x_107, 3, x_102); +lean_ctor_set(x_107, 4, x_90); +lean_ctor_set(x_107, 5, x_106); +lean_ctor_set_uint8(x_107, sizeof(void*)*6, x_103); +lean_ctor_set_uint8(x_107, sizeof(void*)*6 + 1, x_104); +lean_ctor_set_uint8(x_107, sizeof(void*)*6 + 2, x_105); +x_108 = l_Lean_Elab_Term_getCurrMacroScope(x_107, x_3, x_4, x_5, x_6, x_7, x_98); +lean_dec(x_107); +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); +x_111 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_110); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_115 = l_Lean_addMacroScope(x_112, x_114, x_109); +x_116 = lean_box(0); +x_117 = l_Lean_instInhabitedSourceInfo___closed__1; +x_118 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_119 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +lean_ctor_set(x_119, 2, x_115); +lean_ctor_set(x_119, 3, x_116); +x_120 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_113); +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_123 = x_120; +} else { + lean_dec_ref(x_120); + x_123 = lean_box(0); +} +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_119); +lean_ctor_set(x_124, 1, x_121); +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(0, 2, 0); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_122); +return x_125; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = x_2 < x_1; +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = x_3; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_10); +return x_13; +} +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; size_t x_40; size_t x_41; lean_object* x_42; lean_object* x_43; +x_14 = lean_array_uget(x_3, x_2); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_3, x_2, x_15); +x_17 = x_14; +x_18 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_19); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_22); +x_23 = l_List_redLength___rarg(x_22); +x_24 = lean_mk_empty_array_with_capacity(x_23); +lean_dec(x_23); +x_25 = l_List_toArrayAux___rarg(x_22, x_24); +x_26 = l_myMacro____x40_Init_Notation___hyg_1057____closed__7; +x_27 = l_Lean_Syntax_SepArray_ofElems(x_26, x_25); +lean_dec(x_25); +x_28 = l_Array_empty___closed__1; +x_29 = l_Array_appendCore___rarg(x_28, x_27); +lean_dec(x_27); +x_30 = l_Lean_nullKind___closed__2; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__22; +x_33 = lean_array_push(x_32, x_31); +x_34 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; +x_35 = lean_array_push(x_33, x_34); +x_36 = lean_ctor_get(x_17, 1); +lean_inc(x_36); +lean_dec(x_17); +x_37 = lean_array_push(x_35, x_36); +x_38 = l_Lean_Parser_Term_matchAlt___closed__1; +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 = 1; +x_41 = x_2 + x_40; +x_42 = x_39; +x_43 = lean_array_uset(x_16, x_2, x_42); +x_2 = x_41; +x_3 = x_43; +x_10 = x_21; +goto _start; +} +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_4 < x_3; +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_7 = x_5; +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; +x_8 = lean_array_uget(x_5, x_4); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_uset(x_5, x_4, x_9); +x_11 = x_8; +lean_inc(x_2); +x_12 = lean_array_push(x_2, x_11); +lean_inc(x_1); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_12); +x_14 = 1; +x_15 = x_4 + x_14; +x_16 = x_13; +x_17 = lean_array_uset(x_10, x_4, x_16); +x_4 = x_15; +x_5 = x_17; +goto _start; +} +} +} +lean_object* l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); +lean_dec(x_4); +if (x_5 == 0) +{ +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; +x_7 = lean_ctor_get(x_1, 1); +x_8 = lean_ctor_get(x_1, 0); +lean_dec(x_8); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +lean_dec(x_3); +x_10 = l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(x_7); +lean_ctor_set(x_1, 1, x_10); +lean_ctor_set(x_1, 0, x_9); +return x_1; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(x_11); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +else +{ +lean_object* x_15; +lean_dec(x_3); +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +lean_dec(x_1); +x_1 = x_15; +goto _start; +} +} +else +{ +uint8_t x_17; +lean_dec(x_4); +x_17 = !lean_is_exclusive(x_1); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_1, 1); +x_19 = lean_ctor_get(x_1, 0); +lean_dec(x_19); +x_20 = lean_ctor_get(x_3, 1); +lean_inc(x_20); +lean_dec(x_3); +x_21 = l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(x_18); +lean_ctor_set(x_1, 1, x_21); +lean_ctor_set(x_1, 0, x_20); +return x_1; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_1, 1); +lean_inc(x_22); +lean_dec(x_1); +x_23 = lean_ctor_get(x_3, 1); +lean_inc(x_23); +lean_dec(x_3); +x_24 = l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(x_22); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +} +lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_4); +x_7 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8(x_5); +lean_ctor_set(x_1, 1, x_7); +lean_ctor_set(x_1, 0, x_6); +return x_1; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_ctor_get(x_1, 0); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_1); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_8); +x_11 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8(x_9); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +} +lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +lean_dec(x_2); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_box(0); +x_7 = 0; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_formatStxAux(x_6, x_7, x_8, x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_box(0); +x_12 = 0; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_Syntax_formatStxAux(x_11, x_12, x_13, x_10); +lean_inc(x_2); +x_15 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_2); +x_16 = l_Std_Format_joinSep___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(x_4, x_2); +x_17 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = l_instReprList___rarg___closed__2; +return x_2; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_3 = l_instReprProd___rarg___closed__2; +x_4 = l_Std_Format_joinSep___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(x_1, x_3); +x_5 = l_Std_Format_sbracket___closed__3; +x_6 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = l_Std_Format_sbracket___closed__4; +x_8 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = l_Std_Format_sbracket___closed__2; +x_10 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = 0; +x_12 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set_uint8(x_12, sizeof(void*)*1, x_11); +return x_12; +} +} +} +lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +lean_dec(x_1); +x_4 = l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10(x_2); +x_5 = l_instReprProd___rarg___closed__1; +x_6 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_box(1); +x_8 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_box(0); +x_10 = 0; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Syntax_formatStxAux(x_9, x_10, x_11, x_3); +x_13 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_13, 0, x_8); +lean_ctor_set(x_13, 1, x_12); +x_14 = l_Std_Format_paren___closed__3; +x_15 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Std_Format_paren___closed__4; +x_17 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Std_Format_paren___closed__2; +x_19 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = 0; +x_21 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set_uint8(x_21, sizeof(void*)*1, x_20); +return x_21; +} +} +lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__12(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9(x_4); +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_6); +x_8 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__12(x_5); +lean_ctor_set(x_1, 1, x_8); +lean_ctor_set(x_1, 0, x_7); +return x_1; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_1); +x_11 = l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__12(x_10); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = l_List_append___rarg(x_1, x_2); +x_13 = lean_st_ref_take(x_10, x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_add(x_17, x_18); +lean_ctor_set(x_14, 1, x_19); +x_20 = lean_st_ref_set(x_10, x_14, x_15); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = !lean_is_exclusive(x_5); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_5, 4); +lean_dec(x_23); +lean_ctor_set(x_5, 4, x_17); +x_24 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_12, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_25 = lean_ctor_get(x_5, 0); +x_26 = lean_ctor_get(x_5, 1); +x_27 = lean_ctor_get(x_5, 2); +x_28 = lean_ctor_get(x_5, 3); +x_29 = lean_ctor_get_uint8(x_5, sizeof(void*)*6); +x_30 = lean_ctor_get_uint8(x_5, sizeof(void*)*6 + 1); +x_31 = lean_ctor_get_uint8(x_5, sizeof(void*)*6 + 2); +x_32 = lean_ctor_get(x_5, 5); +lean_inc(x_32); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_5); +x_33 = lean_alloc_ctor(0, 6, 3); +lean_ctor_set(x_33, 0, x_25); +lean_ctor_set(x_33, 1, x_26); +lean_ctor_set(x_33, 2, x_27); +lean_ctor_set(x_33, 3, x_28); +lean_ctor_set(x_33, 4, x_17); +lean_ctor_set(x_33, 5, x_32); +lean_ctor_set_uint8(x_33, sizeof(void*)*6, x_29); +lean_ctor_set_uint8(x_33, sizeof(void*)*6 + 1, x_30); +lean_ctor_set_uint8(x_33, sizeof(void*)*6 + 2, x_31); +x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_12, x_3, x_33, x_6, x_7, x_8, x_9, x_10, x_21); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_35 = lean_ctor_get(x_14, 0); +x_36 = lean_ctor_get(x_14, 1); +x_37 = lean_ctor_get(x_14, 2); +x_38 = lean_ctor_get(x_14, 3); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_14); +x_39 = lean_unsigned_to_nat(1u); +x_40 = lean_nat_add(x_36, x_39); +x_41 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_41, 0, x_35); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_41, 2, x_37); +lean_ctor_set(x_41, 3, x_38); +x_42 = lean_st_ref_set(x_10, x_41, x_15); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_44 = lean_ctor_get(x_5, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_5, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_5, 2); +lean_inc(x_46); +x_47 = lean_ctor_get(x_5, 3); +lean_inc(x_47); +x_48 = lean_ctor_get_uint8(x_5, sizeof(void*)*6); +x_49 = lean_ctor_get_uint8(x_5, sizeof(void*)*6 + 1); +x_50 = lean_ctor_get_uint8(x_5, sizeof(void*)*6 + 2); +x_51 = lean_ctor_get(x_5, 5); +lean_inc(x_51); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + lean_ctor_release(x_5, 2); + lean_ctor_release(x_5, 3); + lean_ctor_release(x_5, 4); + lean_ctor_release(x_5, 5); + x_52 = x_5; +} else { + lean_dec_ref(x_5); + x_52 = lean_box(0); +} +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(0, 6, 3); +} else { + x_53 = x_52; +} +lean_ctor_set(x_53, 0, x_44); +lean_ctor_set(x_53, 1, x_45); +lean_ctor_set(x_53, 2, x_46); +lean_ctor_set(x_53, 3, x_47); +lean_ctor_set(x_53, 4, x_36); +lean_ctor_set(x_53, 5, x_51); +lean_ctor_set_uint8(x_53, sizeof(void*)*6, x_48); +lean_ctor_set_uint8(x_53, sizeof(void*)*6 + 1, x_49); +lean_ctor_set_uint8(x_53, sizeof(void*)*6 + 2, x_50); +x_54 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_12, x_3, x_53, x_6, x_7, x_8, x_9, x_10, x_43); +return x_54; +} +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_inc(x_1); +x_11 = l_List_reverse___rarg(x_1); +x_12 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_13 = l_List_filterMapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_1); +x_17 = l_List_isEmpty___rarg(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; size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_inc(x_2); +x_18 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_List_lengthAux___rarg(x_3, 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); +lean_inc(x_19); +x_25 = l_List_append___rarg(x_24, x_19); +x_26 = l_List_redLength___rarg(x_16); +x_27 = lean_mk_empty_array_with_capacity(x_26); +lean_dec(x_26); +x_28 = l_List_toArrayAux___rarg(x_16, x_27); +x_29 = lean_array_get_size(x_28); +x_30 = lean_usize_of_nat(x_29); +lean_dec(x_29); +x_31 = 0; +x_32 = x_28; +x_33 = lean_box_usize(x_30); +x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed__const__1; +x_35 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5___boxed), 10, 3); +lean_closure_set(x_35, 0, x_33); +lean_closure_set(x_35, 1, x_34); +lean_closure_set(x_35, 2, x_32); +x_36 = x_35; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_37 = lean_apply_7(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_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; size_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_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_4, x_5, x_6, x_7, x_8, x_9, x_39); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_47 = l_Lean_addMacroScope(x_44, x_46, x_41); +x_48 = l_Lean_instInhabitedSourceInfo___closed__1; +x_49 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_50 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_47); +lean_ctor_set(x_50, 3, x_12); +x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; +x_52 = lean_array_push(x_51, x_50); +x_53 = l_Lean_Parser_Term_matchDiscr___elambda__1___closed__1; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = l_Array_empty___closed__1; +x_56 = lean_array_push(x_55, x_54); +x_57 = l_myMacro____x40_Init_Notation___hyg_1057____closed__8; +x_58 = lean_array_push(x_56, x_57); +x_59 = l_List_redLength___rarg(x_19); +x_60 = lean_mk_empty_array_with_capacity(x_59); +lean_dec(x_59); +x_61 = l_List_toArrayAux___rarg(x_19, x_60); +x_62 = lean_array_get_size(x_61); +x_63 = lean_usize_of_nat(x_62); +lean_dec(x_62); +x_64 = x_61; +x_65 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_53, x_51, x_63, x_31, x_64); +x_66 = x_65; +x_67 = l_myMacro____x40_Init_NotationExtra___hyg_2986____closed__6; +x_68 = l_Lean_mkSepArray(x_66, x_67); +lean_dec(x_66); +x_69 = l_Array_appendCore___rarg(x_58, x_68); +lean_dec(x_68); +x_70 = l_Lean_nullKind___closed__2; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +x_72 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__20; +x_73 = lean_array_push(x_72, x_71); +x_74 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_75 = lean_array_push(x_73, x_74); +x_76 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__21; +x_77 = lean_array_push(x_75, x_76); +x_78 = l_Array_appendCore___rarg(x_55, x_38); +lean_dec(x_38); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_70); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_array_push(x_55, x_79); +x_81 = l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; +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_77, x_82); +x_84 = l_Lean_Parser_Term_match___elambda__1___closed__1; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_25); +lean_ctor_set(x_86, 1, x_85); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_12); +x_88 = l_List_append___rarg(x_14, x_87); +x_89 = lean_box(0); +x_90 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_3, x_2, x_88, x_89, x_4, x_5, x_6, x_7, x_8, x_9, x_45); +return x_90; +} +else +{ +uint8_t x_91; +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_91 = !lean_is_exclusive(x_37); +if (x_91 == 0) { return x_37; } else { -lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; -x_1195 = lean_ctor_get(x_37, 0); -x_1196 = lean_ctor_get(x_37, 1); -lean_inc(x_1196); -lean_inc(x_1195); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_37, 0); +x_93 = lean_ctor_get(x_37, 1); +lean_inc(x_93); +lean_inc(x_92); lean_dec(x_37); -x_1197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1197, 0, x_1195); -lean_ctor_set(x_1197, 1, x_1196); -return x_1197; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } } else { -lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; uint8_t x_1211; uint8_t x_1212; uint8_t x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; -x_1198 = lean_ctor_get(x_20, 0); -x_1199 = lean_ctor_get(x_20, 1); -x_1200 = lean_ctor_get(x_20, 2); -x_1201 = lean_ctor_get(x_20, 3); -lean_inc(x_1201); -lean_inc(x_1200); -lean_inc(x_1199); -lean_inc(x_1198); -lean_dec(x_20); -x_1202 = lean_unsigned_to_nat(1u); -x_1203 = lean_nat_add(x_1199, x_1202); -x_1204 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1204, 0, x_1198); -lean_ctor_set(x_1204, 1, x_1203); -lean_ctor_set(x_1204, 2, x_1200); -lean_ctor_set(x_1204, 3, x_1201); -x_1205 = lean_st_ref_set(x_11, x_1204, x_21); -x_1206 = lean_ctor_get(x_1205, 1); -lean_inc(x_1206); -lean_dec(x_1205); -x_1207 = lean_ctor_get(x_6, 0); -lean_inc(x_1207); -x_1208 = lean_ctor_get(x_6, 1); -lean_inc(x_1208); -x_1209 = lean_ctor_get(x_6, 2); -lean_inc(x_1209); -x_1210 = lean_ctor_get(x_6, 3); -lean_inc(x_1210); -x_1211 = lean_ctor_get_uint8(x_6, sizeof(void*)*6); -x_1212 = lean_ctor_get_uint8(x_6, sizeof(void*)*6 + 1); -x_1213 = lean_ctor_get_uint8(x_6, sizeof(void*)*6 + 2); -x_1214 = lean_ctor_get(x_6, 5); -lean_inc(x_1214); -lean_inc(x_1214); -lean_inc(x_1210); -lean_inc(x_1209); -lean_inc(x_1208); -lean_inc(x_1207); -x_1215 = lean_alloc_ctor(0, 6, 3); -lean_ctor_set(x_1215, 0, x_1207); -lean_ctor_set(x_1215, 1, x_1208); -lean_ctor_set(x_1215, 2, x_1209); -lean_ctor_set(x_1215, 3, x_1210); -lean_ctor_set(x_1215, 4, x_1199); -lean_ctor_set(x_1215, 5, x_1214); -lean_ctor_set_uint8(x_1215, sizeof(void*)*6, x_1211); -lean_ctor_set_uint8(x_1215, sizeof(void*)*6 + 1, x_1212); -lean_ctor_set_uint8(x_1215, sizeof(void*)*6 + 2, x_1213); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_1216 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_18, x_16, x_1215, x_7, x_8, x_9, x_10, x_11, x_1206); -if (lean_obj_tag(x_1216) == 0) -{ -lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; -x_1217 = lean_ctor_get(x_1216, 0); -lean_inc(x_1217); -x_1218 = lean_ctor_get(x_1216, 1); -lean_inc(x_1218); -lean_dec(x_1216); -x_1219 = l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(x_1, x_2, x_13); -x_1220 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_1219); -lean_inc(x_4); -x_1221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1221, 0, x_4); -lean_ctor_set(x_1221, 1, x_3); -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_1222; lean_object* x_1223; -lean_dec(x_1214); -lean_dec(x_1210); -lean_dec(x_1209); -lean_dec(x_1208); -lean_dec(x_1207); -x_1222 = lean_ctor_get(x_1, 0); -lean_inc(x_1222); -lean_dec(x_1); -x_1223 = lean_ctor_get(x_1222, 0); -lean_inc(x_1223); -if (lean_obj_tag(x_1223) == 0) -{ -lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; -lean_dec(x_1222); -lean_dec(x_1221); -lean_dec(x_1220); -x_1224 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1218); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_1225 = lean_ctor_get(x_1224, 0); -lean_inc(x_1225); -x_1226 = lean_ctor_get(x_1224, 1); -lean_inc(x_1226); -lean_dec(x_1224); -x_1227 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1226); -lean_dec(x_11); -x_1228 = lean_ctor_get(x_1227, 0); -lean_inc(x_1228); -x_1229 = lean_ctor_get(x_1227, 1); -lean_inc(x_1229); -if (lean_is_exclusive(x_1227)) { - lean_ctor_release(x_1227, 0); - lean_ctor_release(x_1227, 1); - x_1230 = x_1227; -} else { - lean_dec_ref(x_1227); - x_1230 = lean_box(0); -} -x_1231 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_1232 = l_Lean_addMacroScope(x_1228, x_1231, x_1225); -x_1233 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1234 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_1235 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1235, 0, x_1233); -lean_ctor_set(x_1235, 1, x_1234); -lean_ctor_set(x_1235, 2, x_1232); -lean_ctor_set(x_1235, 3, x_13); -x_1236 = l_Array_empty___closed__1; -x_1237 = lean_array_push(x_1236, x_1235); -x_1238 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_1239 = lean_array_push(x_1237, x_1238); -x_1240 = lean_array_push(x_1239, x_1238); -x_1241 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_1242 = lean_array_push(x_1240, x_1241); -x_1243 = lean_array_push(x_1242, x_4); -x_1244 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -x_1245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1245, 0, x_1244); -lean_ctor_set(x_1245, 1, x_1243); -x_1246 = lean_array_push(x_1236, x_1245); -x_1247 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; -x_1248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1248, 0, x_1247); -lean_ctor_set(x_1248, 1, x_1246); -x_1249 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_1250 = lean_array_push(x_1249, x_1248); -x_1251 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_1252 = lean_array_push(x_1250, x_1251); -x_1253 = lean_array_push(x_1252, x_1217); -x_1254 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; -x_1255 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1255, 0, x_1254); -lean_ctor_set(x_1255, 1, x_1253); -if (lean_is_scalar(x_1230)) { - x_1256 = lean_alloc_ctor(0, 2, 0); -} else { - x_1256 = x_1230; -} -lean_ctor_set(x_1256, 0, x_1255); -lean_ctor_set(x_1256, 1, x_1229); -return x_1256; -} -else -{ -lean_object* x_1257; -x_1257 = lean_ctor_get(x_1223, 0); -lean_inc(x_1257); -lean_dec(x_1223); -if (lean_obj_tag(x_1257) == 1) -{ -lean_object* x_1258; -x_1258 = lean_ctor_get(x_1257, 0); -lean_inc(x_1258); -if (lean_obj_tag(x_1258) == 0) -{ -lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; uint8_t x_1262; -x_1259 = lean_ctor_get(x_1222, 1); -lean_inc(x_1259); -lean_dec(x_1222); -x_1260 = lean_ctor_get(x_1257, 1); -lean_inc(x_1260); -x_1261 = l_Lean_nullKind___closed__1; -x_1262 = lean_string_dec_eq(x_1260, x_1261); -lean_dec(x_1260); -if (x_1262 == 0) -{ -lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; -lean_dec(x_1259); -x_1263 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1218); -x_1264 = lean_ctor_get(x_1263, 0); -lean_inc(x_1264); -x_1265 = lean_ctor_get(x_1263, 1); -lean_inc(x_1265); -lean_dec(x_1263); -x_1266 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1265); -x_1267 = lean_ctor_get(x_1266, 0); -lean_inc(x_1267); -x_1268 = lean_ctor_get(x_1266, 1); -lean_inc(x_1268); -lean_dec(x_1266); -x_1269 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5; -lean_inc(x_1264); -lean_inc(x_1267); -x_1270 = l_Lean_addMacroScope(x_1267, x_1269, x_1264); -x_1271 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1272 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3; -x_1273 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8; -x_1274 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1274, 0, x_1271); -lean_ctor_set(x_1274, 1, x_1272); -lean_ctor_set(x_1274, 2, x_1270); -lean_ctor_set(x_1274, 3, x_1273); -x_1275 = l_Array_empty___closed__1; -x_1276 = lean_array_push(x_1275, x_1274); -x_1277 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_1278 = l_Lean_addMacroScope(x_1267, x_1277, x_1264); -x_1279 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_1280 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1280, 0, x_1271); -lean_ctor_set(x_1280, 1, x_1279); -lean_ctor_set(x_1280, 2, x_1278); -lean_ctor_set(x_1280, 3, x_13); -x_1281 = lean_array_push(x_1275, x_1280); -x_1282 = l___private_Init_Meta_0__Lean_quoteName(x_1257); -x_1283 = lean_array_push(x_1281, x_1282); -x_1284 = l_Lean_nullKind___closed__2; -x_1285 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1285, 0, x_1284); -lean_ctor_set(x_1285, 1, x_1283); -x_1286 = lean_array_push(x_1276, x_1285); -x_1287 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1288, 0, x_1287); -lean_ctor_set(x_1288, 1, x_1286); -x_1289 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_1221, x_1220, x_13, x_4, x_1217, x_1288, x_6, x_7, x_8, x_9, x_10, x_11, x_1268); -lean_dec(x_6); -return x_1289; -} -else -{ -if (lean_obj_tag(x_1259) == 0) -{ -lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; -x_1290 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1218); -x_1291 = lean_ctor_get(x_1290, 0); -lean_inc(x_1291); -x_1292 = lean_ctor_get(x_1290, 1); -lean_inc(x_1292); -lean_dec(x_1290); -x_1293 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1292); -x_1294 = lean_ctor_get(x_1293, 0); -lean_inc(x_1294); -x_1295 = lean_ctor_get(x_1293, 1); -lean_inc(x_1295); -lean_dec(x_1293); -x_1296 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5; -lean_inc(x_1291); -lean_inc(x_1294); -x_1297 = l_Lean_addMacroScope(x_1294, x_1296, x_1291); -x_1298 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1299 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3; -x_1300 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8; -x_1301 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1301, 0, x_1298); -lean_ctor_set(x_1301, 1, x_1299); -lean_ctor_set(x_1301, 2, x_1297); -lean_ctor_set(x_1301, 3, x_1300); -x_1302 = l_Array_empty___closed__1; -x_1303 = lean_array_push(x_1302, x_1301); -x_1304 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_1305 = l_Lean_addMacroScope(x_1294, x_1304, x_1291); -x_1306 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_1307 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1307, 0, x_1298); -lean_ctor_set(x_1307, 1, x_1306); -lean_ctor_set(x_1307, 2, x_1305); -lean_ctor_set(x_1307, 3, x_13); -x_1308 = lean_array_push(x_1302, x_1307); -x_1309 = l___private_Init_Meta_0__Lean_quoteName(x_1257); -x_1310 = lean_array_push(x_1308, x_1309); -x_1311 = l_Lean_nullKind___closed__2; -x_1312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1312, 0, x_1311); -lean_ctor_set(x_1312, 1, x_1310); -x_1313 = lean_array_push(x_1303, x_1312); -x_1314 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1315 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1315, 0, x_1314); -lean_ctor_set(x_1315, 1, x_1313); -x_1316 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_1221, x_1220, x_13, x_4, x_1217, x_1315, x_6, x_7, x_8, x_9, x_10, x_11, x_1295); -lean_dec(x_6); -return x_1316; -} -else -{ -lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; -x_1317 = lean_ctor_get(x_1259, 0); -lean_inc(x_1317); -lean_dec(x_1259); -x_1318 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1218); -x_1319 = lean_ctor_get(x_1318, 0); -lean_inc(x_1319); -x_1320 = lean_ctor_get(x_1318, 1); -lean_inc(x_1320); -lean_dec(x_1318); -x_1321 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1320); -x_1322 = lean_ctor_get(x_1321, 0); -lean_inc(x_1322); -x_1323 = lean_ctor_get(x_1321, 1); -lean_inc(x_1323); -lean_dec(x_1321); -x_1324 = l_myMacro____x40_Init_Notation___hyg_8179____closed__4; -lean_inc(x_1319); -lean_inc(x_1322); -x_1325 = l_Lean_addMacroScope(x_1322, x_1324, x_1319); -x_1326 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1327 = l_myMacro____x40_Init_Notation___hyg_8179____closed__3; -x_1328 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__10; -x_1329 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1329, 0, x_1326); -lean_ctor_set(x_1329, 1, x_1327); -lean_ctor_set(x_1329, 2, x_1325); -lean_ctor_set(x_1329, 3, x_1328); -x_1330 = l_Array_empty___closed__1; -x_1331 = lean_array_push(x_1330, x_1329); -x_1332 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5; -lean_inc(x_1319); -lean_inc(x_1322); -x_1333 = l_Lean_addMacroScope(x_1322, x_1332, x_1319); -x_1334 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3; -x_1335 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8; -x_1336 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1336, 0, x_1326); -lean_ctor_set(x_1336, 1, x_1334); -lean_ctor_set(x_1336, 2, x_1333); -lean_ctor_set(x_1336, 3, x_1335); -x_1337 = lean_array_push(x_1330, x_1336); -x_1338 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -lean_inc(x_1319); -lean_inc(x_1322); -x_1339 = l_Lean_addMacroScope(x_1322, x_1338, x_1319); -x_1340 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_1341 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1341, 0, x_1326); -lean_ctor_set(x_1341, 1, x_1340); -lean_ctor_set(x_1341, 2, x_1339); -lean_ctor_set(x_1341, 3, x_13); -x_1342 = lean_array_push(x_1330, x_1341); -x_1343 = l___private_Init_Meta_0__Lean_quoteName(x_1257); -lean_inc(x_1342); -x_1344 = lean_array_push(x_1342, x_1343); -x_1345 = l_Lean_nullKind___closed__2; -x_1346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1346, 0, x_1345); -lean_ctor_set(x_1346, 1, x_1344); -x_1347 = lean_array_push(x_1337, x_1346); -x_1348 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1349, 0, x_1348); -lean_ctor_set(x_1349, 1, x_1347); -x_1350 = lean_array_push(x_1330, x_1349); -x_1351 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_1352 = lean_array_push(x_1350, x_1351); -x_1353 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1353, 0, x_1345); -lean_ctor_set(x_1353, 1, x_1352); -x_1354 = l_myMacro____x40_Init_Notation___hyg_11259____closed__9; -x_1355 = lean_array_push(x_1354, x_1353); -x_1356 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_1357 = lean_array_push(x_1355, x_1356); -x_1358 = l_myMacro____x40_Init_Notation___hyg_11259____closed__8; -x_1359 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1359, 0, x_1358); -lean_ctor_set(x_1359, 1, x_1357); -x_1360 = lean_array_push(x_1330, x_1359); -x_1361 = l_myMacro____x40_Init_Notation___hyg_6172____closed__7; -lean_inc(x_1319); -lean_inc(x_1322); -x_1362 = l_Lean_addMacroScope(x_1322, x_1361, x_1319); -x_1363 = l_myMacro____x40_Init_Notation___hyg_6172____closed__3; -x_1364 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__12; -x_1365 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1365, 0, x_1326); -lean_ctor_set(x_1365, 1, x_1363); -lean_ctor_set(x_1365, 2, x_1362); -lean_ctor_set(x_1365, 3, x_1364); -x_1366 = lean_array_push(x_1330, x_1365); -x_1367 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__16; -lean_inc(x_1319); -lean_inc(x_1322); -x_1368 = l_Lean_addMacroScope(x_1322, x_1367, x_1319); -x_1369 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__15; -x_1370 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__18; -x_1371 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1371, 0, x_1326); -lean_ctor_set(x_1371, 1, x_1369); -lean_ctor_set(x_1371, 2, x_1368); -lean_ctor_set(x_1371, 3, x_1370); -x_1372 = lean_array_push(x_1330, x_1371); -x_1373 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_1374 = l_Lean_addMacroScope(x_1322, x_1373, x_1319); -x_1375 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_1376 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_1377 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1377, 0, x_1326); -lean_ctor_set(x_1377, 1, x_1375); -lean_ctor_set(x_1377, 2, x_1374); -lean_ctor_set(x_1377, 3, x_1376); -x_1378 = lean_array_push(x_1330, x_1377); -x_1379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1379, 0, x_1345); -lean_ctor_set(x_1379, 1, x_1342); -x_1380 = lean_array_push(x_1378, x_1379); -x_1381 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1381, 0, x_1348); -lean_ctor_set(x_1381, 1, x_1380); -x_1382 = lean_array_push(x_1330, x_1381); -x_1383 = lean_array_push(x_1382, x_1351); -x_1384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1384, 0, x_1345); -lean_ctor_set(x_1384, 1, x_1383); -x_1385 = lean_array_push(x_1354, x_1384); -x_1386 = lean_array_push(x_1385, x_1356); -x_1387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1387, 0, x_1358); -lean_ctor_set(x_1387, 1, x_1386); -x_1388 = lean_array_push(x_1330, x_1387); -x_1389 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1389, 0, x_1345); -lean_ctor_set(x_1389, 1, x_1388); -x_1390 = lean_array_push(x_1372, x_1389); -x_1391 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1391, 0, x_1348); -lean_ctor_set(x_1391, 1, x_1390); -x_1392 = lean_array_push(x_1330, x_1391); -x_1393 = lean_array_push(x_1392, x_1351); -x_1394 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1394, 0, x_1345); -lean_ctor_set(x_1394, 1, x_1393); -x_1395 = lean_array_push(x_1354, x_1394); -x_1396 = lean_array_push(x_1395, x_1356); -x_1397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1397, 0, x_1358); -lean_ctor_set(x_1397, 1, x_1396); -x_1398 = lean_array_push(x_1330, x_1397); -x_1399 = lean_array_get_size(x_1317); -lean_dec(x_1317); -x_1400 = l_Nat_repr(x_1399); -x_1401 = l_Lean_numLitKind; -x_1402 = l_Lean_Syntax_mkLit(x_1401, x_1400, x_1326); -x_1403 = lean_array_push(x_1398, x_1402); -x_1404 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1404, 0, x_1345); -lean_ctor_set(x_1404, 1, x_1403); -x_1405 = lean_array_push(x_1366, x_1404); -x_1406 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1406, 0, x_1348); -lean_ctor_set(x_1406, 1, x_1405); -x_1407 = lean_array_push(x_1330, x_1406); -x_1408 = lean_array_push(x_1407, x_1351); -x_1409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1409, 0, x_1345); -lean_ctor_set(x_1409, 1, x_1408); -x_1410 = lean_array_push(x_1354, x_1409); -x_1411 = lean_array_push(x_1410, x_1356); -x_1412 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1412, 0, x_1358); -lean_ctor_set(x_1412, 1, x_1411); -x_1413 = lean_array_push(x_1360, x_1412); -x_1414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1414, 0, x_1345); -lean_ctor_set(x_1414, 1, x_1413); -x_1415 = lean_array_push(x_1331, x_1414); -x_1416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1416, 0, x_1348); -lean_ctor_set(x_1416, 1, x_1415); -x_1417 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_1221, x_1220, x_13, x_4, x_1217, x_1416, x_6, x_7, x_8, x_9, x_10, x_11, x_1323); -lean_dec(x_6); -return x_1417; -} -} -} -else -{ -lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; -lean_dec(x_1258); -lean_dec(x_1222); -x_1418 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1218); -x_1419 = lean_ctor_get(x_1418, 0); -lean_inc(x_1419); -x_1420 = lean_ctor_get(x_1418, 1); -lean_inc(x_1420); -lean_dec(x_1418); -x_1421 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1420); -x_1422 = lean_ctor_get(x_1421, 0); -lean_inc(x_1422); -x_1423 = lean_ctor_get(x_1421, 1); -lean_inc(x_1423); -lean_dec(x_1421); -x_1424 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5; -lean_inc(x_1419); -lean_inc(x_1422); -x_1425 = l_Lean_addMacroScope(x_1422, x_1424, x_1419); -x_1426 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1427 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3; -x_1428 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8; -x_1429 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1429, 0, x_1426); -lean_ctor_set(x_1429, 1, x_1427); -lean_ctor_set(x_1429, 2, x_1425); -lean_ctor_set(x_1429, 3, x_1428); -x_1430 = l_Array_empty___closed__1; -x_1431 = lean_array_push(x_1430, x_1429); -x_1432 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_1433 = l_Lean_addMacroScope(x_1422, x_1432, x_1419); -x_1434 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_1435 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1435, 0, x_1426); -lean_ctor_set(x_1435, 1, x_1434); -lean_ctor_set(x_1435, 2, x_1433); -lean_ctor_set(x_1435, 3, x_13); -x_1436 = lean_array_push(x_1430, x_1435); -x_1437 = l___private_Init_Meta_0__Lean_quoteName(x_1257); -x_1438 = lean_array_push(x_1436, x_1437); -x_1439 = l_Lean_nullKind___closed__2; -x_1440 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1440, 0, x_1439); -lean_ctor_set(x_1440, 1, x_1438); -x_1441 = lean_array_push(x_1431, x_1440); -x_1442 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1443, 0, x_1442); -lean_ctor_set(x_1443, 1, x_1441); -x_1444 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_1221, x_1220, x_13, x_4, x_1217, x_1443, x_6, x_7, x_8, x_9, x_10, x_11, x_1423); -lean_dec(x_6); -return x_1444; +lean_object* x_95; lean_object* x_96; +lean_dec(x_16); +x_95 = lean_box(0); +x_96 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_3, x_2, x_14, x_95, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +return x_96; } } else { -lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; -lean_dec(x_1222); -x_1445 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1218); -x_1446 = lean_ctor_get(x_1445, 0); -lean_inc(x_1446); -x_1447 = lean_ctor_get(x_1445, 1); -lean_inc(x_1447); -lean_dec(x_1445); -x_1448 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1447); -x_1449 = lean_ctor_get(x_1448, 0); -lean_inc(x_1449); -x_1450 = lean_ctor_get(x_1448, 1); -lean_inc(x_1450); -lean_dec(x_1448); -x_1451 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5; -lean_inc(x_1446); -lean_inc(x_1449); -x_1452 = l_Lean_addMacroScope(x_1449, x_1451, x_1446); -x_1453 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1454 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3; -x_1455 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8; -x_1456 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1456, 0, x_1453); -lean_ctor_set(x_1456, 1, x_1454); -lean_ctor_set(x_1456, 2, x_1452); -lean_ctor_set(x_1456, 3, x_1455); -x_1457 = l_Array_empty___closed__1; -x_1458 = lean_array_push(x_1457, x_1456); -x_1459 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -x_1460 = l_Lean_addMacroScope(x_1449, x_1459, x_1446); -x_1461 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_1462 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1462, 0, x_1453); -lean_ctor_set(x_1462, 1, x_1461); -lean_ctor_set(x_1462, 2, x_1460); -lean_ctor_set(x_1462, 3, x_13); -x_1463 = lean_array_push(x_1457, x_1462); -x_1464 = l___private_Init_Meta_0__Lean_quoteName(x_1257); -x_1465 = lean_array_push(x_1463, x_1464); -x_1466 = l_Lean_nullKind___closed__2; -x_1467 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1467, 0, x_1466); -lean_ctor_set(x_1467, 1, x_1465); -x_1468 = lean_array_push(x_1458, x_1467); -x_1469 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1470 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1470, 0, x_1469); -lean_ctor_set(x_1470, 1, x_1468); -x_1471 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_1221, x_1220, x_13, x_4, x_1217, x_1470, x_6, x_7, x_8, x_9, x_10, x_11, x_1450); -lean_dec(x_6); -return x_1471; -} -} -} -else -{ -lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; -x_1472 = lean_ctor_get(x_1, 0); -lean_inc(x_1472); -lean_dec(x_1); -x_1473 = l_Lean_Syntax_antiquotSpliceKind_x3f(x_1472); -x_1474 = l_Lean_Syntax_getAntiquotSpliceContents(x_1472); -lean_inc(x_10); -lean_inc(x_6); -x_1475 = l_Lean_Elab_Term_Quotation_getAntiquotationIds(x_1472, x_6, x_7, x_8, x_9, x_10, x_11, x_1218); -lean_dec(x_1472); -if (lean_obj_tag(x_1475) == 0) -{ -lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; -x_1476 = lean_ctor_get(x_1475, 0); -lean_inc(x_1476); -x_1477 = lean_ctor_get(x_1475, 1); -lean_inc(x_1477); -lean_dec(x_1475); -x_1478 = lean_st_ref_take(x_11, x_1477); -x_1479 = lean_ctor_get(x_1478, 0); -lean_inc(x_1479); -x_1480 = lean_ctor_get(x_1478, 1); -lean_inc(x_1480); -lean_dec(x_1478); -x_1481 = lean_ctor_get(x_1479, 0); -lean_inc(x_1481); -x_1482 = lean_ctor_get(x_1479, 1); -lean_inc(x_1482); -x_1483 = lean_ctor_get(x_1479, 2); -lean_inc(x_1483); -x_1484 = lean_ctor_get(x_1479, 3); -lean_inc(x_1484); -if (lean_is_exclusive(x_1479)) { - lean_ctor_release(x_1479, 0); - lean_ctor_release(x_1479, 1); - lean_ctor_release(x_1479, 2); - lean_ctor_release(x_1479, 3); - x_1485 = x_1479; -} else { - lean_dec_ref(x_1479); - x_1485 = lean_box(0); -} -x_1486 = lean_nat_add(x_1482, x_1202); -if (lean_is_scalar(x_1485)) { - x_1487 = lean_alloc_ctor(0, 4, 0); -} else { - x_1487 = x_1485; -} -lean_ctor_set(x_1487, 0, x_1481); -lean_ctor_set(x_1487, 1, x_1486); -lean_ctor_set(x_1487, 2, x_1483); -lean_ctor_set(x_1487, 3, x_1484); -x_1488 = lean_st_ref_set(x_11, x_1487, x_1480); -x_1489 = lean_ctor_get(x_1488, 1); -lean_inc(x_1489); -lean_dec(x_1488); -x_1490 = lean_alloc_ctor(0, 6, 3); -lean_ctor_set(x_1490, 0, x_1207); -lean_ctor_set(x_1490, 1, x_1208); -lean_ctor_set(x_1490, 2, x_1209); -lean_ctor_set(x_1490, 3, x_1210); -lean_ctor_set(x_1490, 4, x_1482); -lean_ctor_set(x_1490, 5, x_1214); -lean_ctor_set_uint8(x_1490, sizeof(void*)*6, x_1211); -lean_ctor_set_uint8(x_1490, sizeof(void*)*6 + 1, x_1212); -lean_ctor_set_uint8(x_1490, sizeof(void*)*6 + 2, x_1213); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_1491 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_1221, x_1220, x_1490, x_7, x_8, x_9, x_10, x_11, x_1489); -if (lean_obj_tag(x_1491) == 0) -{ -if (lean_obj_tag(x_1473) == 0) -{ -lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; uint8_t x_1515; -x_1492 = lean_ctor_get(x_1491, 0); -lean_inc(x_1492); -x_1493 = lean_ctor_get(x_1491, 1); -lean_inc(x_1493); -lean_dec(x_1491); -x_1494 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1493); -x_1495 = lean_ctor_get(x_1494, 0); -lean_inc(x_1495); -x_1496 = lean_ctor_get(x_1494, 1); -lean_inc(x_1496); -lean_dec(x_1494); -x_1497 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1496); -x_1498 = lean_ctor_get(x_1497, 0); -lean_inc(x_1498); -x_1499 = lean_ctor_get(x_1497, 1); -lean_inc(x_1499); -lean_dec(x_1497); -x_1500 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_1501 = l_Lean_addMacroScope(x_1498, x_1500, x_1495); -x_1502 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1503 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_1504 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_1505 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1505, 0, x_1502); -lean_ctor_set(x_1505, 1, x_1503); -lean_ctor_set(x_1505, 2, x_1501); -lean_ctor_set(x_1505, 3, x_1504); -x_1506 = l_Array_empty___closed__1; -x_1507 = lean_array_push(x_1506, x_1505); -x_1508 = lean_array_push(x_1506, x_4); -x_1509 = l_Lean_nullKind___closed__2; -x_1510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1510, 0, x_1509); -lean_ctor_set(x_1510, 1, x_1508); -x_1511 = lean_array_push(x_1507, x_1510); -x_1512 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1513 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1513, 0, x_1512); -lean_ctor_set(x_1513, 1, x_1511); -x_1514 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_1515 = 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(x_1473, x_1514); -if (x_1515 == 0) -{ -lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; -x_1516 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1517 = lean_box(0); -x_1518 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(x_1476, x_1516, x_1502, x_1506, x_1509, x_13, x_1474, x_1512, x_1492, x_1217, x_1513, x_1517, x_6, x_7, x_8, x_9, x_10, x_11, x_1499); -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_1474); -return x_1518; -} -else -{ -lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; -x_1519 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1499); -x_1520 = lean_ctor_get(x_1519, 0); -lean_inc(x_1520); -x_1521 = lean_ctor_get(x_1519, 1); -lean_inc(x_1521); -lean_dec(x_1519); -x_1522 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1521); -x_1523 = lean_ctor_get(x_1522, 0); -lean_inc(x_1523); -x_1524 = lean_ctor_get(x_1522, 1); -lean_inc(x_1524); -lean_dec(x_1522); -x_1525 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_1526 = l_Lean_addMacroScope(x_1523, x_1525, x_1520); -x_1527 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_1528 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_1529 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1529, 0, x_1502); -lean_ctor_set(x_1529, 1, x_1527); -lean_ctor_set(x_1529, 2, x_1526); -lean_ctor_set(x_1529, 3, x_1528); -x_1530 = lean_array_push(x_1506, x_1529); -x_1531 = lean_array_push(x_1506, x_1513); -x_1532 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1532, 0, x_1509); -lean_ctor_set(x_1532, 1, x_1531); -x_1533 = lean_array_push(x_1530, x_1532); -x_1534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1534, 0, x_1512); -lean_ctor_set(x_1534, 1, x_1533); -x_1535 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1536 = lean_box(0); -x_1537 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(x_1476, x_1535, x_1502, x_1506, x_1509, x_13, x_1474, x_1512, x_1492, x_1217, x_1534, x_1536, x_6, x_7, x_8, x_9, x_10, x_11, x_1524); -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_1474); -return x_1537; -} -} -else -{ -lean_object* x_1538; -x_1538 = lean_ctor_get(x_1473, 0); -lean_inc(x_1538); -switch (lean_obj_tag(x_1538)) { -case 0: -{ -lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; uint8_t x_1562; -x_1539 = lean_ctor_get(x_1491, 0); -lean_inc(x_1539); -x_1540 = lean_ctor_get(x_1491, 1); -lean_inc(x_1540); -lean_dec(x_1491); -x_1541 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1540); -x_1542 = lean_ctor_get(x_1541, 0); -lean_inc(x_1542); -x_1543 = lean_ctor_get(x_1541, 1); -lean_inc(x_1543); -lean_dec(x_1541); -x_1544 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1543); -x_1545 = lean_ctor_get(x_1544, 0); -lean_inc(x_1545); -x_1546 = lean_ctor_get(x_1544, 1); -lean_inc(x_1546); -lean_dec(x_1544); -x_1547 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_1548 = l_Lean_addMacroScope(x_1545, x_1547, x_1542); -x_1549 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1550 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_1551 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_1552 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1552, 0, x_1549); -lean_ctor_set(x_1552, 1, x_1550); -lean_ctor_set(x_1552, 2, x_1548); -lean_ctor_set(x_1552, 3, x_1551); -x_1553 = l_Array_empty___closed__1; -x_1554 = lean_array_push(x_1553, x_1552); -x_1555 = lean_array_push(x_1553, x_4); -x_1556 = l_Lean_nullKind___closed__2; -x_1557 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1557, 0, x_1556); -lean_ctor_set(x_1557, 1, x_1555); -x_1558 = lean_array_push(x_1554, x_1557); -x_1559 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1560 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1560, 0, x_1559); -lean_ctor_set(x_1560, 1, x_1558); -x_1561 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_1562 = 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(x_1473, x_1561); -lean_dec(x_1473); -if (x_1562 == 0) -{ -lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; -x_1563 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1564 = lean_box(0); -x_1565 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__4(x_1476, x_1563, x_1549, x_1553, x_1556, x_13, x_1474, x_1559, x_1539, x_1217, x_1560, x_1564, x_6, x_7, x_8, x_9, x_10, x_11, x_1546); -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_1474); -return x_1565; -} -else -{ -lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; -x_1566 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1546); -x_1567 = lean_ctor_get(x_1566, 0); -lean_inc(x_1567); -x_1568 = lean_ctor_get(x_1566, 1); -lean_inc(x_1568); -lean_dec(x_1566); -x_1569 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1568); -x_1570 = lean_ctor_get(x_1569, 0); -lean_inc(x_1570); -x_1571 = lean_ctor_get(x_1569, 1); -lean_inc(x_1571); -lean_dec(x_1569); -x_1572 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_1573 = l_Lean_addMacroScope(x_1570, x_1572, x_1567); -x_1574 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_1575 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_1576 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1576, 0, x_1549); -lean_ctor_set(x_1576, 1, x_1574); -lean_ctor_set(x_1576, 2, x_1573); -lean_ctor_set(x_1576, 3, x_1575); -x_1577 = lean_array_push(x_1553, x_1576); -x_1578 = lean_array_push(x_1553, x_1560); -x_1579 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1579, 0, x_1556); -lean_ctor_set(x_1579, 1, x_1578); -x_1580 = lean_array_push(x_1577, x_1579); -x_1581 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1581, 0, x_1559); -lean_ctor_set(x_1581, 1, x_1580); -x_1582 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1583 = lean_box(0); -x_1584 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__4(x_1476, x_1582, x_1549, x_1553, x_1556, x_13, x_1474, x_1559, x_1539, x_1217, x_1581, x_1583, x_6, x_7, x_8, x_9, x_10, x_11, x_1571); -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_1474); -return x_1584; -} -} -case 1: -{ -lean_object* x_1585; -x_1585 = lean_ctor_get(x_1538, 0); -lean_inc(x_1585); -switch (lean_obj_tag(x_1585)) { -case 0: -{ -lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; uint8_t x_1590; -x_1586 = lean_ctor_get(x_1491, 0); -lean_inc(x_1586); -x_1587 = lean_ctor_get(x_1491, 1); -lean_inc(x_1587); -lean_dec(x_1491); -x_1588 = lean_ctor_get(x_1538, 1); -lean_inc(x_1588); -lean_dec(x_1538); -x_1589 = l_myMacro____x40_Init_Notation___hyg_948____closed__1; -x_1590 = lean_string_dec_eq(x_1588, x_1589); -lean_dec(x_1588); -if (x_1590 == 0) -{ -lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; uint8_t x_1612; -x_1591 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1587); -x_1592 = lean_ctor_get(x_1591, 0); -lean_inc(x_1592); -x_1593 = lean_ctor_get(x_1591, 1); -lean_inc(x_1593); -lean_dec(x_1591); -x_1594 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1593); -x_1595 = lean_ctor_get(x_1594, 0); -lean_inc(x_1595); -x_1596 = lean_ctor_get(x_1594, 1); -lean_inc(x_1596); -lean_dec(x_1594); -x_1597 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_1598 = l_Lean_addMacroScope(x_1595, x_1597, x_1592); -x_1599 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1600 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_1601 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_1602 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1602, 0, x_1599); -lean_ctor_set(x_1602, 1, x_1600); -lean_ctor_set(x_1602, 2, x_1598); -lean_ctor_set(x_1602, 3, x_1601); -x_1603 = l_Array_empty___closed__1; -x_1604 = lean_array_push(x_1603, x_1602); -x_1605 = lean_array_push(x_1603, x_4); -x_1606 = l_Lean_nullKind___closed__2; -x_1607 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1607, 0, x_1606); -lean_ctor_set(x_1607, 1, x_1605); -x_1608 = lean_array_push(x_1604, x_1607); -x_1609 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1610 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1610, 0, x_1609); -lean_ctor_set(x_1610, 1, x_1608); -x_1611 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_1612 = 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(x_1473, x_1611); -lean_dec(x_1473); -if (x_1612 == 0) -{ -lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; -x_1613 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1614 = lean_box(0); -x_1615 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5(x_1476, x_1613, x_1599, x_1603, x_1606, x_13, x_1474, x_1609, x_1586, x_1217, x_1610, x_1614, x_6, x_7, x_8, x_9, x_10, x_11, x_1596); -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_1474); -return x_1615; -} -else -{ -lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; -x_1616 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1596); -x_1617 = lean_ctor_get(x_1616, 0); -lean_inc(x_1617); -x_1618 = lean_ctor_get(x_1616, 1); -lean_inc(x_1618); -lean_dec(x_1616); -x_1619 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1618); -x_1620 = lean_ctor_get(x_1619, 0); -lean_inc(x_1620); -x_1621 = lean_ctor_get(x_1619, 1); -lean_inc(x_1621); -lean_dec(x_1619); -x_1622 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_1623 = l_Lean_addMacroScope(x_1620, x_1622, x_1617); -x_1624 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_1625 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_1626 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1626, 0, x_1599); -lean_ctor_set(x_1626, 1, x_1624); -lean_ctor_set(x_1626, 2, x_1623); -lean_ctor_set(x_1626, 3, x_1625); -x_1627 = lean_array_push(x_1603, x_1626); -x_1628 = lean_array_push(x_1603, x_1610); -x_1629 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1629, 0, x_1606); -lean_ctor_set(x_1629, 1, x_1628); -x_1630 = lean_array_push(x_1627, x_1629); -x_1631 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1631, 0, x_1609); -lean_ctor_set(x_1631, 1, x_1630); -x_1632 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1633 = lean_box(0); -x_1634 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5(x_1476, x_1632, x_1599, x_1603, x_1606, x_13, x_1474, x_1609, x_1586, x_1217, x_1631, x_1633, x_6, x_7, x_8, x_9, x_10, x_11, x_1621); -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_1474); -return x_1634; -} -} -else -{ -lean_object* x_1635; size_t x_1636; size_t x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; -lean_dec(x_1473); -x_1635 = lean_array_get_size(x_1476); -x_1636 = lean_usize_of_nat(x_1635); -lean_dec(x_1635); -x_1637 = 0; -lean_inc(x_1217); -x_1638 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10(x_1476, x_1636, x_1637, x_1217, x_6, x_7, x_8, x_9, x_10, x_11, x_1587); -x_1639 = lean_ctor_get(x_1638, 0); -lean_inc(x_1639); -x_1640 = lean_ctor_get(x_1638, 1); -lean_inc(x_1640); -lean_dec(x_1638); -x_1641 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(x_1476, x_1636, x_1637, x_1217, x_6, x_7, x_8, x_9, x_10, x_11, x_1640); -lean_dec(x_1476); -x_1642 = lean_ctor_get(x_1641, 0); -lean_inc(x_1642); -x_1643 = lean_ctor_get(x_1641, 1); -lean_inc(x_1643); -lean_dec(x_1641); -x_1644 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1643); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_1645 = lean_ctor_get(x_1644, 0); -lean_inc(x_1645); -x_1646 = lean_ctor_get(x_1644, 1); -lean_inc(x_1646); -lean_dec(x_1644); -x_1647 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1646); -lean_dec(x_11); -x_1648 = lean_ctor_get(x_1647, 0); -lean_inc(x_1648); -x_1649 = lean_ctor_get(x_1647, 1); -lean_inc(x_1649); -if (lean_is_exclusive(x_1647)) { - lean_ctor_release(x_1647, 0); - lean_ctor_release(x_1647, 1); - x_1650 = x_1647; -} else { - lean_dec_ref(x_1647); - x_1650 = lean_box(0); -} -x_1651 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13; -lean_inc(x_1645); -lean_inc(x_1648); -x_1652 = l_Lean_addMacroScope(x_1648, x_1651, x_1645); -x_1653 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1654 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12; -x_1655 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1655, 0, x_1653); -lean_ctor_set(x_1655, 1, x_1654); -lean_ctor_set(x_1655, 2, x_1652); -lean_ctor_set(x_1655, 3, x_13); -x_1656 = l_Array_empty___closed__1; -lean_inc(x_1655); -x_1657 = lean_array_push(x_1656, x_1655); -x_1658 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; -x_1659 = lean_array_push(x_1657, x_1658); -x_1660 = lean_array_push(x_1659, x_1658); -x_1661 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; -x_1662 = lean_array_push(x_1660, x_1661); -x_1663 = lean_array_push(x_1662, x_4); -x_1664 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; -x_1665 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1665, 0, x_1664); -lean_ctor_set(x_1665, 1, x_1663); -x_1666 = lean_array_push(x_1656, x_1665); -x_1667 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; -x_1668 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1668, 0, x_1667); -lean_ctor_set(x_1668, 1, x_1666); -x_1669 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; -x_1670 = lean_array_push(x_1669, x_1668); -x_1671 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; -x_1672 = lean_array_push(x_1670, x_1671); -x_1673 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__35; -x_1674 = l_Lean_addMacroScope(x_1648, x_1673, x_1645); -x_1675 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__33; -x_1676 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1676, 0, x_1653); -lean_ctor_set(x_1676, 1, x_1675); -lean_ctor_set(x_1676, 2, x_1674); -lean_ctor_set(x_1676, 3, x_13); -x_1677 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__30; -x_1678 = lean_array_push(x_1677, x_1676); -x_1679 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__37; -x_1680 = lean_array_push(x_1678, x_1679); -x_1681 = lean_array_push(x_1680, x_1642); -x_1682 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__39; -x_1683 = lean_array_push(x_1681, x_1682); -x_1684 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__19; -x_1685 = lean_array_push(x_1684, x_1655); -x_1686 = l_Lean_Parser_Term_matchDiscr___elambda__1___closed__1; -x_1687 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1687, 0, x_1686); -lean_ctor_set(x_1687, 1, x_1685); -x_1688 = lean_array_push(x_1656, x_1687); -x_1689 = l_Lean_nullKind___closed__2; -x_1690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1690, 0, x_1689); -lean_ctor_set(x_1690, 1, x_1688); -x_1691 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__41; -x_1692 = lean_array_push(x_1691, x_1690); -x_1693 = lean_array_push(x_1692, x_1658); -x_1694 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__42; -x_1695 = lean_array_push(x_1693, x_1694); -x_1696 = l_Lean_nullKind; -x_1697 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1697, 0, x_1696); -lean_ctor_set(x_1697, 1, x_1474); -x_1698 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__2; -x_1699 = lean_array_push(x_1698, x_1697); -x_1700 = l_myMacro____x40_Init_Notation___hyg_730____closed__8; -x_1701 = lean_array_push(x_1699, x_1700); -x_1702 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__1; -x_1703 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1703, 0, x_1702); -lean_ctor_set(x_1703, 1, x_1701); -x_1704 = lean_array_push(x_1656, x_1703); -x_1705 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1705, 0, x_1689); -lean_ctor_set(x_1705, 1, x_1704); -x_1706 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__43; -x_1707 = lean_array_push(x_1706, x_1705); -x_1708 = l_myMacro____x40_Init_Notation___hyg_11259____closed__17; -x_1709 = lean_array_push(x_1707, x_1708); -x_1710 = lean_array_push(x_1709, x_1639); -x_1711 = l_Lean_Parser_Term_matchAlt___closed__1; -x_1712 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1712, 0, x_1711); -lean_ctor_set(x_1712, 1, x_1710); -x_1713 = lean_array_push(x_1656, x_1712); -x_1714 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__45; -x_1715 = lean_array_push(x_1714, x_1586); -x_1716 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1716, 0, x_1711); -lean_ctor_set(x_1716, 1, x_1715); -x_1717 = lean_array_push(x_1713, x_1716); -x_1718 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1718, 0, x_1689); -lean_ctor_set(x_1718, 1, x_1717); -x_1719 = lean_array_push(x_1656, x_1718); -x_1720 = l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; -x_1721 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1721, 0, x_1720); -lean_ctor_set(x_1721, 1, x_1719); -x_1722 = lean_array_push(x_1695, x_1721); -x_1723 = l_Lean_Parser_Term_match___elambda__1___closed__1; -x_1724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1724, 0, x_1723); -lean_ctor_set(x_1724, 1, x_1722); -x_1725 = lean_array_push(x_1683, x_1724); -x_1726 = l_termIf__Then__Else_____closed__2; -x_1727 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1727, 0, x_1726); -lean_ctor_set(x_1727, 1, x_1725); -x_1728 = lean_array_push(x_1672, x_1727); -x_1729 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; -x_1730 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1730, 0, x_1729); -lean_ctor_set(x_1730, 1, x_1728); -if (lean_is_scalar(x_1650)) { - x_1731 = lean_alloc_ctor(0, 2, 0); -} else { - x_1731 = x_1650; -} -lean_ctor_set(x_1731, 0, x_1730); -lean_ctor_set(x_1731, 1, x_1649); -return x_1731; -} -} -case 1: -{ -lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; uint8_t x_1755; -lean_dec(x_1585); -lean_dec(x_1538); -x_1732 = lean_ctor_get(x_1491, 0); -lean_inc(x_1732); -x_1733 = lean_ctor_get(x_1491, 1); -lean_inc(x_1733); -lean_dec(x_1491); -x_1734 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1733); -x_1735 = lean_ctor_get(x_1734, 0); -lean_inc(x_1735); -x_1736 = lean_ctor_get(x_1734, 1); -lean_inc(x_1736); -lean_dec(x_1734); -x_1737 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1736); -x_1738 = lean_ctor_get(x_1737, 0); -lean_inc(x_1738); -x_1739 = lean_ctor_get(x_1737, 1); -lean_inc(x_1739); -lean_dec(x_1737); -x_1740 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_1741 = l_Lean_addMacroScope(x_1738, x_1740, x_1735); -x_1742 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1743 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_1744 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_1745 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1745, 0, x_1742); -lean_ctor_set(x_1745, 1, x_1743); -lean_ctor_set(x_1745, 2, x_1741); -lean_ctor_set(x_1745, 3, x_1744); -x_1746 = l_Array_empty___closed__1; -x_1747 = lean_array_push(x_1746, x_1745); -x_1748 = lean_array_push(x_1746, x_4); -x_1749 = l_Lean_nullKind___closed__2; -x_1750 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1750, 0, x_1749); -lean_ctor_set(x_1750, 1, x_1748); -x_1751 = lean_array_push(x_1747, x_1750); -x_1752 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1753 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1753, 0, x_1752); -lean_ctor_set(x_1753, 1, x_1751); -x_1754 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_1755 = 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(x_1473, x_1754); -lean_dec(x_1473); -if (x_1755 == 0) -{ -lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; -x_1756 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1757 = lean_box(0); -x_1758 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__6(x_1476, x_1756, x_1742, x_1746, x_1749, x_13, x_1474, x_1752, x_1732, x_1217, x_1753, x_1757, x_6, x_7, x_8, x_9, x_10, x_11, x_1739); -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_1474); -return x_1758; -} -else -{ -lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; -x_1759 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1739); -x_1760 = lean_ctor_get(x_1759, 0); -lean_inc(x_1760); -x_1761 = lean_ctor_get(x_1759, 1); -lean_inc(x_1761); -lean_dec(x_1759); -x_1762 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1761); -x_1763 = lean_ctor_get(x_1762, 0); -lean_inc(x_1763); -x_1764 = lean_ctor_get(x_1762, 1); -lean_inc(x_1764); -lean_dec(x_1762); -x_1765 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_1766 = l_Lean_addMacroScope(x_1763, x_1765, x_1760); -x_1767 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_1768 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_1769 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1769, 0, x_1742); -lean_ctor_set(x_1769, 1, x_1767); -lean_ctor_set(x_1769, 2, x_1766); -lean_ctor_set(x_1769, 3, x_1768); -x_1770 = lean_array_push(x_1746, x_1769); -x_1771 = lean_array_push(x_1746, x_1753); -x_1772 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1772, 0, x_1749); -lean_ctor_set(x_1772, 1, x_1771); -x_1773 = lean_array_push(x_1770, x_1772); -x_1774 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1774, 0, x_1752); -lean_ctor_set(x_1774, 1, x_1773); -x_1775 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1776 = lean_box(0); -x_1777 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__6(x_1476, x_1775, x_1742, x_1746, x_1749, x_13, x_1474, x_1752, x_1732, x_1217, x_1774, x_1776, x_6, x_7, x_8, x_9, x_10, x_11, x_1764); -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_1474); -return x_1777; -} -} -default: -{ -lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; uint8_t x_1801; -lean_dec(x_1585); -lean_dec(x_1538); -x_1778 = lean_ctor_get(x_1491, 0); -lean_inc(x_1778); -x_1779 = lean_ctor_get(x_1491, 1); -lean_inc(x_1779); -lean_dec(x_1491); -x_1780 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1779); -x_1781 = lean_ctor_get(x_1780, 0); -lean_inc(x_1781); -x_1782 = lean_ctor_get(x_1780, 1); -lean_inc(x_1782); -lean_dec(x_1780); -x_1783 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1782); -x_1784 = lean_ctor_get(x_1783, 0); -lean_inc(x_1784); -x_1785 = lean_ctor_get(x_1783, 1); -lean_inc(x_1785); -lean_dec(x_1783); -x_1786 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_1787 = l_Lean_addMacroScope(x_1784, x_1786, x_1781); -x_1788 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1789 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_1790 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_1791 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1791, 0, x_1788); -lean_ctor_set(x_1791, 1, x_1789); -lean_ctor_set(x_1791, 2, x_1787); -lean_ctor_set(x_1791, 3, x_1790); -x_1792 = l_Array_empty___closed__1; -x_1793 = lean_array_push(x_1792, x_1791); -x_1794 = lean_array_push(x_1792, x_4); -x_1795 = l_Lean_nullKind___closed__2; -x_1796 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1796, 0, x_1795); -lean_ctor_set(x_1796, 1, x_1794); -x_1797 = lean_array_push(x_1793, x_1796); -x_1798 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1799, 0, x_1798); -lean_ctor_set(x_1799, 1, x_1797); -x_1800 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_1801 = 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(x_1473, x_1800); -lean_dec(x_1473); -if (x_1801 == 0) -{ -lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; -x_1802 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1803 = lean_box(0); -x_1804 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__7(x_1476, x_1802, x_1788, x_1792, x_1795, x_13, x_1474, x_1798, x_1778, x_1217, x_1799, x_1803, x_6, x_7, x_8, x_9, x_10, x_11, x_1785); -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_1474); -return x_1804; -} -else -{ -lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; -x_1805 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1785); -x_1806 = lean_ctor_get(x_1805, 0); -lean_inc(x_1806); -x_1807 = lean_ctor_get(x_1805, 1); -lean_inc(x_1807); -lean_dec(x_1805); -x_1808 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1807); -x_1809 = lean_ctor_get(x_1808, 0); -lean_inc(x_1809); -x_1810 = lean_ctor_get(x_1808, 1); -lean_inc(x_1810); -lean_dec(x_1808); -x_1811 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_1812 = l_Lean_addMacroScope(x_1809, x_1811, x_1806); -x_1813 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_1814 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_1815 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1815, 0, x_1788); -lean_ctor_set(x_1815, 1, x_1813); -lean_ctor_set(x_1815, 2, x_1812); -lean_ctor_set(x_1815, 3, x_1814); -x_1816 = lean_array_push(x_1792, x_1815); -x_1817 = lean_array_push(x_1792, x_1799); -x_1818 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1818, 0, x_1795); -lean_ctor_set(x_1818, 1, x_1817); -x_1819 = lean_array_push(x_1816, x_1818); -x_1820 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1820, 0, x_1798); -lean_ctor_set(x_1820, 1, x_1819); -x_1821 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1822 = lean_box(0); -x_1823 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__7(x_1476, x_1821, x_1788, x_1792, x_1795, x_13, x_1474, x_1798, x_1778, x_1217, x_1820, x_1822, x_6, x_7, x_8, x_9, x_10, x_11, x_1810); -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_1474); -return x_1823; -} -} -} -} -default: -{ -lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; uint8_t x_1847; -lean_dec(x_1538); -x_1824 = lean_ctor_get(x_1491, 0); -lean_inc(x_1824); -x_1825 = lean_ctor_get(x_1491, 1); -lean_inc(x_1825); -lean_dec(x_1491); -x_1826 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1825); -x_1827 = lean_ctor_get(x_1826, 0); -lean_inc(x_1827); -x_1828 = lean_ctor_get(x_1826, 1); -lean_inc(x_1828); -lean_dec(x_1826); -x_1829 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1828); -x_1830 = lean_ctor_get(x_1829, 0); -lean_inc(x_1830); -x_1831 = lean_ctor_get(x_1829, 1); -lean_inc(x_1831); -lean_dec(x_1829); -x_1832 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9; -x_1833 = l_Lean_addMacroScope(x_1830, x_1832, x_1827); -x_1834 = l_Lean_instInhabitedSourceInfo___closed__1; -x_1835 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7; -x_1836 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21; -x_1837 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1837, 0, x_1834); -lean_ctor_set(x_1837, 1, x_1835); -lean_ctor_set(x_1837, 2, x_1833); -lean_ctor_set(x_1837, 3, x_1836); -x_1838 = l_Array_empty___closed__1; -x_1839 = lean_array_push(x_1838, x_1837); -x_1840 = lean_array_push(x_1838, x_4); -x_1841 = l_Lean_nullKind___closed__2; -x_1842 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1842, 0, x_1841); -lean_ctor_set(x_1842, 1, x_1840); -x_1843 = lean_array_push(x_1839, x_1842); -x_1844 = l_myMacro____x40_Init_Notation___hyg_2094____closed__4; -x_1845 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1845, 0, x_1844); -lean_ctor_set(x_1845, 1, x_1843); -x_1846 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___lambda__2___closed__1; -x_1847 = 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(x_1473, x_1846); -lean_dec(x_1473); -if (x_1847 == 0) -{ -lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; -x_1848 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1849 = lean_box(0); -x_1850 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__8(x_1476, x_1848, x_1834, x_1838, x_1841, x_13, x_1474, x_1844, x_1824, x_1217, x_1845, x_1849, x_6, x_7, x_8, x_9, x_10, x_11, x_1831); -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_1474); -return x_1850; -} -else -{ -lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; -x_1851 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_1831); -x_1852 = lean_ctor_get(x_1851, 0); -lean_inc(x_1852); -x_1853 = lean_ctor_get(x_1851, 1); -lean_inc(x_1853); -lean_dec(x_1851); -x_1854 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_1853); -x_1855 = lean_ctor_get(x_1854, 0); -lean_inc(x_1855); -x_1856 = lean_ctor_get(x_1854, 1); -lean_inc(x_1856); -lean_dec(x_1854); -x_1857 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26; -x_1858 = l_Lean_addMacroScope(x_1855, x_1857, x_1852); -x_1859 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24; -x_1860 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28; -x_1861 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1861, 0, x_1834); -lean_ctor_set(x_1861, 1, x_1859); -lean_ctor_set(x_1861, 2, x_1858); -lean_ctor_set(x_1861, 3, x_1860); -x_1862 = lean_array_push(x_1838, x_1861); -x_1863 = lean_array_push(x_1838, x_1845); -x_1864 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1864, 0, x_1841); -lean_ctor_set(x_1864, 1, x_1863); -x_1865 = lean_array_push(x_1862, x_1864); -x_1866 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1866, 0, x_1844); -lean_ctor_set(x_1866, 1, x_1865); -x_1867 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; -x_1868 = lean_box(0); -x_1869 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__8(x_1476, x_1867, x_1834, x_1838, x_1841, x_13, x_1474, x_1844, x_1824, x_1217, x_1866, x_1868, x_6, x_7, x_8, x_9, x_10, x_11, x_1856); -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_1474); -return x_1869; -} -} -} -} -} -else -{ -lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; -lean_dec(x_1476); -lean_dec(x_1474); -lean_dec(x_1473); -lean_dec(x_1217); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -x_1870 = lean_ctor_get(x_1491, 0); -lean_inc(x_1870); -x_1871 = lean_ctor_get(x_1491, 1); -lean_inc(x_1871); -if (lean_is_exclusive(x_1491)) { - lean_ctor_release(x_1491, 0); - lean_ctor_release(x_1491, 1); - x_1872 = x_1491; -} else { - lean_dec_ref(x_1491); - x_1872 = lean_box(0); -} -if (lean_is_scalar(x_1872)) { - x_1873 = lean_alloc_ctor(1, 2, 0); -} else { - x_1873 = x_1872; -} -lean_ctor_set(x_1873, 0, x_1870); -lean_ctor_set(x_1873, 1, x_1871); -return x_1873; -} -} -else -{ -lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; -lean_dec(x_1474); -lean_dec(x_1473); -lean_dec(x_1221); -lean_dec(x_1220); -lean_dec(x_1217); -lean_dec(x_1214); -lean_dec(x_1210); -lean_dec(x_1209); -lean_dec(x_1208); -lean_dec(x_1207); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -x_1874 = lean_ctor_get(x_1475, 0); -lean_inc(x_1874); -x_1875 = lean_ctor_get(x_1475, 1); -lean_inc(x_1875); -if (lean_is_exclusive(x_1475)) { - lean_ctor_release(x_1475, 0); - lean_ctor_release(x_1475, 1); - x_1876 = x_1475; -} else { - lean_dec_ref(x_1475); - x_1876 = lean_box(0); -} -if (lean_is_scalar(x_1876)) { - x_1877 = lean_alloc_ctor(1, 2, 0); -} else { - x_1877 = x_1876; -} -lean_ctor_set(x_1877, 0, x_1874); -lean_ctor_set(x_1877, 1, x_1875); -return x_1877; -} -} -} -else -{ -lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; -lean_dec(x_1214); -lean_dec(x_1210); -lean_dec(x_1209); -lean_dec(x_1208); -lean_dec(x_1207); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_1878 = lean_ctor_get(x_1216, 0); -lean_inc(x_1878); -x_1879 = lean_ctor_get(x_1216, 1); -lean_inc(x_1879); -if (lean_is_exclusive(x_1216)) { - lean_ctor_release(x_1216, 0); - lean_ctor_release(x_1216, 1); - x_1880 = x_1216; -} else { - lean_dec_ref(x_1216); - x_1880 = lean_box(0); -} -if (lean_is_scalar(x_1880)) { - x_1881 = lean_alloc_ctor(1, 2, 0); -} else { - x_1881 = x_1880; -} -lean_ctor_set(x_1881, 0, x_1878); -lean_ctor_set(x_1881, 1, x_1879); -return x_1881; -} -} -} -else -{ -uint8_t x_1882; -lean_dec(x_11); -lean_dec(x_10); +uint8_t x_97; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -24026,27 +23317,157 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1882 = !lean_is_exclusive(x_15); -if (x_1882 == 0) +x_97 = !lean_is_exclusive(x_13); +if (x_97 == 0) { -return x_15; +return x_13; } else { -lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; -x_1883 = lean_ctor_get(x_15, 0); -x_1884 = lean_ctor_get(x_15, 1); -lean_inc(x_1884); -lean_inc(x_1883); -lean_dec(x_15); -x_1885 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1885, 0, x_1883); -lean_ctor_set(x_1885, 1, x_1884); -return x_1885; +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_13, 0); +x_99 = lean_ctor_get(x_13, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_13); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } } } +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_st_ref_take(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = !lean_is_exclusive(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_14 = lean_ctor_get(x_11, 1); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_14, x_15); +lean_ctor_set(x_11, 1, x_16); +x_17 = lean_st_ref_set(x_8, x_11, x_12); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = !lean_is_exclusive(x_3); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_3, 4); +lean_dec(x_20); +lean_ctor_set(x_3, 4, x_14); +x_21 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = lean_ctor_get(x_3, 0); +x_23 = lean_ctor_get(x_3, 1); +x_24 = lean_ctor_get(x_3, 2); +x_25 = lean_ctor_get(x_3, 3); +x_26 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_27 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 2); +x_29 = lean_ctor_get(x_3, 5); +lean_inc(x_29); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_3); +x_30 = lean_alloc_ctor(0, 6, 3); +lean_ctor_set(x_30, 0, x_22); +lean_ctor_set(x_30, 1, x_23); +lean_ctor_set(x_30, 2, x_24); +lean_ctor_set(x_30, 3, x_25); +lean_ctor_set(x_30, 4, x_14); +lean_ctor_set(x_30, 5, x_29); +lean_ctor_set_uint8(x_30, sizeof(void*)*6, x_26); +lean_ctor_set_uint8(x_30, sizeof(void*)*6 + 1, x_27); +lean_ctor_set_uint8(x_30, sizeof(void*)*6 + 2, x_28); +x_31 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_1, x_2, x_30, x_4, x_5, x_6, x_7, x_8, x_18); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_32 = lean_ctor_get(x_11, 0); +x_33 = lean_ctor_get(x_11, 1); +x_34 = lean_ctor_get(x_11, 2); +x_35 = lean_ctor_get(x_11, 3); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_11); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_nat_add(x_33, x_36); +x_38 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_38, 0, x_32); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_34); +lean_ctor_set(x_38, 3, x_35); +x_39 = lean_st_ref_set(x_8, x_38, x_12); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_ctor_get(x_3, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_3, 1); +lean_inc(x_42); +x_43 = lean_ctor_get(x_3, 2); +lean_inc(x_43); +x_44 = lean_ctor_get(x_3, 3); +lean_inc(x_44); +x_45 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_46 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_47 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 2); +x_48 = lean_ctor_get(x_3, 5); +lean_inc(x_48); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + lean_ctor_release(x_3, 2); + lean_ctor_release(x_3, 3); + lean_ctor_release(x_3, 4); + lean_ctor_release(x_3, 5); + x_49 = x_3; +} else { + lean_dec_ref(x_3); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(0, 6, 3); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_41); +lean_ctor_set(x_50, 1, x_42); +lean_ctor_set(x_50, 2, x_43); +lean_ctor_set(x_50, 3, x_44); +lean_ctor_set(x_50, 4, x_33); +lean_ctor_set(x_50, 5, x_48); +lean_ctor_set_uint8(x_50, sizeof(void*)*6, x_45); +lean_ctor_set_uint8(x_50, sizeof(void*)*6 + 1, x_46); +lean_ctor_set_uint8(x_50, sizeof(void*)*6 + 2, x_47); +x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(x_1, x_2, x_50, x_4, x_5, x_6, x_7, x_8, x_40); +return x_51; +} +} +} static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1() { _start: { @@ -24089,7 +23510,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(321u); +x_3 = lean_unsigned_to_nat(360u); 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); @@ -24135,46 +23556,46 @@ return x_2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; uint8_t x_44; lean_object* x_45; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_61 = lean_st_ref_get(x_8, x_9); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_62, 3); -lean_inc(x_63); -lean_dec(x_62); -x_64 = lean_ctor_get_uint8(x_63, sizeof(void*)*1); -lean_dec(x_63); -if (x_64 == 0) +lean_object* x_10; uint8_t x_246; lean_object* x_247; lean_object* x_263; lean_object* x_264; lean_object* x_265; uint8_t x_266; +x_263 = lean_st_ref_get(x_8, x_9); +x_264 = lean_ctor_get(x_263, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_264, 3); +lean_inc(x_265); +lean_dec(x_264); +x_266 = lean_ctor_get_uint8(x_265, sizeof(void*)*1); +lean_dec(x_265); +if (x_266 == 0) { -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_61, 1); -lean_inc(x_65); -lean_dec(x_61); -x_66 = 0; -x_44 = x_66; -x_45 = x_65; -goto block_60; +lean_object* x_267; uint8_t x_268; +x_267 = lean_ctor_get(x_263, 1); +lean_inc(x_267); +lean_dec(x_263); +x_268 = 0; +x_246 = x_268; +x_247 = x_267; +goto block_262; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_67 = lean_ctor_get(x_61, 1); -lean_inc(x_67); -lean_dec(x_61); -x_68 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7; -x_69 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_68, x_3, x_4, x_5, x_6, x_7, x_8, x_67); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_unbox(x_70); -lean_dec(x_70); -x_44 = x_72; -x_45 = x_71; -goto block_60; +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; uint8_t x_274; +x_269 = lean_ctor_get(x_263, 1); +lean_inc(x_269); +lean_dec(x_263); +x_270 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7; +x_271 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_270, x_3, x_4, x_5, x_6, x_7, x_8, x_269); +x_272 = lean_ctor_get(x_271, 0); +lean_inc(x_272); +x_273 = lean_ctor_get(x_271, 1); +lean_inc(x_273); +lean_dec(x_271); +x_274 = lean_unbox(x_272); +lean_dec(x_272); +x_246 = x_274; +x_247 = x_273; +goto block_262; } -block_43: +block_245: { if (lean_obj_tag(x_1) == 0) { @@ -24245,391 +23666,833 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_23 = lean_ctor_get(x_1, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_1, 1); -lean_inc(x_24); -lean_dec(x_1); -lean_inc(x_2); -x_25 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_2); -x_26 = l_List_zip___rarg___closed__1; -x_27 = l_List_zipWith___rarg(x_26, x_25, x_2); -x_28 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(x_27); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -lean_dec(x_28); +uint8_t x_23; +x_23 = !lean_is_exclusive(x_1); +if (x_23 == 0) +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_2); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_1, 0); +x_26 = lean_ctor_get(x_1, 1); +x_27 = lean_ctor_get(x_2, 0); +x_28 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_27); +x_29 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_10); if (lean_obj_tag(x_29) == 0) { -lean_object* x_30; lean_object* x_31; +lean_object* x_30; lean_object* x_31; lean_object* x_32; x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -x_31 = lean_ctor_get(x_30, 1); +x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); -lean_dec(x_30); -if (lean_obj_tag(x_31) == 0) +lean_dec(x_29); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_30); +x_32 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_32; lean_object* x_33; -x_32 = lean_box(0); -x_33 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9(x_29, x_27, x_24, x_23, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_10); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_34 = lean_ctor_get(x_31, 0); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +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_31); -x_35 = lean_array_get_size(x_34); -lean_dec(x_34); -x_36 = l_List_range(x_35); -x_37 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15(x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_10); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9(x_29, x_27, x_24, x_23, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_39); -return x_40; +lean_dec(x_32); +x_35 = lean_ctor_get(x_30, 2); +lean_inc(x_35); +lean_dec(x_30); +lean_inc(x_26); +lean_inc(x_33); +x_36 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2), 10, 2); +lean_closure_set(x_36, 0, x_33); +lean_closure_set(x_36, 1, x_26); +x_37 = l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(x_33); +lean_inc(x_25); +x_38 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3), 9, 2); +lean_closure_set(x_38, 0, x_1); +lean_closure_set(x_38, 1, x_37); +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_39 = lean_apply_9(x_35, x_36, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_41); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_44); +lean_dec(x_8); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_47 = lean_ctor_get(x_45, 0); +x_48 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_49 = l_Lean_addMacroScope(x_47, x_48, x_43); +x_50 = lean_box(0); +x_51 = l_Lean_instInhabitedSourceInfo___closed__1; +x_52 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_53 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_49); +lean_ctor_set(x_53, 3, x_50); +x_54 = l_Array_empty___closed__1; +x_55 = lean_array_push(x_54, x_53); +x_56 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_57 = lean_array_push(x_55, x_56); +x_58 = lean_array_push(x_57, x_56); +x_59 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_60 = lean_array_push(x_58, x_59); +x_61 = lean_array_push(x_60, x_25); +x_62 = l_myMacro____x40_Init_Notation___hyg_13014____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_54, x_63); +x_65 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_68 = lean_array_push(x_67, x_66); +x_69 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_70 = lean_array_push(x_68, x_69); +x_71 = lean_array_push(x_70, x_40); +x_72 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +lean_ctor_set(x_45, 0, x_73); +return x_45; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_74 = lean_ctor_get(x_45, 0); +x_75 = lean_ctor_get(x_45, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_45); +x_76 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_77 = l_Lean_addMacroScope(x_74, x_76, x_43); +x_78 = lean_box(0); +x_79 = l_Lean_instInhabitedSourceInfo___closed__1; +x_80 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_81 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_77); +lean_ctor_set(x_81, 3, x_78); +x_82 = l_Array_empty___closed__1; +x_83 = lean_array_push(x_82, x_81); +x_84 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_85 = lean_array_push(x_83, x_84); +x_86 = lean_array_push(x_85, x_84); +x_87 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_88 = lean_array_push(x_86, x_87); +x_89 = lean_array_push(x_88, x_25); +x_90 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_89); +x_92 = lean_array_push(x_82, x_91); +x_93 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_96 = lean_array_push(x_95, x_94); +x_97 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_98 = lean_array_push(x_96, x_97); +x_99 = lean_array_push(x_98, x_40); +x_100 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_75); +return x_102; } } else { -lean_object* x_41; lean_object* x_42; -x_41 = lean_box(0); -x_42 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9(x_29, x_27, x_24, x_23, x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_10); -return x_42; -} -} -} -} -block_60: +uint8_t x_103; +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_103 = !lean_is_exclusive(x_39); +if (x_103 == 0) { -if (x_44 == 0) -{ -x_10 = x_45; -goto block_43; +return x_39; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_39, 0); +x_105 = lean_ctor_get(x_39, 1); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_39); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; +} +} +} +else +{ +uint8_t x_107; +lean_dec(x_30); +lean_free_object(x_1); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_107 = !lean_is_exclusive(x_32); +if (x_107 == 0) +{ +return x_32; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_32, 0); +x_109 = lean_ctor_get(x_32, 1); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_32); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +} +else +{ +uint8_t x_111; +lean_free_object(x_2); +lean_dec(x_28); +lean_dec(x_27); +lean_free_object(x_1); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_111 = !lean_is_exclusive(x_29); +if (x_111 == 0) +{ +return x_29; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_29, 0); +x_113 = lean_ctor_get(x_29, 1); +lean_inc(x_113); +lean_inc(x_112); +lean_dec(x_29); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +return x_114; +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_115 = lean_ctor_get(x_1, 0); +x_116 = lean_ctor_get(x_1, 1); +x_117 = lean_ctor_get(x_2, 0); +x_118 = lean_ctor_get(x_2, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_2); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_117); +x_119 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_117, x_3, x_4, x_5, x_6, x_7, x_8, x_10); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec(x_119); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_117); +lean_ctor_set(x_122, 1, x_118); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_120); +x_123 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_120, x_122, x_3, x_4, x_5, x_6, x_7, x_8, x_121); +if (lean_obj_tag(x_123) == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec(x_123); +x_126 = lean_ctor_get(x_120, 2); +lean_inc(x_126); +lean_dec(x_120); +lean_inc(x_116); +lean_inc(x_124); +x_127 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2), 10, 2); +lean_closure_set(x_127, 0, x_124); +lean_closure_set(x_127, 1, x_116); +x_128 = l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(x_124); +lean_inc(x_115); +x_129 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3), 9, 2); +lean_closure_set(x_129, 0, x_1); +lean_closure_set(x_129, 1, x_128); +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_130 = lean_apply_9(x_126, x_127, x_129, x_3, x_4, x_5, x_6, x_7, x_8, x_125); +if (lean_obj_tag(x_130) == 0) +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_132); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_135); +lean_dec(x_8); +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); +} +x_140 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_141 = l_Lean_addMacroScope(x_137, x_140, x_134); +x_142 = lean_box(0); +x_143 = l_Lean_instInhabitedSourceInfo___closed__1; +x_144 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_145 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +lean_ctor_set(x_145, 2, x_141); +lean_ctor_set(x_145, 3, x_142); +x_146 = l_Array_empty___closed__1; +x_147 = lean_array_push(x_146, x_145); +x_148 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_149 = lean_array_push(x_147, x_148); +x_150 = lean_array_push(x_149, x_148); +x_151 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_152 = lean_array_push(x_150, x_151); +x_153 = lean_array_push(x_152, x_115); +x_154 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; +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_146, x_155); +x_157 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; +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_13014____closed__4; +x_160 = lean_array_push(x_159, x_158); +x_161 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_162 = lean_array_push(x_160, x_161); +x_163 = lean_array_push(x_162, x_131); +x_164 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_163); +if (lean_is_scalar(x_139)) { + x_166 = lean_alloc_ctor(0, 2, 0); +} else { + x_166 = x_139; +} +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_138); +return x_166; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_dec(x_115); +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_167 = lean_ctor_get(x_130, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_130, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_169 = x_130; +} else { + lean_dec_ref(x_130); + x_169 = lean_box(0); +} +if (lean_is_scalar(x_169)) { + x_170 = lean_alloc_ctor(1, 2, 0); +} else { + x_170 = x_169; +} +lean_ctor_set(x_170, 0, x_167); +lean_ctor_set(x_170, 1, x_168); +return x_170; +} +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_120); +lean_free_object(x_1); +lean_dec(x_116); +lean_dec(x_115); +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_171 = lean_ctor_get(x_123, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_123, 1); +lean_inc(x_172); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_173 = x_123; +} else { + lean_dec_ref(x_123); + x_173 = lean_box(0); +} +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(1, 2, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_171); +lean_ctor_set(x_174, 1, x_172); +return x_174; +} +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +lean_dec(x_118); +lean_dec(x_117); +lean_free_object(x_1); +lean_dec(x_116); +lean_dec(x_115); +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_175 = lean_ctor_get(x_119, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_119, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_177 = x_119; +} else { + lean_dec_ref(x_119); + x_177 = lean_box(0); +} +if (lean_is_scalar(x_177)) { + x_178 = lean_alloc_ctor(1, 2, 0); +} else { + x_178 = x_177; +} +lean_ctor_set(x_178, 0, x_175); +lean_ctor_set(x_178, 1, x_176); +return x_178; +} +} +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_179 = lean_ctor_get(x_1, 0); +x_180 = lean_ctor_get(x_1, 1); +lean_inc(x_180); +lean_inc(x_179); +lean_dec(x_1); +x_181 = lean_ctor_get(x_2, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_2, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + x_183 = x_2; +} else { + lean_dec_ref(x_2); + x_183 = lean_box(0); +} +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_181); +x_184 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(x_181, x_3, x_4, x_5, x_6, x_7, x_8, x_10); +if (lean_obj_tag(x_184) == 0) +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +lean_dec(x_184); +if (lean_is_scalar(x_183)) { + x_187 = lean_alloc_ctor(1, 2, 0); +} else { + x_187 = x_183; +} +lean_ctor_set(x_187, 0, x_181); +lean_ctor_set(x_187, 1, x_182); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_185); +x_188 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_185, x_187, x_3, x_4, x_5, x_6, x_7, x_8, x_186); +if (lean_obj_tag(x_188) == 0) +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_189 = lean_ctor_get(x_188, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_188, 1); +lean_inc(x_190); +lean_dec(x_188); +x_191 = lean_ctor_get(x_185, 2); +lean_inc(x_191); +lean_dec(x_185); +lean_inc(x_180); +lean_inc(x_189); +x_192 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2), 10, 2); +lean_closure_set(x_192, 0, x_189); +lean_closure_set(x_192, 1, x_180); +x_193 = l_List_filterMap___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(x_189); +lean_inc(x_179); +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_179); +lean_ctor_set(x_194, 1, x_180); +x_195 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3), 9, 2); +lean_closure_set(x_195, 0, x_194); +lean_closure_set(x_195, 1, x_193); +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_196 = lean_apply_9(x_191, x_192, x_195, x_3, x_4, x_5, x_6, x_7, x_8, x_190); +if (lean_obj_tag(x_196) == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +lean_dec(x_196); +x_199 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_198); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_200 = lean_ctor_get(x_199, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec(x_199); +x_202 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_201); +lean_dec(x_8); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +if (lean_is_exclusive(x_202)) { + lean_ctor_release(x_202, 0); + lean_ctor_release(x_202, 1); + x_205 = x_202; +} else { + lean_dec_ref(x_202); + x_205 = lean_box(0); +} +x_206 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_207 = l_Lean_addMacroScope(x_203, x_206, x_200); +x_208 = lean_box(0); +x_209 = l_Lean_instInhabitedSourceInfo___closed__1; +x_210 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_211 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_211, 0, x_209); +lean_ctor_set(x_211, 1, x_210); +lean_ctor_set(x_211, 2, x_207); +lean_ctor_set(x_211, 3, x_208); +x_212 = l_Array_empty___closed__1; +x_213 = lean_array_push(x_212, x_211); +x_214 = l_myMacro____x40_Init_Notation___hyg_1202____closed__23; +x_215 = lean_array_push(x_213, x_214); +x_216 = lean_array_push(x_215, x_214); +x_217 = l_myMacro____x40_Init_Notation___hyg_13014____closed__14; +x_218 = lean_array_push(x_216, x_217); +x_219 = lean_array_push(x_218, x_179); +x_220 = l_myMacro____x40_Init_Notation___hyg_13014____closed__8; +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_220); +lean_ctor_set(x_221, 1, x_219); +x_222 = lean_array_push(x_212, x_221); +x_223 = l_myMacro____x40_Init_Notation___hyg_13014____closed__6; +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_222); +x_225 = l_myMacro____x40_Init_Notation___hyg_13014____closed__4; +x_226 = lean_array_push(x_225, x_224); +x_227 = l_myMacro____x40_Init_Notation___hyg_13014____closed__18; +x_228 = lean_array_push(x_226, x_227); +x_229 = lean_array_push(x_228, x_197); +x_230 = l_myMacro____x40_Init_Notation___hyg_13014____closed__2; +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_229); +if (lean_is_scalar(x_205)) { + x_232 = lean_alloc_ctor(0, 2, 0); +} else { + x_232 = x_205; +} +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_204); +return x_232; +} +else +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_dec(x_179); +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_233 = lean_ctor_get(x_196, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_196, 1); +lean_inc(x_234); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_235 = x_196; +} else { + lean_dec_ref(x_196); + x_235 = lean_box(0); +} +if (lean_is_scalar(x_235)) { + x_236 = lean_alloc_ctor(1, 2, 0); +} else { + x_236 = x_235; +} +lean_ctor_set(x_236, 0, x_233); +lean_ctor_set(x_236, 1, x_234); +return x_236; +} +} +else +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; +lean_dec(x_185); +lean_dec(x_180); +lean_dec(x_179); +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_237 = lean_ctor_get(x_188, 0); +lean_inc(x_237); +x_238 = lean_ctor_get(x_188, 1); +lean_inc(x_238); +if (lean_is_exclusive(x_188)) { + lean_ctor_release(x_188, 0); + lean_ctor_release(x_188, 1); + x_239 = x_188; +} else { + lean_dec_ref(x_188); + x_239 = lean_box(0); +} +if (lean_is_scalar(x_239)) { + x_240 = lean_alloc_ctor(1, 2, 0); +} else { + x_240 = x_239; +} +lean_ctor_set(x_240, 0, x_237); +lean_ctor_set(x_240, 1, x_238); +return x_240; +} +} +else +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; +lean_dec(x_183); +lean_dec(x_182); +lean_dec(x_181); +lean_dec(x_180); +lean_dec(x_179); +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_241 = lean_ctor_get(x_184, 0); +lean_inc(x_241); +x_242 = lean_ctor_get(x_184, 1); +lean_inc(x_242); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_243 = x_184; +} else { + lean_dec_ref(x_184); + x_243 = lean_box(0); +} +if (lean_is_scalar(x_243)) { + x_244 = lean_alloc_ctor(1, 2, 0); +} else { + x_244 = x_243; +} +lean_ctor_set(x_244, 0, x_241); +lean_ctor_set(x_244, 1, x_242); +return x_244; +} +} +} +} +} +block_262: +{ +if (x_246 == 0) +{ +x_10 = x_247; +goto block_245; +} +else +{ +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_inc(x_1); -x_46 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__16(x_1); -x_47 = l_Lean_MessageData_ofList(x_46); -lean_dec(x_46); -x_48 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__8; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9; -x_51 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); +x_248 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8(x_1); +x_249 = l_Lean_MessageData_ofList(x_248); +lean_dec(x_248); +x_250 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__8; +x_251 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_249); +x_252 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9; +x_253 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set(x_253, 1, x_252); lean_inc(x_2); -x_52 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__20(x_2); -x_53 = l_Lean_MessageData_ofList(x_52); -lean_dec(x_52); -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_51); -lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_KernelException_toMessageData___closed__15; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7; -x_58 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_57, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_45); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_10 = x_59; -goto block_43; +x_254 = l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__12(x_2); +x_255 = l_Lean_MessageData_ofList(x_254); +lean_dec(x_254); +x_256 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_256, 0, x_253); +lean_ctor_set(x_256, 1, x_255); +x_257 = l_Lean_KernelException_toMessageData___closed__15; +x_258 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_258, 0, x_256); +lean_ctor_set(x_258, 1, x_257); +x_259 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7; +x_260 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_259, x_258, x_3, x_4, x_5, x_6, x_7, x_8, x_247); +x_261 = lean_ctor_get(x_260, 1); +lean_inc(x_261); +lean_dec(x_260); +x_10 = x_261; +goto block_245; } } } } -lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); +x_10 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); return x_10; } } -lean_object* l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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_compileStxMatch___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_compileStxMatch___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_compileStxMatch___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_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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_compileStxMatch___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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_dec(x_1); -return x_14; -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_14; -} -} -lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__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]; -_start: -{ -lean_object* x_19; -x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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); -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_compileStxMatch___spec__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]; -_start: -{ -lean_object* x_19; -x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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); -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_compileStxMatch___spec__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]; -_start: -{ -lean_object* x_19; -x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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); -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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -24639,257 +24502,43 @@ lean_dec(x_2); return x_9; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_14; -x_14 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); -return x_14; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_13; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_20; -x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -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; +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(x_1, x_2, x_6, x_7, x_5); +return x_8; } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_20; -x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, 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_compileStxMatch___lambda__4___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -_start: -{ -lean_object* x_20; -x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, 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_compileStxMatch___lambda__5___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -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_compileStxMatch___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, 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_compileStxMatch___lambda__6___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -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_compileStxMatch___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, 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_compileStxMatch___lambda__7___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -_start: -{ -lean_object* x_20; -x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, 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_compileStxMatch___lambda__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]; -_start: -{ -lean_object* x_20; -x_20 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, 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* x_12; +x_12 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +return x_12; } } lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -27470,41 +27119,7 @@ x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_El return x_7; } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9(lean_object* x_1, size_t x_2, size_t x_3) { -_start: -{ -uint8_t x_4; -x_4 = x_2 == x_3; -if (x_4 == 0) -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_array_uget(x_1, x_2); -x_6 = l_Lean_Syntax_isQuot(x_5); -lean_dec(x_5); -if (x_6 == 0) -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = x_2 + x_7; -x_2 = x_8; -goto _start; -} -else -{ -uint8_t x_10; -x_10 = 1; -return x_10; -} -} -else -{ -uint8_t x_11; -x_11 = 0; -return x_11; -} -} -} -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10(size_t x_1, lean_object* x_2, size_t x_3, size_t x_4) { +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -27513,62 +27128,135 @@ if (x_5 == 0) { lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_6 = lean_array_uget(x_2, x_3); -x_7 = lean_array_get_size(x_6); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_lt(x_8, x_7); +x_7 = l_Lean_Parser_Term_namedPattern___elambda__1___closed__1; +lean_inc(x_1); +x_8 = lean_name_mk_string(x_1, x_7); +lean_inc(x_6); +x_9 = l_Lean_Syntax_isOfKind(x_6, x_8); +lean_dec(x_8); if (x_9 == 0) { -size_t x_10; size_t x_11; -lean_dec(x_7); +uint8_t x_10; +x_10 = l_Lean_Syntax_isQuot(x_6); lean_dec(x_6); -x_10 = 1; -x_11 = x_3 + x_10; -x_3 = x_11; +if (x_10 == 0) +{ +size_t x_11; size_t x_12; +x_11 = 1; +x_12 = x_3 + x_11; +x_3 = x_12; goto _start; } else { -uint8_t x_13; -x_13 = lean_nat_dec_le(x_7, x_7); -if (x_13 == 0) -{ -size_t x_14; size_t x_15; -lean_dec(x_7); -lean_dec(x_6); +uint8_t x_14; +lean_dec(x_1); x_14 = 1; -x_15 = x_3 + x_14; -x_3 = x_15; +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_unsigned_to_nat(2u); +x_16 = l_Lean_Syntax_getArg(x_6, x_15); +lean_dec(x_6); +x_17 = l_Lean_Syntax_isQuot(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +size_t x_18; size_t x_19; +x_18 = 1; +x_19 = x_3 + x_18; +x_3 = x_19; goto _start; } else { -size_t x_17; uint8_t x_18; -x_17 = lean_usize_of_nat(x_7); -lean_dec(x_7); -x_18 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9(x_6, x_1, x_17); -lean_dec(x_6); -if (x_18 == 0) -{ -size_t x_19; size_t x_20; -x_19 = 1; -x_20 = x_3 + x_19; -x_3 = x_20; -goto _start; +uint8_t x_21; +lean_dec(x_1); +x_21 = 1; +return x_21; +} +} } else { uint8_t x_22; -x_22 = 1; +lean_dec(x_1); +x_22 = 0; return x_22; } } } +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10(lean_object* x_1, size_t x_2, lean_object* x_3, size_t x_4, size_t x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_4 == x_5; +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_array_uget(x_3, x_4); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_lt(x_9, x_8); +if (x_10 == 0) +{ +size_t x_11; size_t x_12; +lean_dec(x_8); +lean_dec(x_7); +x_11 = 1; +x_12 = x_4 + x_11; +x_4 = x_12; +goto _start; +} +else +{ +uint8_t x_14; +x_14 = lean_nat_dec_le(x_8, x_8); +if (x_14 == 0) +{ +size_t x_15; size_t x_16; +lean_dec(x_8); +lean_dec(x_7); +x_15 = 1; +x_16 = x_4 + x_15; +x_4 = x_16; +goto _start; +} +else +{ +size_t x_18; uint8_t x_19; +x_18 = lean_usize_of_nat(x_8); +lean_dec(x_8); +lean_inc(x_1); +x_19 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9(x_1, x_7, x_2, x_18); +lean_dec(x_7); +if (x_19 == 0) +{ +size_t x_20; size_t x_21; +x_20 = 1; +x_21 = x_4 + x_20; +x_4 = x_21; +goto _start; +} +else +{ +uint8_t x_23; +lean_dec(x_1); +x_23 = 1; +return x_23; +} +} +} } else { -uint8_t x_23; -x_23 = 0; -return x_23; +uint8_t x_24; +lean_dec(x_1); +x_24 = 0; +return x_24; } } } @@ -28084,43 +27772,43 @@ x_16 = lean_unsigned_to_nat(0u); x_17 = lean_nat_dec_lt(x_16, x_15); if (x_17 == 0) { -lean_object* x_69; +lean_object* x_70; lean_dec(x_15); lean_dec(x_14); -x_69 = l_Array_empty___closed__1; -x_18 = x_69; -goto block_68; +x_70 = l_Array_empty___closed__1; +x_18 = x_70; +goto block_69; } else { -uint8_t x_70; -x_70 = lean_nat_dec_le(x_15, x_15); -if (x_70 == 0) +uint8_t x_71; +x_71 = lean_nat_dec_le(x_15, x_15); +if (x_71 == 0) { -lean_object* x_71; +lean_object* x_72; lean_dec(x_15); lean_dec(x_14); -x_71 = l_Array_empty___closed__1; -x_18 = x_71; -goto block_68; +x_72 = l_Array_empty___closed__1; +x_18 = x_72; +goto block_69; } else { -size_t x_72; size_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_72 = 0; -x_73 = lean_usize_of_nat(x_15); +size_t x_73; size_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_73 = 0; +x_74 = lean_usize_of_nat(x_15); lean_dec(x_15); -x_74 = l_Array_getEvenElems___rarg___closed__1; -x_75 = l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(x_14, x_72, x_73, x_74); +x_75 = l_Array_getEvenElems___rarg___closed__1; +x_76 = l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(x_14, x_73, x_74, x_75); lean_dec(x_14); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_18 = x_76; -goto block_68; +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec(x_76); +x_18 = x_77; +goto block_69; } } -block_68: +block_69: { lean_object* x_19; lean_object* x_20; x_19 = l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__1; @@ -28292,13 +27980,14 @@ goto block_57; } else { -size_t x_63; uint8_t x_64; +size_t x_63; lean_object* x_64; uint8_t x_65; x_63 = lean_usize_of_nat(x_58); lean_dec(x_58); -x_64 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10(x_45, x_50, x_45, x_63); -if (x_64 == 0) +x_64 = l_myMacro____x40_Init_Notation___hyg_2094____closed__2; +x_65 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10(x_64, x_45, x_50, x_45, x_63); +if (x_65 == 0) { -lean_object* x_65; +lean_object* x_66; lean_dec(x_50); lean_dec(x_48); lean_dec(x_22); @@ -28308,17 +27997,17 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_65 = lean_box(0); -x_51 = x_65; +x_66 = lean_box(0); +x_51 = x_66; goto block_57; } else { -lean_object* x_66; lean_object* x_67; -x_66 = lean_box(0); -x_67 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3(x_22, x_50, x_45, x_48, x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_67; lean_object* x_68; +x_67 = lean_box(0); +x_68 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3(x_22, x_50, x_45, x_48, x_67, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_48); -return x_67; +return x_68; } } } @@ -28451,34 +28140,34 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; x_5 = lean_unbox_usize(x_3); lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9(x_1, x_4, x_5); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9(x_1, x_2, x_5, x_6); +lean_dec(x_2); +x_8 = lean_box(x_7); +return x_8; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -size_t x_5; size_t x_6; size_t x_7; uint8_t x_8; lean_object* x_9; -x_5 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); +size_t x_6; size_t x_7; size_t x_8; uint8_t x_9; lean_object* x_10; +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); x_7 = lean_unbox_usize(x_4); lean_dec(x_4); -x_8 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10(x_5, x_2, x_6, x_7); -lean_dec(x_2); -x_9 = lean_box(x_8); -return x_9; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10(x_1, x_6, x_3, x_7, x_8); +lean_dec(x_3); +x_10 = lean_box(x_9); +return x_10; } } lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -28538,7 +28227,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_10021_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_10660_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -28917,167 +28606,155 @@ 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_3687____closed__1 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__1); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__2 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__2); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__3 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__3); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__4 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__4); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__5 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__5); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__6 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__6); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__7 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__7); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__8 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__8); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__9 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__9); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__10 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__10); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__11 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__11); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__12 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__12); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__13 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__13); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__14 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__14); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__15 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__15); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__16 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__16(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__16); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__17 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__17(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__17); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__18 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__18(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__18); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__19 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__19(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__19); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__20 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__20(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__20); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__21 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__21(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__21); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__22 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__22(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__22); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__23 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__23(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__23); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__24 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__24(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__24); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__25 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__25(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__25); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__26 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__26(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__26); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__27 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__27(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__27); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__28 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__28(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__28); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__29 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__29(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__29); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__30 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__30(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__30); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__31 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__31(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3687____closed__31); -l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1 = _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4147_(lean_io_mk_world()); +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_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__30 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__30(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__30); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__31 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__31(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3688____closed__31); +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()); 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_4152____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152____closed__2); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4152_(lean_io_mk_world()); +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()); 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_4157____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4157____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4157____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4157_(lean_io_mk_world()); +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()); 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_4162____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4162____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4162____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4162_(lean_io_mk_world()); +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()); 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_4167____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4167____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4167____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4167_(lean_io_mk_world()); +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()); 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_4172____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4172____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4172____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4172_(lean_io_mk_world()); +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()); 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_4177____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4177____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4177____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4177_(lean_io_mk_world()); +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()); 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_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); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182____closed__3); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4182_(lean_io_mk_world()); +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()); 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_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); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187____closed__3); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4187_(lean_io_mk_world()); +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()); 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_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()); +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()); 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_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); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197____closed__3); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4197_(lean_io_mk_world()); +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()); 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_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); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202____closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4202_(lean_io_mk_world()); +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()); 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_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()); +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()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Term_Quotation_BasicHeadInfo_kind___default = _init_l_Lean_Elab_Term_Quotation_BasicHeadInfo_kind___default(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_BasicHeadInfo_kind___default); -l_Lean_Elab_Term_Quotation_BasicHeadInfo_argPats___default = _init_l_Lean_Elab_Term_Quotation_BasicHeadInfo_argPats___default(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_BasicHeadInfo_argPats___default); -l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__1 = _init_l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__1); -l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__2 = _init_l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__2); -l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__3 = _init_l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__3); -l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo = _init_l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo); l_Lean_Elab_Term_Quotation_mkTuple___closed__1 = _init_l_Lean_Elab_Term_Quotation_mkTuple___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_mkTuple___closed__1); l_Lean_Elab_Term_Quotation_mkTuple___closed__2 = _init_l_Lean_Elab_Term_Quotation_mkTuple___closed__2(); @@ -29098,210 +28775,240 @@ l_Lean_Elab_Term_Quotation_mkTuple___closed__9 = _init_l_Lean_Elab_Term_Quotatio lean_mark_persistent(l_Lean_Elab_Term_Quotation_mkTuple___closed__9); l_Lean_Elab_Term_Quotation_mkTuple___closed__10 = _init_l_Lean_Elab_Term_Quotation_mkTuple___closed__10(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_mkTuple___closed__10); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___lambda__1___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__3); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__4); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__5); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__6); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__7); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__8); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__9); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__10); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__11 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__11); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__12); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__13); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__14 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__14); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__15 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__15); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__16 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__16); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__17); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__18 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__18(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__18); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__3); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__4); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__5); -l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__1 = _init_l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__1(); -lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__1); -l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__2 = _init_l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__2(); -lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2___closed__2); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__1(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__1); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__2 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__2(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__2); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__3 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__3(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__3); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__4 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__4(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__4); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__5 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__5(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__5); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__6 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__6(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__6); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11___closed__2); -l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__1 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__1(); -lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__1); -l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__2 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__2(); -lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__2); -l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__3 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__3(); -lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__3); -l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__4 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__4(); -lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__4); -l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__5 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__5(); -lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__5); -l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__6 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__6(); -lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__6); -l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__7 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__7(); -lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__7); -l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__8 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__8(); -lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__15___closed__8); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__3); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__4); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__1); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__2); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__3); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__4); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__5); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__6); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__7 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__7); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__8); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__9 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__9); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__10); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__11 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__11); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__12); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__13); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__14 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__14); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__15 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__15); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__16 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__16); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__17); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__18 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__18(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__18); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__19 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__19(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__19); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__20 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__20(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__20); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__21); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__22 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__22(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__22); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__23 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__23(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__23); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__24); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__25 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__25(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__25); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__26); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__27 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__27(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__27); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__28); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__29 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__29(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__29); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__30 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__30(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__30); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__31 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__31(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__31); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__32 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__32(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__32); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__33 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__33(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__33); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__34 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__34(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__34); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__35 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__35(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__35); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__36 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__36(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__36); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__37 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__37(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__37); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__38 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__38(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__38); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__39 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__39(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__39); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__40 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__40(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__40); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__41 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__41(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__41); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__42 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__42(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__42); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__43 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__43(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__43); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__44 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__44(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__44); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__45 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__45(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__9___closed__45); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__2); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__2); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__2 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__2(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__2); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__6 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__6(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__6); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__7 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__7(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__7); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__8 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__8(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__8); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__10 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__10(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__10); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11(); +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___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(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5(); +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__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__19___closed__19 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__19(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__19); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__20 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__20(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__20); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__21 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__21(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__21); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__22 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__22(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__22); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__23 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__23(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__23); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__24 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__24(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___closed__24); +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___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(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__4); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__6 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__6(); +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_compileStxMatch___lambda__2___boxed__const__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed__const__1(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed__const__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__2(); @@ -29359,7 +29066,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_10021_(lean_io_mk_world()); +res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_10660_(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/Quotation/Util.c b/stage0/stdlib/Lean/Elab/Quotation/Util.c index f74312a125..9a53273799 100644 --- a/stage0/stdlib/Lean/Elab/Quotation/Util.c +++ b/stage0/stdlib/Lean/Elab/Quotation/Util.c @@ -15,10 +15,12 @@ extern "C" { #endif uint8_t l_Lean_Syntax_isQuot(lean_object*); size_t l_USize_add(size_t, size_t); +lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__3; +extern lean_object* l_Lean_identKind___closed__2; extern lean_object* l_Array_empty___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -28,6 +30,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_getPatterns 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_Lean_Elab_Term_Quotation_getPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_getAntiquotationIds_go___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_getPatternVars___closed__5; lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__2; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -45,14 +48,18 @@ lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationI lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds_go___closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_2094____closed__2; lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds_go_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds_go___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_Quotation_getAntiquotationIds_go___closed__1; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getPatternsVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds_go___closed__2; uint8_t l_Lean_Syntax_isEscapedAntiquot(lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -468,25 +475,43 @@ static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__1( _start: { lean_object* x_1; -x_1 = lean_mk_string("unsupported pattern in syntax match"); +x_1 = lean_mk_string("namedPattern"); return x_1; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +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_Lean_Elab_Term_Quotation_getPatternVars___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__3() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("unsupported pattern in syntax match"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__2; +x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__3; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -499,35 +524,119 @@ uint8_t x_9; x_9 = l_Lean_Syntax_isQuot(x_1); if (x_9 == 0) { -uint8_t x_10; -x_10 = l_Lean_Syntax_isIdent(x_1); -if (x_10 == 0) +lean_object* x_10; uint8_t x_11; +x_10 = l_Lean_identKind___closed__2; +lean_inc(x_1); +x_11 = l_Lean_Syntax_isOfKind(x_1, x_10); +if (x_11 == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__3; -x_12 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds_go___spec__2(x_1, x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__2; +lean_inc(x_1); +x_13 = l_Lean_Syntax_isOfKind(x_1, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__5; +x_15 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds_go___spec__2(x_1, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_1); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_6); -lean_dec(x_2); -x_13 = l_Lean_mkOptionalNode___closed__2; -x_14 = lean_array_push(x_13, x_1); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_8); return x_15; } +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +lean_inc(x_17); +x_18 = l_Lean_Syntax_isOfKind(x_17, x_10); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_17); +x_19 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__5; +x_20 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds_go___spec__2(x_1, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_1); +return x_20; } else { -lean_object* x_16; -x_16 = l_Lean_Elab_Term_Quotation_getAntiquotationIds(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(2u); +x_22 = l_Lean_Syntax_getArg(x_1, x_21); lean_dec(x_1); -return x_16; +x_23 = l_Lean_Elab_Term_Quotation_getPatternVars(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_array_push(x_25, x_17); +lean_ctor_set(x_23, 0, x_26); +return x_23; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_23, 0); +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_23); +x_29 = lean_array_push(x_27, x_17); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_17); +x_31 = !lean_is_exclusive(x_23); +if (x_31 == 0) +{ +return x_23; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_23, 0); +x_33 = lean_ctor_get(x_23, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_23); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_6); +lean_dec(x_2); +x_35 = l_Lean_mkOptionalNode___closed__2; +x_36 = lean_array_push(x_35, x_1); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_8); +return x_37; +} +} +else +{ +lean_object* x_38; +x_38 = l_Lean_Elab_Term_Quotation_getAntiquotationIds(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_1); +return x_38; } } } @@ -713,6 +822,10 @@ l_Lean_Elab_Term_Quotation_getPatternVars___closed__2 = _init_l_Lean_Elab_Term_Q lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__2); l_Lean_Elab_Term_Quotation_getPatternVars___closed__3 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__3); +l_Lean_Elab_Term_Quotation_getPatternVars___closed__4 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__4); +l_Lean_Elab_Term_Quotation_getPatternVars___closed__5 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__5); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 1eb42be7ab..27ed6094d3 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Term -// Imports: Init Lean.ResolveName Lean.Util.Sorry Lean.Structure Lean.Meta.ExprDefEq Lean.Meta.AppBuilder Lean.Meta.SynthInstance Lean.Meta.CollectMVars Lean.Meta.Tactic.Util Lean.Hygiene Lean.Util.RecDepth Lean.Elab.Log Lean.Elab.Level Lean.Elab.Attributes +// Imports: Init Lean.ResolveName Lean.Util.Sorry Lean.Structure Lean.Meta.ExprDefEq Lean.Meta.AppBuilder Lean.Meta.SynthInstance Lean.Meta.CollectMVars Lean.Meta.Tactic.Util Lean.Hygiene Lean.Util.RecDepth Lean.Elab.Log Lean.Elab.Level Lean.Elab.Attributes Lean.Elab.AutoBound #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -49,6 +49,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___ lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabScientificLit___closed__2; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); +uint8_t l_Lean_Elab_getAutoBoundImplicitLocalOption(lean_object*); lean_object* l_Nat_foldM_loop___at_Lean_Elab_Term_mkFreshLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Term_addAutoBoundImplicits___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -58,7 +59,6 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp___boxed(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2; -lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_ReaderT_read___at_Lean_Elab_Term_instMonadLogTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__11; lean_object* l_Lean_stringToMessageData(lean_object*); @@ -90,7 +90,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry_match extern lean_object* l_term_x5b___x5d___closed__9; lean_object* l_Lean_Elab_Term_resolveName___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__3; -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__1; lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverload___spec__2(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -115,7 +114,6 @@ lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21_match__1___rarg(lean_object*, lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2; lean_object* l_Lean_Elab_Term_throwErrorIfErrors___closed__1; -lean_object* l_Lean_Elab_Term_isValidAutoBoundImplicitName_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_liftAttrM(lean_object*); lean_object* l_Lean_Elab_Term_throwErrorIfErrors___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getDeclName_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -128,6 +126,7 @@ extern lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit(lean_object*); extern lean_object* l_Lean_LocalContext_fvarIdToDecl___default___closed__1; lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Elab_isValidAutoBoundImplicitName(lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -138,7 +137,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1; lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* 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_initFn____x40_Lean_Elab_Term___hyg_1035____closed__4; lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); 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*); @@ -231,13 +229,13 @@ lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Ela lean_object* l_Lean_Meta_mkAppM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___boxed(lean_object*, lean_object*); -uint8_t l_Lean_Elab_Term_isValidAutoBoundImplicitName(lean_object*); 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_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; lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1; lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabResult___closed__1; @@ -280,6 +278,7 @@ lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__2; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__5; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Elab_Term_elabScientificLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__5; @@ -296,7 +295,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2___boxed( lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2; lean_object* l_Lean_Elab_Term_elabNumLit_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTypeWithAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__2; extern lean_object* l_Lean_levelZero; lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStrLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -358,7 +356,6 @@ lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object* lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe(lean_object*); lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__4; -lean_object* l_Lean_Elab_Term_isValidAutoBoundImplicitName___boxed(lean_object*); lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); @@ -410,6 +407,7 @@ lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___boxed(lean_object*, lean_ 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*); uint8_t l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7573____closed__1; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__1; lean_object* l_Lean_Elab_Term_mkTypeMismatchError___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isExprMVarAssigned___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -423,7 +421,6 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_L lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__1; lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3; -uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__3; lean_object* l_Lean_Meta_mkHasTypeButIsExpectedMsg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__2; @@ -440,7 +437,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda(lea lean_object* l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabQuotedName(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_liftAttrM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__4; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1; extern lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -493,7 +489,6 @@ lean_object* l_Lean_Elab_Term_assignLevelMVar(lean_object*, lean_object*, lean_o lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__5; lean_object* l_Lean_Elab_Term_resolveLocalName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_liftAttrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Char_isLower(uint32_t); lean_object* l_Lean_Elab_Term_levelMVarToParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__2; @@ -516,7 +511,6 @@ lean_object* l_Lean_Elab_getMacros(lean_object*, lean_object*, lean_object*, lea lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_forInUnsafe_loop___at_Lean_pushScope___spec__1___rarg___lambda__1___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_getAutoBoundImplicitLocalOption___boxed(lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4(lean_object*); extern lean_object* l_IO_instInhabitedError___closed__1; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -525,14 +519,13 @@ lean_object* l_Lean_Elab_Term_mkTypeMismatchError_match__1___rarg(lean_object*, lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabOptLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427_(lean_object*); lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*); lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__4; lean_object* l_Lean_Elab_Term_getLetRecsToLift(lean_object*); lean_object* l_Lean_Elab_Term_liftLevelM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035_(lean_object*); lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_797_(lean_object*); lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); @@ -560,7 +553,6 @@ lean_object* l_Lean_Elab_Term_instInhabitedTermElabResult; lean_object* l_Lean_Elab_Term_resolveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__2; lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__1; lean_object* l_Lean_Elab_Term_elabProp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLiftTMetaMTermElabM___rarg___boxed(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*); @@ -580,10 +572,8 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkFreshTypeMVarFor_mat extern lean_object* l_Lean_numLitKind___closed__2; lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_printTraces___at_Lean_Core_instMetaEvalCoreM___spec__1(lean_object*, lean_object*, lean_object*); -uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); -extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3; lean_object* l_Lean_Elab_Term_getMessageLog___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -607,7 +597,6 @@ lean_object* l_Lean_Elab_Term_elabProp(lean_object*, lean_object*, lean_object*, lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__5; lean_object* l_Lean_LocalDecl_toExpr(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__5; extern lean_object* l_Lean_firstFrontendMacroScope; lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3; lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -672,7 +661,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__3; size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__2; @@ -681,7 +669,6 @@ lean_object* l_Lean_Elab_Term_mkConst___closed__3; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__4; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__2(lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7640____closed__1; extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3___rarg(lean_object*); @@ -796,7 +783,6 @@ extern lean_object* l_Lean_KVMap_empty; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_isGreek(uint32_t); uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Lean_Elab_Term_registerSyntheticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); @@ -850,7 +836,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1___boxed(l extern lean_object* l_Lean_instToMessageDataOptionExpr___closed__3; lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__6; lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_isValidAutoBoundImplicitName_match__1(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__1; lean_object* l_Lean_Elab_Term_mkConst___closed__1; lean_object* l_Lean_Elab_Term_resolveLocalName_loop_match__1(lean_object*); @@ -900,6 +885,7 @@ lean_object* l_List_foldlM___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___sp lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInst_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_12387____closed__13; @@ -911,6 +897,7 @@ lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lea lean_object* l_Lean_Elab_Term_elabDoubleQuotedName_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__2; extern lean_object* l_Lean_instInhabitedMessageData___closed__1; +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -932,9 +919,9 @@ lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_T lean_object* l_Lean_Elab_Term_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_evalNat_visit___closed__2; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859____closed__1; extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__1; -uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_getAutoBoundImplicitLocalOption(lean_object*); lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -947,6 +934,7 @@ lean_object* l_Lean_Elab_Term_getLetRecsToLift___boxed(lean_object*); extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Exception___hyg_3____closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MonadEnv_0__Lean_mkAuxNameAux(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__4; 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_throwTypeMismatchError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__5; @@ -962,7 +950,6 @@ lean_object* l_Lean_Elab_Term_elabSyntheticHole(lean_object*, lean_object*, lean lean_object* l_Lean_Elab_Term_TermElabM_toIO_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkTacticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLevelNames___boxed(lean_object*); -lean_object* lean_string_length(lean_object*); lean_object* l_Lean_Elab_Term_setMessageLog___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; @@ -987,7 +974,7 @@ lean_object* l_IO_println___at_Lean_instEval___spec__1(lean_object*, lean_object lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos_match__2___rarg(lean_object*, lean_object*); 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_7640_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7573_(lean_object*); 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*); @@ -1093,7 +1080,6 @@ lean_object* lean_uint32_to_nat(uint32_t); lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; lean_object* l_Lean_Elab_Term_elabScientificLit_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabByTactic_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__3; extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2; lean_object* l_Lean_Elab_Term_elabTypeWithAutoBoundImplicit(lean_object*); lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1129,7 +1115,6 @@ lean_object* l_Lean_Elab_Term_elabRawNatLit___boxed(lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_isMonadApp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__7; lean_object* l_Lean_Elab_Term_elabTermWithoutImplicitLambdas___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_initFn____x40_Lean_Elab_Term___hyg_5879____closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__2; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1157,7 +1142,6 @@ lean_object* l_Lean_Elab_Term_elabNumLit(lean_object*, lean_object*, lean_object uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabCharLit_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__1; uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2(lean_object*, lean_object*); @@ -2507,7 +2491,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__2; x_2 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__3; -x_3 = lean_unsigned_to_nat(224u); +x_3 = lean_unsigned_to_nat(225u); x_4 = lean_unsigned_to_nat(14u); 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); @@ -4388,83 +4372,13 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___rarg), 8, return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("autoBoundImplicitLocal"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Unbound local variables in declaration headers become implicit arguments if they are a lower case or greek letter. For example, `def f (x : Vector α n) : Vector α n :=` automatically introduces the implicit variables {α n}"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____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_Data_Options___hyg_487____closed__3; -x_2 = l_Lean_instInhabitedParserDescr___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____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* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__4; -x_4 = lean_register_option(x_2, x_3, x_1); -return x_4; -} -} -uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_getAutoBoundImplicitLocalOption(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__2; -x_3 = 1; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_getAutoBoundImplicitLocalOption___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_getAutoBoundImplicitLocalOption(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; x_10 = lean_ctor_get(x_7, 0); lean_inc(x_10); -x_11 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_getAutoBoundImplicitLocalOption(x_10); +x_11 = l_Lean_Elab_getAutoBoundImplicitLocalOption(x_10); lean_dec(x_10); if (x_11 == 0) { @@ -9401,7 +9315,7 @@ x_1 = lean_unsigned_to_nat(16u); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__1() { _start: { lean_object* x_1; @@ -9409,17 +9323,17 @@ x_1 = lean_mk_string("maxCoeSize"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -9429,7 +9343,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__4() { _start: { lean_object* x_1; @@ -9437,13 +9351,13 @@ x_1 = lean_mk_string("maximum number of instances used to construct an automatic return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____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_initFn____x40_Lean_Elab_Term___hyg_2447____closed__3; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__3; x_2 = l_Lean_instInhabitedParserDescr___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__4; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____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); @@ -9451,12 +9365,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__5; x_4 = lean_register_option(x_2, x_3, x_1); return x_4; } @@ -9465,7 +9379,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_getCoeMaxSize(lean_obj _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__2; x_3 = l_Lean_Elab_Term_maxCoeSizeDefault; x_4 = l_Lean_KVMap_getNat(x_1, x_2, x_3); return x_4; @@ -28318,7 +28232,7 @@ lean_dec(x_3); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -28328,11 +28242,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -28503,7 +28417,7 @@ lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lea x_97 = lean_ctor_get(x_91, 1); lean_inc(x_97); lean_dec(x_91); -x_98 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879____closed__1; +x_98 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859____closed__1; x_99 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_98, x_2, x_3, x_4, x_5, x_6, x_7, x_97); x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); @@ -28545,7 +28459,7 @@ lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean x_53 = lean_ctor_get(x_47, 1); lean_inc(x_53); lean_dec(x_47); -x_54 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879____closed__1; +x_54 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859____closed__1; x_55 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_53); x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); @@ -28626,7 +28540,7 @@ x_41 = l_Lean_KernelException_toMessageData___closed__15; x_42 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_42, 0, x_40); lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879____closed__1; +x_43 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859____closed__1; x_44 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_43, x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_36); x_45 = lean_ctor_get(x_44, 1); lean_inc(x_45); @@ -28688,7 +28602,7 @@ x_79 = l_Lean_KernelException_toMessageData___closed__15; x_80 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879____closed__1; +x_81 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859____closed__1; x_82 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_81, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_61); x_83 = lean_ctor_get(x_82, 1); lean_inc(x_83); @@ -31426,127 +31340,6 @@ lean_dec(x_4); return x_10; } } -lean_object* l_Lean_Elab_Term_isValidAutoBoundImplicitName_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_usize(x_1, 2); -lean_dec(x_1); -x_7 = lean_box_usize(x_6); -x_8 = lean_apply_2(x_2, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_4); -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -else -{ -lean_object* x_10; -lean_dec(x_2); -x_10 = lean_apply_1(x_3, x_1); -return x_10; -} -} -} -lean_object* l_Lean_Elab_Term_isValidAutoBoundImplicitName_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_isValidAutoBoundImplicitName_match__1___rarg), 3, 0); -return x_2; -} -} -uint8_t l_Lean_Elab_Term_isValidAutoBoundImplicitName(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_erase_macro_scopes(x_1); -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_3; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_3); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_4 = lean_ctor_get(x_2, 1); -lean_inc(x_4); -lean_dec(x_2); -x_5 = lean_string_length(x_4); -x_6 = lean_unsigned_to_nat(1u); -x_7 = lean_nat_dec_eq(x_5, x_6); -lean_dec(x_5); -if (x_7 == 0) -{ -uint8_t x_8; -lean_dec(x_4); -x_8 = 0; -return x_8; -} -else -{ -lean_object* x_9; uint32_t x_10; uint8_t x_11; -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_string_utf8_get(x_4, x_9); -lean_dec(x_4); -x_11 = l_Lean_isGreek(x_10); -if (x_11 == 0) -{ -uint8_t x_12; -x_12 = l_Char_isLower(x_10); -return x_12; -} -else -{ -uint8_t x_13; -x_13 = 1; -return x_13; -} -} -} -else -{ -uint8_t x_14; -lean_dec(x_3); -lean_dec(x_2); -x_14 = 0; -return x_14; -} -} -else -{ -uint8_t x_15; -lean_dec(x_2); -x_15 = 0; -return x_15; -} -} -} -lean_object* l_Lean_Elab_Term_isValidAutoBoundImplicitName___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_isValidAutoBoundImplicitName(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} lean_object* l_Lean_Elab_Term_resolveName_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -31790,7 +31583,7 @@ else { uint8_t x_37; lean_inc(x_1); -x_37 = l_Lean_Elab_Term_isValidAutoBoundImplicitName(x_1); +x_37 = l_Lean_Elab_isValidAutoBoundImplicitName(x_1); if (x_37 == 0) { lean_object* x_38; @@ -37331,7 +37124,7 @@ x_8 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg(x_1, x_2, x_3, x_4, x_7, x_6 return x_8; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7640____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7573____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -37341,7 +37134,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7640_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7573_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -37353,7 +37146,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7640____closed__1; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7573____closed__1; x_6 = l_Lean_registerTraceClass(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -37426,6 +37219,7 @@ lean_object* initialize_Lean_Util_RecDepth(lean_object*); lean_object* initialize_Lean_Elab_Log(lean_object*); lean_object* initialize_Lean_Elab_Level(lean_object*); lean_object* initialize_Lean_Elab_Attributes(lean_object*); +lean_object* initialize_Lean_Elab_AutoBound(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Elab_Term(lean_object* w) { lean_object * res; @@ -37473,6 +37267,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Attributes(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_AutoBound(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Term_Context_declName_x3f___default = _init_l_Lean_Elab_Term_Context_declName_x3f___default(); lean_mark_persistent(l_Lean_Elab_Term_Context_declName_x3f___default); l_Lean_Elab_Term_Context_macroStack___default = _init_l_Lean_Elab_Term_Context_macroStack___default(); @@ -37571,17 +37368,6 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_termElabAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_termElabAttribute); lean_dec_ref(res); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035____closed__4); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1035_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l_Lean_Elab_Term_throwErrorIfErrors___closed__1 = _init_l_Lean_Elab_Term_throwErrorIfErrors___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_throwErrorIfErrors___closed__1); l_Lean_Elab_Term_throwErrorIfErrors___closed__2 = _init_l_Lean_Elab_Term_throwErrorIfErrors___closed__2(); @@ -37638,17 +37424,17 @@ l_Lean_Elab_Term_synthesizeInstMVarCore___closed__7 = _init_l_Lean_Elab_Term_syn lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__7); l_Lean_Elab_Term_maxCoeSizeDefault = _init_l_Lean_Elab_Term_maxCoeSizeDefault(); lean_mark_persistent(l_Lean_Elab_Term_maxCoeSizeDefault); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447____closed__5); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2447_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427____closed__5); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2427_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_tryCoeThunk_x3f_match__1___rarg___closed__1 = _init_l_Lean_Elab_Term_tryCoeThunk_x3f_match__1___rarg___closed__1(); @@ -37765,9 +37551,9 @@ l_Lean_Elab_Term_mkAuxName___closed__2 = _init_l_Lean_Elab_Term_mkAuxName___clos lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__2); l_Lean_Elab_Term_mkAuxName___closed__3 = _init_l_Lean_Elab_Term_mkAuxName___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879____closed__1); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5879_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859____closed__1); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5859_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_isLetRecAuxMVar___closed__1 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__1(); @@ -37975,9 +37761,9 @@ l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__4 = _init_l_Lean_Elab_Te lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__4); l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__5 = _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__5(); lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7640____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7640____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7640____closed__1); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7640_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7573____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7573____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7573____closed__1); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7573_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index 5f904a644a..675cc4fddf 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -72,7 +72,6 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkHEqTransImp_match__ lean_object* l_Lean_Meta_mkEqRec___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__2; -lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM___rarg___lambda__1___closed__4; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux___closed__2; @@ -140,7 +139,6 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqSymmImp___closed_ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkDecide(lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp_match__5(lean_object*); -lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__5; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp_match__4(lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrArgImp___closed__5; @@ -163,6 +161,7 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrArgImp_match__ extern lean_object* l_Lean_instQuoteBool___closed__5; lean_object* l_Lean_Meta_mkArbitrary___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkListLitImp_match__1(lean_object*); +extern lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrFunImp_match__1(lean_object*); lean_object* l_Lean_Meta_mkAppM___at_Lean_Meta_mkDecideProof___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3125,23 +3124,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("\nis not definitionally equal to"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__4; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp(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: { @@ -3226,7 +3208,7 @@ x_32 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__3; x_33 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); -x_34 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__5; +x_34 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4; x_35 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); @@ -13081,10 +13063,6 @@ l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__2 = _init_l lean_mark_persistent(l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__2); l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__3 = _init_l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__3(); lean_mark_persistent(l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__3); -l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__4 = _init_l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__4(); -lean_mark_persistent(l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__4); -l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__5 = _init_l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__5(); -lean_mark_persistent(l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__5); l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrArgImp___closed__1 = _init_l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrArgImp___closed__1(); lean_mark_persistent(l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrArgImp___closed__1); l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrArgImp___closed__2 = _init_l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrArgImp___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/SynthInstance.c b/stage0/stdlib/Lean/Meta/SynthInstance.c index b307862571..9cebb058fe 100644 --- a/stage0/stdlib/Lean/Meta/SynthInstance.c +++ b/stage0/stdlib/Lean/Meta/SynthInstance.c @@ -50,6 +50,7 @@ lean_object* l_Lean_Meta_SynthInstance_State_resumeStack___default; lean_object* l_Lean_Meta_synthInstance_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_tryAnswer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Option_toLOption___rarg(lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__6; lean_object* l_Lean_Meta_SynthInstance_getSubgoals_match__1(lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -65,6 +66,7 @@ lean_object* l_Lean_Meta_SynthInstance_addAnswer___closed__1; lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMCtx___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___spec__1(lean_object*); lean_object* l_Array_insertionSort_swapLoop___at_Lean_Meta_SynthInstance_getInstances___spec__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Meta_getGlobalInstancesIndex___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_instInhabitedSynthM___rarg(lean_object*); @@ -85,7 +87,6 @@ lean_object* l_Lean_Meta_SynthInstance_consume_match__1(lean_object*); lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_SynthInstance_isNewAnswer___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_List_mapM___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__9(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); @@ -170,14 +171,17 @@ lean_object* l_Lean_Meta_SynthInstance_resume_match__2(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_SynthInstance_isNewAnswer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Meta_SynthInstance_getTop___spec__1(lean_object*); +lean_object* l_Lean_Expr_setOption___at_Lean_Expr_setPPExplicit___spec__1(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getEntry___closed__4; lean_object* l_Lean_Meta_SynthInstance_getResult___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_wakeUp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_5_(lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__7; lean_object* l_Lean_Meta_SynthInstance_tryResolveCore_match__1(lean_object*); uint8_t l_Lean_Meta_SynthInstance_Waiter_isRoot(lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4; lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); @@ -298,11 +302,12 @@ lean_object* l_Lean_Meta_SynthInstance_resume___closed__3; lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__8; lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___rarg(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_findEntry_x3f___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3941_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4011_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314_(lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_lmap___default___closed__1; lean_object* l_Lean_Meta_SynthInstance_getNextToResume___boxed(lean_object*); @@ -311,6 +316,7 @@ lean_object* l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___s lean_object* l_Lean_Meta_SynthInstance_resume___closed__7; lean_object* l_Lean_KVMap_getNat(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4___closed__6; lean_object* l_Lean_Meta_SynthInstance_tryResolveCore_match__1___rarg(lean_object*, lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); @@ -347,6 +353,7 @@ lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object* l_Lean_Meta_SynthInstance_consume_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__7(lean_object*, lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4___closed__3; lean_object* l_Lean_Meta_SynthInstance_State_tableEntries___default; lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_hasAssignableMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -381,11 +388,11 @@ lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_syn lean_object* l_Lean_Meta_SynthInstance_resume_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_toArray___rarg(lean_object*); +extern lean_object* l_Lean_getSanitizeNames___closed__2; lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_5____closed__3; lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_Waiter_isRoot___boxed(lean_object*); extern lean_object* l_Lean_Meta_synthPendingRef; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926____closed__1; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__4; 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*); @@ -397,6 +404,7 @@ lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__1; lean_object* l_Lean_Meta_SynthInstance_tryAnswer_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_getResult___boxed(lean_object*); lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4___closed__5; lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_getMaxSize___boxed(lean_object*); lean_object* l_Lean_Meta_isExprMVarAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -508,6 +516,7 @@ lean_object* l_Lean_Meta_synthInstance_x3f___closed__2; lean_object* l_Lean_Meta_SynthInstance_instInhabitedAnswer; lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__3; lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__5; lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Meta_getConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normExpr(lean_object*, lean_object*, lean_object*); @@ -522,6 +531,7 @@ lean_object* lean_expr_update_const(lean_object*, lean_object*); lean_object* l_Lean_Meta_synthInstance_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_resume___closed__2; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1; lean_object* l_Lean_Meta_SynthInstance_generate___closed__4; lean_object* l_Lean_Meta_SynthInstance_main___closed__1; lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__3; @@ -17512,7 +17522,7 @@ static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__1( _start: { lean_object* x_1; -x_1 = lean_mk_string("FOUND result "); +x_1 = lean_mk_string("Failed has assignable mvar "); return x_1; } } @@ -17529,15 +17539,50 @@ static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__3( _start: { lean_object* x_1; -x_1 = lean_mk_string(" ==> "); +x_1 = lean_mk_string("all"); return x_1; } } static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("FOUND result "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__6() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__3; +x_1 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" ==> "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -17545,46 +17590,46 @@ return x_2; lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; uint8_t x_73; lean_object* x_74; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_87 = lean_st_ref_get(x_7, x_8); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_88, 3); -lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_ctor_get_uint8(x_89, sizeof(void*)*1); -lean_dec(x_89); -if (x_90 == 0) +lean_object* x_9; uint8_t x_102; lean_object* x_103; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_116 = lean_st_ref_get(x_7, x_8); +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_117, 3); +lean_inc(x_118); +lean_dec(x_117); +x_119 = lean_ctor_get_uint8(x_118, sizeof(void*)*1); +lean_dec(x_118); +if (x_119 == 0) { -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_87, 1); -lean_inc(x_91); -lean_dec(x_87); -x_92 = 0; -x_73 = x_92; -x_74 = x_91; -goto block_86; +lean_object* x_120; uint8_t x_121; +x_120 = lean_ctor_get(x_116, 1); +lean_inc(x_120); +lean_dec(x_116); +x_121 = 0; +x_102 = x_121; +x_103 = x_120; +goto block_115; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_93 = lean_ctor_get(x_87, 1); -lean_inc(x_93); -lean_dec(x_87); -x_94 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_95 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_94, x_4, x_5, x_6, x_7, x_93); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_98 = lean_unbox(x_96); -lean_dec(x_96); -x_73 = x_98; -x_74 = x_97; -goto block_86; +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_122 = lean_ctor_get(x_116, 1); +lean_inc(x_122); +lean_dec(x_116); +x_123 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_124 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_123, x_4, x_5, x_6, x_7, x_122); +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = lean_unbox(x_125); +lean_dec(x_125); +x_102 = x_127; +x_103 = x_126; +goto block_115; } -block_72: +block_101: { lean_object* x_10; lean_inc(x_7); @@ -17629,7 +17674,7 @@ return x_17; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_45; lean_object* x_46; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_74; lean_object* x_75; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; x_18 = lean_ctor_get(x_10, 1); lean_inc(x_18); lean_dec(x_10); @@ -17642,45 +17687,45 @@ if (lean_is_exclusive(x_11)) { lean_dec_ref(x_11); x_20 = lean_box(0); } -x_56 = lean_st_ref_get(x_7, x_18); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_57, 3); -lean_inc(x_58); -lean_dec(x_57); -x_59 = lean_ctor_get_uint8(x_58, sizeof(void*)*1); -lean_dec(x_58); -if (x_59 == 0) +x_85 = lean_st_ref_get(x_7, x_18); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_86, 3); +lean_inc(x_87); +lean_dec(x_86); +x_88 = lean_ctor_get_uint8(x_87, sizeof(void*)*1); +lean_dec(x_87); +if (x_88 == 0) { -lean_object* x_60; uint8_t x_61; -x_60 = lean_ctor_get(x_56, 1); -lean_inc(x_60); -lean_dec(x_56); -x_61 = 0; -x_45 = x_61; -x_46 = x_60; -goto block_55; +lean_object* x_89; uint8_t x_90; +x_89 = lean_ctor_get(x_85, 1); +lean_inc(x_89); +lean_dec(x_85); +x_90 = 0; +x_74 = x_90; +x_75 = x_89; +goto block_84; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_62 = lean_ctor_get(x_56, 1); -lean_inc(x_62); -lean_dec(x_56); -x_63 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_64 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_63, x_4, x_5, x_6, x_7, x_62); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_unbox(x_65); -lean_dec(x_65); -x_45 = x_67; -x_46 = x_66; -goto block_55; +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_91 = lean_ctor_get(x_85, 1); +lean_inc(x_91); +lean_dec(x_85); +x_92 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_93 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_92, x_4, x_5, x_6, x_7, x_91); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = lean_unbox(x_94); +lean_dec(x_94); +x_74 = x_96; +x_75 = x_95; +goto block_84; } -block_44: +block_73: { lean_object* x_22; lean_inc(x_7); @@ -17690,210 +17735,303 @@ lean_inc(x_4); x_22 = l_Lean_Meta_instantiateMVars(x_19, x_4, x_5, x_6, x_7, x_21); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_47; lean_object* x_48; uint8_t x_49; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Meta_hasAssignableMVar(x_23, x_4, x_5, x_6, x_7, x_24); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_25 = x_22; +} else { + lean_dec_ref(x_22); + x_25 = lean_box(0); +} +x_47 = l_Lean_Meta_hasAssignableMVar(x_23, x_4, x_5, x_6, x_7, x_24); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_unbox(x_48); +lean_dec(x_48); +if (x_49 == 0) +{ +uint8_t x_50; +lean_dec(x_25); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_unbox(x_26); -lean_dec(x_26); -if (x_27 == 0) +x_50 = !lean_is_exclusive(x_47); +if (x_50 == 0) { -uint8_t x_28; -x_28 = !lean_is_exclusive(x_25); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_25, 0); -lean_dec(x_29); +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_47, 0); +lean_dec(x_51); if (lean_is_scalar(x_20)) { - x_30 = lean_alloc_ctor(1, 1, 0); + x_52 = lean_alloc_ctor(1, 1, 0); } else { - x_30 = x_20; + x_52 = x_20; } -lean_ctor_set(x_30, 0, x_23); -lean_ctor_set(x_25, 0, x_30); -return x_25; +lean_ctor_set(x_52, 0, x_23); +lean_ctor_set(x_47, 0, x_52); +return x_47; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_25, 1); -lean_inc(x_31); -lean_dec(x_25); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_47, 1); +lean_inc(x_53); +lean_dec(x_47); if (lean_is_scalar(x_20)) { - x_32 = lean_alloc_ctor(1, 1, 0); + x_54 = lean_alloc_ctor(1, 1, 0); } else { - x_32 = x_20; + x_54 = x_20; } -lean_ctor_set(x_32, 0, x_23); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -return x_33; +lean_ctor_set(x_54, 0, x_23); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +return x_55; } } else { -uint8_t x_34; -lean_dec(x_23); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_dec(x_20); -x_34 = !lean_is_exclusive(x_25); -if (x_34 == 0) +x_56 = lean_ctor_get(x_47, 1); +lean_inc(x_56); +lean_dec(x_47); +x_57 = lean_st_ref_get(x_7, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_58, 3); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get_uint8(x_59, sizeof(void*)*1); +lean_dec(x_59); +if (x_60 == 0) { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_25, 0); -lean_dec(x_35); -x_36 = lean_box(0); -lean_ctor_set(x_25, 0, x_36); -return x_25; +lean_object* x_61; uint8_t x_62; +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +lean_dec(x_57); +x_62 = 0; +x_26 = x_62; +x_27 = x_61; +goto block_46; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_25, 1); -lean_inc(x_37); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_63 = lean_ctor_get(x_57, 1); +lean_inc(x_63); +lean_dec(x_57); +x_64 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_65 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_64, x_4, x_5, x_6, x_7, x_63); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_unbox(x_66); +lean_dec(x_66); +x_26 = x_68; +x_27 = x_67; +goto block_46; +} +} +block_46: +{ +if (x_26 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_23); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_28 = lean_box(0); +if (lean_is_scalar(x_25)) { + x_29 = lean_alloc_ctor(0, 2, 0); +} else { + x_29 = x_25; +} +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +return x_29; +} +else +{ +lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_dec(x_25); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); +x_30 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__4; +x_31 = 1; +x_32 = l_Lean_Expr_setOption___at_Lean_Expr_setPPExplicit___spec__1(x_23, x_30, x_31); +x_33 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__2; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = l_Lean_KernelException_toMessageData___closed__15; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_39 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_38, x_37, x_4, x_5, x_6, x_7, x_27); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_39, 0); +lean_dec(x_41); +x_42 = lean_box(0); +lean_ctor_set(x_39, 0, x_42); return x_39; } +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_39, 1); +lean_inc(x_43); +lean_dec(x_39); +x_44 = lean_box(0); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +return x_45; +} +} } } else { -uint8_t x_40; +uint8_t x_69; lean_dec(x_20); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_40 = !lean_is_exclusive(x_22); -if (x_40 == 0) +x_69 = !lean_is_exclusive(x_22); +if (x_69 == 0) { return x_22; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_22, 0); -x_42 = lean_ctor_get(x_22, 1); -lean_inc(x_42); -lean_inc(x_41); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_22, 0); +x_71 = lean_ctor_get(x_22, 1); +lean_inc(x_71); +lean_inc(x_70); lean_dec(x_22); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } -block_55: +block_84: { -if (x_45 == 0) +if (x_74 == 0) { -x_21 = x_46; -goto block_44; +x_21 = x_75; +goto block_73; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_inc(x_19); -x_47 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_47, 0, x_19); -x_48 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__2; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = l_Lean_KernelException_toMessageData___closed__15; -x_51 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -x_52 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_53 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_52, x_51, x_4, x_5, x_6, x_7, x_46); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -lean_dec(x_53); -x_21 = x_54; -goto block_44; +x_76 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_76, 0, x_19); +x_77 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__6; +x_78 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_76); +x_79 = l_Lean_KernelException_toMessageData___closed__15; +x_80 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_82 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_81, x_80, x_4, x_5, x_6, x_7, x_75); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_21 = x_83; +goto block_73; } } } } else { -uint8_t x_68; +uint8_t x_97; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_68 = !lean_is_exclusive(x_10); -if (x_68 == 0) +x_97 = !lean_is_exclusive(x_10); +if (x_97 == 0) { return x_10; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_10, 0); -x_70 = lean_ctor_get(x_10, 1); -lean_inc(x_70); -lean_inc(x_69); +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_10, 0); +x_99 = lean_ctor_get(x_10, 1); +lean_inc(x_99); +lean_inc(x_98); lean_dec(x_10); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } } -block_86: +block_115: { -if (x_73 == 0) +if (x_102 == 0) { lean_dec(x_2); -x_9 = x_74; -goto block_72; +x_9 = x_103; +goto block_101; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_75 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_75, 0, x_2); -x_76 = l_Lean_KernelException_toMessageData___closed__15; -x_77 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__4; -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_104 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_104, 0, x_2); +x_105 = l_Lean_KernelException_toMessageData___closed__15; +x_106 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__8; +x_108 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); lean_inc(x_3); -x_80 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_80, 0, x_3); -x_81 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_76); -x_83 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_84 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_83, x_82, x_4, x_5, x_6, x_7, x_74); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_9 = x_85; -goto block_72; +x_109 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_109, 0, x_3); +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_105); +x_112 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_113 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_112, x_111, x_4, x_5, x_6, x_7, x_103); +x_114 = lean_ctor_get(x_113, 1); +lean_inc(x_114); +lean_dec(x_113); +x_9 = x_114; +goto block_101; } } } @@ -18082,7 +18220,7 @@ static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__1( _start: { lean_object* x_1; -x_1 = lean_mk_string("result "); +x_1 = lean_mk_string("result type"); return x_1; } } @@ -18095,43 +18233,77 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("\nis not definitionally equal to"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("result "); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_444; lean_object* x_445; -x_444 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_getMaxSize(x_3); -x_445 = l_Lean_Meta_getConfig(x_4, x_5, x_6, x_7, x_8); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_572; lean_object* x_573; +x_572 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_getMaxSize(x_3); +x_573 = l_Lean_Meta_getConfig(x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_2) == 0) { -lean_object* x_446; lean_object* x_447; -x_446 = lean_ctor_get(x_445, 0); -lean_inc(x_446); -x_447 = lean_ctor_get(x_445, 1); -lean_inc(x_447); -lean_dec(x_445); -x_9 = x_444; -x_10 = x_446; -x_11 = x_447; -goto block_443; +lean_object* x_574; lean_object* x_575; +x_574 = lean_ctor_get(x_573, 0); +lean_inc(x_574); +x_575 = lean_ctor_get(x_573, 1); +lean_inc(x_575); +lean_dec(x_573); +x_9 = x_572; +x_10 = x_574; +x_11 = x_575; +goto block_571; } else { -lean_object* x_448; lean_object* x_449; lean_object* x_450; -lean_dec(x_444); -x_448 = lean_ctor_get(x_2, 0); -lean_inc(x_448); +lean_object* x_576; lean_object* x_577; lean_object* x_578; +lean_dec(x_572); +x_576 = lean_ctor_get(x_2, 0); +lean_inc(x_576); lean_dec(x_2); -x_449 = lean_ctor_get(x_445, 0); -lean_inc(x_449); -x_450 = lean_ctor_get(x_445, 1); -lean_inc(x_450); -lean_dec(x_445); -x_9 = x_448; -x_10 = x_449; -x_11 = x_450; -goto block_443; +x_577 = lean_ctor_get(x_573, 0); +lean_inc(x_577); +x_578 = lean_ctor_get(x_573, 1); +lean_inc(x_578); +lean_dec(x_573); +x_9 = x_576; +x_10 = x_577; +x_11 = x_578; +goto block_571; } -block_443: +block_571: { uint8_t x_12; x_12 = !lean_is_exclusive(x_4); @@ -18260,7 +18432,7 @@ return x_47; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_89; lean_object* x_90; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_121; lean_object* x_122; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; x_48 = lean_ctor_get(x_39, 1); lean_inc(x_48); lean_dec(x_39); @@ -18273,44 +18445,44 @@ if (lean_is_exclusive(x_40)) { lean_dec_ref(x_40); x_50 = lean_box(0); } -x_100 = lean_st_ref_get(x_7, x_48); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_101, 3); -lean_inc(x_102); -lean_dec(x_101); -x_103 = lean_ctor_get_uint8(x_102, sizeof(void*)*1); -lean_dec(x_102); -if (x_103 == 0) +x_132 = lean_st_ref_get(x_7, x_48); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_133, 3); +lean_inc(x_134); +lean_dec(x_133); +x_135 = lean_ctor_get_uint8(x_134, sizeof(void*)*1); +lean_dec(x_134); +if (x_135 == 0) { -lean_object* x_104; -x_104 = lean_ctor_get(x_100, 1); -lean_inc(x_104); -lean_dec(x_100); -x_89 = x_18; -x_90 = x_104; -goto block_99; +lean_object* x_136; +x_136 = lean_ctor_get(x_132, 1); +lean_inc(x_136); +lean_dec(x_132); +x_121 = x_18; +x_122 = x_136; +goto block_131; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_105 = lean_ctor_get(x_100, 1); -lean_inc(x_105); -lean_dec(x_100); -x_106 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_107 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_106, x_4, x_5, x_6, x_7, x_105); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_unbox(x_108); -lean_dec(x_108); -x_89 = x_110; -x_90 = x_109; -goto block_99; +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +x_137 = lean_ctor_get(x_132, 1); +lean_inc(x_137); +lean_dec(x_132); +x_138 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_139 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_138, x_4, x_5, x_6, x_7, x_137); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec(x_139); +x_142 = lean_unbox(x_140); +lean_dec(x_140); +x_121 = x_142; +x_122 = x_141; +goto block_131; } -block_88: +block_120: { lean_object* x_52; lean_inc(x_7); @@ -18321,143 +18493,159 @@ lean_inc(x_49); x_52 = l_Lean_Meta_inferType(x_49, x_4, x_5, x_6, x_7, x_51); if (lean_obj_tag(x_52) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_82; lean_object* x_83; x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); lean_dec(x_52); -x_55 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_55, 0, x_10); -lean_ctor_set(x_55, 1, x_15); -lean_ctor_set(x_55, 2, x_16); +x_82 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_82, 0, x_10); +lean_ctor_set(x_82, 1, x_15); +lean_ctor_set(x_82, 2, x_16); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_53); lean_inc(x_25); -x_56 = l_Lean_Meta_isExprDefEq(x_25, x_53, x_55, x_5, x_6, x_7, x_54); -if (lean_obj_tag(x_56) == 0) +x_83 = l_Lean_Meta_isExprDefEq(x_25, x_53, x_82, x_5, x_6, x_7, x_54); +if (lean_obj_tag(x_83) == 0) { -lean_object* x_57; uint8_t x_58; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_unbox(x_57); -lean_dec(x_57); -if (x_58 == 0) +lean_object* x_84; uint8_t x_85; +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_unbox(x_84); +lean_dec(x_84); +if (x_85 == 0) { -lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_dec(x_50); lean_dec(x_49); -x_59 = lean_ctor_get(x_56, 1); -lean_inc(x_59); -lean_dec(x_56); -x_60 = lean_box(0); -x_61 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_25, x_60, x_4, x_5, x_6, x_7, x_59); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) +x_86 = lean_ctor_get(x_83, 1); +lean_inc(x_86); +lean_dec(x_83); +x_87 = lean_st_ref_get(x_7, x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_88, 3); +lean_inc(x_89); +lean_dec(x_88); +x_90 = lean_ctor_get_uint8(x_89, sizeof(void*)*1); +lean_dec(x_89); +if (x_90 == 0) { -return x_61; +lean_object* x_91; +x_91 = lean_ctor_get(x_87, 1); +lean_inc(x_91); +lean_dec(x_87); +x_55 = x_18; +x_56 = x_91; +goto block_81; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_61, 0); -x_64 = lean_ctor_get(x_61, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_61); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; +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_92 = lean_ctor_get(x_87, 1); +lean_inc(x_92); +lean_dec(x_87); +x_93 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_94 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_93, x_4, x_5, x_6, x_7, x_92); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unbox(x_95); +lean_dec(x_95); +x_55 = x_97; +x_56 = x_96; +goto block_81; } } else { -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_56, 1); -lean_inc(x_66); -lean_dec(x_56); +lean_object* x_98; lean_object* x_99; +lean_dec(x_53); +x_98 = lean_ctor_get(x_83, 1); +lean_inc(x_98); +lean_dec(x_83); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_67 = l_Lean_Meta_instantiateMVars(x_49, x_4, x_5, x_6, x_7, x_66); -if (lean_obj_tag(x_67) == 0) +x_99 = l_Lean_Meta_instantiateMVars(x_49, x_4, x_5, x_6, x_7, x_98); +if (lean_obj_tag(x_99) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); if (lean_is_scalar(x_50)) { - x_70 = lean_alloc_ctor(1, 1, 0); + x_102 = lean_alloc_ctor(1, 1, 0); } else { - x_70 = x_50; + x_102 = x_50; } -lean_ctor_set(x_70, 0, x_68); -x_71 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_25, x_70, x_4, x_5, x_6, x_7, x_69); +lean_ctor_set(x_102, 0, x_100); +x_103 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_25, x_102, x_4, x_5, x_6, x_7, x_101); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_72 = !lean_is_exclusive(x_71); -if (x_72 == 0) +x_104 = !lean_is_exclusive(x_103); +if (x_104 == 0) { -return x_71; +return x_103; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_71, 0); -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_71); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_103, 0); +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_103); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +return x_107; } } else { -uint8_t x_76; +uint8_t x_108; lean_dec(x_50); lean_dec(x_25); lean_dec(x_4); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_76 = !lean_is_exclusive(x_67); -if (x_76 == 0) +x_108 = !lean_is_exclusive(x_99); +if (x_108 == 0) { -return x_67; +return x_99; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_67, 0); -x_78 = lean_ctor_get(x_67, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_67); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_99, 0); +x_110 = lean_ctor_get(x_99, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_99); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } } } else { -uint8_t x_80; +uint8_t x_112; +lean_dec(x_53); lean_dec(x_50); lean_dec(x_49); lean_dec(x_25); @@ -18465,29 +18653,112 @@ lean_dec(x_4); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_80 = !lean_is_exclusive(x_56); -if (x_80 == 0) +x_112 = !lean_is_exclusive(x_83); +if (x_112 == 0) { -return x_56; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_56, 0); -x_82 = lean_ctor_get(x_56, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_56); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); return x_83; } +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_83, 0); +x_114 = lean_ctor_get(x_83, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_83); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; +} +} +block_81: +{ +if (x_55 == 0) +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +lean_dec(x_53); +x_57 = lean_box(0); +x_58 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_25, x_57, x_4, x_5, x_6, x_7, x_56); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +return x_58; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_58, 0); +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_58); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } else { -uint8_t x_84; +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; uint8_t x_77; +x_63 = l_Lean_indentExpr(x_53); +x_64 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__2; +x_65 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +x_66 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4; +x_67 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +lean_inc(x_25); +x_68 = l_Lean_indentExpr(x_25); +x_69 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_KernelException_toMessageData___closed__15; +x_71 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_73 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_72, x_71, x_4, x_5, x_6, x_7, x_56); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_75 = lean_box(0); +x_76 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_25, x_75, x_4, x_5, x_6, x_7, x_74); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_77 = !lean_is_exclusive(x_76); +if (x_77 == 0) +{ +return x_76; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_76, 0); +x_79 = lean_ctor_get(x_76, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_76); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +} +} +else +{ +uint8_t x_116; lean_dec(x_50); lean_dec(x_49); lean_dec(x_25); @@ -18498,61 +18769,61 @@ lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_84 = !lean_is_exclusive(x_52); -if (x_84 == 0) +x_116 = !lean_is_exclusive(x_52); +if (x_116 == 0) { return x_52; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_52, 0); -x_86 = lean_ctor_get(x_52, 1); -lean_inc(x_86); -lean_inc(x_85); +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_52, 0); +x_118 = lean_ctor_get(x_52, 1); +lean_inc(x_118); +lean_inc(x_117); lean_dec(x_52); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -return x_87; +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +return x_119; } } } -block_99: +block_131: { -if (x_89 == 0) +if (x_121 == 0) { -x_51 = x_90; -goto block_88; +x_51 = x_122; +goto block_120; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_object* x_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_inc(x_49); -x_91 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_91, 0, x_49); -x_92 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__2; -x_93 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); -x_94 = l_Lean_KernelException_toMessageData___closed__15; -x_95 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -x_96 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_97 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_96, x_95, x_4, x_5, x_6, x_7, x_90); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_51 = x_98; -goto block_88; +x_123 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_123, 0, x_49); +x_124 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__6; +x_125 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = l_Lean_KernelException_toMessageData___closed__15; +x_127 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +x_128 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_129 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_128, x_127, x_4, x_5, x_6, x_7, x_122); +x_130 = lean_ctor_get(x_129, 1); +lean_inc(x_130); +lean_dec(x_129); +x_51 = x_130; +goto block_120; } } } } else { -uint8_t x_111; +uint8_t x_143; lean_dec(x_25); lean_dec(x_4); lean_dec(x_16); @@ -18561,29 +18832,29 @@ lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_111 = !lean_is_exclusive(x_39); -if (x_111 == 0) +x_143 = !lean_is_exclusive(x_39); +if (x_143 == 0) { return x_39; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_39, 0); -x_113 = lean_ctor_get(x_39, 1); -lean_inc(x_113); -lean_inc(x_112); +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = lean_ctor_get(x_39, 0); +x_145 = lean_ctor_get(x_39, 1); +lean_inc(x_145); +lean_inc(x_144); lean_dec(x_39); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +return x_146; } } } else { -lean_object* x_115; +lean_object* x_147; lean_dec(x_25); lean_dec(x_4); lean_dec(x_16); @@ -18593,281 +18864,80 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_115 = lean_ctor_get(x_35, 0); -lean_inc(x_115); +x_147 = lean_ctor_get(x_35, 0); +lean_inc(x_147); lean_dec(x_35); -lean_ctor_set(x_29, 0, x_115); +lean_ctor_set(x_29, 0, x_147); return x_29; } } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_116 = lean_ctor_get(x_29, 0); -x_117 = lean_ctor_get(x_29, 1); -lean_inc(x_117); -lean_inc(x_116); +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_148 = lean_ctor_get(x_29, 0); +x_149 = lean_ctor_get(x_29, 1); +lean_inc(x_149); +lean_inc(x_148); lean_dec(x_29); -x_118 = lean_ctor_get(x_116, 1); -lean_inc(x_118); -lean_dec(x_116); -x_119 = lean_ctor_get(x_118, 2); -lean_inc(x_119); -lean_dec(x_118); -x_120 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_119, x_25); -if (lean_obj_tag(x_120) == 0) +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); +lean_dec(x_148); +x_151 = lean_ctor_get(x_150, 2); +lean_inc(x_151); +lean_dec(x_150); +x_152 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_151, x_25); +if (lean_obj_tag(x_152) == 0) { -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_inc(x_25); -x_121 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam), 6, 1); -lean_closure_set(x_121, 0, x_25); +x_153 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam), 6, 1); +lean_closure_set(x_153, 0, x_25); lean_inc(x_25); -x_122 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__2), 8, 2); -lean_closure_set(x_122, 0, x_9); -lean_closure_set(x_122, 1, x_25); -x_123 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); -lean_closure_set(x_123, 0, x_121); -lean_closure_set(x_123, 1, x_122); +x_154 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__2), 8, 2); +lean_closure_set(x_154, 0, x_9); +lean_closure_set(x_154, 1, x_25); +x_155 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); +lean_closure_set(x_155, 0, x_153); +lean_closure_set(x_155, 1, x_154); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_124 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_123, x_4, x_5, x_6, x_7, x_117); -if (lean_obj_tag(x_124) == 0) +x_156 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_155, x_4, x_5, x_6, x_7, x_149); +if (lean_obj_tag(x_156) == 0) { -lean_object* x_125; -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -if (lean_obj_tag(x_125) == 0) +lean_object* x_157; +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +if (lean_obj_tag(x_157) == 0) { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +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_dec(x_16); lean_dec(x_15); lean_dec(x_10); -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_Meta_synthInstance_x3f___lambda__3(x_25, x_127, x_4, x_5, x_6, x_7, x_126); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_131 = x_128; -} else { - lean_dec_ref(x_128); - x_131 = lean_box(0); -} -if (lean_is_scalar(x_131)) { - x_132 = lean_alloc_ctor(0, 2, 0); -} else { - x_132 = x_131; -} -lean_ctor_set(x_132, 0, x_129); -lean_ctor_set(x_132, 1, x_130); -return x_132; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_174; lean_object* x_175; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; -x_133 = lean_ctor_get(x_124, 1); -lean_inc(x_133); -lean_dec(x_124); -x_134 = lean_ctor_get(x_125, 0); -lean_inc(x_134); -if (lean_is_exclusive(x_125)) { - lean_ctor_release(x_125, 0); - x_135 = x_125; -} else { - lean_dec_ref(x_125); - x_135 = lean_box(0); -} -x_185 = lean_st_ref_get(x_7, x_133); -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_186, 3); -lean_inc(x_187); -lean_dec(x_186); -x_188 = lean_ctor_get_uint8(x_187, sizeof(void*)*1); -lean_dec(x_187); -if (x_188 == 0) -{ -lean_object* x_189; -x_189 = lean_ctor_get(x_185, 1); -lean_inc(x_189); -lean_dec(x_185); -x_174 = x_18; -x_175 = x_189; -goto block_184; -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; -x_190 = lean_ctor_get(x_185, 1); -lean_inc(x_190); -lean_dec(x_185); -x_191 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_192 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_191, x_4, x_5, x_6, x_7, x_190); -x_193 = lean_ctor_get(x_192, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_192, 1); -lean_inc(x_194); -lean_dec(x_192); -x_195 = lean_unbox(x_193); -lean_dec(x_193); -x_174 = x_195; -x_175 = x_194; -goto block_184; -} -block_173: -{ -lean_object* x_137; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_134); -x_137 = l_Lean_Meta_inferType(x_134, x_4, x_5, x_6, x_7, x_136); -if (lean_obj_tag(x_137) == 0) -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_137, 1); -lean_inc(x_139); -lean_dec(x_137); -x_140 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_140, 0, x_10); -lean_ctor_set(x_140, 1, x_15); -lean_ctor_set(x_140, 2, x_16); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_25); -x_141 = l_Lean_Meta_isExprDefEq(x_25, x_138, x_140, x_5, x_6, x_7, x_139); -if (lean_obj_tag(x_141) == 0) -{ -lean_object* x_142; uint8_t x_143; -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_unbox(x_142); -lean_dec(x_142); -if (x_143 == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -lean_dec(x_135); -lean_dec(x_134); -x_144 = lean_ctor_get(x_141, 1); -lean_inc(x_144); -lean_dec(x_141); -x_145 = lean_box(0); -x_146 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_25, x_145, x_4, x_5, x_6, x_7, x_144); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_146, 1); -lean_inc(x_148); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - x_149 = x_146; -} else { - lean_dec_ref(x_146); - x_149 = lean_box(0); -} -if (lean_is_scalar(x_149)) { - x_150 = lean_alloc_ctor(0, 2, 0); -} else { - x_150 = x_149; -} -lean_ctor_set(x_150, 0, x_147); -lean_ctor_set(x_150, 1, x_148); -return x_150; -} -else -{ -lean_object* x_151; lean_object* x_152; -x_151 = lean_ctor_get(x_141, 1); -lean_inc(x_151); -lean_dec(x_141); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_152 = l_Lean_Meta_instantiateMVars(x_134, x_4, x_5, x_6, x_7, x_151); -if (lean_obj_tag(x_152) == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); -lean_inc(x_154); -lean_dec(x_152); -if (lean_is_scalar(x_135)) { - x_155 = lean_alloc_ctor(1, 1, 0); -} else { - x_155 = x_135; -} -lean_ctor_set(x_155, 0, x_153); -x_156 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_25, x_155, x_4, x_5, x_6, x_7, x_154); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); x_158 = lean_ctor_get(x_156, 1); lean_inc(x_158); -if (lean_is_exclusive(x_156)) { - lean_ctor_release(x_156, 0); - lean_ctor_release(x_156, 1); - x_159 = x_156; -} else { - lean_dec_ref(x_156); - x_159 = lean_box(0); -} -if (lean_is_scalar(x_159)) { - x_160 = lean_alloc_ctor(0, 2, 0); -} else { - x_160 = x_159; -} -lean_ctor_set(x_160, 0, x_157); -lean_ctor_set(x_160, 1, x_158); -return x_160; -} -else -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -lean_dec(x_135); -lean_dec(x_25); -lean_dec(x_4); +lean_dec(x_156); +x_159 = lean_box(0); +x_160 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_25, x_159, x_4, x_5, x_6, x_7, x_158); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_161 = lean_ctor_get(x_152, 0); +lean_dec(x_4); +x_161 = lean_ctor_get(x_160, 0); lean_inc(x_161); -x_162 = lean_ctor_get(x_152, 1); +x_162 = lean_ctor_get(x_160, 1); lean_inc(x_162); -if (lean_is_exclusive(x_152)) { - lean_ctor_release(x_152, 0); - lean_ctor_release(x_152, 1); - x_163 = x_152; +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_163 = x_160; } else { - lean_dec_ref(x_152); + lean_dec_ref(x_160); x_163 = lean_box(0); } if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(1, 2, 0); + x_164 = lean_alloc_ctor(0, 2, 0); } else { x_164 = x_163; } @@ -18875,196 +18945,498 @@ lean_ctor_set(x_164, 0, x_161); lean_ctor_set(x_164, 1, x_162); return x_164; } -} -} else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -lean_dec(x_135); -lean_dec(x_134); -lean_dec(x_25); -lean_dec(x_4); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_165 = lean_ctor_get(x_141, 0); +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_238; lean_object* x_239; lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; +x_165 = lean_ctor_get(x_156, 1); lean_inc(x_165); -x_166 = lean_ctor_get(x_141, 1); +lean_dec(x_156); +x_166 = lean_ctor_get(x_157, 0); lean_inc(x_166); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_167 = x_141; +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + x_167 = x_157; } else { - lean_dec_ref(x_141); + lean_dec_ref(x_157); x_167 = lean_box(0); } -if (lean_is_scalar(x_167)) { - x_168 = lean_alloc_ctor(1, 2, 0); -} else { - x_168 = x_167; -} -lean_ctor_set(x_168, 0, x_165); -lean_ctor_set(x_168, 1, x_166); -return x_168; -} +x_249 = lean_st_ref_get(x_7, x_165); +x_250 = lean_ctor_get(x_249, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_250, 3); +lean_inc(x_251); +lean_dec(x_250); +x_252 = lean_ctor_get_uint8(x_251, sizeof(void*)*1); +lean_dec(x_251); +if (x_252 == 0) +{ +lean_object* x_253; +x_253 = lean_ctor_get(x_249, 1); +lean_inc(x_253); +lean_dec(x_249); +x_238 = x_18; +x_239 = x_253; +goto block_248; } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -lean_dec(x_135); -lean_dec(x_134); -lean_dec(x_25); -lean_dec(x_4); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_169 = lean_ctor_get(x_137, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_137, 1); +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; +x_254 = lean_ctor_get(x_249, 1); +lean_inc(x_254); +lean_dec(x_249); +x_255 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_256 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_255, x_4, x_5, x_6, x_7, x_254); +x_257 = lean_ctor_get(x_256, 0); +lean_inc(x_257); +x_258 = lean_ctor_get(x_256, 1); +lean_inc(x_258); +lean_dec(x_256); +x_259 = lean_unbox(x_257); +lean_dec(x_257); +x_238 = x_259; +x_239 = x_258; +goto block_248; +} +block_237: +{ +lean_object* x_169; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_166); +x_169 = l_Lean_Meta_inferType(x_166, x_4, x_5, x_6, x_7, x_168); +if (lean_obj_tag(x_169) == 0) +{ +lean_object* x_170; lean_object* x_171; uint8_t x_172; lean_object* x_173; lean_object* x_199; lean_object* x_200; +x_170 = lean_ctor_get(x_169, 0); lean_inc(x_170); -if (lean_is_exclusive(x_137)) { - lean_ctor_release(x_137, 0); - lean_ctor_release(x_137, 1); - x_171 = x_137; -} else { - lean_dec_ref(x_137); - x_171 = lean_box(0); -} -if (lean_is_scalar(x_171)) { - x_172 = lean_alloc_ctor(1, 2, 0); -} else { - x_172 = x_171; -} -lean_ctor_set(x_172, 0, x_169); -lean_ctor_set(x_172, 1, x_170); -return x_172; -} -} -block_184: +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); +lean_dec(x_169); +x_199 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_199, 0, x_10); +lean_ctor_set(x_199, 1, x_15); +lean_ctor_set(x_199, 2, x_16); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_170); +lean_inc(x_25); +x_200 = l_Lean_Meta_isExprDefEq(x_25, x_170, x_199, x_5, x_6, x_7, x_171); +if (lean_obj_tag(x_200) == 0) { -if (x_174 == 0) -{ -x_136 = x_175; -goto block_173; -} -else -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -lean_inc(x_134); -x_176 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_176, 0, x_134); -x_177 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__2; -x_178 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_176); -x_179 = l_Lean_KernelException_toMessageData___closed__15; -x_180 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_180, 0, x_178); -lean_ctor_set(x_180, 1, x_179); -x_181 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_182 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_181, x_180, x_4, x_5, x_6, x_7, x_175); -x_183 = lean_ctor_get(x_182, 1); -lean_inc(x_183); -lean_dec(x_182); -x_136 = x_183; -goto block_173; -} -} -} -} -else -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -lean_dec(x_25); -lean_dec(x_4); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_196 = lean_ctor_get(x_124, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_124, 1); -lean_inc(x_197); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_198 = x_124; -} else { - lean_dec_ref(x_124); - x_198 = lean_box(0); -} -if (lean_is_scalar(x_198)) { - x_199 = lean_alloc_ctor(1, 2, 0); -} else { - x_199 = x_198; -} -lean_ctor_set(x_199, 0, x_196); -lean_ctor_set(x_199, 1, x_197); -return x_199; -} -} -else -{ -lean_object* x_200; lean_object* x_201; -lean_dec(x_25); -lean_dec(x_4); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_200 = lean_ctor_get(x_120, 0); -lean_inc(x_200); -lean_dec(x_120); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_117); -return x_201; -} -} -} -else -{ -uint8_t x_202; -lean_dec(x_4); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_202 = !lean_is_exclusive(x_24); +lean_object* x_201; uint8_t x_202; +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_unbox(x_201); +lean_dec(x_201); if (x_202 == 0) { +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +lean_dec(x_167); +lean_dec(x_166); +x_203 = lean_ctor_get(x_200, 1); +lean_inc(x_203); +lean_dec(x_200); +x_204 = lean_st_ref_get(x_7, x_203); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_205, 3); +lean_inc(x_206); +lean_dec(x_205); +x_207 = lean_ctor_get_uint8(x_206, sizeof(void*)*1); +lean_dec(x_206); +if (x_207 == 0) +{ +lean_object* x_208; +x_208 = lean_ctor_get(x_204, 1); +lean_inc(x_208); +lean_dec(x_204); +x_172 = x_18; +x_173 = x_208; +goto block_198; +} +else +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; +x_209 = lean_ctor_get(x_204, 1); +lean_inc(x_209); +lean_dec(x_204); +x_210 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_211 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_210, x_4, x_5, x_6, x_7, x_209); +x_212 = lean_ctor_get(x_211, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_211, 1); +lean_inc(x_213); +lean_dec(x_211); +x_214 = lean_unbox(x_212); +lean_dec(x_212); +x_172 = x_214; +x_173 = x_213; +goto block_198; +} +} +else +{ +lean_object* x_215; lean_object* x_216; +lean_dec(x_170); +x_215 = lean_ctor_get(x_200, 1); +lean_inc(x_215); +lean_dec(x_200); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_216 = l_Lean_Meta_instantiateMVars(x_166, x_4, x_5, x_6, x_7, x_215); +if (lean_obj_tag(x_216) == 0) +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_217 = lean_ctor_get(x_216, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_216, 1); +lean_inc(x_218); +lean_dec(x_216); +if (lean_is_scalar(x_167)) { + x_219 = lean_alloc_ctor(1, 1, 0); +} else { + x_219 = x_167; +} +lean_ctor_set(x_219, 0, x_217); +x_220 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_25, x_219, x_4, x_5, x_6, x_7, x_218); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_220, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_220)) { + lean_ctor_release(x_220, 0); + lean_ctor_release(x_220, 1); + x_223 = x_220; +} else { + lean_dec_ref(x_220); + x_223 = lean_box(0); +} +if (lean_is_scalar(x_223)) { + x_224 = lean_alloc_ctor(0, 2, 0); +} else { + x_224 = x_223; +} +lean_ctor_set(x_224, 0, x_221); +lean_ctor_set(x_224, 1, x_222); +return x_224; +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +lean_dec(x_167); +lean_dec(x_25); +lean_dec(x_4); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_225 = lean_ctor_get(x_216, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_216, 1); +lean_inc(x_226); +if (lean_is_exclusive(x_216)) { + lean_ctor_release(x_216, 0); + lean_ctor_release(x_216, 1); + x_227 = x_216; +} else { + lean_dec_ref(x_216); + x_227 = lean_box(0); +} +if (lean_is_scalar(x_227)) { + x_228 = lean_alloc_ctor(1, 2, 0); +} else { + x_228 = x_227; +} +lean_ctor_set(x_228, 0, x_225); +lean_ctor_set(x_228, 1, x_226); +return x_228; +} +} +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +lean_dec(x_170); +lean_dec(x_167); +lean_dec(x_166); +lean_dec(x_25); +lean_dec(x_4); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_229 = lean_ctor_get(x_200, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_200, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + lean_ctor_release(x_200, 1); + x_231 = x_200; +} else { + lean_dec_ref(x_200); + x_231 = lean_box(0); +} +if (lean_is_scalar(x_231)) { + x_232 = lean_alloc_ctor(1, 2, 0); +} else { + x_232 = x_231; +} +lean_ctor_set(x_232, 0, x_229); +lean_ctor_set(x_232, 1, x_230); +return x_232; +} +block_198: +{ +if (x_172 == 0) +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +lean_dec(x_170); +x_174 = lean_box(0); +x_175 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_25, x_174, x_4, x_5, x_6, x_7, x_173); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_178 = x_175; +} else { + lean_dec_ref(x_175); + x_178 = lean_box(0); +} +if (lean_is_scalar(x_178)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_178; +} +lean_ctor_set(x_179, 0, x_176); +lean_ctor_set(x_179, 1, x_177); +return x_179; +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_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_180 = l_Lean_indentExpr(x_170); +x_181 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__2; +x_182 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_180); +x_183 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4; +x_184 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_184, 0, x_182); +lean_ctor_set(x_184, 1, x_183); +lean_inc(x_25); +x_185 = l_Lean_indentExpr(x_25); +x_186 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +x_187 = 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_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_190 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_189, x_188, x_4, x_5, x_6, x_7, x_173); +x_191 = lean_ctor_get(x_190, 1); +lean_inc(x_191); +lean_dec(x_190); +x_192 = lean_box(0); +x_193 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_25, x_192, x_4, x_5, x_6, x_7, x_191); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_193, 1); +lean_inc(x_195); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + x_196 = x_193; +} else { + lean_dec_ref(x_193); + x_196 = lean_box(0); +} +if (lean_is_scalar(x_196)) { + x_197 = lean_alloc_ctor(0, 2, 0); +} else { + x_197 = x_196; +} +lean_ctor_set(x_197, 0, x_194); +lean_ctor_set(x_197, 1, x_195); +return x_197; +} +} +} +else +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_dec(x_167); +lean_dec(x_166); +lean_dec(x_25); +lean_dec(x_4); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_233 = lean_ctor_get(x_169, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_169, 1); +lean_inc(x_234); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_235 = x_169; +} else { + lean_dec_ref(x_169); + x_235 = lean_box(0); +} +if (lean_is_scalar(x_235)) { + x_236 = lean_alloc_ctor(1, 2, 0); +} else { + x_236 = x_235; +} +lean_ctor_set(x_236, 0, x_233); +lean_ctor_set(x_236, 1, x_234); +return x_236; +} +} +block_248: +{ +if (x_238 == 0) +{ +x_168 = x_239; +goto block_237; +} +else +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; +lean_inc(x_166); +x_240 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_240, 0, x_166); +x_241 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__6; +x_242 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_240); +x_243 = l_Lean_KernelException_toMessageData___closed__15; +x_244 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_244, 0, x_242); +lean_ctor_set(x_244, 1, x_243); +x_245 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_246 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_245, x_244, x_4, x_5, x_6, x_7, x_239); +x_247 = lean_ctor_get(x_246, 1); +lean_inc(x_247); +lean_dec(x_246); +x_168 = x_247; +goto block_237; +} +} +} +} +else +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; +lean_dec(x_25); +lean_dec(x_4); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_260 = lean_ctor_get(x_156, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_156, 1); +lean_inc(x_261); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_262 = x_156; +} else { + lean_dec_ref(x_156); + x_262 = lean_box(0); +} +if (lean_is_scalar(x_262)) { + x_263 = lean_alloc_ctor(1, 2, 0); +} else { + x_263 = x_262; +} +lean_ctor_set(x_263, 0, x_260); +lean_ctor_set(x_263, 1, x_261); +return x_263; +} +} +else +{ +lean_object* x_264; lean_object* x_265; +lean_dec(x_25); +lean_dec(x_4); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_264 = lean_ctor_get(x_152, 0); +lean_inc(x_264); +lean_dec(x_152); +x_265 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_265, 0, x_264); +lean_ctor_set(x_265, 1, x_149); +return x_265; +} +} +} +else +{ +uint8_t x_266; +lean_dec(x_4); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_266 = !lean_is_exclusive(x_24); +if (x_266 == 0) +{ return x_24; } else { -lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_203 = lean_ctor_get(x_24, 0); -x_204 = lean_ctor_get(x_24, 1); -lean_inc(x_204); -lean_inc(x_203); +lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_267 = lean_ctor_get(x_24, 0); +x_268 = lean_ctor_get(x_24, 1); +lean_inc(x_268); +lean_inc(x_267); lean_dec(x_24); -x_205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_205, 0, x_203); -lean_ctor_set(x_205, 1, x_204); -return x_205; +x_269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_269, 0, x_267); +lean_ctor_set(x_269, 1, x_268); +return x_269; } } } else { -uint8_t x_206; +uint8_t x_270; lean_dec(x_4); lean_dec(x_16); lean_dec(x_15); @@ -19073,857 +19445,526 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_206 = !lean_is_exclusive(x_20); -if (x_206 == 0) +x_270 = !lean_is_exclusive(x_20); +if (x_270 == 0) { return x_20; } else { -lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_207 = lean_ctor_get(x_20, 0); -x_208 = lean_ctor_get(x_20, 1); -lean_inc(x_208); -lean_inc(x_207); +lean_object* x_271; lean_object* x_272; lean_object* x_273; +x_271 = lean_ctor_get(x_20, 0); +x_272 = lean_ctor_get(x_20, 1); +lean_inc(x_272); +lean_inc(x_271); lean_dec(x_20); -x_209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_209, 0, x_207); -lean_ctor_set(x_209, 1, x_208); -return x_209; +x_273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_273, 0, x_271); +lean_ctor_set(x_273, 1, x_272); +return x_273; } } } else { -lean_object* x_210; lean_object* x_211; uint8_t x_212; uint8_t x_213; uint8_t x_214; uint8_t x_215; uint8_t x_216; uint8_t x_217; uint8_t x_218; lean_object* x_219; lean_object* x_220; -x_210 = lean_ctor_get(x_4, 1); -x_211 = lean_ctor_get(x_4, 2); -x_212 = lean_ctor_get_uint8(x_13, 2); -x_213 = lean_ctor_get_uint8(x_13, 6); -x_214 = lean_ctor_get_uint8(x_13, 7); -x_215 = lean_ctor_get_uint8(x_13, 8); +lean_object* x_274; lean_object* x_275; uint8_t x_276; uint8_t x_277; uint8_t x_278; uint8_t x_279; uint8_t x_280; uint8_t x_281; uint8_t x_282; lean_object* x_283; lean_object* x_284; +x_274 = lean_ctor_get(x_4, 1); +x_275 = lean_ctor_get(x_4, 2); +x_276 = lean_ctor_get_uint8(x_13, 2); +x_277 = lean_ctor_get_uint8(x_13, 6); +x_278 = lean_ctor_get_uint8(x_13, 7); +x_279 = lean_ctor_get_uint8(x_13, 8); lean_dec(x_13); -x_216 = 1; -x_217 = 0; -x_218 = 2; -x_219 = lean_alloc_ctor(0, 0, 9); -lean_ctor_set_uint8(x_219, 0, x_216); -lean_ctor_set_uint8(x_219, 1, x_216); -lean_ctor_set_uint8(x_219, 2, x_212); -lean_ctor_set_uint8(x_219, 3, x_217); -lean_ctor_set_uint8(x_219, 4, x_216); -lean_ctor_set_uint8(x_219, 5, x_218); -lean_ctor_set_uint8(x_219, 6, x_213); -lean_ctor_set_uint8(x_219, 7, x_214); -lean_ctor_set_uint8(x_219, 8, x_215); -lean_inc(x_211); -lean_inc(x_210); -lean_ctor_set(x_4, 0, x_219); +x_280 = 1; +x_281 = 0; +x_282 = 2; +x_283 = lean_alloc_ctor(0, 0, 9); +lean_ctor_set_uint8(x_283, 0, x_280); +lean_ctor_set_uint8(x_283, 1, x_280); +lean_ctor_set_uint8(x_283, 2, x_276); +lean_ctor_set_uint8(x_283, 3, x_281); +lean_ctor_set_uint8(x_283, 4, x_280); +lean_ctor_set_uint8(x_283, 5, x_282); +lean_ctor_set_uint8(x_283, 6, x_277); +lean_ctor_set_uint8(x_283, 7, x_278); +lean_ctor_set_uint8(x_283, 8, x_279); +lean_inc(x_275); +lean_inc(x_274); +lean_ctor_set(x_4, 0, x_283); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_220 = l_Lean_Meta_instantiateMVars(x_1, x_4, x_5, x_6, x_7, x_11); -if (lean_obj_tag(x_220) == 0) +x_284 = l_Lean_Meta_instantiateMVars(x_1, x_4, x_5, x_6, x_7, x_11); +if (lean_obj_tag(x_284) == 0) { -lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); -lean_inc(x_222); -lean_dec(x_220); -x_223 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1; +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; +x_285 = lean_ctor_get(x_284, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_284, 1); +lean_inc(x_286); +lean_dec(x_284); +x_287 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_224 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__4___rarg(x_221, x_223, x_4, x_5, x_6, x_7, x_222); -if (lean_obj_tag(x_224) == 0) +x_288 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__4___rarg(x_285, x_287, x_4, x_5, x_6, x_7, x_286); +if (lean_obj_tag(x_288) == 0) { -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; -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); -x_227 = lean_st_ref_get(x_7, x_226); -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -lean_dec(x_227); -x_229 = lean_st_ref_get(x_5, x_228); -x_230 = lean_ctor_get(x_229, 0); -lean_inc(x_230); -x_231 = lean_ctor_get(x_229, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_229)) { - lean_ctor_release(x_229, 0); - lean_ctor_release(x_229, 1); - x_232 = x_229; +lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +x_289 = lean_ctor_get(x_288, 0); +lean_inc(x_289); +x_290 = lean_ctor_get(x_288, 1); +lean_inc(x_290); +lean_dec(x_288); +x_291 = lean_st_ref_get(x_7, x_290); +x_292 = lean_ctor_get(x_291, 1); +lean_inc(x_292); +lean_dec(x_291); +x_293 = lean_st_ref_get(x_5, x_292); +x_294 = lean_ctor_get(x_293, 0); +lean_inc(x_294); +x_295 = lean_ctor_get(x_293, 1); +lean_inc(x_295); +if (lean_is_exclusive(x_293)) { + lean_ctor_release(x_293, 0); + lean_ctor_release(x_293, 1); + x_296 = x_293; } else { - lean_dec_ref(x_229); - x_232 = lean_box(0); + lean_dec_ref(x_293); + x_296 = lean_box(0); } -x_233 = lean_ctor_get(x_230, 1); -lean_inc(x_233); -lean_dec(x_230); -x_234 = lean_ctor_get(x_233, 2); -lean_inc(x_234); -lean_dec(x_233); -x_235 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_234, x_225); -if (lean_obj_tag(x_235) == 0) +x_297 = lean_ctor_get(x_294, 1); +lean_inc(x_297); +lean_dec(x_294); +x_298 = lean_ctor_get(x_297, 2); +lean_inc(x_298); +lean_dec(x_297); +x_299 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_298, x_289); +if (lean_obj_tag(x_299) == 0) { -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_232); -lean_inc(x_225); -x_236 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam), 6, 1); -lean_closure_set(x_236, 0, x_225); -lean_inc(x_225); -x_237 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__2), 8, 2); -lean_closure_set(x_237, 0, x_9); -lean_closure_set(x_237, 1, x_225); -x_238 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); -lean_closure_set(x_238, 0, x_236); -lean_closure_set(x_238, 1, x_237); +lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; +lean_dec(x_296); +lean_inc(x_289); +x_300 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam), 6, 1); +lean_closure_set(x_300, 0, x_289); +lean_inc(x_289); +x_301 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__2), 8, 2); +lean_closure_set(x_301, 0, x_9); +lean_closure_set(x_301, 1, x_289); +x_302 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); +lean_closure_set(x_302, 0, x_300); +lean_closure_set(x_302, 1, x_301); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_239 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_238, x_4, x_5, x_6, x_7, x_231); -if (lean_obj_tag(x_239) == 0) +x_303 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_302, x_4, x_5, x_6, x_7, x_295); +if (lean_obj_tag(x_303) == 0) { -lean_object* x_240; -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -if (lean_obj_tag(x_240) == 0) +lean_object* x_304; +x_304 = lean_ctor_get(x_303, 0); +lean_inc(x_304); +if (lean_obj_tag(x_304) == 0) { -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_dec(x_211); -lean_dec(x_210); +lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +lean_dec(x_275); +lean_dec(x_274); lean_dec(x_10); -x_241 = lean_ctor_get(x_239, 1); -lean_inc(x_241); -lean_dec(x_239); -x_242 = lean_box(0); -x_243 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_225, x_242, x_4, x_5, x_6, x_7, x_241); +x_305 = lean_ctor_get(x_303, 1); +lean_inc(x_305); +lean_dec(x_303); +x_306 = lean_box(0); +x_307 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_289, x_306, x_4, x_5, x_6, x_7, x_305); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); -if (lean_is_exclusive(x_243)) { - lean_ctor_release(x_243, 0); - lean_ctor_release(x_243, 1); - x_246 = x_243; -} else { - lean_dec_ref(x_243); - x_246 = lean_box(0); -} -if (lean_is_scalar(x_246)) { - x_247 = lean_alloc_ctor(0, 2, 0); -} else { - x_247 = x_246; -} -lean_ctor_set(x_247, 0, x_244); -lean_ctor_set(x_247, 1, x_245); -return x_247; -} -else -{ -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_289; lean_object* x_290; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_303; -x_248 = lean_ctor_get(x_239, 1); -lean_inc(x_248); -lean_dec(x_239); -x_249 = lean_ctor_get(x_240, 0); -lean_inc(x_249); -if (lean_is_exclusive(x_240)) { - lean_ctor_release(x_240, 0); - x_250 = x_240; -} else { - lean_dec_ref(x_240); - x_250 = lean_box(0); -} -x_300 = lean_st_ref_get(x_7, x_248); -x_301 = lean_ctor_get(x_300, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_301, 3); -lean_inc(x_302); -lean_dec(x_301); -x_303 = lean_ctor_get_uint8(x_302, sizeof(void*)*1); -lean_dec(x_302); -if (x_303 == 0) -{ -lean_object* x_304; -x_304 = lean_ctor_get(x_300, 1); -lean_inc(x_304); -lean_dec(x_300); -x_289 = x_217; -x_290 = x_304; -goto block_299; -} -else -{ -lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; -x_305 = lean_ctor_get(x_300, 1); -lean_inc(x_305); -lean_dec(x_300); -x_306 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_307 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_306, x_4, x_5, x_6, x_7, x_305); x_308 = lean_ctor_get(x_307, 0); lean_inc(x_308); x_309 = lean_ctor_get(x_307, 1); lean_inc(x_309); -lean_dec(x_307); -x_310 = lean_unbox(x_308); -lean_dec(x_308); -x_289 = x_310; -x_290 = x_309; -goto block_299; -} -block_288: -{ -lean_object* x_252; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_249); -x_252 = l_Lean_Meta_inferType(x_249, x_4, x_5, x_6, x_7, x_251); -if (lean_obj_tag(x_252) == 0) -{ -lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_253 = lean_ctor_get(x_252, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_252, 1); -lean_inc(x_254); -lean_dec(x_252); -x_255 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_255, 0, x_10); -lean_ctor_set(x_255, 1, x_210); -lean_ctor_set(x_255, 2, x_211); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_225); -x_256 = l_Lean_Meta_isExprDefEq(x_225, x_253, x_255, x_5, x_6, x_7, x_254); -if (lean_obj_tag(x_256) == 0) -{ -lean_object* x_257; uint8_t x_258; -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -x_258 = lean_unbox(x_257); -lean_dec(x_257); -if (x_258 == 0) -{ -lean_object* x_259; 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_dec(x_250); -lean_dec(x_249); -x_259 = lean_ctor_get(x_256, 1); -lean_inc(x_259); -lean_dec(x_256); -x_260 = lean_box(0); -x_261 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_225, x_260, x_4, x_5, x_6, x_7, x_259); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); -if (lean_is_exclusive(x_261)) { - lean_ctor_release(x_261, 0); - lean_ctor_release(x_261, 1); - x_264 = x_261; +if (lean_is_exclusive(x_307)) { + lean_ctor_release(x_307, 0); + lean_ctor_release(x_307, 1); + x_310 = x_307; } else { - lean_dec_ref(x_261); - x_264 = lean_box(0); + lean_dec_ref(x_307); + x_310 = lean_box(0); } -if (lean_is_scalar(x_264)) { - x_265 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_310)) { + x_311 = lean_alloc_ctor(0, 2, 0); } else { - x_265 = x_264; + x_311 = x_310; } -lean_ctor_set(x_265, 0, x_262); -lean_ctor_set(x_265, 1, x_263); -return x_265; +lean_ctor_set(x_311, 0, x_308); +lean_ctor_set(x_311, 1, x_309); +return x_311; } else { -lean_object* x_266; lean_object* x_267; -x_266 = lean_ctor_get(x_256, 1); -lean_inc(x_266); -lean_dec(x_256); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_267 = l_Lean_Meta_instantiateMVars(x_249, x_4, x_5, x_6, x_7, x_266); -if (lean_obj_tag(x_267) == 0) -{ -lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_268 = lean_ctor_get(x_267, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_267, 1); -lean_inc(x_269); -lean_dec(x_267); -if (lean_is_scalar(x_250)) { - x_270 = lean_alloc_ctor(1, 1, 0); -} else { - x_270 = x_250; -} -lean_ctor_set(x_270, 0, x_268); -x_271 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_225, x_270, x_4, x_5, x_6, x_7, x_269); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_272 = lean_ctor_get(x_271, 0); -lean_inc(x_272); -x_273 = lean_ctor_get(x_271, 1); -lean_inc(x_273); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_274 = x_271; -} else { - lean_dec_ref(x_271); - x_274 = lean_box(0); -} -if (lean_is_scalar(x_274)) { - x_275 = lean_alloc_ctor(0, 2, 0); -} else { - x_275 = x_274; -} -lean_ctor_set(x_275, 0, x_272); -lean_ctor_set(x_275, 1, x_273); -return x_275; -} -else -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; -lean_dec(x_250); -lean_dec(x_225); -lean_dec(x_4); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_276 = lean_ctor_get(x_267, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_267, 1); -lean_inc(x_277); -if (lean_is_exclusive(x_267)) { - lean_ctor_release(x_267, 0); - lean_ctor_release(x_267, 1); - x_278 = x_267; -} else { - lean_dec_ref(x_267); - x_278 = lean_box(0); -} -if (lean_is_scalar(x_278)) { - x_279 = lean_alloc_ctor(1, 2, 0); -} else { - x_279 = x_278; -} -lean_ctor_set(x_279, 0, x_276); -lean_ctor_set(x_279, 1, x_277); -return x_279; -} -} -} -else -{ -lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; -lean_dec(x_250); -lean_dec(x_249); -lean_dec(x_225); -lean_dec(x_4); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_280 = lean_ctor_get(x_256, 0); -lean_inc(x_280); -x_281 = lean_ctor_get(x_256, 1); -lean_inc(x_281); -if (lean_is_exclusive(x_256)) { - lean_ctor_release(x_256, 0); - lean_ctor_release(x_256, 1); - x_282 = x_256; -} else { - lean_dec_ref(x_256); - x_282 = lean_box(0); -} -if (lean_is_scalar(x_282)) { - x_283 = lean_alloc_ctor(1, 2, 0); -} else { - x_283 = x_282; -} -lean_ctor_set(x_283, 0, x_280); -lean_ctor_set(x_283, 1, x_281); -return x_283; -} -} -else -{ -lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -lean_dec(x_250); -lean_dec(x_249); -lean_dec(x_225); -lean_dec(x_4); -lean_dec(x_211); -lean_dec(x_210); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_284 = lean_ctor_get(x_252, 0); -lean_inc(x_284); -x_285 = lean_ctor_get(x_252, 1); -lean_inc(x_285); -if (lean_is_exclusive(x_252)) { - lean_ctor_release(x_252, 0); - lean_ctor_release(x_252, 1); - x_286 = x_252; -} else { - lean_dec_ref(x_252); - x_286 = lean_box(0); -} -if (lean_is_scalar(x_286)) { - x_287 = lean_alloc_ctor(1, 2, 0); -} else { - x_287 = x_286; -} -lean_ctor_set(x_287, 0, x_284); -lean_ctor_set(x_287, 1, x_285); -return x_287; -} -} -block_299: -{ -if (x_289 == 0) -{ -x_251 = x_290; -goto block_288; -} -else -{ -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_inc(x_249); -x_291 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_291, 0, x_249); -x_292 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__2; -x_293 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_293, 0, x_292); -lean_ctor_set(x_293, 1, x_291); -x_294 = l_Lean_KernelException_toMessageData___closed__15; -x_295 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_295, 0, x_293); -lean_ctor_set(x_295, 1, x_294); -x_296 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_297 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_296, x_295, x_4, x_5, x_6, x_7, x_290); -x_298 = lean_ctor_get(x_297, 1); -lean_inc(x_298); -lean_dec(x_297); -x_251 = x_298; -goto block_288; -} -} -} -} -else -{ -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; -lean_dec(x_225); -lean_dec(x_4); -lean_dec(x_211); -lean_dec(x_210); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_311 = lean_ctor_get(x_239, 0); -lean_inc(x_311); -x_312 = lean_ctor_get(x_239, 1); +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; uint8_t x_385; lean_object* x_386; lean_object* x_396; lean_object* x_397; lean_object* x_398; uint8_t x_399; +x_312 = lean_ctor_get(x_303, 1); lean_inc(x_312); -if (lean_is_exclusive(x_239)) { - lean_ctor_release(x_239, 0); - lean_ctor_release(x_239, 1); - x_313 = x_239; +lean_dec(x_303); +x_313 = lean_ctor_get(x_304, 0); +lean_inc(x_313); +if (lean_is_exclusive(x_304)) { + lean_ctor_release(x_304, 0); + x_314 = x_304; } else { - lean_dec_ref(x_239); - x_313 = lean_box(0); -} -if (lean_is_scalar(x_313)) { - x_314 = lean_alloc_ctor(1, 2, 0); -} else { - x_314 = x_313; -} -lean_ctor_set(x_314, 0, x_311); -lean_ctor_set(x_314, 1, x_312); -return x_314; + lean_dec_ref(x_304); + x_314 = lean_box(0); } +x_396 = lean_st_ref_get(x_7, x_312); +x_397 = lean_ctor_get(x_396, 0); +lean_inc(x_397); +x_398 = lean_ctor_get(x_397, 3); +lean_inc(x_398); +lean_dec(x_397); +x_399 = lean_ctor_get_uint8(x_398, sizeof(void*)*1); +lean_dec(x_398); +if (x_399 == 0) +{ +lean_object* x_400; +x_400 = lean_ctor_get(x_396, 1); +lean_inc(x_400); +lean_dec(x_396); +x_385 = x_281; +x_386 = x_400; +goto block_395; } else { -lean_object* x_315; lean_object* x_316; -lean_dec(x_225); -lean_dec(x_4); -lean_dec(x_211); -lean_dec(x_210); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_315 = lean_ctor_get(x_235, 0); -lean_inc(x_315); -lean_dec(x_235); -if (lean_is_scalar(x_232)) { - x_316 = lean_alloc_ctor(0, 2, 0); -} else { - x_316 = x_232; +lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; uint8_t x_406; +x_401 = lean_ctor_get(x_396, 1); +lean_inc(x_401); +lean_dec(x_396); +x_402 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_403 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_402, x_4, x_5, x_6, x_7, x_401); +x_404 = lean_ctor_get(x_403, 0); +lean_inc(x_404); +x_405 = lean_ctor_get(x_403, 1); +lean_inc(x_405); +lean_dec(x_403); +x_406 = lean_unbox(x_404); +lean_dec(x_404); +x_385 = x_406; +x_386 = x_405; +goto block_395; } -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_231); -return x_316; -} -} -else +block_384: { -lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; -lean_dec(x_4); -lean_dec(x_211); -lean_dec(x_210); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_317 = lean_ctor_get(x_224, 0); +lean_object* x_316; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_313); +x_316 = l_Lean_Meta_inferType(x_313, x_4, x_5, x_6, x_7, x_315); +if (lean_obj_tag(x_316) == 0) +{ +lean_object* x_317; lean_object* x_318; uint8_t x_319; lean_object* x_320; lean_object* x_346; lean_object* x_347; +x_317 = lean_ctor_get(x_316, 0); lean_inc(x_317); -x_318 = lean_ctor_get(x_224, 1); +x_318 = lean_ctor_get(x_316, 1); lean_inc(x_318); -if (lean_is_exclusive(x_224)) { - lean_ctor_release(x_224, 0); - lean_ctor_release(x_224, 1); - x_319 = x_224; -} else { - lean_dec_ref(x_224); - x_319 = lean_box(0); -} -if (lean_is_scalar(x_319)) { - x_320 = lean_alloc_ctor(1, 2, 0); -} else { - x_320 = x_319; -} -lean_ctor_set(x_320, 0, x_317); -lean_ctor_set(x_320, 1, x_318); -return x_320; -} -} -else -{ -lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; -lean_dec(x_4); -lean_dec(x_211); -lean_dec(x_210); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_321 = lean_ctor_get(x_220, 0); -lean_inc(x_321); -x_322 = lean_ctor_get(x_220, 1); -lean_inc(x_322); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - lean_ctor_release(x_220, 1); - x_323 = x_220; -} else { - lean_dec_ref(x_220); - x_323 = lean_box(0); -} -if (lean_is_scalar(x_323)) { - x_324 = lean_alloc_ctor(1, 2, 0); -} else { - x_324 = x_323; -} -lean_ctor_set(x_324, 0, x_321); -lean_ctor_set(x_324, 1, x_322); -return x_324; -} -} -} -else -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; uint8_t x_328; uint8_t x_329; uint8_t x_330; uint8_t x_331; lean_object* x_332; uint8_t x_333; uint8_t x_334; uint8_t x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; -x_325 = lean_ctor_get(x_4, 0); -x_326 = lean_ctor_get(x_4, 1); -x_327 = lean_ctor_get(x_4, 2); -lean_inc(x_327); -lean_inc(x_326); -lean_inc(x_325); -lean_dec(x_4); -x_328 = lean_ctor_get_uint8(x_325, 2); -x_329 = lean_ctor_get_uint8(x_325, 6); -x_330 = lean_ctor_get_uint8(x_325, 7); -x_331 = lean_ctor_get_uint8(x_325, 8); -if (lean_is_exclusive(x_325)) { - x_332 = x_325; -} else { - lean_dec_ref(x_325); - x_332 = lean_box(0); -} -x_333 = 1; -x_334 = 0; -x_335 = 2; -if (lean_is_scalar(x_332)) { - x_336 = lean_alloc_ctor(0, 0, 9); -} else { - x_336 = x_332; -} -lean_ctor_set_uint8(x_336, 0, x_333); -lean_ctor_set_uint8(x_336, 1, x_333); -lean_ctor_set_uint8(x_336, 2, x_328); -lean_ctor_set_uint8(x_336, 3, x_334); -lean_ctor_set_uint8(x_336, 4, x_333); -lean_ctor_set_uint8(x_336, 5, x_335); -lean_ctor_set_uint8(x_336, 6, x_329); -lean_ctor_set_uint8(x_336, 7, x_330); -lean_ctor_set_uint8(x_336, 8, x_331); -lean_inc(x_327); -lean_inc(x_326); -x_337 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_337, 0, x_336); -lean_ctor_set(x_337, 1, x_326); -lean_ctor_set(x_337, 2, x_327); +lean_dec(x_316); +x_346 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_346, 0, x_10); +lean_ctor_set(x_346, 1, x_274); +lean_ctor_set(x_346, 2, x_275); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_337); -x_338 = l_Lean_Meta_instantiateMVars(x_1, x_337, x_5, x_6, x_7, x_11); -if (lean_obj_tag(x_338) == 0) +lean_inc(x_317); +lean_inc(x_289); +x_347 = l_Lean_Meta_isExprDefEq(x_289, x_317, x_346, x_5, x_6, x_7, x_318); +if (lean_obj_tag(x_347) == 0) { -lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; -x_339 = lean_ctor_get(x_338, 0); -lean_inc(x_339); -x_340 = lean_ctor_get(x_338, 1); -lean_inc(x_340); -lean_dec(x_338); -x_341 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_337); -x_342 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__4___rarg(x_339, x_341, x_337, x_5, x_6, x_7, x_340); -if (lean_obj_tag(x_342) == 0) -{ -lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; -x_343 = lean_ctor_get(x_342, 0); -lean_inc(x_343); -x_344 = lean_ctor_get(x_342, 1); -lean_inc(x_344); -lean_dec(x_342); -x_345 = lean_st_ref_get(x_7, x_344); -x_346 = lean_ctor_get(x_345, 1); -lean_inc(x_346); -lean_dec(x_345); -x_347 = lean_st_ref_get(x_5, x_346); +lean_object* x_348; uint8_t x_349; x_348 = lean_ctor_get(x_347, 0); lean_inc(x_348); -x_349 = lean_ctor_get(x_347, 1); -lean_inc(x_349); +x_349 = lean_unbox(x_348); +lean_dec(x_348); +if (x_349 == 0) +{ +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; uint8_t x_354; +lean_dec(x_314); +lean_dec(x_313); +x_350 = lean_ctor_get(x_347, 1); +lean_inc(x_350); +lean_dec(x_347); +x_351 = lean_st_ref_get(x_7, x_350); +x_352 = lean_ctor_get(x_351, 0); +lean_inc(x_352); +x_353 = lean_ctor_get(x_352, 3); +lean_inc(x_353); +lean_dec(x_352); +x_354 = lean_ctor_get_uint8(x_353, sizeof(void*)*1); +lean_dec(x_353); +if (x_354 == 0) +{ +lean_object* x_355; +x_355 = lean_ctor_get(x_351, 1); +lean_inc(x_355); +lean_dec(x_351); +x_319 = x_281; +x_320 = x_355; +goto block_345; +} +else +{ +lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; uint8_t x_361; +x_356 = lean_ctor_get(x_351, 1); +lean_inc(x_356); +lean_dec(x_351); +x_357 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_358 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_357, x_4, x_5, x_6, x_7, x_356); +x_359 = lean_ctor_get(x_358, 0); +lean_inc(x_359); +x_360 = lean_ctor_get(x_358, 1); +lean_inc(x_360); +lean_dec(x_358); +x_361 = lean_unbox(x_359); +lean_dec(x_359); +x_319 = x_361; +x_320 = x_360; +goto block_345; +} +} +else +{ +lean_object* x_362; lean_object* x_363; +lean_dec(x_317); +x_362 = lean_ctor_get(x_347, 1); +lean_inc(x_362); +lean_dec(x_347); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_363 = l_Lean_Meta_instantiateMVars(x_313, x_4, x_5, x_6, x_7, x_362); +if (lean_obj_tag(x_363) == 0) +{ +lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; +x_364 = lean_ctor_get(x_363, 0); +lean_inc(x_364); +x_365 = lean_ctor_get(x_363, 1); +lean_inc(x_365); +lean_dec(x_363); +if (lean_is_scalar(x_314)) { + x_366 = lean_alloc_ctor(1, 1, 0); +} else { + x_366 = x_314; +} +lean_ctor_set(x_366, 0, x_364); +x_367 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_289, x_366, x_4, x_5, x_6, x_7, x_365); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_368 = lean_ctor_get(x_367, 0); +lean_inc(x_368); +x_369 = lean_ctor_get(x_367, 1); +lean_inc(x_369); +if (lean_is_exclusive(x_367)) { + lean_ctor_release(x_367, 0); + lean_ctor_release(x_367, 1); + x_370 = x_367; +} else { + lean_dec_ref(x_367); + x_370 = lean_box(0); +} +if (lean_is_scalar(x_370)) { + x_371 = lean_alloc_ctor(0, 2, 0); +} else { + x_371 = x_370; +} +lean_ctor_set(x_371, 0, x_368); +lean_ctor_set(x_371, 1, x_369); +return x_371; +} +else +{ +lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; +lean_dec(x_314); +lean_dec(x_289); +lean_dec(x_4); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_372 = lean_ctor_get(x_363, 0); +lean_inc(x_372); +x_373 = lean_ctor_get(x_363, 1); +lean_inc(x_373); +if (lean_is_exclusive(x_363)) { + lean_ctor_release(x_363, 0); + lean_ctor_release(x_363, 1); + x_374 = x_363; +} else { + lean_dec_ref(x_363); + x_374 = lean_box(0); +} +if (lean_is_scalar(x_374)) { + x_375 = lean_alloc_ctor(1, 2, 0); +} else { + x_375 = x_374; +} +lean_ctor_set(x_375, 0, x_372); +lean_ctor_set(x_375, 1, x_373); +return x_375; +} +} +} +else +{ +lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +lean_dec(x_317); +lean_dec(x_314); +lean_dec(x_313); +lean_dec(x_289); +lean_dec(x_4); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_376 = lean_ctor_get(x_347, 0); +lean_inc(x_376); +x_377 = lean_ctor_get(x_347, 1); +lean_inc(x_377); if (lean_is_exclusive(x_347)) { lean_ctor_release(x_347, 0); lean_ctor_release(x_347, 1); - x_350 = x_347; + x_378 = x_347; } else { lean_dec_ref(x_347); - x_350 = lean_box(0); + x_378 = lean_box(0); } -x_351 = lean_ctor_get(x_348, 1); -lean_inc(x_351); -lean_dec(x_348); -x_352 = lean_ctor_get(x_351, 2); -lean_inc(x_352); -lean_dec(x_351); -x_353 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_352, x_343); -if (lean_obj_tag(x_353) == 0) +if (lean_is_scalar(x_378)) { + x_379 = lean_alloc_ctor(1, 2, 0); +} else { + x_379 = x_378; +} +lean_ctor_set(x_379, 0, x_376); +lean_ctor_set(x_379, 1, x_377); +return x_379; +} +block_345: { -lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; -lean_dec(x_350); -lean_inc(x_343); -x_354 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam), 6, 1); -lean_closure_set(x_354, 0, x_343); -lean_inc(x_343); -x_355 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__2), 8, 2); -lean_closure_set(x_355, 0, x_9); -lean_closure_set(x_355, 1, x_343); -x_356 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); -lean_closure_set(x_356, 0, x_354); -lean_closure_set(x_356, 1, x_355); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_337); -x_357 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_356, x_337, x_5, x_6, x_7, x_349); -if (lean_obj_tag(x_357) == 0) +if (x_319 == 0) { -lean_object* x_358; -x_358 = lean_ctor_get(x_357, 0); -lean_inc(x_358); -if (lean_obj_tag(x_358) == 0) +lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; +lean_dec(x_317); +x_321 = lean_box(0); +x_322 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_289, x_321, x_4, x_5, x_6, x_7, x_320); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_323 = lean_ctor_get(x_322, 0); +lean_inc(x_323); +x_324 = lean_ctor_get(x_322, 1); +lean_inc(x_324); +if (lean_is_exclusive(x_322)) { + lean_ctor_release(x_322, 0); + lean_ctor_release(x_322, 1); + x_325 = x_322; +} else { + lean_dec_ref(x_322); + x_325 = lean_box(0); +} +if (lean_is_scalar(x_325)) { + x_326 = lean_alloc_ctor(0, 2, 0); +} else { + x_326 = x_325; +} +lean_ctor_set(x_326, 0, x_323); +lean_ctor_set(x_326, 1, x_324); +return x_326; +} +else { -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; -lean_dec(x_327); -lean_dec(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; +x_327 = l_Lean_indentExpr(x_317); +x_328 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__2; +x_329 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_329, 0, x_328); +lean_ctor_set(x_329, 1, x_327); +x_330 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4; +x_331 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_331, 0, x_329); +lean_ctor_set(x_331, 1, x_330); +lean_inc(x_289); +x_332 = l_Lean_indentExpr(x_289); +x_333 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_333, 0, x_331); +lean_ctor_set(x_333, 1, x_332); +x_334 = l_Lean_KernelException_toMessageData___closed__15; +x_335 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_335, 0, x_333); +lean_ctor_set(x_335, 1, x_334); +x_336 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_337 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_336, x_335, x_4, x_5, x_6, x_7, x_320); +x_338 = lean_ctor_get(x_337, 1); +lean_inc(x_338); +lean_dec(x_337); +x_339 = lean_box(0); +x_340 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_289, x_339, x_4, x_5, x_6, x_7, x_338); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_341 = lean_ctor_get(x_340, 0); +lean_inc(x_341); +x_342 = lean_ctor_get(x_340, 1); +lean_inc(x_342); +if (lean_is_exclusive(x_340)) { + lean_ctor_release(x_340, 0); + lean_ctor_release(x_340, 1); + x_343 = x_340; +} else { + lean_dec_ref(x_340); + x_343 = lean_box(0); +} +if (lean_is_scalar(x_343)) { + x_344 = lean_alloc_ctor(0, 2, 0); +} else { + x_344 = x_343; +} +lean_ctor_set(x_344, 0, x_341); +lean_ctor_set(x_344, 1, x_342); +return x_344; +} +} +} +else +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; +lean_dec(x_314); +lean_dec(x_313); +lean_dec(x_289); +lean_dec(x_4); +lean_dec(x_275); +lean_dec(x_274); lean_dec(x_10); -x_359 = lean_ctor_get(x_357, 1); -lean_inc(x_359); -lean_dec(x_357); -x_360 = lean_box(0); -x_361 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_343, x_360, x_337, x_5, x_6, x_7, x_359); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_337); -x_362 = lean_ctor_get(x_361, 0); -lean_inc(x_362); -x_363 = lean_ctor_get(x_361, 1); -lean_inc(x_363); -if (lean_is_exclusive(x_361)) { - lean_ctor_release(x_361, 0); - lean_ctor_release(x_361, 1); - x_364 = x_361; -} else { - lean_dec_ref(x_361); - x_364 = lean_box(0); -} -if (lean_is_scalar(x_364)) { - x_365 = lean_alloc_ctor(0, 2, 0); -} else { - x_365 = x_364; -} -lean_ctor_set(x_365, 0, x_362); -lean_ctor_set(x_365, 1, x_363); -return x_365; -} -else -{ -lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; uint8_t x_407; lean_object* x_408; lean_object* x_418; lean_object* x_419; lean_object* x_420; uint8_t x_421; -x_366 = lean_ctor_get(x_357, 1); -lean_inc(x_366); -lean_dec(x_357); -x_367 = lean_ctor_get(x_358, 0); -lean_inc(x_367); -if (lean_is_exclusive(x_358)) { - lean_ctor_release(x_358, 0); - x_368 = x_358; -} else { - lean_dec_ref(x_358); - x_368 = lean_box(0); -} -x_418 = lean_st_ref_get(x_7, x_366); -x_419 = lean_ctor_get(x_418, 0); -lean_inc(x_419); -x_420 = lean_ctor_get(x_419, 3); -lean_inc(x_420); -lean_dec(x_419); -x_421 = lean_ctor_get_uint8(x_420, sizeof(void*)*1); -lean_dec(x_420); -if (x_421 == 0) -{ -lean_object* x_422; -x_422 = lean_ctor_get(x_418, 1); -lean_inc(x_422); -lean_dec(x_418); -x_407 = x_334; -x_408 = x_422; -goto block_417; -} -else -{ -lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; uint8_t x_428; -x_423 = lean_ctor_get(x_418, 1); -lean_inc(x_423); -lean_dec(x_418); -x_424 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_425 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_424, x_337, x_5, x_6, x_7, x_423); -x_426 = lean_ctor_get(x_425, 0); -lean_inc(x_426); -x_427 = lean_ctor_get(x_425, 1); -lean_inc(x_427); -lean_dec(x_425); -x_428 = lean_unbox(x_426); -lean_dec(x_426); -x_407 = x_428; -x_408 = x_427; -goto block_417; -} -block_406: -{ -lean_object* x_370; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_337); -lean_inc(x_367); -x_370 = l_Lean_Meta_inferType(x_367, x_337, x_5, x_6, x_7, x_369); -if (lean_obj_tag(x_370) == 0) -{ -lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; -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 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_373, 0, x_10); -lean_ctor_set(x_373, 1, x_326); -lean_ctor_set(x_373, 2, x_327); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_343); -x_374 = l_Lean_Meta_isExprDefEq(x_343, x_371, x_373, x_5, x_6, x_7, x_372); -if (lean_obj_tag(x_374) == 0) -{ -lean_object* x_375; uint8_t x_376; -x_375 = lean_ctor_get(x_374, 0); -lean_inc(x_375); -x_376 = lean_unbox(x_375); -lean_dec(x_375); -if (x_376 == 0) -{ -lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; -lean_dec(x_368); -lean_dec(x_367); -x_377 = lean_ctor_get(x_374, 1); -lean_inc(x_377); -lean_dec(x_374); -x_378 = lean_box(0); -x_379 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_343, x_378, x_337, x_5, x_6, x_7, x_377); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_337); -x_380 = lean_ctor_get(x_379, 0); +x_380 = lean_ctor_get(x_316, 0); lean_inc(x_380); -x_381 = lean_ctor_get(x_379, 1); +x_381 = lean_ctor_get(x_316, 1); lean_inc(x_381); -if (lean_is_exclusive(x_379)) { - lean_ctor_release(x_379, 0); - lean_ctor_release(x_379, 1); - x_382 = x_379; +if (lean_is_exclusive(x_316)) { + lean_ctor_release(x_316, 0); + lean_ctor_release(x_316, 1); + x_382 = x_316; } else { - lean_dec_ref(x_379); + lean_dec_ref(x_316); x_382 = lean_box(0); } if (lean_is_scalar(x_382)) { - x_383 = lean_alloc_ctor(0, 2, 0); + x_383 = lean_alloc_ctor(1, 2, 0); } else { x_383 = x_382; } @@ -19931,310 +19972,843 @@ lean_ctor_set(x_383, 0, x_380); lean_ctor_set(x_383, 1, x_381); return x_383; } +} +block_395: +{ +if (x_385 == 0) +{ +x_315 = x_386; +goto block_384; +} else { -lean_object* x_384; lean_object* x_385; -x_384 = lean_ctor_get(x_374, 1); -lean_inc(x_384); -lean_dec(x_374); +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_inc(x_313); +x_387 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_387, 0, x_313); +x_388 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__6; +x_389 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_389, 0, x_388); +lean_ctor_set(x_389, 1, x_387); +x_390 = l_Lean_KernelException_toMessageData___closed__15; +x_391 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_391, 0, x_389); +lean_ctor_set(x_391, 1, x_390); +x_392 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_393 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_392, x_391, x_4, x_5, x_6, x_7, x_386); +x_394 = lean_ctor_get(x_393, 1); +lean_inc(x_394); +lean_dec(x_393); +x_315 = x_394; +goto block_384; +} +} +} +} +else +{ +lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; +lean_dec(x_289); +lean_dec(x_4); +lean_dec(x_275); +lean_dec(x_274); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_407 = lean_ctor_get(x_303, 0); +lean_inc(x_407); +x_408 = lean_ctor_get(x_303, 1); +lean_inc(x_408); +if (lean_is_exclusive(x_303)) { + lean_ctor_release(x_303, 0); + lean_ctor_release(x_303, 1); + x_409 = x_303; +} else { + lean_dec_ref(x_303); + x_409 = lean_box(0); +} +if (lean_is_scalar(x_409)) { + x_410 = lean_alloc_ctor(1, 2, 0); +} else { + x_410 = x_409; +} +lean_ctor_set(x_410, 0, x_407); +lean_ctor_set(x_410, 1, x_408); +return x_410; +} +} +else +{ +lean_object* x_411; lean_object* x_412; +lean_dec(x_289); +lean_dec(x_4); +lean_dec(x_275); +lean_dec(x_274); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_411 = lean_ctor_get(x_299, 0); +lean_inc(x_411); +lean_dec(x_299); +if (lean_is_scalar(x_296)) { + x_412 = lean_alloc_ctor(0, 2, 0); +} else { + x_412 = x_296; +} +lean_ctor_set(x_412, 0, x_411); +lean_ctor_set(x_412, 1, x_295); +return x_412; +} +} +else +{ +lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; +lean_dec(x_4); +lean_dec(x_275); +lean_dec(x_274); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_413 = lean_ctor_get(x_288, 0); +lean_inc(x_413); +x_414 = lean_ctor_get(x_288, 1); +lean_inc(x_414); +if (lean_is_exclusive(x_288)) { + lean_ctor_release(x_288, 0); + lean_ctor_release(x_288, 1); + x_415 = x_288; +} else { + lean_dec_ref(x_288); + x_415 = lean_box(0); +} +if (lean_is_scalar(x_415)) { + x_416 = lean_alloc_ctor(1, 2, 0); +} else { + x_416 = x_415; +} +lean_ctor_set(x_416, 0, x_413); +lean_ctor_set(x_416, 1, x_414); +return x_416; +} +} +else +{ +lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; +lean_dec(x_4); +lean_dec(x_275); +lean_dec(x_274); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_417 = lean_ctor_get(x_284, 0); +lean_inc(x_417); +x_418 = lean_ctor_get(x_284, 1); +lean_inc(x_418); +if (lean_is_exclusive(x_284)) { + lean_ctor_release(x_284, 0); + lean_ctor_release(x_284, 1); + x_419 = x_284; +} else { + lean_dec_ref(x_284); + x_419 = lean_box(0); +} +if (lean_is_scalar(x_419)) { + x_420 = lean_alloc_ctor(1, 2, 0); +} else { + x_420 = x_419; +} +lean_ctor_set(x_420, 0, x_417); +lean_ctor_set(x_420, 1, x_418); +return x_420; +} +} +} +else +{ +lean_object* x_421; lean_object* x_422; lean_object* x_423; uint8_t x_424; uint8_t x_425; uint8_t x_426; uint8_t x_427; lean_object* x_428; uint8_t x_429; uint8_t x_430; uint8_t x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; +x_421 = lean_ctor_get(x_4, 0); +x_422 = lean_ctor_get(x_4, 1); +x_423 = lean_ctor_get(x_4, 2); +lean_inc(x_423); +lean_inc(x_422); +lean_inc(x_421); +lean_dec(x_4); +x_424 = lean_ctor_get_uint8(x_421, 2); +x_425 = lean_ctor_get_uint8(x_421, 6); +x_426 = lean_ctor_get_uint8(x_421, 7); +x_427 = lean_ctor_get_uint8(x_421, 8); +if (lean_is_exclusive(x_421)) { + x_428 = x_421; +} else { + lean_dec_ref(x_421); + x_428 = lean_box(0); +} +x_429 = 1; +x_430 = 0; +x_431 = 2; +if (lean_is_scalar(x_428)) { + x_432 = lean_alloc_ctor(0, 0, 9); +} else { + x_432 = x_428; +} +lean_ctor_set_uint8(x_432, 0, x_429); +lean_ctor_set_uint8(x_432, 1, x_429); +lean_ctor_set_uint8(x_432, 2, x_424); +lean_ctor_set_uint8(x_432, 3, x_430); +lean_ctor_set_uint8(x_432, 4, x_429); +lean_ctor_set_uint8(x_432, 5, x_431); +lean_ctor_set_uint8(x_432, 6, x_425); +lean_ctor_set_uint8(x_432, 7, x_426); +lean_ctor_set_uint8(x_432, 8, x_427); +lean_inc(x_423); +lean_inc(x_422); +x_433 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_433, 0, x_432); +lean_ctor_set(x_433, 1, x_422); +lean_ctor_set(x_433, 2, x_423); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_337); -x_385 = l_Lean_Meta_instantiateMVars(x_367, x_337, x_5, x_6, x_7, x_384); -if (lean_obj_tag(x_385) == 0) -{ -lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; -x_386 = lean_ctor_get(x_385, 0); -lean_inc(x_386); -x_387 = lean_ctor_get(x_385, 1); -lean_inc(x_387); -lean_dec(x_385); -if (lean_is_scalar(x_368)) { - x_388 = lean_alloc_ctor(1, 1, 0); -} else { - x_388 = x_368; -} -lean_ctor_set(x_388, 0, x_386); -x_389 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_343, x_388, x_337, x_5, x_6, x_7, x_387); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_337); -x_390 = lean_ctor_get(x_389, 0); -lean_inc(x_390); -x_391 = lean_ctor_get(x_389, 1); -lean_inc(x_391); -if (lean_is_exclusive(x_389)) { - lean_ctor_release(x_389, 0); - lean_ctor_release(x_389, 1); - x_392 = x_389; -} else { - lean_dec_ref(x_389); - x_392 = lean_box(0); -} -if (lean_is_scalar(x_392)) { - x_393 = lean_alloc_ctor(0, 2, 0); -} else { - x_393 = x_392; -} -lean_ctor_set(x_393, 0, x_390); -lean_ctor_set(x_393, 1, x_391); -return x_393; -} -else -{ -lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; -lean_dec(x_368); -lean_dec(x_343); -lean_dec(x_337); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_394 = lean_ctor_get(x_385, 0); -lean_inc(x_394); -x_395 = lean_ctor_get(x_385, 1); -lean_inc(x_395); -if (lean_is_exclusive(x_385)) { - lean_ctor_release(x_385, 0); - lean_ctor_release(x_385, 1); - x_396 = x_385; -} else { - lean_dec_ref(x_385); - x_396 = lean_box(0); -} -if (lean_is_scalar(x_396)) { - x_397 = lean_alloc_ctor(1, 2, 0); -} else { - x_397 = x_396; -} -lean_ctor_set(x_397, 0, x_394); -lean_ctor_set(x_397, 1, x_395); -return x_397; -} -} -} -else -{ -lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; -lean_dec(x_368); -lean_dec(x_367); -lean_dec(x_343); -lean_dec(x_337); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_398 = lean_ctor_get(x_374, 0); -lean_inc(x_398); -x_399 = lean_ctor_get(x_374, 1); -lean_inc(x_399); -if (lean_is_exclusive(x_374)) { - lean_ctor_release(x_374, 0); - lean_ctor_release(x_374, 1); - x_400 = x_374; -} else { - lean_dec_ref(x_374); - x_400 = lean_box(0); -} -if (lean_is_scalar(x_400)) { - x_401 = lean_alloc_ctor(1, 2, 0); -} else { - x_401 = x_400; -} -lean_ctor_set(x_401, 0, x_398); -lean_ctor_set(x_401, 1, x_399); -return x_401; -} -} -else -{ -lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; -lean_dec(x_368); -lean_dec(x_367); -lean_dec(x_343); -lean_dec(x_337); -lean_dec(x_327); -lean_dec(x_326); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_402 = lean_ctor_get(x_370, 0); -lean_inc(x_402); -x_403 = lean_ctor_get(x_370, 1); -lean_inc(x_403); -if (lean_is_exclusive(x_370)) { - lean_ctor_release(x_370, 0); - lean_ctor_release(x_370, 1); - x_404 = x_370; -} else { - lean_dec_ref(x_370); - x_404 = lean_box(0); -} -if (lean_is_scalar(x_404)) { - x_405 = lean_alloc_ctor(1, 2, 0); -} else { - x_405 = x_404; -} -lean_ctor_set(x_405, 0, x_402); -lean_ctor_set(x_405, 1, x_403); -return x_405; -} -} -block_417: -{ -if (x_407 == 0) -{ -x_369 = x_408; -goto block_406; -} -else -{ -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_inc(x_367); -x_409 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_409, 0, x_367); -x_410 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__2; -x_411 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_411, 0, x_410); -lean_ctor_set(x_411, 1, x_409); -x_412 = l_Lean_KernelException_toMessageData___closed__15; -x_413 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_413, 0, x_411); -lean_ctor_set(x_413, 1, x_412); -x_414 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; -x_415 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_414, x_413, x_337, x_5, x_6, x_7, x_408); -x_416 = lean_ctor_get(x_415, 1); -lean_inc(x_416); -lean_dec(x_415); -x_369 = x_416; -goto block_406; -} -} -} -} -else -{ -lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; -lean_dec(x_343); -lean_dec(x_337); -lean_dec(x_327); -lean_dec(x_326); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_429 = lean_ctor_get(x_357, 0); -lean_inc(x_429); -x_430 = lean_ctor_get(x_357, 1); -lean_inc(x_430); -if (lean_is_exclusive(x_357)) { - lean_ctor_release(x_357, 0); - lean_ctor_release(x_357, 1); - x_431 = x_357; -} else { - lean_dec_ref(x_357); - x_431 = lean_box(0); -} -if (lean_is_scalar(x_431)) { - x_432 = lean_alloc_ctor(1, 2, 0); -} else { - x_432 = x_431; -} -lean_ctor_set(x_432, 0, x_429); -lean_ctor_set(x_432, 1, x_430); -return x_432; -} -} -else -{ -lean_object* x_433; lean_object* x_434; -lean_dec(x_343); -lean_dec(x_337); -lean_dec(x_327); -lean_dec(x_326); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_433 = lean_ctor_get(x_353, 0); lean_inc(x_433); -lean_dec(x_353); -if (lean_is_scalar(x_350)) { - x_434 = lean_alloc_ctor(0, 2, 0); -} else { - x_434 = x_350; -} -lean_ctor_set(x_434, 0, x_433); -lean_ctor_set(x_434, 1, x_349); -return x_434; -} -} -else +x_434 = l_Lean_Meta_instantiateMVars(x_1, x_433, x_5, x_6, x_7, x_11); +if (lean_obj_tag(x_434) == 0) { lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; -lean_dec(x_337); -lean_dec(x_327); -lean_dec(x_326); +x_435 = lean_ctor_get(x_434, 0); +lean_inc(x_435); +x_436 = lean_ctor_get(x_434, 1); +lean_inc(x_436); +lean_dec(x_434); +x_437 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocess___closed__1; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_433); +x_438 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__4___rarg(x_435, x_437, x_433, x_5, x_6, x_7, x_436); +if (lean_obj_tag(x_438) == 0) +{ +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; +x_439 = lean_ctor_get(x_438, 0); +lean_inc(x_439); +x_440 = lean_ctor_get(x_438, 1); +lean_inc(x_440); +lean_dec(x_438); +x_441 = lean_st_ref_get(x_7, x_440); +x_442 = lean_ctor_get(x_441, 1); +lean_inc(x_442); +lean_dec(x_441); +x_443 = lean_st_ref_get(x_5, x_442); +x_444 = lean_ctor_get(x_443, 0); +lean_inc(x_444); +x_445 = lean_ctor_get(x_443, 1); +lean_inc(x_445); +if (lean_is_exclusive(x_443)) { + lean_ctor_release(x_443, 0); + lean_ctor_release(x_443, 1); + x_446 = x_443; +} else { + lean_dec_ref(x_443); + x_446 = lean_box(0); +} +x_447 = lean_ctor_get(x_444, 1); +lean_inc(x_447); +lean_dec(x_444); +x_448 = lean_ctor_get(x_447, 2); +lean_inc(x_448); +lean_dec(x_447); +x_449 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(x_448, x_439); +if (lean_obj_tag(x_449) == 0) +{ +lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; +lean_dec(x_446); +lean_inc(x_439); +x_450 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam), 6, 1); +lean_closure_set(x_450, 0, x_439); +lean_inc(x_439); +x_451 = lean_alloc_closure((void*)(l_Lean_Meta_synthInstance_x3f___lambda__2), 8, 2); +lean_closure_set(x_451, 0, x_9); +lean_closure_set(x_451, 1, x_439); +x_452 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); +lean_closure_set(x_452, 0, x_450); +lean_closure_set(x_452, 1, x_451); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_433); +x_453 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(x_452, x_433, x_5, x_6, x_7, x_445); +if (lean_obj_tag(x_453) == 0) +{ +lean_object* x_454; +x_454 = lean_ctor_get(x_453, 0); +lean_inc(x_454); +if (lean_obj_tag(x_454) == 0) +{ +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_dec(x_423); +lean_dec(x_422); lean_dec(x_10); -lean_dec(x_9); +x_455 = lean_ctor_get(x_453, 1); +lean_inc(x_455); +lean_dec(x_453); +x_456 = lean_box(0); +x_457 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_439, x_456, x_433, x_5, x_6, x_7, x_455); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_435 = lean_ctor_get(x_342, 0); -lean_inc(x_435); -x_436 = lean_ctor_get(x_342, 1); -lean_inc(x_436); -if (lean_is_exclusive(x_342)) { - lean_ctor_release(x_342, 0); - lean_ctor_release(x_342, 1); - x_437 = x_342; +lean_dec(x_433); +x_458 = lean_ctor_get(x_457, 0); +lean_inc(x_458); +x_459 = lean_ctor_get(x_457, 1); +lean_inc(x_459); +if (lean_is_exclusive(x_457)) { + lean_ctor_release(x_457, 0); + lean_ctor_release(x_457, 1); + x_460 = x_457; } else { - lean_dec_ref(x_342); - x_437 = lean_box(0); + lean_dec_ref(x_457); + x_460 = lean_box(0); } -if (lean_is_scalar(x_437)) { - x_438 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_460)) { + x_461 = lean_alloc_ctor(0, 2, 0); } else { - x_438 = x_437; + x_461 = x_460; } -lean_ctor_set(x_438, 0, x_435); -lean_ctor_set(x_438, 1, x_436); -return x_438; +lean_ctor_set(x_461, 0, x_458); +lean_ctor_set(x_461, 1, x_459); +return x_461; +} +else +{ +lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; uint8_t x_535; lean_object* x_536; lean_object* x_546; lean_object* x_547; lean_object* x_548; uint8_t x_549; +x_462 = lean_ctor_get(x_453, 1); +lean_inc(x_462); +lean_dec(x_453); +x_463 = lean_ctor_get(x_454, 0); +lean_inc(x_463); +if (lean_is_exclusive(x_454)) { + lean_ctor_release(x_454, 0); + x_464 = x_454; +} else { + lean_dec_ref(x_454); + x_464 = lean_box(0); +} +x_546 = lean_st_ref_get(x_7, x_462); +x_547 = lean_ctor_get(x_546, 0); +lean_inc(x_547); +x_548 = lean_ctor_get(x_547, 3); +lean_inc(x_548); +lean_dec(x_547); +x_549 = lean_ctor_get_uint8(x_548, sizeof(void*)*1); +lean_dec(x_548); +if (x_549 == 0) +{ +lean_object* x_550; +x_550 = lean_ctor_get(x_546, 1); +lean_inc(x_550); +lean_dec(x_546); +x_535 = x_430; +x_536 = x_550; +goto block_545; +} +else +{ +lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; uint8_t x_556; +x_551 = lean_ctor_get(x_546, 1); +lean_inc(x_551); +lean_dec(x_546); +x_552 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_553 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_552, x_433, x_5, x_6, x_7, x_551); +x_554 = lean_ctor_get(x_553, 0); +lean_inc(x_554); +x_555 = lean_ctor_get(x_553, 1); +lean_inc(x_555); +lean_dec(x_553); +x_556 = lean_unbox(x_554); +lean_dec(x_554); +x_535 = x_556; +x_536 = x_555; +goto block_545; +} +block_534: +{ +lean_object* x_466; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_433); +lean_inc(x_463); +x_466 = l_Lean_Meta_inferType(x_463, x_433, x_5, x_6, x_7, x_465); +if (lean_obj_tag(x_466) == 0) +{ +lean_object* x_467; lean_object* x_468; uint8_t x_469; lean_object* x_470; lean_object* x_496; lean_object* x_497; +x_467 = lean_ctor_get(x_466, 0); +lean_inc(x_467); +x_468 = lean_ctor_get(x_466, 1); +lean_inc(x_468); +lean_dec(x_466); +x_496 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_496, 0, x_10); +lean_ctor_set(x_496, 1, x_422); +lean_ctor_set(x_496, 2, x_423); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_467); +lean_inc(x_439); +x_497 = l_Lean_Meta_isExprDefEq(x_439, x_467, x_496, x_5, x_6, x_7, x_468); +if (lean_obj_tag(x_497) == 0) +{ +lean_object* x_498; uint8_t x_499; +x_498 = lean_ctor_get(x_497, 0); +lean_inc(x_498); +x_499 = lean_unbox(x_498); +lean_dec(x_498); +if (x_499 == 0) +{ +lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; uint8_t x_504; +lean_dec(x_464); +lean_dec(x_463); +x_500 = lean_ctor_get(x_497, 1); +lean_inc(x_500); +lean_dec(x_497); +x_501 = lean_st_ref_get(x_7, x_500); +x_502 = lean_ctor_get(x_501, 0); +lean_inc(x_502); +x_503 = lean_ctor_get(x_502, 3); +lean_inc(x_503); +lean_dec(x_502); +x_504 = lean_ctor_get_uint8(x_503, sizeof(void*)*1); +lean_dec(x_503); +if (x_504 == 0) +{ +lean_object* x_505; +x_505 = lean_ctor_get(x_501, 1); +lean_inc(x_505); +lean_dec(x_501); +x_469 = x_430; +x_470 = x_505; +goto block_495; +} +else +{ +lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; uint8_t x_511; +x_506 = lean_ctor_get(x_501, 1); +lean_inc(x_506); +lean_dec(x_501); +x_507 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_508 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_507, x_433, x_5, x_6, x_7, x_506); +x_509 = lean_ctor_get(x_508, 0); +lean_inc(x_509); +x_510 = lean_ctor_get(x_508, 1); +lean_inc(x_510); +lean_dec(x_508); +x_511 = lean_unbox(x_509); +lean_dec(x_509); +x_469 = x_511; +x_470 = x_510; +goto block_495; } } else { -lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; -lean_dec(x_337); -lean_dec(x_327); -lean_dec(x_326); +lean_object* x_512; lean_object* x_513; +lean_dec(x_467); +x_512 = lean_ctor_get(x_497, 1); +lean_inc(x_512); +lean_dec(x_497); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_433); +x_513 = l_Lean_Meta_instantiateMVars(x_463, x_433, x_5, x_6, x_7, x_512); +if (lean_obj_tag(x_513) == 0) +{ +lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; +x_514 = lean_ctor_get(x_513, 0); +lean_inc(x_514); +x_515 = lean_ctor_get(x_513, 1); +lean_inc(x_515); +lean_dec(x_513); +if (lean_is_scalar(x_464)) { + x_516 = lean_alloc_ctor(1, 1, 0); +} else { + x_516 = x_464; +} +lean_ctor_set(x_516, 0, x_514); +x_517 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_439, x_516, x_433, x_5, x_6, x_7, x_515); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_433); +x_518 = lean_ctor_get(x_517, 0); +lean_inc(x_518); +x_519 = lean_ctor_get(x_517, 1); +lean_inc(x_519); +if (lean_is_exclusive(x_517)) { + lean_ctor_release(x_517, 0); + lean_ctor_release(x_517, 1); + x_520 = x_517; +} else { + lean_dec_ref(x_517); + x_520 = lean_box(0); +} +if (lean_is_scalar(x_520)) { + x_521 = lean_alloc_ctor(0, 2, 0); +} else { + x_521 = x_520; +} +lean_ctor_set(x_521, 0, x_518); +lean_ctor_set(x_521, 1, x_519); +return x_521; +} +else +{ +lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; +lean_dec(x_464); +lean_dec(x_439); +lean_dec(x_433); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_522 = lean_ctor_get(x_513, 0); +lean_inc(x_522); +x_523 = lean_ctor_get(x_513, 1); +lean_inc(x_523); +if (lean_is_exclusive(x_513)) { + lean_ctor_release(x_513, 0); + lean_ctor_release(x_513, 1); + x_524 = x_513; +} else { + lean_dec_ref(x_513); + x_524 = lean_box(0); +} +if (lean_is_scalar(x_524)) { + x_525 = lean_alloc_ctor(1, 2, 0); +} else { + x_525 = x_524; +} +lean_ctor_set(x_525, 0, x_522); +lean_ctor_set(x_525, 1, x_523); +return x_525; +} +} +} +else +{ +lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; +lean_dec(x_467); +lean_dec(x_464); +lean_dec(x_463); +lean_dec(x_439); +lean_dec(x_433); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_526 = lean_ctor_get(x_497, 0); +lean_inc(x_526); +x_527 = lean_ctor_get(x_497, 1); +lean_inc(x_527); +if (lean_is_exclusive(x_497)) { + lean_ctor_release(x_497, 0); + lean_ctor_release(x_497, 1); + x_528 = x_497; +} else { + lean_dec_ref(x_497); + x_528 = lean_box(0); +} +if (lean_is_scalar(x_528)) { + x_529 = lean_alloc_ctor(1, 2, 0); +} else { + x_529 = x_528; +} +lean_ctor_set(x_529, 0, x_526); +lean_ctor_set(x_529, 1, x_527); +return x_529; +} +block_495: +{ +if (x_469 == 0) +{ +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_dec(x_467); +x_471 = lean_box(0); +x_472 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_439, x_471, x_433, x_5, x_6, x_7, x_470); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_433); +x_473 = lean_ctor_get(x_472, 0); +lean_inc(x_473); +x_474 = lean_ctor_get(x_472, 1); +lean_inc(x_474); +if (lean_is_exclusive(x_472)) { + lean_ctor_release(x_472, 0); + lean_ctor_release(x_472, 1); + x_475 = x_472; +} else { + lean_dec_ref(x_472); + x_475 = lean_box(0); +} +if (lean_is_scalar(x_475)) { + x_476 = lean_alloc_ctor(0, 2, 0); +} else { + x_476 = x_475; +} +lean_ctor_set(x_476, 0, x_473); +lean_ctor_set(x_476, 1, x_474); +return x_476; +} +else +{ +lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; 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; +x_477 = l_Lean_indentExpr(x_467); +x_478 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__2; +x_479 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_479, 0, x_478); +lean_ctor_set(x_479, 1, x_477); +x_480 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4; +x_481 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_481, 0, x_479); +lean_ctor_set(x_481, 1, x_480); +lean_inc(x_439); +x_482 = l_Lean_indentExpr(x_439); +x_483 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_483, 0, x_481); +lean_ctor_set(x_483, 1, x_482); +x_484 = l_Lean_KernelException_toMessageData___closed__15; +x_485 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_485, 0, x_483); +lean_ctor_set(x_485, 1, x_484); +x_486 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_487 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_486, x_485, x_433, x_5, x_6, x_7, x_470); +x_488 = lean_ctor_get(x_487, 1); +lean_inc(x_488); +lean_dec(x_487); +x_489 = lean_box(0); +x_490 = l_Lean_Meta_synthInstance_x3f___lambda__3(x_439, x_489, x_433, x_5, x_6, x_7, x_488); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_433); +x_491 = lean_ctor_get(x_490, 0); +lean_inc(x_491); +x_492 = lean_ctor_get(x_490, 1); +lean_inc(x_492); +if (lean_is_exclusive(x_490)) { + lean_ctor_release(x_490, 0); + lean_ctor_release(x_490, 1); + x_493 = x_490; +} else { + lean_dec_ref(x_490); + x_493 = lean_box(0); +} +if (lean_is_scalar(x_493)) { + x_494 = lean_alloc_ctor(0, 2, 0); +} else { + x_494 = x_493; +} +lean_ctor_set(x_494, 0, x_491); +lean_ctor_set(x_494, 1, x_492); +return x_494; +} +} +} +else +{ +lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; +lean_dec(x_464); +lean_dec(x_463); +lean_dec(x_439); +lean_dec(x_433); +lean_dec(x_423); +lean_dec(x_422); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_530 = lean_ctor_get(x_466, 0); +lean_inc(x_530); +x_531 = lean_ctor_get(x_466, 1); +lean_inc(x_531); +if (lean_is_exclusive(x_466)) { + lean_ctor_release(x_466, 0); + lean_ctor_release(x_466, 1); + x_532 = x_466; +} else { + lean_dec_ref(x_466); + x_532 = lean_box(0); +} +if (lean_is_scalar(x_532)) { + x_533 = lean_alloc_ctor(1, 2, 0); +} else { + x_533 = x_532; +} +lean_ctor_set(x_533, 0, x_530); +lean_ctor_set(x_533, 1, x_531); +return x_533; +} +} +block_545: +{ +if (x_535 == 0) +{ +x_465 = x_536; +goto block_534; +} +else +{ +lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; +lean_inc(x_463); +x_537 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_537, 0, x_463); +x_538 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__6; +x_539 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_539, 0, x_538); +lean_ctor_set(x_539, 1, x_537); +x_540 = l_Lean_KernelException_toMessageData___closed__15; +x_541 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_541, 0, x_539); +lean_ctor_set(x_541, 1, x_540); +x_542 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__5; +x_543 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_542, x_541, x_433, x_5, x_6, x_7, x_536); +x_544 = lean_ctor_get(x_543, 1); +lean_inc(x_544); +lean_dec(x_543); +x_465 = x_544; +goto block_534; +} +} +} +} +else +{ +lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; +lean_dec(x_439); +lean_dec(x_433); +lean_dec(x_423); +lean_dec(x_422); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_557 = lean_ctor_get(x_453, 0); +lean_inc(x_557); +x_558 = lean_ctor_get(x_453, 1); +lean_inc(x_558); +if (lean_is_exclusive(x_453)) { + lean_ctor_release(x_453, 0); + lean_ctor_release(x_453, 1); + x_559 = x_453; +} else { + lean_dec_ref(x_453); + x_559 = lean_box(0); +} +if (lean_is_scalar(x_559)) { + x_560 = lean_alloc_ctor(1, 2, 0); +} else { + x_560 = x_559; +} +lean_ctor_set(x_560, 0, x_557); +lean_ctor_set(x_560, 1, x_558); +return x_560; +} +} +else +{ +lean_object* x_561; lean_object* x_562; +lean_dec(x_439); +lean_dec(x_433); +lean_dec(x_423); +lean_dec(x_422); lean_dec(x_10); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_439 = lean_ctor_get(x_338, 0); -lean_inc(x_439); -x_440 = lean_ctor_get(x_338, 1); -lean_inc(x_440); -if (lean_is_exclusive(x_338)) { - lean_ctor_release(x_338, 0); - lean_ctor_release(x_338, 1); - x_441 = x_338; +x_561 = lean_ctor_get(x_449, 0); +lean_inc(x_561); +lean_dec(x_449); +if (lean_is_scalar(x_446)) { + x_562 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_338); - x_441 = lean_box(0); + x_562 = x_446; } -if (lean_is_scalar(x_441)) { - x_442 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_562, 0, x_561); +lean_ctor_set(x_562, 1, x_445); +return x_562; +} +} +else +{ +lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; +lean_dec(x_433); +lean_dec(x_423); +lean_dec(x_422); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_563 = lean_ctor_get(x_438, 0); +lean_inc(x_563); +x_564 = lean_ctor_get(x_438, 1); +lean_inc(x_564); +if (lean_is_exclusive(x_438)) { + lean_ctor_release(x_438, 0); + lean_ctor_release(x_438, 1); + x_565 = x_438; } else { - x_442 = x_441; + lean_dec_ref(x_438); + x_565 = lean_box(0); } -lean_ctor_set(x_442, 0, x_439); -lean_ctor_set(x_442, 1, x_440); -return x_442; +if (lean_is_scalar(x_565)) { + x_566 = lean_alloc_ctor(1, 2, 0); +} else { + x_566 = x_565; +} +lean_ctor_set(x_566, 0, x_563); +lean_ctor_set(x_566, 1, x_564); +return x_566; +} +} +else +{ +lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; +lean_dec(x_433); +lean_dec(x_423); +lean_dec(x_422); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_567 = lean_ctor_get(x_434, 0); +lean_inc(x_567); +x_568 = lean_ctor_get(x_434, 1); +lean_inc(x_568); +if (lean_is_exclusive(x_434)) { + lean_ctor_release(x_434, 0); + lean_ctor_release(x_434, 1); + x_569 = x_434; +} else { + lean_dec_ref(x_434); + x_569 = lean_box(0); +} +if (lean_is_scalar(x_569)) { + x_570 = lean_alloc_ctor(1, 2, 0); +} else { + x_570 = x_569; +} +lean_ctor_set(x_570, 0, x_567); +lean_ctor_set(x_570, 1, x_568); +return x_570; } } } @@ -21478,7 +22052,7 @@ return x_135; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -21487,20 +22061,20 @@ x_8 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp(x_1, x_7, return x_8; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926____lambda__1), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____lambda__1), 6, 0); return x_1; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; x_2 = l_Lean_Meta_synthPendingRef; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926____closed__1; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1; x_4 = lean_st_ref_set(x_2, x_3, x_1); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) @@ -21522,7 +22096,7 @@ return x_8; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3941_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4011_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -21917,10 +22491,26 @@ l_Lean_Meta_synthInstance_x3f___lambda__2___closed__3 = _init_l_Lean_Meta_synthI lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__2___closed__3); l_Lean_Meta_synthInstance_x3f___lambda__2___closed__4 = _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__4(); lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__2___closed__4); +l_Lean_Meta_synthInstance_x3f___lambda__2___closed__5 = _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__2___closed__5); +l_Lean_Meta_synthInstance_x3f___lambda__2___closed__6 = _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__2___closed__6); +l_Lean_Meta_synthInstance_x3f___lambda__2___closed__7 = _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__2___closed__7); +l_Lean_Meta_synthInstance_x3f___lambda__2___closed__8 = _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__2___closed__8); l_Lean_Meta_synthInstance_x3f___lambda__4___closed__1 = _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__4___closed__1); l_Lean_Meta_synthInstance_x3f___lambda__4___closed__2 = _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__2(); lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__4___closed__2); +l_Lean_Meta_synthInstance_x3f___lambda__4___closed__3 = _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__4___closed__3); +l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4 = _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4); +l_Lean_Meta_synthInstance_x3f___lambda__4___closed__5 = _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__4___closed__5); +l_Lean_Meta_synthInstance_x3f___lambda__4___closed__6 = _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__6(); +lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___lambda__4___closed__6); l_Lean_Meta_synthInstance_x3f___closed__1 = _init_l_Lean_Meta_synthInstance_x3f___closed__1(); lean_mark_persistent(l_Lean_Meta_synthInstance_x3f___closed__1); l_Lean_Meta_synthInstance_x3f___closed__2 = _init_l_Lean_Meta_synthInstance_x3f___closed__2(); @@ -21929,12 +22519,12 @@ l_Lean_Meta_synthInstance___closed__1 = _init_l_Lean_Meta_synthInstance___closed lean_mark_persistent(l_Lean_Meta_synthInstance___closed__1); l_Lean_Meta_synthInstance___closed__2 = _init_l_Lean_Meta_synthInstance___closed__2(); lean_mark_persistent(l_Lean_Meta_synthInstance___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926____closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3926_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1); +res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3941_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4011_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Replace.c b/stage0/stdlib/Lean/Meta/Tactic/Replace.c index e0c24a6c7c..56cfceea52 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Replace.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Replace.c @@ -35,7 +35,6 @@ lean_object* l_Lean_Meta_changeLocalDecl___lambda__1___closed__4; lean_object* l_Lean_Meta_checkNotAssigned___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_replaceLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_changeLocalDecl_match__2(lean_object*); -extern lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__5; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l_Lean_Meta_changeLocalDecl___closed__2; lean_object* l_Lean_Meta_change___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -44,6 +43,7 @@ lean_object* l_Lean_Meta_replaceTargetDefEq___lambda__1(lean_object*, lean_objec lean_object* l_Lean_Meta_changeLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_change___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_changeLocalDecl___closed__1; +extern lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4; lean_object* l_Lean_Meta_mkAppM___at_Lean_Meta_mkDecideProof___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_replaceTargetEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1132,7 +1132,7 @@ x_16 = l_Lean_Meta_change___lambda__2___closed__2; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); -x_18 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__5; +x_18 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -1559,7 +1559,7 @@ x_72 = l_Lean_Meta_change___lambda__2___closed__2; x_73 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); -x_74 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__5; +x_74 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4; x_75 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_74); @@ -1893,7 +1893,7 @@ x_153 = l_Lean_Meta_change___lambda__2___closed__2; x_154 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_154, 0, x_153); lean_ctor_set(x_154, 1, x_152); -x_155 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed__5; +x_155 = l_Lean_Meta_synthInstance_x3f___lambda__4___closed__4; x_156 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_156, 0, x_154); lean_ctor_set(x_156, 1, x_155); diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index d5a0f9f664..cbcea993fc 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -250,6 +250,7 @@ lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_ctor___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_axiom_parenthesizer___closed__3; lean_object* l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__6; +extern lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_def___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_attribute_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_declaration_formatter___closed__7; @@ -434,7 +435,6 @@ lean_object* l_Lean_Parser_Command_visibility___closed__1; lean_object* l_Lean_Parser_Command_universes___closed__2; lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_constant_formatter___closed__7; -extern lean_object* l_Lean_Parser_Term_doFor___closed__1; lean_object* l_Lean_Parser_Command_declValSimple___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_structFields___elambda__1___closed__22; lean_object* l_Lean_Parser_Command_end_formatter___closed__1; @@ -1163,6 +1163,7 @@ lean_object* l_Lean_Parser_Command_classInductive_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_toggleInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_637____closed__24; lean_object* l_Lean_Parser_Command_reduce___elambda__1___closed__2; +extern lean_object* l_Lean_Parser_Term_doForDecl_formatter___closed__2; extern lean_object* l_Lean_Parser_Attr_externEntry_formatter___closed__2; lean_object* l_Lean_Parser_Command_section___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_variables___closed__4; @@ -1208,7 +1209,6 @@ lean_object* l_Lean_Parser_Command_section___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_export_parenthesizer___closed__3; lean_object* l_Lean_Parser_Command_variable_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_optDeriving___elambda__1___closed__11; -extern lean_object* l_Lean_Parser_Term_doFor_formatter___closed__3; lean_object* l_Lean_Parser_Command_theorem_formatter___closed__2; lean_object* l_Lean_Parser_Command_classInductive_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_inferMod___elambda__1___closed__1; @@ -2255,6 +2255,7 @@ lean_object* l_Lean_Parser_Command_docComment_formatter___closed__1; lean_object* l_Lean_Parser_Command_partial_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_exit___closed__3; lean_object* l_Lean_Parser_Command_unsafe___elambda__1(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_doForDecl___closed__1; lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_builtin__initialize; lean_object* l_Lean_Parser_Command_variable___closed__7; @@ -2359,7 +2360,6 @@ lean_object* l_Lean_Parser_Command_open_formatter___closed__4; lean_object* l_Lean_Parser_Command_def___closed__2; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_Command_init__quot___elambda__1___closed__3; -extern lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_ctor___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_variables___elambda__1(lean_object*, lean_object*); @@ -30319,7 +30319,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_quote___closed__1; -x_2 = l_Lean_Parser_Term_doFor___elambda__1___closed__6; +x_2 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__6; x_3 = lean_string_append(x_1, x_2); return x_3; } @@ -30357,7 +30357,7 @@ x_8 = lean_ctor_get(x_4, 0); lean_inc(x_8); x_9 = lean_array_get_size(x_8); lean_dec(x_8); -x_10 = l_Lean_Parser_Term_doFor___elambda__1___closed__6; +x_10 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__6; x_11 = l_Lean_Parser_Command_in___elambda__1___closed__4; lean_inc(x_1); x_12 = l_Lean_Parser_symbolFnAux(x_10, x_11, x_1, x_4); @@ -30395,7 +30395,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_quot___closed__1; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_doFor___closed__1; +x_3 = l_Lean_Parser_Term_doForDecl___closed__1; x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } @@ -30465,7 +30465,7 @@ static lean_object* _init_l_Lean_Parser_Command_in_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doFor_formatter___closed__3; +x_1 = l_Lean_Parser_Term_doForDecl_formatter___closed__2; x_2 = l_Lean_Parser_Term_quot_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Parser/Do.c b/stage0/stdlib/Lean/Parser/Do.c index 8cbe5e2f02..35f3af1284 100644 --- a/stage0/stdlib/Lean/Parser/Do.c +++ b/stage0/stdlib/Lean/Parser/Do.c @@ -18,6 +18,7 @@ lean_object* l_Lean_Parser_Term_do___closed__4; lean_object* l_Lean_Parser_Term_doIdDecl_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_doBreak_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doExpr___closed__1; +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_initFn____x40_Lean_Parser_Do___hyg_193____closed__4; lean_object* l_Lean_Parser_Term_termReturn___closed__1; lean_object* l_Lean_Parser_Term_liftMethod_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -66,6 +67,7 @@ lean_object* l_Lean_Parser_Term_doLet_formatter___closed__4; lean_object* l_Lean_Parser_Term_doElem_quot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doReturn___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_doIdDecl___elambda__1___closed__3; +lean_object* l_Lean_Parser_Term_doForDecl___closed__3; lean_object* l_Lean_Parser_Term_doIdDecl_formatter___closed__2; lean_object* l_Lean_Parser_Term_doReassignArrow___closed__5; lean_object* l_Lean_Parser_Term_initFn____x40_Lean_Parser_Do___hyg_193_(lean_object*); @@ -119,6 +121,7 @@ lean_object* l_Lean_Parser_Term_doExpr___closed__4; lean_object* l_Lean_Parser_Term_doTry___closed__9; lean_object* l_Lean_Parser_Term_doContinue___elambda__1___closed__1; extern lean_object* l_termIf_____x3a__Then__Else_____closed__3; +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doReturn_formatter___closed__5; lean_object* l_Lean_Parser_Term_doNested___closed__2; @@ -156,6 +159,8 @@ lean_object* l_Lean_PrettyPrinter_Formatter_atomic_formatter(lean_object*, lean_ extern lean_object* l___regBuiltin_Lean_Parser_Term_ident_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doReturn___closed__4; lean_object* l_Lean_Parser_Term_do___closed__3; +lean_object* l_Lean_Parser_Term_doForDecl___closed__7; +lean_object* l_Lean_Parser_Term_doForDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_termTry_formatter___closed__1; lean_object* l_Lean_Parser_Term_doMatch_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_doPatDecl___elambda__1___closed__5; @@ -175,6 +180,7 @@ lean_object* l_Lean_Parser_Term_doCatchMatch_formatter___closed__1; extern lean_object* l_Lean_Parser_Term_letPatDecl___closed__2; lean_object* l_Lean_Parser_Term_termTry___closed__4; extern lean_object* l_Lean_Parser_Term_letPatDecl; +lean_object* l_Lean_Parser_Term_doForDecl___closed__5; extern lean_object* l_term___u2218_____closed__6; lean_object* l_Lean_Parser_Term_termUnless_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doPatDecl___elambda__1___closed__14; @@ -212,7 +218,6 @@ lean_object* l_Lean_Parser_Term_doSeqItem___closed__8; lean_object* l_Lean_Parser_Term_doIdDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doIdDecl___closed__7; lean_object* l_Lean_Parser_Term_doLetRec___elambda__1___closed__8; -lean_object* l_Lean_Parser_Term_doFor___closed__9; lean_object* l_Lean_Parser_Term_doAssert_formatter___closed__2; lean_object* l_Lean_Parser_Term_doTry_formatter___closed__9; lean_object* l_Lean_Parser_Term_termUnless___closed__3; @@ -317,7 +322,6 @@ lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doIdDecl_formatter___closed__1; lean_object* l_Lean_Parser_Term_doReassign___closed__1; lean_object* l_Lean_Parser_Term_termUnless___elambda__1___closed__4; -lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__15; lean_object* l_Lean_Parser_Term_doPatDecl___elambda__1___closed__17; lean_object* l_Lean_Parser_Term_letIdDeclNoBinders_formatter___closed__1; lean_object* l_Lean_Parser_Term_doFinally___closed__6; @@ -339,6 +343,7 @@ lean_object* l_Lean_Parser_Term_doIf_formatter___closed__10; lean_object* l_Lean_Parser_Term_elseIf_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_doLet_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_termFor_formatter___closed__1; +extern lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_doElem_quot; lean_object* l_Lean_Parser_Term_doUnless_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_elseIf___closed__7; @@ -372,7 +377,6 @@ lean_object* l_Lean_Parser_Term_doDbgTrace___closed__2; lean_object* l_Lean_Parser_Term_liftMethod___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_doDbgTrace(lean_object*); lean_object* l_Lean_Parser_Term_doFor_formatter___closed__2; -lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_doCatch___closed__2; lean_object* l_Lean_Parser_Term_doAssert___closed__4; lean_object* l_Lean_Parser_Term_doIf___elambda__1___closed__33; @@ -423,6 +427,7 @@ lean_object* l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_doUnless___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doAssert___elambda__1___closed__5; +lean_object* l_Lean_Parser_Term_doForDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doReturn_parenthesizer___closed__6; lean_object* l_Lean_Parser_optional(lean_object*); lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__37; @@ -462,6 +467,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_doReassign_formatter(lean_object*); lean_object* l_Lean_Parser_Term_doLetArrow_formatter___closed__7; lean_object* l_Lean_Parser_Term_doIf___elambda__1___closed__27; lean_object* l_Lean_Parser_Term_doUnless___elambda__1___closed__1; +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_doLet_formatter(lean_object*); lean_object* l_Lean_Parser_Term_doIf___elambda__1___closed__9; extern lean_object* l_Lean_Parser_Term_letrec_formatter___closed__6; @@ -499,6 +505,7 @@ extern lean_object* l_Lean_Parser_Term_let___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doMatch_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doBreak_formatter___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_doReturn(lean_object*); +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doReturn_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_termReturn___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doLet___elambda__1___closed__11; @@ -532,6 +539,7 @@ lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Do___hyg_14_(lean_object*); lean_object* l_Lean_Parser_Term_doElem_quot_formatter___closed__5; lean_object* l_Lean_Parser_Term_doFor_formatter___closed__7; lean_object* l_Lean_Parser_Term_doIdDecl___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__7; lean_object* l___regBuiltin_Lean_Parser_Term_doReturn_formatter(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_doTry_formatter(lean_object*); lean_object* l_Lean_Parser_Term_elseIf___elambda__1___closed__1; @@ -566,6 +574,7 @@ lean_object* l_Lean_Parser_Term_doReturn___elambda__1___closed__5; extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_termTry_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_termUnless_formatter___closed__1; +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doIdDecl_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_termReturn___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_letDecl; @@ -635,12 +644,14 @@ lean_object* l_Lean_Parser_Term_doIdDecl___elambda__1___closed__5; lean_object* l_Lean_Parser_many1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doLetRec_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doSeq; +lean_object* l_Lean_Parser_Term_doForDecl_formatter___closed__1; extern lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doUnless_formatter___closed__6; lean_object* l_Lean_Parser_Term_doFinally_formatter___closed__3; lean_object* l_Lean_Parser_Term_doMatch___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_toggleInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_637____closed__24; +lean_object* l_Lean_Parser_Term_doForDecl_formatter___closed__2; lean_object* l_Lean_Parser_Term_doIdDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doHave_formatter___closed__1; lean_object* l_Lean_Parser_Term_letIdDeclNoBinders___elambda__1___closed__1; @@ -648,7 +659,6 @@ lean_object* l_Lean_Parser_Term_doSeqIndent___closed__4; lean_object* l_Lean_Parser_Term_termBeforeDo_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doLetArrow___closed__6; lean_object* l_Lean_Parser_Term_doTry_parenthesizer___closed__9; -lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__13; extern lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doCatchMatch___closed__6; @@ -709,6 +719,7 @@ lean_object* l_Lean_Parser_termParser_formatter___rarg(lean_object*, lean_object lean_object* l_Lean_Parser_Term_termReturn___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_termTry_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doIf___elambda__1___closed__10; +lean_object* l_Lean_Parser_Term_doForDecl_formatter___closed__4; lean_object* l_Lean_Parser_Term_doIf___elambda__1___closed__32; extern lean_object* l_Lean_Parser_Term_binderIdent___closed__1; lean_object* l_Lean_Parser_Term_doLet_parenthesizer___closed__2; @@ -794,6 +805,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_doElem_quot_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_termReturn_formatter(lean_object*); lean_object* l_Lean_Parser_Term_doCatchMatch___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doBreak___elambda__1___closed__4; +lean_object* l_Lean_Parser_Term_doForDecl; lean_object* l_Lean_Parser_Term_elseIf_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_do; lean_object* l_Lean_Parser_Term_doReassign_formatter___closed__2; @@ -802,10 +814,12 @@ lean_object* l_Lean_Parser_Term_doBreak___closed__2; lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_Term_doAssert_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doIdDecl; +lean_object* l_Lean_Parser_Term_doFor_parenthesizer___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_doHave_formatter(lean_object*); lean_object* l_Lean_Parser_Term_doBreak___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_doSeqBracketed_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doBreak___elambda__1___closed__8; +lean_object* l_Lean_Parser_Term_doForDecl_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_liftMethod___closed__1; lean_object* l_Lean_Parser_Term_doPatDecl___closed__5; lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___closed__4; @@ -846,6 +860,7 @@ lean_object* l_Lean_Parser_Term_doContinue___closed__5; lean_object* l_Lean_Parser_Term_doReassignArrow_formatter___closed__4; lean_object* l_Lean_Parser_Term_doLetArrow_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_elseIf_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_doSeqIndent___closed__3; lean_object* l_Lean_Parser_Term_termBeforeDo_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_liftMethod___closed__6; @@ -863,6 +878,7 @@ lean_object* l_Lean_Parser_Term_doCatchMatch___closed__2; lean_object* l_Lean_Parser_Term_doLet___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_doFinally___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doTry_formatter___closed__1; +lean_object* l_Lean_Parser_sepBy1_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doCatchMatch___elambda__1___closed__4; extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_termReturn(lean_object*); @@ -942,6 +958,7 @@ lean_object* l_Lean_Parser_Term_doUnless_formatter___closed__3; lean_object* l_Lean_Parser_Term_elseIf___closed__1; lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_termBeforeDo; +lean_object* l_Lean_Parser_sepBy1(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_Term_doLetRec___closed__4; lean_object* l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_termUnless___closed__1; @@ -960,6 +977,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_doDbgTrace_formatter(lean_object*); lean_object* l_Lean_Parser_Term_doTry_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Do___hyg_4____closed__1; lean_object* l_Lean_Parser_Term_doFinally___elambda__1___closed__9; +lean_object* l_Lean_Parser_Term_doForDecl_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doHave___closed__1; extern lean_object* l_Lean_Parser_Tactic_match___closed__1; lean_object* l_Lean_Parser_Term_doReassignArrow_formatter___closed__2; @@ -968,6 +986,8 @@ lean_object* l_Lean_Parser_Term_doPatDecl_formatter___closed__7; lean_object* l_Lean_Parser_Term_doCatch___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_termIf_____x3a__Then__Else_____closed__12; +lean_object* l_Lean_Parser_Term_doFor_parenthesizer___closed__5; +lean_object* l_Lean_Parser_Term_doForDecl_formatter___closed__5; lean_object* l_Lean_Parser_Term_doCatch_formatter___closed__2; lean_object* l_Lean_Parser_Term_doAssert___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_doSeq_parenthesizer___closed__2; @@ -986,12 +1006,14 @@ lean_object* l_Lean_Parser_toggleInsideQuotFn(lean_object*, lean_object*, lean_o lean_object* l_Lean_Parser_Term_doTry_formatter___closed__7; lean_object* l_Lean_Parser_Term_doIf_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_doFor_parenthesizer___closed__3; +extern lean_object* l_term_x5b___x5d___closed__5; lean_object* l_Lean_Parser_Term_leftArrow; lean_object* l_Lean_Parser_Term_doTry_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_doAssert___closed__5; extern lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doReassignArrow___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doReassign_parenthesizer(lean_object*); +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_match_formatter___closed__2; lean_object* l_Lean_Parser_Term_doCatch_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_doFinally_parenthesizer___closed__1; @@ -1014,8 +1036,8 @@ extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___closed__3; extern lean_object* l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; lean_object* l_Lean_Parser_Term_doSeqBracketed___closed__6; +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_doIf_parenthesizer___closed__18; -lean_object* l_Lean_Parser_Term_doFor___closed__10; lean_object* l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_doLetArrow_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doReassign___closed__6; @@ -1125,6 +1147,7 @@ lean_object* l_Lean_Parser_Term_doLet___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__11; lean_object* l_Lean_Parser_Term_doUnless___closed__10; lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__9; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__26; lean_object* l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__1; @@ -1138,6 +1161,7 @@ lean_object* l_Lean_Parser_Term_doTry_formatter___closed__5; lean_object* l_Lean_Parser_Term_doIf___closed__10; lean_object* l_Lean_Parser_Term_doSeqBracketed_formatter___closed__3; lean_object* l_Lean_Parser_Term_doIf___elambda__1___closed__35; +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_doExpr_formatter___closed__1; lean_object* l_Lean_Parser_Term_doReassign_formatter___closed__6; lean_object* l_Lean_Parser_Term_doFinally___elambda__1(lean_object*, lean_object*); @@ -1184,6 +1208,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_doContinue_formatter(lean_object*); lean_object* l_Lean_Parser_Term_doNested___elambda__1___closed__5; extern lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_doFor___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_sepBy1_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doTry___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_elseIf___closed__3; @@ -1236,6 +1261,7 @@ lean_object* l_Lean_Parser_Term_doUnless_formatter(lean_object*, lean_object*, l lean_object* l_Lean_Parser_Term_doBreak_formatter___closed__2; lean_object* l_Lean_Parser_Term_doLetRec_formatter___closed__2; lean_object* l_Lean_Parser_Term_doMatch_formatter___closed__7; +lean_object* l_Lean_Parser_Term_doForDecl___closed__1; lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_doReturn___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_termReturn___closed__3; @@ -1263,6 +1289,7 @@ lean_object* l_Lean_Parser_Term_letIdDeclNoBinders_formatter(lean_object*, lean_ lean_object* l_Lean_Parser_Term_doFinally_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doLet___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__18; +extern lean_object* l_Lean_Parser_Term_tupleTail_formatter___closed__2; lean_object* l_Lean_Parser_Term_doCatchMatch_formatter___closed__3; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__3; extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; @@ -1293,6 +1320,7 @@ extern lean_object* l_Lean_Parser_Term_type___elambda__1___closed__6; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_Term_doNested___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_doExpr_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Term_doForDecl_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_termFor_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__1; @@ -1304,6 +1332,7 @@ lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken_parenthesizer___ lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_doIf_formatter___closed__15; lean_object* l_Lean_Parser_Term_doElem_quot_formatter___closed__2; +lean_object* l_Lean_Parser_Term_doForDecl___closed__6; lean_object* l_Lean_Parser_Term_do_formatter___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_doAssert_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doMatch_parenthesizer___closed__1; @@ -1321,6 +1350,7 @@ extern lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__4; lean_object* l_Lean_Parser_Term_doContinue_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doSeqItem___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_doCatch___elambda__1___closed__13; +lean_object* l_Lean_Parser_Term_doForDecl_formatter___closed__3; lean_object* l_Lean_Parser_Term_doSeqBracketed_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_doLet_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doUnless_parenthesizer___closed__1; @@ -1341,7 +1371,9 @@ lean_object* l_Lean_Parser_Term_doMatch___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_doFinally___closed__1; extern lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__9; lean_object* l_Lean_Parser_Term_doIf___elambda__1___closed__13; +lean_object* l_Lean_Parser_Term_doForDecl_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doHave; +lean_object* l_Lean_Parser_Term_doForDecl___closed__4; lean_object* l_Lean_Parser_Term_doIdDecl___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_doLetArrow_formatter(lean_object*); lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___closed__1; @@ -1423,6 +1455,7 @@ lean_object* l_Lean_Parser_Term_doReassign_formatter(lean_object*, lean_object*, lean_object* l_Lean_Parser_Term_doNested___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_doReassign_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Term_doForDecl___closed__8; lean_object* l_Lean_Parser_Term_doReassign___closed__7; lean_object* l_Lean_Parser_Term_elseIf_formatter___closed__1; lean_object* l_Lean_Parser_Term_doBreak_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1430,6 +1463,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_doReassign_formatter___closed__1; lean_object* l_Lean_Parser_Term_doReturn___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_doMatch___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doSeqBracketed___elambda__1___closed__4; +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_doReassign(lean_object*); lean_object* l_Lean_Parser_Term_doHave_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1466,6 +1500,7 @@ lean_object* l_Lean_Parser_Term_leftArrow___elambda__1(lean_object*, lean_object lean_object* l_Lean_Parser_Term_doMatch___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_letIdDeclNoBinders_formatter___closed__3; lean_object* l_Lean_Parser_Term_doElem_quot___elambda__1___closed__1; +lean_object* l_Lean_Parser_Term_doForDecl___closed__2; lean_object* l_Lean_Parser_Term_doDbgTrace___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_doCatch___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__27; @@ -11480,6 +11515,226 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +static lean_object* _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doForDecl"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___elambda__1___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_Lean_Parser_Term_doForDecl___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" in "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__5; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__6; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__7; +x_2 = l_Lean_Parser_Term_doUnless___elambda__1___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__10; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Term_doForDecl___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; +x_3 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__11; +x_6 = 1; +x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__6; +x_2 = l_Lean_Parser_symbolInfo(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_doForDecl___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_doForDecl___closed__2; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_doForDecl___closed__3; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Term_doForDecl___closed__4; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_doForDecl___closed__5; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doForDecl___elambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doForDecl___closed__6; +x_2 = l_Lean_Parser_Term_doForDecl___closed__7; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Term_doForDecl___closed__8; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__1() { _start: { @@ -11522,111 +11777,86 @@ return x_4; static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__5() { _start: { -lean_object* x_1; -x_1 = lean_mk_string(" in "); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Term_doForDecl; +x_2 = l_term_x5b___x5d___closed__5; +x_3 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__8; +x_4 = 0; +x_5 = l_Lean_Parser_sepBy1(x_1, x_2, x_3, x_4); +return x_5; } } static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__5; -x_2 = l_String_trim(x_1); -return x_2; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_doUnless___elambda__1___closed__9; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__6; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__7; -x_2 = l_Lean_Parser_Term_doUnless___elambda__1___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_doFor___elambda__1___closed__8; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__10() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("for "); return x_1; } } -static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__11() { +static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__10; +x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__7; x_2 = l_String_trim(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__12() { +static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__11; +x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__8; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__13() { +static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__12; -x_2 = l_Lean_Parser_Term_doFor___elambda__1___closed__9; +x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__9; +x_2 = l_Lean_Parser_Term_doFor___elambda__1___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__14() { +static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_doFor___elambda__1___closed__13; +x_2 = l_Lean_Parser_Term_doFor___elambda__1___closed__10; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__15() { +static lean_object* _init_l_Lean_Parser_Term_doFor___elambda__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_2 = l_Lean_Parser_Term_doFor___elambda__1___closed__14; +x_2 = l_Lean_Parser_Term_doFor___elambda__1___closed__11; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -11640,7 +11870,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_3 = l_Lean_Parser_Term_doFor___elambda__1___closed__4; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Term_doFor___elambda__1___closed__15; +x_5 = l_Lean_Parser_Term_doFor___elambda__1___closed__12; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -11649,49 +11879,50 @@ return x_7; static lean_object* _init_l_Lean_Parser_Term_doFor___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__6; -x_2 = l_Lean_Parser_symbolInfo(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_doUnless___closed__2; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Term_doFor___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doFor___closed__1; -x_2 = l_Lean_Parser_Term_doUnless___closed__3; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__8; +x_2 = l_Lean_Parser_symbolInfo(x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Term_doFor___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_antiquotNestedExpr___closed__2; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_doFor___closed__2; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doFor___closed__2; +x_2 = l_Lean_Parser_Term_doFor___closed__1; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Term_doFor___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__11; -x_2 = l_Lean_Parser_symbolInfo(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_doFor___closed__3; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Term_doFor___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doFor___closed__4; -x_2 = l_Lean_Parser_Term_doFor___closed__3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Term_doFor___closed__4; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -11699,36 +11930,16 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_doFor___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_doFor___closed__5; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_doFor___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Term_doFor___closed__6; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_doFor___closed__8() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_doFor___closed__7; +x_3 = l_Lean_Parser_Term_doFor___closed__5; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Term_doFor___closed__9() { +static lean_object* _init_l_Lean_Parser_Term_doFor___closed__7() { _start: { lean_object* x_1; @@ -11736,12 +11947,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doFor___elambda__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Term_doFor___closed__10() { +static lean_object* _init_l_Lean_Parser_Term_doFor___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doFor___closed__8; -x_2 = l_Lean_Parser_Term_doFor___closed__9; +x_1 = l_Lean_Parser_Term_doFor___closed__6; +x_2 = l_Lean_Parser_Term_doFor___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -11752,7 +11963,7 @@ static lean_object* _init_l_Lean_Parser_Term_doFor() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_doFor___closed__10; +x_1 = l_Lean_Parser_Term_doFor___closed__8; return x_1; } } @@ -11769,6 +11980,79 @@ x_7 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_6, x_1); return x_7; } } +static lean_object* _init_l_Lean_Parser_Term_doForDecl_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doForDecl_formatter___closed__2; +x_2 = l_Lean_Parser_Term_doUnless_formatter___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_antiquotNestedExpr_formatter___closed__2; +x_2 = l_Lean_Parser_Term_doForDecl_formatter___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_doForDecl_formatter___closed__4; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Term_doForDecl_formatter(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; +x_6 = l_Lean_Parser_Term_doForDecl_formatter___closed__1; +x_7 = l_Lean_Parser_Term_doForDecl_formatter___closed__5; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} static lean_object* _init_l_Lean_Parser_Term_doFor_formatter___closed__1() { _start: { @@ -11788,7 +12072,7 @@ static lean_object* _init_l_Lean_Parser_Term_doFor_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__10; +x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__7; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -11797,31 +12081,34 @@ return x_2; static lean_object* _init_l_Lean_Parser_Term_doFor_formatter___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doForDecl_formatter), 5, 0); +return x_1; } } static lean_object* _init_l_Lean_Parser_Term_doFor_formatter___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Parser_Term_doFor_formatter___closed__3; -x_2 = l_Lean_Parser_Term_doUnless_formatter___closed__6; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +x_2 = l_term_x5b___x5d___closed__5; +x_3 = l_Lean_Parser_Term_tupleTail_formatter___closed__2; +x_4 = 0; +x_5 = lean_box(x_4); +x_6 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1_formatter___boxed), 9, 4); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_2); +lean_closure_set(x_6, 2, x_3); +lean_closure_set(x_6, 3, x_5); +return x_6; } } static lean_object* _init_l_Lean_Parser_Term_doFor_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_formatter___closed__2; -x_2 = l_Lean_Parser_Term_doFor_formatter___closed__4; +x_1 = l_Lean_Parser_Term_doFor_formatter___closed__4; +x_2 = l_Lean_Parser_Term_doUnless_formatter___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -11883,6 +12170,67 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +static lean_object* _init_l_Lean_Parser_Term_doForDecl_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__3; +x_2 = 1; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___rarg___boxed), 7, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_doUnless_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__1; +x_2 = l_Lean_Parser_Term_doForDecl_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doForDecl_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_doForDecl___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_doForDecl_parenthesizer___closed__3; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Term_doForDecl_parenthesizer(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; +x_6 = l_Lean_Parser_Term_doForDecl_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Term_doForDecl_parenthesizer___closed__4; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} static lean_object* _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__1() { _start: { @@ -11899,34 +12247,59 @@ return x_4; static lean_object* _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__1; -x_2 = l_Lean_Parser_Term_doUnless_parenthesizer___closed__4; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doForDecl_parenthesizer), 5, 0); +return x_1; } } static lean_object* _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__3() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Term_doFor_parenthesizer___closed__2; +x_2 = l_term_x5b___x5d___closed__5; +x_3 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_4 = 0; +x_5 = lean_box(x_4); +x_6 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1_parenthesizer___boxed), 9, 4); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_2); +lean_closure_set(x_6, 2, x_3); +lean_closure_set(x_6, 3, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Term_doFor_parenthesizer___closed__2; +x_1 = l_Lean_Parser_Term_doFor_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_doIf_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__4() { +static lean_object* _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_doFor_parenthesizer___closed__4; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doFor_parenthesizer___closed__3; +x_3 = l_Lean_Parser_Term_doFor_parenthesizer___closed__5; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -11939,7 +12312,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doFor_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_doFor_parenthesizer___closed__4; +x_7 = l_Lean_Parser_Term_doFor_parenthesizer___closed__6; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -17331,7 +17704,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_termFor___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_doFor___elambda__1___closed__13; +x_2 = l_Lean_Parser_Term_doFor___elambda__1___closed__10; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -17368,7 +17741,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_termFor___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_doFor___closed__5; +x_2 = l_Lean_Parser_Term_doFor___closed__3; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } @@ -17513,7 +17886,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_termFor___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doFor_parenthesizer___closed__3; +x_3 = l_Lean_Parser_Term_doFor_parenthesizer___closed__5; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -19407,6 +19780,46 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doUnless_parenthesizer___cl res = l___regBuiltin_Lean_Parser_Term_doUnless_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Term_doForDecl___elambda__1___closed__1 = _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___elambda__1___closed__1); +l_Lean_Parser_Term_doForDecl___elambda__1___closed__2 = _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___elambda__1___closed__2); +l_Lean_Parser_Term_doForDecl___elambda__1___closed__3 = _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___elambda__1___closed__3); +l_Lean_Parser_Term_doForDecl___elambda__1___closed__4 = _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___elambda__1___closed__4); +l_Lean_Parser_Term_doForDecl___elambda__1___closed__5 = _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___elambda__1___closed__5); +l_Lean_Parser_Term_doForDecl___elambda__1___closed__6 = _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___elambda__1___closed__6); +l_Lean_Parser_Term_doForDecl___elambda__1___closed__7 = _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___elambda__1___closed__7); +l_Lean_Parser_Term_doForDecl___elambda__1___closed__8 = _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___elambda__1___closed__8); +l_Lean_Parser_Term_doForDecl___elambda__1___closed__9 = _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___elambda__1___closed__9); +l_Lean_Parser_Term_doForDecl___elambda__1___closed__10 = _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__10(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___elambda__1___closed__10); +l_Lean_Parser_Term_doForDecl___elambda__1___closed__11 = _init_l_Lean_Parser_Term_doForDecl___elambda__1___closed__11(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___elambda__1___closed__11); +l_Lean_Parser_Term_doForDecl___closed__1 = _init_l_Lean_Parser_Term_doForDecl___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___closed__1); +l_Lean_Parser_Term_doForDecl___closed__2 = _init_l_Lean_Parser_Term_doForDecl___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___closed__2); +l_Lean_Parser_Term_doForDecl___closed__3 = _init_l_Lean_Parser_Term_doForDecl___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___closed__3); +l_Lean_Parser_Term_doForDecl___closed__4 = _init_l_Lean_Parser_Term_doForDecl___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___closed__4); +l_Lean_Parser_Term_doForDecl___closed__5 = _init_l_Lean_Parser_Term_doForDecl___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___closed__5); +l_Lean_Parser_Term_doForDecl___closed__6 = _init_l_Lean_Parser_Term_doForDecl___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___closed__6); +l_Lean_Parser_Term_doForDecl___closed__7 = _init_l_Lean_Parser_Term_doForDecl___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___closed__7); +l_Lean_Parser_Term_doForDecl___closed__8 = _init_l_Lean_Parser_Term_doForDecl___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl___closed__8); +l_Lean_Parser_Term_doForDecl = _init_l_Lean_Parser_Term_doForDecl(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl); l_Lean_Parser_Term_doFor___elambda__1___closed__1 = _init_l_Lean_Parser_Term_doFor___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_doFor___elambda__1___closed__1); l_Lean_Parser_Term_doFor___elambda__1___closed__2 = _init_l_Lean_Parser_Term_doFor___elambda__1___closed__2(); @@ -19431,12 +19844,6 @@ l_Lean_Parser_Term_doFor___elambda__1___closed__11 = _init_l_Lean_Parser_Term_do lean_mark_persistent(l_Lean_Parser_Term_doFor___elambda__1___closed__11); l_Lean_Parser_Term_doFor___elambda__1___closed__12 = _init_l_Lean_Parser_Term_doFor___elambda__1___closed__12(); lean_mark_persistent(l_Lean_Parser_Term_doFor___elambda__1___closed__12); -l_Lean_Parser_Term_doFor___elambda__1___closed__13 = _init_l_Lean_Parser_Term_doFor___elambda__1___closed__13(); -lean_mark_persistent(l_Lean_Parser_Term_doFor___elambda__1___closed__13); -l_Lean_Parser_Term_doFor___elambda__1___closed__14 = _init_l_Lean_Parser_Term_doFor___elambda__1___closed__14(); -lean_mark_persistent(l_Lean_Parser_Term_doFor___elambda__1___closed__14); -l_Lean_Parser_Term_doFor___elambda__1___closed__15 = _init_l_Lean_Parser_Term_doFor___elambda__1___closed__15(); -lean_mark_persistent(l_Lean_Parser_Term_doFor___elambda__1___closed__15); l_Lean_Parser_Term_doFor___closed__1 = _init_l_Lean_Parser_Term_doFor___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_doFor___closed__1); l_Lean_Parser_Term_doFor___closed__2 = _init_l_Lean_Parser_Term_doFor___closed__2(); @@ -19453,15 +19860,21 @@ l_Lean_Parser_Term_doFor___closed__7 = _init_l_Lean_Parser_Term_doFor___closed__ lean_mark_persistent(l_Lean_Parser_Term_doFor___closed__7); l_Lean_Parser_Term_doFor___closed__8 = _init_l_Lean_Parser_Term_doFor___closed__8(); lean_mark_persistent(l_Lean_Parser_Term_doFor___closed__8); -l_Lean_Parser_Term_doFor___closed__9 = _init_l_Lean_Parser_Term_doFor___closed__9(); -lean_mark_persistent(l_Lean_Parser_Term_doFor___closed__9); -l_Lean_Parser_Term_doFor___closed__10 = _init_l_Lean_Parser_Term_doFor___closed__10(); -lean_mark_persistent(l_Lean_Parser_Term_doFor___closed__10); l_Lean_Parser_Term_doFor = _init_l_Lean_Parser_Term_doFor(); lean_mark_persistent(l_Lean_Parser_Term_doFor); res = l___regBuiltinParser_Lean_Parser_Term_doFor(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Term_doForDecl_formatter___closed__1 = _init_l_Lean_Parser_Term_doForDecl_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl_formatter___closed__1); +l_Lean_Parser_Term_doForDecl_formatter___closed__2 = _init_l_Lean_Parser_Term_doForDecl_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl_formatter___closed__2); +l_Lean_Parser_Term_doForDecl_formatter___closed__3 = _init_l_Lean_Parser_Term_doForDecl_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl_formatter___closed__3); +l_Lean_Parser_Term_doForDecl_formatter___closed__4 = _init_l_Lean_Parser_Term_doForDecl_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl_formatter___closed__4); +l_Lean_Parser_Term_doForDecl_formatter___closed__5 = _init_l_Lean_Parser_Term_doForDecl_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl_formatter___closed__5); l_Lean_Parser_Term_doFor_formatter___closed__1 = _init_l_Lean_Parser_Term_doFor_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_doFor_formatter___closed__1); l_Lean_Parser_Term_doFor_formatter___closed__2 = _init_l_Lean_Parser_Term_doFor_formatter___closed__2(); @@ -19481,6 +19894,14 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doFor_formatter___closed__1 res = l___regBuiltin_Lean_Parser_Term_doFor_formatter(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Term_doForDecl_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_doForDecl_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl_parenthesizer___closed__1); +l_Lean_Parser_Term_doForDecl_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_doForDecl_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl_parenthesizer___closed__2); +l_Lean_Parser_Term_doForDecl_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_doForDecl_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl_parenthesizer___closed__3); +l_Lean_Parser_Term_doForDecl_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_doForDecl_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_doForDecl_parenthesizer___closed__4); l_Lean_Parser_Term_doFor_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_doFor_parenthesizer___closed__1); l_Lean_Parser_Term_doFor_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__2(); @@ -19489,6 +19910,10 @@ l_Lean_Parser_Term_doFor_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_do lean_mark_persistent(l_Lean_Parser_Term_doFor_parenthesizer___closed__3); l_Lean_Parser_Term_doFor_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__4(); lean_mark_persistent(l_Lean_Parser_Term_doFor_parenthesizer___closed__4); +l_Lean_Parser_Term_doFor_parenthesizer___closed__5 = _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_doFor_parenthesizer___closed__5); +l_Lean_Parser_Term_doFor_parenthesizer___closed__6 = _init_l_Lean_Parser_Term_doFor_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_doFor_parenthesizer___closed__6); l___regBuiltin_Lean_Parser_Term_doFor_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_doFor_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doFor_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_doFor_parenthesizer(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c index 31787695fd..3445bb9ec7 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c @@ -124,7 +124,6 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4; lean_object* l_Lean_PrettyPrinter_Delaborator_annotateCurPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_Context_pos___default; -extern lean_object* l_Lean_Meta_addPPExplicitToExposeDiff___closed__2; lean_object* l_Lean_Level_quote___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Level_LevelToFormat_Result_format___closed__3; extern lean_object* l_Lean_numLitKind; @@ -224,6 +223,7 @@ lean_object* l_Std_AssocList_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabF size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Level_quote___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_failure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__4; lean_object* l_Lean_getPPCoercions___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__4; lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); @@ -1471,7 +1471,7 @@ uint8_t l_Lean_getPPAll(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_Meta_addPPExplicitToExposeDiff___closed__2; +x_2 = l_Lean_Meta_synthInstance_x3f___lambda__2___closed__4; x_3 = 0; x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); return x_4;